Versions in this module Expand all Collapse all v1 v1.0.1 Sep 13, 2022 v1.0.0 Sep 12, 2022 Changes in this version + const DefaultBaseURI + func UserAgent() string + func Version() string + type AdPrincipal struct + ObjectID *string + type BaseClient struct + BaseURI string + func New() BaseClient + func NewWithBaseURI(baseURI string) BaseClient + type CreationParameters struct + AdditionalParameters map[string]interface{} + DisplayName *string + OfferType OfferType + Owners *[]AdPrincipal + func (cp CreationParameters) MarshalJSON() ([]byte, error) + type CreationResult struct + SubscriptionLink *string + type ErrorResponse struct + Code *string + Message *string + type FactoryClient struct + func NewFactoryClient() FactoryClient + func NewFactoryClientWithBaseURI(baseURI string) FactoryClient + func (client FactoryClient) CreateSubscriptionInEnrollmentAccount(ctx context.Context, enrollmentAccountName string, body CreationParameters) (result FactoryCreateSubscriptionInEnrollmentAccountFuture, err error) + func (client FactoryClient) CreateSubscriptionInEnrollmentAccountPreparer(ctx context.Context, enrollmentAccountName string, body CreationParameters) (*http.Request, error) + func (client FactoryClient) CreateSubscriptionInEnrollmentAccountResponder(resp *http.Response) (result CreationResult, err error) + func (client FactoryClient) CreateSubscriptionInEnrollmentAccountSender(req *http.Request) (future FactoryCreateSubscriptionInEnrollmentAccountFuture, err error) + type FactoryCreateSubscriptionInEnrollmentAccountFuture struct + Result func(FactoryClient) (CreationResult, error) + func (future *FactoryCreateSubscriptionInEnrollmentAccountFuture) UnmarshalJSON(body []byte) error + type ListResult struct + NextLink *string + Value *[]Model + func (lr ListResult) IsEmpty() bool + type ListResultIterator struct + func NewListResultIterator(page ListResultPage) ListResultIterator + func (iter *ListResultIterator) Next() error + func (iter *ListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter ListResultIterator) NotDone() bool + func (iter ListResultIterator) Response() ListResult + func (iter ListResultIterator) Value() Model + type ListResultPage struct + func NewListResultPage(cur ListResult, ...) ListResultPage + func (page *ListResultPage) Next() error + func (page *ListResultPage) NextWithContext(ctx context.Context) (err error) + func (page ListResultPage) NotDone() bool + func (page ListResultPage) Response() ListResult + func (page ListResultPage) Values() []Model + type Location struct + DisplayName *string + ID *string + Latitude *string + Longitude *string + Name *string + SubscriptionID *string + func (l Location) MarshalJSON() ([]byte, error) + type LocationListResult struct + Value *[]Location + type Model struct + AuthorizationSource *string + DisplayName *string + ID *string + State State + SubscriptionID *string + SubscriptionPolicies *Policies + func (mVar Model) MarshalJSON() ([]byte, error) + type OfferType string + const MSAZR0017P + const MSAZR0148P + func PossibleOfferTypeValues() []OfferType + type Operation struct + ID *string + Status *string + StatusDetail *string + func (o Operation) MarshalJSON() ([]byte, error) + type OperationListResult struct + Value *[]Operation + type OperationsClient struct + func NewOperationsClient() OperationsClient + func NewOperationsClientWithBaseURI(baseURI string) OperationsClient + func (client OperationsClient) List(ctx context.Context) (result OperationListResult, err error) + func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error) + func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error) + type Policies struct + LocationPlacementID *string + QuotaID *string + SpendingLimit SpendingLimit + func (p Policies) MarshalJSON() ([]byte, error) + type SpendingLimit string + const CurrentPeriodOff + const Off + const On + func PossibleSpendingLimitValues() []SpendingLimit + type State string + const Deleted + const Disabled + const Enabled + const PastDue + const Warned + func PossibleStateValues() []State + type SubscriptionsClient struct + func NewSubscriptionsClient() SubscriptionsClient + func NewSubscriptionsClientWithBaseURI(baseURI string) SubscriptionsClient + func (client SubscriptionsClient) Get(ctx context.Context, subscriptionID string) (result Model, err error) + func (client SubscriptionsClient) GetPreparer(ctx context.Context, subscriptionID string) (*http.Request, error) + func (client SubscriptionsClient) GetResponder(resp *http.Response) (result Model, err error) + func (client SubscriptionsClient) GetSender(req *http.Request) (*http.Response, error) + func (client SubscriptionsClient) List(ctx context.Context) (result ListResultPage, err error) + func (client SubscriptionsClient) ListComplete(ctx context.Context) (result ListResultIterator, err error) + func (client SubscriptionsClient) ListLocations(ctx context.Context, subscriptionID string) (result LocationListResult, err error) + func (client SubscriptionsClient) ListLocationsPreparer(ctx context.Context, subscriptionID string) (*http.Request, error) + func (client SubscriptionsClient) ListLocationsResponder(resp *http.Response) (result LocationListResult, err error) + func (client SubscriptionsClient) ListLocationsSender(req *http.Request) (*http.Response, error) + func (client SubscriptionsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client SubscriptionsClient) ListResponder(resp *http.Response) (result ListResult, err error) + func (client SubscriptionsClient) ListSender(req *http.Request) (*http.Response, error) + type TenantIDDescription struct + ID *string + TenantID *string + func (tid TenantIDDescription) MarshalJSON() ([]byte, error) + type TenantListResult struct + NextLink *string + Value *[]TenantIDDescription + func (tlr TenantListResult) IsEmpty() bool + type TenantListResultIterator struct + func NewTenantListResultIterator(page TenantListResultPage) TenantListResultIterator + func (iter *TenantListResultIterator) Next() error + func (iter *TenantListResultIterator) NextWithContext(ctx context.Context) (err error) + func (iter TenantListResultIterator) NotDone() bool + func (iter TenantListResultIterator) Response() TenantListResult + func (iter TenantListResultIterator) Value() TenantIDDescription + type TenantListResultPage struct + func NewTenantListResultPage(cur TenantListResult, ...) TenantListResultPage + func (page *TenantListResultPage) Next() error + func (page *TenantListResultPage) NextWithContext(ctx context.Context) (err error) + func (page TenantListResultPage) NotDone() bool + func (page TenantListResultPage) Response() TenantListResult + func (page TenantListResultPage) Values() []TenantIDDescription + type TenantsClient struct + func NewTenantsClient() TenantsClient + func NewTenantsClientWithBaseURI(baseURI string) TenantsClient + func (client TenantsClient) List(ctx context.Context) (result TenantListResultPage, err error) + func (client TenantsClient) ListComplete(ctx context.Context) (result TenantListResultIterator, err error) + func (client TenantsClient) ListPreparer(ctx context.Context) (*http.Request, error) + func (client TenantsClient) ListResponder(resp *http.Response) (result TenantListResult, err error) + func (client TenantsClient) ListSender(req *http.Request) (*http.Response, error)