Documentation ¶
Index ¶
- func PossibleValuesForState() []string
- func ValidateOfferPlanID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePlanID(input interface{}, key string) (warnings []string, errors []error)
- type AgreementProperties
- type AgreementTerms
- type AgreementsClient
- func (c AgreementsClient) MarketplaceAgreementsCancel(ctx context.Context, id PlanId) (result MarketplaceAgreementsCancelOperationResponse, err error)
- func (c AgreementsClient) MarketplaceAgreementsCreate(ctx context.Context, id OfferPlanId, input AgreementTerms) (result MarketplaceAgreementsCreateOperationResponse, err error)
- func (c AgreementsClient) MarketplaceAgreementsGet(ctx context.Context, id OfferPlanId) (result MarketplaceAgreementsGetOperationResponse, err error)
- func (c AgreementsClient) MarketplaceAgreementsGetAgreement(ctx context.Context, id PlanId) (result MarketplaceAgreementsGetAgreementOperationResponse, err error)
- func (c AgreementsClient) MarketplaceAgreementsList(ctx context.Context, id commonids.SubscriptionId) (result MarketplaceAgreementsListOperationResponse, err error)
- func (c AgreementsClient) MarketplaceAgreementsSign(ctx context.Context, id PlanId) (result MarketplaceAgreementsSignOperationResponse, err error)
- type MarketplaceAgreementsCancelOperationResponse
- type MarketplaceAgreementsCreateOperationResponse
- type MarketplaceAgreementsGetAgreementOperationResponse
- type MarketplaceAgreementsGetOperationResponse
- type MarketplaceAgreementsListOperationResponse
- type MarketplaceAgreementsSignOperationResponse
- type OfferPlanId
- type OldAgreementProperties
- type OldAgreementTerms
- type OldAgreementTermsList
- type PlanId
- type State
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForState ¶
func PossibleValuesForState() []string
func ValidateOfferPlanID ¶
ValidateOfferPlanID checks that 'input' can be parsed as a Offer Plan ID
func ValidatePlanID ¶
ValidatePlanID checks that 'input' can be parsed as a Plan ID
Types ¶
type AgreementProperties ¶
type AgreementProperties struct { Accepted *bool `json:"accepted,omitempty"` LicenseTextLink *string `json:"licenseTextLink,omitempty"` MarketplaceTermsLink *string `json:"marketplaceTermsLink,omitempty"` Plan *string `json:"plan,omitempty"` PrivacyPolicyLink *string `json:"privacyPolicyLink,omitempty"` Product *string `json:"product,omitempty"` Publisher *string `json:"publisher,omitempty"` RetrieveDatetime *string `json:"retrieveDatetime,omitempty"` Signature *string `json:"signature,omitempty"` }
func (*AgreementProperties) GetRetrieveDatetimeAsTime ¶
func (o *AgreementProperties) GetRetrieveDatetimeAsTime() (*time.Time, error)
func (*AgreementProperties) SetRetrieveDatetimeAsTime ¶
func (o *AgreementProperties) SetRetrieveDatetimeAsTime(input time.Time)
type AgreementTerms ¶
type AgreementTerms struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AgreementProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type AgreementsClient ¶
type AgreementsClient struct {
Client *resourcemanager.Client
}
func NewAgreementsClientWithBaseURI ¶
func NewAgreementsClientWithBaseURI(sdkApi sdkEnv.Api) (*AgreementsClient, error)
func (AgreementsClient) MarketplaceAgreementsCancel ¶
func (c AgreementsClient) MarketplaceAgreementsCancel(ctx context.Context, id PlanId) (result MarketplaceAgreementsCancelOperationResponse, err error)
MarketplaceAgreementsCancel ...
func (AgreementsClient) MarketplaceAgreementsCreate ¶
func (c AgreementsClient) MarketplaceAgreementsCreate(ctx context.Context, id OfferPlanId, input AgreementTerms) (result MarketplaceAgreementsCreateOperationResponse, err error)
MarketplaceAgreementsCreate ...
func (AgreementsClient) MarketplaceAgreementsGet ¶
func (c AgreementsClient) MarketplaceAgreementsGet(ctx context.Context, id OfferPlanId) (result MarketplaceAgreementsGetOperationResponse, err error)
MarketplaceAgreementsGet ...
func (AgreementsClient) MarketplaceAgreementsGetAgreement ¶
func (c AgreementsClient) MarketplaceAgreementsGetAgreement(ctx context.Context, id PlanId) (result MarketplaceAgreementsGetAgreementOperationResponse, err error)
MarketplaceAgreementsGetAgreement ...
func (AgreementsClient) MarketplaceAgreementsList ¶
func (c AgreementsClient) MarketplaceAgreementsList(ctx context.Context, id commonids.SubscriptionId) (result MarketplaceAgreementsListOperationResponse, err error)
MarketplaceAgreementsList ...
func (AgreementsClient) MarketplaceAgreementsSign ¶
func (c AgreementsClient) MarketplaceAgreementsSign(ctx context.Context, id PlanId) (result MarketplaceAgreementsSignOperationResponse, err error)
MarketplaceAgreementsSign ...
type MarketplaceAgreementsCancelOperationResponse ¶
type MarketplaceAgreementsCancelOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OldAgreementTerms }
type MarketplaceAgreementsCreateOperationResponse ¶
type MarketplaceAgreementsCreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AgreementTerms }
type MarketplaceAgreementsGetAgreementOperationResponse ¶
type MarketplaceAgreementsGetAgreementOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OldAgreementTerms }
type MarketplaceAgreementsGetOperationResponse ¶
type MarketplaceAgreementsGetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AgreementTerms }
type MarketplaceAgreementsListOperationResponse ¶
type MarketplaceAgreementsListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OldAgreementTermsList }
type MarketplaceAgreementsSignOperationResponse ¶
type MarketplaceAgreementsSignOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *OldAgreementTerms }
type OfferPlanId ¶
OfferPlanId is a struct representing the Resource ID for a Offer Plan
func NewOfferPlanID ¶
func NewOfferPlanID(subscriptionId string, publisherId string, offerId string, planId string) OfferPlanId
NewOfferPlanID returns a new OfferPlanId struct
func ParseOfferPlanID ¶
func ParseOfferPlanID(input string) (*OfferPlanId, error)
ParseOfferPlanID parses 'input' into a OfferPlanId
func ParseOfferPlanIDInsensitively ¶
func ParseOfferPlanIDInsensitively(input string) (*OfferPlanId, error)
ParseOfferPlanIDInsensitively parses 'input' case-insensitively into a OfferPlanId note: this method should only be used for API response data and not user input
func (*OfferPlanId) FromParseResult ¶
func (id *OfferPlanId) FromParseResult(input resourceids.ParseResult) error
func (OfferPlanId) Segments ¶
func (id OfferPlanId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Offer Plan ID
func (OfferPlanId) String ¶
func (id OfferPlanId) String() string
String returns a human-readable description of this Offer Plan ID
type OldAgreementProperties ¶
type OldAgreementProperties struct { CancelDate *string `json:"cancelDate,omitempty"` Id *string `json:"id,omitempty"` Offer *string `json:"offer,omitempty"` Publisher *string `json:"publisher,omitempty"` SignDate *string `json:"signDate,omitempty"` State *State `json:"state,omitempty"` }
func (*OldAgreementProperties) GetCancelDateAsTime ¶
func (o *OldAgreementProperties) GetCancelDateAsTime() (*time.Time, error)
func (*OldAgreementProperties) GetSignDateAsTime ¶
func (o *OldAgreementProperties) GetSignDateAsTime() (*time.Time, error)
func (*OldAgreementProperties) SetCancelDateAsTime ¶
func (o *OldAgreementProperties) SetCancelDateAsTime(input time.Time)
func (*OldAgreementProperties) SetSignDateAsTime ¶
func (o *OldAgreementProperties) SetSignDateAsTime(input time.Time)
type OldAgreementTerms ¶
type OldAgreementTerms struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *OldAgreementProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type OldAgreementTermsList ¶
type OldAgreementTermsList struct {
Value *[]OldAgreementTerms `json:"value,omitempty"`
}
type PlanId ¶
PlanId is a struct representing the Resource ID for a Plan
func ParsePlanID ¶
ParsePlanID parses 'input' into a PlanId
func ParsePlanIDInsensitively ¶
ParsePlanIDInsensitively parses 'input' case-insensitively into a PlanId note: this method should only be used for API response data and not user input
func (*PlanId) FromParseResult ¶
func (id *PlanId) FromParseResult(input resourceids.ParseResult) error
func (PlanId) Segments ¶
func (id PlanId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Plan ID
Source Files ¶
- client.go
- constants.go
- id_offerplan.go
- id_plan.go
- method_marketplaceagreementscancel.go
- method_marketplaceagreementscreate.go
- method_marketplaceagreementsget.go
- method_marketplaceagreementsgetagreement.go
- method_marketplaceagreementslist.go
- method_marketplaceagreementssign.go
- model_agreementproperties.go
- model_agreementterms.go
- model_oldagreementproperties.go
- model_oldagreementterms.go
- model_oldagreementtermslist.go
- version.go