Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func ValidateBillingProfileID(input interface{}, key string) (warnings []string, errors []error) + func ValidateInstructionID(input interface{}, key string) (warnings []string, errors []error) + type BillingProfileId struct + BillingAccountName string + BillingProfileName string + func NewBillingProfileID(billingAccountName string, billingProfileName string) BillingProfileId + func ParseBillingProfileID(input string) (*BillingProfileId, error) + func ParseBillingProfileIDInsensitively(input string) (*BillingProfileId, error) + func (id *BillingProfileId) FromParseResult(input resourceids.ParseResult) error + func (id BillingProfileId) ID() string + func (id BillingProfileId) Segments() []resourceids.Segment + func (id BillingProfileId) String() string + type GetOperationResponse struct + HttpResponse *http.Response + Model *Instruction + OData *odata.OData + type Instruction struct + Id *string + Name *string + Properties *InstructionProperties + Type *string + type InstructionId struct + BillingAccountName string + BillingProfileName string + InstructionName string + func NewInstructionID(billingAccountName string, billingProfileName string, instructionName string) InstructionId + func ParseInstructionID(input string) (*InstructionId, error) + func ParseInstructionIDInsensitively(input string) (*InstructionId, error) + func (id *InstructionId) FromParseResult(input resourceids.ParseResult) error + func (id InstructionId) ID() string + func (id InstructionId) Segments() []resourceids.Segment + func (id InstructionId) String() string + type InstructionOperationPredicate struct + Id *string + Name *string + Type *string + func (p InstructionOperationPredicate) Matches(input Instruction) bool + type InstructionProperties struct + Amount float64 + CreationDate *string + EndDate string + StartDate string + func (o *InstructionProperties) GetCreationDateAsTime() (*time.Time, error) + func (o *InstructionProperties) GetEndDateAsTime() (*time.Time, error) + func (o *InstructionProperties) GetStartDateAsTime() (*time.Time, error) + func (o *InstructionProperties) SetCreationDateAsTime(input time.Time) + func (o *InstructionProperties) SetEndDateAsTime(input time.Time) + func (o *InstructionProperties) SetStartDateAsTime(input time.Time) + type InstructionsClient struct + Client *resourcemanager.Client + func NewInstructionsClientWithBaseURI(sdkApi sdkEnv.Api) (*InstructionsClient, error) + func (c InstructionsClient) Get(ctx context.Context, id InstructionId) (result GetOperationResponse, err error) + func (c InstructionsClient) ListByBillingProfile(ctx context.Context, id BillingProfileId) (result ListByBillingProfileOperationResponse, err error) + func (c InstructionsClient) ListByBillingProfileComplete(ctx context.Context, id BillingProfileId) (ListByBillingProfileCompleteResult, error) + func (c InstructionsClient) ListByBillingProfileCompleteMatchingPredicate(ctx context.Context, id BillingProfileId, ...) (result ListByBillingProfileCompleteResult, err error) + func (c InstructionsClient) Put(ctx context.Context, id InstructionId, input Instruction) (result PutOperationResponse, err error) + type ListByBillingProfileCompleteResult struct + Items []Instruction + LatestHttpResponse *http.Response + type ListByBillingProfileCustomPager struct + NextLink *odata.Link + func (p *ListByBillingProfileCustomPager) NextPageLink() *odata.Link + type ListByBillingProfileOperationResponse struct + HttpResponse *http.Response + Model *[]Instruction + OData *odata.OData + type PutOperationResponse struct + HttpResponse *http.Response + Model *Instruction + OData *odata.OData