Versions in this module Expand all Collapse all v1 v1.0.1 Aug 22, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type AzureEntityResource struct + Etag *string + ID *string + Name *string + Type *string + func (aer AzureEntityResource) MarshalJSON() ([]byte, error) + type BaseClient struct + BaseURI string + SubscriptionID string + func New(subscriptionID string) BaseClient + func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient + type Client struct + func NewClient(subscriptionID string) Client + func NewClientWithBaseURI(baseURI string, subscriptionID string) Client + func (client Client) Register(ctx context.Context) (result autorest.Response, err error) + func (client Client) RegisterPreparer(ctx context.Context) (*http.Request, error) + func (client Client) RegisterResponder(resp *http.Response) (result autorest.Response, err error) + func (client Client) RegisterSender(req *http.Request) (*http.Response, error) + type Error struct + Code ErrorCode + Message *string + type ErrorCode string + const InvalidRequestParameter + const MissingRequestParameter + func PossibleErrorCodeValues() []ErrorCode + type HybridUseBenefitClient struct + func NewHybridUseBenefitClient(subscriptionID string) HybridUseBenefitClient + func NewHybridUseBenefitClientWithBaseURI(baseURI string, subscriptionID string) HybridUseBenefitClient + func (client HybridUseBenefitClient) Create(ctx context.Context, scope string, planID string, body HybridUseBenefitModel) (result HybridUseBenefitModel, err error) + func (client HybridUseBenefitClient) CreatePreparer(ctx context.Context, scope string, planID string, body HybridUseBenefitModel) (*http.Request, error) + func (client HybridUseBenefitClient) CreateResponder(resp *http.Response) (result HybridUseBenefitModel, err error) + func (client HybridUseBenefitClient) CreateSender(req *http.Request) (*http.Response, error) + func (client HybridUseBenefitClient) Delete(ctx context.Context, scope string, planID string) (result autorest.Response, err error) + func (client HybridUseBenefitClient) DeletePreparer(ctx context.Context, scope string, planID string) (*http.Request, error) + func (client HybridUseBenefitClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error) + func (client HybridUseBenefitClient) DeleteSender(req *http.Request) (*http.Response, error) + func (client HybridUseBenefitClient) Get(ctx context.Context, scope string, planID string) (result HybridUseBenefitModel, err error) + func (client HybridUseBenefitClient) GetPreparer(ctx context.Context, scope string, planID string) (*http.Request, error) + func (client HybridUseBenefitClient) GetResponder(resp *http.Response) (result HybridUseBenefitModel, err error) + func (client HybridUseBenefitClient) GetSender(req *http.Request) (*http.Response, error) + func (client HybridUseBenefitClient) List(ctx context.Context, scope string, filter string) (result HybridUseBenefitListResultPage, err error) + func (client HybridUseBenefitClient) ListComplete(ctx context.Context, scope string, filter string) (result HybridUseBenefitListResultIterator, err error) + func (client HybridUseBenefitClient) ListPreparer(ctx context.Context, scope string, filter string) (*http.Request, error) + func (client HybridUseBenefitClient) ListResponder(resp *http.Response) (result HybridUseBenefitListResult, err error) + func (client HybridUseBenefitClient) ListSender(req *http.Request) (*http.Response, error) + func (client HybridUseBenefitClient) Update(ctx context.Context, scope string, planID string, body HybridUseBenefitModel) (result HybridUseBenefitModel, err error) + func (client HybridUseBenefitClient) UpdatePreparer(ctx context.Context, scope string, planID string, body HybridUseBenefitModel) (*http.Request, error) + func (client HybridUseBenefitClient) UpdateResponder(resp *http.Response) (result HybridUseBenefitModel, err error) + func (client HybridUseBenefitClient) UpdateSender(req *http.Request) (*http.Response, error) + type HybridUseBenefitListResult struct + NextLink *string + Value *[]HybridUseBenefitModel + func (hublr HybridUseBenefitListResult) IsEmpty() bool + type HybridUseBenefitListResultIterator struct + func NewHybridUseBenefitListResultIterator(page HybridUseBenefitListResultPage) HybridUseBenefitListResultIterator + func (iter *HybridUseBenefitListResultIterator) Next() error + func (iter *HybridUseBenefitListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter HybridUseBenefitListResultIterator) NotDone() bool + func (iter HybridUseBenefitListResultIterator) Response() HybridUseBenefitListResult + func (iter HybridUseBenefitListResultIterator) Value() HybridUseBenefitModel + type HybridUseBenefitListResultPage struct + func NewHybridUseBenefitListResultPage(cur HybridUseBenefitListResult, ...) HybridUseBenefitListResultPage + func (page *HybridUseBenefitListResultPage) Next() error + func (page *HybridUseBenefitListResultPage) NextWithContext(ctx context.Context) (err error) + func (page HybridUseBenefitListResultPage) NotDone() bool + func (page HybridUseBenefitListResultPage) Response() HybridUseBenefitListResult + func (page HybridUseBenefitListResultPage) Values() []HybridUseBenefitModel + type HybridUseBenefitModel struct + Etag *int32 + ID *string + Name *string + Sku *Sku + Type *string + func (hubm *HybridUseBenefitModel) UnmarshalJSON(body []byte) error + func (hubm HybridUseBenefitModel) MarshalJSON() ([]byte, error) + type HybridUseBenefitProperties struct + CreatedDate *date.Time + LastUpdatedDate *date.Time + ProvisioningState ProvisioningState + func (hubp HybridUseBenefitProperties) MarshalJSON() ([]byte, error) + type HybridUseBenefitRevisionClient struct + func NewHybridUseBenefitRevisionClient(subscriptionID string) HybridUseBenefitRevisionClient + func NewHybridUseBenefitRevisionClientWithBaseURI(baseURI string, subscriptionID string) HybridUseBenefitRevisionClient + func (client HybridUseBenefitRevisionClient) List(ctx context.Context, scope string, planID string) (result HybridUseBenefitListResultPage, err error) + func (client HybridUseBenefitRevisionClient) ListComplete(ctx context.Context, scope string, planID string) (result HybridUseBenefitListResultIterator, err error) + func (client HybridUseBenefitRevisionClient) ListPreparer(ctx context.Context, scope string, planID string) (*http.Request, error) + func (client HybridUseBenefitRevisionClient) ListResponder(resp *http.Response) (result HybridUseBenefitListResult, err error) + func (client HybridUseBenefitRevisionClient) ListSender(req *http.Request) (*http.Response, error) + type OperationDisplay struct + Description *string + Operation *string + Provider *string + Resource *string + type OperationList struct + NextLink *string + Value *[]OperationResponse + func (ol OperationList) IsEmpty() bool + type OperationListIterator struct + func NewOperationListIterator(page OperationListPage) OperationListIterator + func (iter *OperationListIterator) Next() error + func (iter *OperationListIterator) NextWithContext(ctx context.Context) (err error) + func (iter OperationListIterator) NotDone() bool + func (iter OperationListIterator) Response() OperationList + func (iter OperationListIterator) Value() OperationResponse + type OperationListPage struct + func NewOperationListPage(cur OperationList, ...) OperationListPage + func (page *OperationListPage) Next() error + func (page *OperationListPage) NextWithContext(ctx context.Context) (err error) + func (page OperationListPage) NotDone() bool + func (page OperationListPage) Response() OperationList + func (page OperationListPage) Values() []OperationResponse + type OperationResponse struct + Display *OperationDisplay + Name *string + Origin *string + type OperationsClient struct + func NewOperationsClient(subscriptionID string) OperationsClient + func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient + func (client OperationsClient) List(ctx context.Context, scope string) (result OperationListPage, err error) + func (client OperationsClient) ListComplete(ctx context.Context, scope string) (result OperationListIterator, err error) + func (client OperationsClient) ListPreparer(ctx context.Context, scope string) (*http.Request, error) + func (client OperationsClient) ListResponder(resp *http.Response) (result OperationList, err error) + func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) + type ProvisioningState string + const Cancelled + const Failed + const Succeeded + func PossibleProvisioningStateValues() []ProvisioningState + type ProxyResource struct + ID *string + Name *string + Type *string + func (pr ProxyResource) MarshalJSON() ([]byte, error) + type Resource struct + ID *string + Name *string + Type *string + func (r Resource) MarshalJSON() ([]byte, error) + type Sku struct + Name *string + type TrackedResource struct + ID *string + Location *string + Name *string + Tags map[string]*string + Type *string + func (tr TrackedResource) MarshalJSON() ([]byte, error)