Documentation ¶
Index ¶
- func PossibleValuesForAcceptOwnership() []string
- func PossibleValuesForProvisioning() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForWorkload() []string
- func ValidateAliasID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateProviderSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSubscriptionOperationID(input interface{}, key string) (warnings []string, errors []error)
- type AcceptOwnership
- type AcceptOwnershipRequest
- type AcceptOwnershipRequestProperties
- type AcceptOwnershipStatusResponse
- type AliasCreateOperationResponse
- type AliasDeleteOperationResponse
- type AliasGetOperationResponse
- type AliasId
- type AliasListCompleteResult
- type AliasListOperationResponse
- type BillingAccountGetPolicyOperationResponse
- type BillingAccountId
- type BillingAccountPoliciesResponse
- type BillingAccountPoliciesResponseProperties
- type CanceledSubscriptionId
- type EnabledSubscriptionId
- type GetTenantPolicyResponse
- type GetTenantPolicyResponseOperationPredicate
- type ProviderSubscriptionId
- type Provisioning
- type ProvisioningState
- type PutAliasRequest
- type PutAliasRequestAdditionalProperties
- type PutAliasRequestProperties
- type PutTenantPolicyRequestProperties
- type RenamedSubscriptionId
- type ServiceTenantResponse
- type SubscriptionAcceptOwnershipOperationResponse
- type SubscriptionAcceptOwnershipStatusOperationResponse
- type SubscriptionAliasResponse
- type SubscriptionAliasResponseOperationPredicate
- type SubscriptionAliasResponseProperties
- type SubscriptionCancelOperationOptions
- type SubscriptionCancelOperationResponse
- type SubscriptionCreationResult
- type SubscriptionEnableOperationResponse
- type SubscriptionName
- type SubscriptionOperationGetOperationResponse
- type SubscriptionOperationId
- type SubscriptionPolicyAddUpdatePolicyForTenantOperationResponse
- type SubscriptionPolicyGetPolicyForTenantOperationResponse
- type SubscriptionPolicyListPolicyForTenantCompleteResult
- type SubscriptionPolicyListPolicyForTenantOperationResponse
- type SubscriptionRenameOperationResponse
- type SubscriptionsClient
- func (c SubscriptionsClient) AliasCreate(ctx context.Context, id AliasId, input PutAliasRequest) (result AliasCreateOperationResponse, err error)
- func (c SubscriptionsClient) AliasCreateThenPoll(ctx context.Context, id AliasId, input PutAliasRequest) error
- func (c SubscriptionsClient) AliasDelete(ctx context.Context, id AliasId) (result AliasDeleteOperationResponse, err error)
- func (c SubscriptionsClient) AliasGet(ctx context.Context, id AliasId) (result AliasGetOperationResponse, err error)
- func (c SubscriptionsClient) AliasList(ctx context.Context) (resp AliasListOperationResponse, err error)
- func (c SubscriptionsClient) AliasListComplete(ctx context.Context) (AliasListCompleteResult, error)
- func (c SubscriptionsClient) AliasListCompleteMatchingPredicate(ctx context.Context, predicate SubscriptionAliasResponseOperationPredicate) (resp AliasListCompleteResult, err error)
- func (c SubscriptionsClient) BillingAccountGetPolicy(ctx context.Context, id BillingAccountId) (result BillingAccountGetPolicyOperationResponse, err error)
- func (c SubscriptionsClient) SubscriptionAcceptOwnership(ctx context.Context, id ProviderSubscriptionId, input AcceptOwnershipRequest) (result SubscriptionAcceptOwnershipOperationResponse, err error)
- func (c SubscriptionsClient) SubscriptionAcceptOwnershipStatus(ctx context.Context, id ProviderSubscriptionId) (result SubscriptionAcceptOwnershipStatusOperationResponse, err error)
- func (c SubscriptionsClient) SubscriptionAcceptOwnershipThenPoll(ctx context.Context, id ProviderSubscriptionId, input AcceptOwnershipRequest) error
- func (c SubscriptionsClient) SubscriptionCancel(ctx context.Context, id commonids.SubscriptionId, ...) (result SubscriptionCancelOperationResponse, err error)
- func (c SubscriptionsClient) SubscriptionEnable(ctx context.Context, id commonids.SubscriptionId) (result SubscriptionEnableOperationResponse, err error)
- func (c SubscriptionsClient) SubscriptionOperationGet(ctx context.Context, id SubscriptionOperationId) (result SubscriptionOperationGetOperationResponse, err error)
- func (c SubscriptionsClient) SubscriptionPolicyAddUpdatePolicyForTenant(ctx context.Context, input PutTenantPolicyRequestProperties) (result SubscriptionPolicyAddUpdatePolicyForTenantOperationResponse, err error)
- func (c SubscriptionsClient) SubscriptionPolicyGetPolicyForTenant(ctx context.Context) (result SubscriptionPolicyGetPolicyForTenantOperationResponse, err error)
- func (c SubscriptionsClient) SubscriptionPolicyListPolicyForTenant(ctx context.Context) (resp SubscriptionPolicyListPolicyForTenantOperationResponse, err error)
- func (c SubscriptionsClient) SubscriptionPolicyListPolicyForTenantComplete(ctx context.Context) (SubscriptionPolicyListPolicyForTenantCompleteResult, error)
- func (c SubscriptionsClient) SubscriptionPolicyListPolicyForTenantCompleteMatchingPredicate(ctx context.Context, predicate GetTenantPolicyResponseOperationPredicate) (resp SubscriptionPolicyListPolicyForTenantCompleteResult, err error)
- func (c SubscriptionsClient) SubscriptionRename(ctx context.Context, id commonids.SubscriptionId, input SubscriptionName) (result SubscriptionRenameOperationResponse, err error)
- type TenantPolicy
- type Workload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAcceptOwnership ¶
func PossibleValuesForAcceptOwnership() []string
func PossibleValuesForProvisioning ¶
func PossibleValuesForProvisioning() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForWorkload ¶
func PossibleValuesForWorkload() []string
func ValidateAliasID ¶
ValidateAliasID checks that 'input' can be parsed as a Alias ID
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID
func ValidateProviderSubscriptionID ¶
func ValidateProviderSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
ValidateProviderSubscriptionID checks that 'input' can be parsed as a Provider Subscription ID
func ValidateSubscriptionOperationID ¶
func ValidateSubscriptionOperationID(input interface{}, key string) (warnings []string, errors []error)
ValidateSubscriptionOperationID checks that 'input' can be parsed as a Subscription Operation ID
Types ¶
type AcceptOwnership ¶
type AcceptOwnership string
const ( AcceptOwnershipCompleted AcceptOwnership = "Completed" AcceptOwnershipExpired AcceptOwnership = "Expired" AcceptOwnershipPending AcceptOwnership = "Pending" )
type AcceptOwnershipRequest ¶
type AcceptOwnershipRequest struct {
Properties *AcceptOwnershipRequestProperties `json:"properties,omitempty"`
}
type AcceptOwnershipStatusResponse ¶
type AcceptOwnershipStatusResponse struct { AcceptOwnershipState *AcceptOwnership `json:"acceptOwnershipState,omitempty"` BillingOwner *string `json:"billingOwner,omitempty"` DisplayName *string `json:"displayName,omitempty"` ProvisioningState *Provisioning `json:"provisioningState,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` SubscriptionTenantId *string `json:"subscriptionTenantId,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type AliasCreateOperationResponse ¶
type AliasCreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response Model *SubscriptionAliasResponse }
type AliasGetOperationResponse ¶
type AliasGetOperationResponse struct { HttpResponse *http.Response Model *SubscriptionAliasResponse }
type AliasId ¶
type AliasId struct {
AliasName string
}
AliasId is a struct representing the Resource ID for a Alias
func ParseAliasID ¶
ParseAliasID parses 'input' into a AliasId
func ParseAliasIDInsensitively ¶
ParseAliasIDInsensitively parses 'input' case-insensitively into a AliasId note: this method should only be used for API response data and not user input
func (*AliasId) FromParseResult ¶
func (id *AliasId) FromParseResult(input resourceids.ParseResult) error
func (AliasId) Segments ¶
func (id AliasId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Alias ID
type AliasListCompleteResult ¶ added in v0.20240226.1173038
type AliasListCompleteResult struct {
Items []SubscriptionAliasResponse
}
type AliasListOperationResponse ¶
type AliasListOperationResponse struct { HttpResponse *http.Response Model *[]SubscriptionAliasResponse // contains filtered or unexported fields }
func (AliasListOperationResponse) HasMore ¶ added in v0.20240226.1173038
func (r AliasListOperationResponse) HasMore() bool
func (AliasListOperationResponse) LoadMore ¶ added in v0.20240226.1173038
func (r AliasListOperationResponse) LoadMore(ctx context.Context) (resp AliasListOperationResponse, err error)
type BillingAccountGetPolicyOperationResponse ¶
type BillingAccountGetPolicyOperationResponse struct { HttpResponse *http.Response Model *BillingAccountPoliciesResponse }
type BillingAccountId ¶
type BillingAccountId struct {
BillingAccountId string
}
BillingAccountId is a struct representing the Resource ID for a Billing Account
func NewBillingAccountID ¶
func NewBillingAccountID(billingAccountId string) BillingAccountId
NewBillingAccountID returns a new BillingAccountId struct
func ParseBillingAccountID ¶
func ParseBillingAccountID(input string) (*BillingAccountId, error)
ParseBillingAccountID parses 'input' into a BillingAccountId
func ParseBillingAccountIDInsensitively ¶
func ParseBillingAccountIDInsensitively(input string) (*BillingAccountId, error)
ParseBillingAccountIDInsensitively parses 'input' case-insensitively into a BillingAccountId note: this method should only be used for API response data and not user input
func (*BillingAccountId) FromParseResult ¶
func (id *BillingAccountId) FromParseResult(input resourceids.ParseResult) error
func (BillingAccountId) ID ¶
func (id BillingAccountId) ID() string
ID returns the formatted Billing Account ID
func (BillingAccountId) Segments ¶
func (id BillingAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Billing Account ID
func (BillingAccountId) String ¶
func (id BillingAccountId) String() string
String returns a human-readable description of this Billing Account ID
type BillingAccountPoliciesResponse ¶
type BillingAccountPoliciesResponse struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *BillingAccountPoliciesResponseProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type BillingAccountPoliciesResponseProperties ¶
type BillingAccountPoliciesResponseProperties struct { AllowTransfers *bool `json:"allowTransfers,omitempty"` ServiceTenants *[]ServiceTenantResponse `json:"serviceTenants,omitempty"` }
type CanceledSubscriptionId ¶
type CanceledSubscriptionId struct {
SubscriptionId *string `json:"subscriptionId,omitempty"`
}
type EnabledSubscriptionId ¶
type EnabledSubscriptionId struct {
SubscriptionId *string `json:"subscriptionId,omitempty"`
}
type GetTenantPolicyResponse ¶
type GetTenantPolicyResponse struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *TenantPolicy `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type GetTenantPolicyResponseOperationPredicate ¶
func (GetTenantPolicyResponseOperationPredicate) Matches ¶
func (p GetTenantPolicyResponseOperationPredicate) Matches(input GetTenantPolicyResponse) bool
type ProviderSubscriptionId ¶
type ProviderSubscriptionId struct {
SubscriptionId string
}
ProviderSubscriptionId is a struct representing the Resource ID for a Provider Subscription
func NewProviderSubscriptionID ¶
func NewProviderSubscriptionID(subscriptionId string) ProviderSubscriptionId
NewProviderSubscriptionID returns a new ProviderSubscriptionId struct
func ParseProviderSubscriptionID ¶
func ParseProviderSubscriptionID(input string) (*ProviderSubscriptionId, error)
ParseProviderSubscriptionID parses 'input' into a ProviderSubscriptionId
func ParseProviderSubscriptionIDInsensitively ¶
func ParseProviderSubscriptionIDInsensitively(input string) (*ProviderSubscriptionId, error)
ParseProviderSubscriptionIDInsensitively parses 'input' case-insensitively into a ProviderSubscriptionId note: this method should only be used for API response data and not user input
func (*ProviderSubscriptionId) FromParseResult ¶
func (id *ProviderSubscriptionId) FromParseResult(input resourceids.ParseResult) error
func (ProviderSubscriptionId) ID ¶
func (id ProviderSubscriptionId) ID() string
ID returns the formatted Provider Subscription ID
func (ProviderSubscriptionId) Segments ¶
func (id ProviderSubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Subscription ID
func (ProviderSubscriptionId) String ¶
func (id ProviderSubscriptionId) String() string
String returns a human-readable description of this Provider Subscription ID
type Provisioning ¶
type Provisioning string
const ( ProvisioningAccepted Provisioning = "Accepted" ProvisioningPending Provisioning = "Pending" ProvisioningSucceeded Provisioning = "Succeeded" )
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
type PutAliasRequest ¶
type PutAliasRequest struct {
Properties *PutAliasRequestProperties `json:"properties,omitempty"`
}
type PutAliasRequestProperties ¶
type PutAliasRequestProperties struct { AdditionalProperties *PutAliasRequestAdditionalProperties `json:"additionalProperties,omitempty"` BillingScope *string `json:"billingScope,omitempty"` DisplayName *string `json:"displayName,omitempty"` ResellerId *string `json:"resellerId,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` Workload *Workload `json:"workload,omitempty"` }
type RenamedSubscriptionId ¶
type RenamedSubscriptionId struct {
SubscriptionId *string `json:"subscriptionId,omitempty"`
}
type ServiceTenantResponse ¶
type SubscriptionAcceptOwnershipOperationResponse ¶
type SubscriptionAcceptOwnershipOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type SubscriptionAcceptOwnershipStatusOperationResponse ¶
type SubscriptionAcceptOwnershipStatusOperationResponse struct { HttpResponse *http.Response Model *AcceptOwnershipStatusResponse }
type SubscriptionAliasResponse ¶
type SubscriptionAliasResponse struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *SubscriptionAliasResponseProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type SubscriptionAliasResponseOperationPredicate ¶ added in v0.20240226.1173038
func (SubscriptionAliasResponseOperationPredicate) Matches ¶ added in v0.20240226.1173038
func (p SubscriptionAliasResponseOperationPredicate) Matches(input SubscriptionAliasResponse) bool
type SubscriptionAliasResponseProperties ¶
type SubscriptionAliasResponseProperties struct { AcceptOwnershipState *AcceptOwnership `json:"acceptOwnershipState,omitempty"` AcceptOwnershipUrl *string `json:"acceptOwnershipUrl,omitempty"` BillingScope *string `json:"billingScope,omitempty"` CreatedTime *string `json:"createdTime,omitempty"` DisplayName *string `json:"displayName,omitempty"` ManagementGroupId *string `json:"managementGroupId,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ResellerId *string `json:"resellerId,omitempty"` SubscriptionId *string `json:"subscriptionId,omitempty"` SubscriptionOwnerId *string `json:"subscriptionOwnerId,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Workload *Workload `json:"workload,omitempty"` }
type SubscriptionCancelOperationOptions ¶ added in v0.20240627.1145836
type SubscriptionCancelOperationOptions struct {
IgnoreResourceCheck *bool
}
func DefaultSubscriptionCancelOperationOptions ¶ added in v0.20240627.1145836
func DefaultSubscriptionCancelOperationOptions() SubscriptionCancelOperationOptions
type SubscriptionCancelOperationResponse ¶
type SubscriptionCancelOperationResponse struct { HttpResponse *http.Response Model *CanceledSubscriptionId }
type SubscriptionCreationResult ¶
type SubscriptionCreationResult struct {
SubscriptionLink *string `json:"subscriptionLink,omitempty"`
}
type SubscriptionEnableOperationResponse ¶
type SubscriptionEnableOperationResponse struct { HttpResponse *http.Response Model *EnabledSubscriptionId }
type SubscriptionName ¶
type SubscriptionName struct {
SubscriptionName *string `json:"subscriptionName,omitempty"`
}
type SubscriptionOperationGetOperationResponse ¶
type SubscriptionOperationGetOperationResponse struct { HttpResponse *http.Response Model *SubscriptionCreationResult }
type SubscriptionOperationId ¶
type SubscriptionOperationId struct {
OperationId string
}
SubscriptionOperationId is a struct representing the Resource ID for a Subscription Operation
func NewSubscriptionOperationID ¶
func NewSubscriptionOperationID(operationId string) SubscriptionOperationId
NewSubscriptionOperationID returns a new SubscriptionOperationId struct
func ParseSubscriptionOperationID ¶
func ParseSubscriptionOperationID(input string) (*SubscriptionOperationId, error)
ParseSubscriptionOperationID parses 'input' into a SubscriptionOperationId
func ParseSubscriptionOperationIDInsensitively ¶
func ParseSubscriptionOperationIDInsensitively(input string) (*SubscriptionOperationId, error)
ParseSubscriptionOperationIDInsensitively parses 'input' case-insensitively into a SubscriptionOperationId note: this method should only be used for API response data and not user input
func (*SubscriptionOperationId) FromParseResult ¶
func (id *SubscriptionOperationId) FromParseResult(input resourceids.ParseResult) error
func (SubscriptionOperationId) ID ¶
func (id SubscriptionOperationId) ID() string
ID returns the formatted Subscription Operation ID
func (SubscriptionOperationId) Segments ¶
func (id SubscriptionOperationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Subscription Operation ID
func (SubscriptionOperationId) String ¶
func (id SubscriptionOperationId) String() string
String returns a human-readable description of this Subscription Operation ID
type SubscriptionPolicyAddUpdatePolicyForTenantOperationResponse ¶
type SubscriptionPolicyAddUpdatePolicyForTenantOperationResponse struct { HttpResponse *http.Response Model *GetTenantPolicyResponse }
type SubscriptionPolicyGetPolicyForTenantOperationResponse ¶
type SubscriptionPolicyGetPolicyForTenantOperationResponse struct { HttpResponse *http.Response Model *GetTenantPolicyResponse }
type SubscriptionPolicyListPolicyForTenantCompleteResult ¶
type SubscriptionPolicyListPolicyForTenantCompleteResult struct {
Items []GetTenantPolicyResponse
}
type SubscriptionPolicyListPolicyForTenantOperationResponse ¶
type SubscriptionPolicyListPolicyForTenantOperationResponse struct { HttpResponse *http.Response Model *[]GetTenantPolicyResponse // contains filtered or unexported fields }
func (SubscriptionPolicyListPolicyForTenantOperationResponse) HasMore ¶
func (r SubscriptionPolicyListPolicyForTenantOperationResponse) HasMore() bool
func (SubscriptionPolicyListPolicyForTenantOperationResponse) LoadMore ¶
func (r SubscriptionPolicyListPolicyForTenantOperationResponse) LoadMore(ctx context.Context) (resp SubscriptionPolicyListPolicyForTenantOperationResponse, err error)
type SubscriptionRenameOperationResponse ¶
type SubscriptionRenameOperationResponse struct { HttpResponse *http.Response Model *RenamedSubscriptionId }
type SubscriptionsClient ¶
type SubscriptionsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewSubscriptionsClientWithBaseURI ¶
func NewSubscriptionsClientWithBaseURI(endpoint string) SubscriptionsClient
func (SubscriptionsClient) AliasCreate ¶
func (c SubscriptionsClient) AliasCreate(ctx context.Context, id AliasId, input PutAliasRequest) (result AliasCreateOperationResponse, err error)
AliasCreate ...
func (SubscriptionsClient) AliasCreateThenPoll ¶
func (c SubscriptionsClient) AliasCreateThenPoll(ctx context.Context, id AliasId, input PutAliasRequest) error
AliasCreateThenPoll performs AliasCreate then polls until it's completed
func (SubscriptionsClient) AliasDelete ¶
func (c SubscriptionsClient) AliasDelete(ctx context.Context, id AliasId) (result AliasDeleteOperationResponse, err error)
AliasDelete ...
func (SubscriptionsClient) AliasGet ¶
func (c SubscriptionsClient) AliasGet(ctx context.Context, id AliasId) (result AliasGetOperationResponse, err error)
AliasGet ...
func (SubscriptionsClient) AliasList ¶
func (c SubscriptionsClient) AliasList(ctx context.Context) (resp AliasListOperationResponse, err error)
AliasList ...
func (SubscriptionsClient) AliasListComplete ¶ added in v0.20240226.1173038
func (c SubscriptionsClient) AliasListComplete(ctx context.Context) (AliasListCompleteResult, error)
AliasListComplete retrieves all of the results into a single object
func (SubscriptionsClient) AliasListCompleteMatchingPredicate ¶ added in v0.20240226.1173038
func (c SubscriptionsClient) AliasListCompleteMatchingPredicate(ctx context.Context, predicate SubscriptionAliasResponseOperationPredicate) (resp AliasListCompleteResult, err error)
AliasListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SubscriptionsClient) BillingAccountGetPolicy ¶
func (c SubscriptionsClient) BillingAccountGetPolicy(ctx context.Context, id BillingAccountId) (result BillingAccountGetPolicyOperationResponse, err error)
BillingAccountGetPolicy ...
func (SubscriptionsClient) SubscriptionAcceptOwnership ¶
func (c SubscriptionsClient) SubscriptionAcceptOwnership(ctx context.Context, id ProviderSubscriptionId, input AcceptOwnershipRequest) (result SubscriptionAcceptOwnershipOperationResponse, err error)
SubscriptionAcceptOwnership ...
func (SubscriptionsClient) SubscriptionAcceptOwnershipStatus ¶
func (c SubscriptionsClient) SubscriptionAcceptOwnershipStatus(ctx context.Context, id ProviderSubscriptionId) (result SubscriptionAcceptOwnershipStatusOperationResponse, err error)
SubscriptionAcceptOwnershipStatus ...
func (SubscriptionsClient) SubscriptionAcceptOwnershipThenPoll ¶
func (c SubscriptionsClient) SubscriptionAcceptOwnershipThenPoll(ctx context.Context, id ProviderSubscriptionId, input AcceptOwnershipRequest) error
SubscriptionAcceptOwnershipThenPoll performs SubscriptionAcceptOwnership then polls until it's completed
func (SubscriptionsClient) SubscriptionCancel ¶
func (c SubscriptionsClient) SubscriptionCancel(ctx context.Context, id commonids.SubscriptionId, options SubscriptionCancelOperationOptions) (result SubscriptionCancelOperationResponse, err error)
SubscriptionCancel ...
func (SubscriptionsClient) SubscriptionEnable ¶
func (c SubscriptionsClient) SubscriptionEnable(ctx context.Context, id commonids.SubscriptionId) (result SubscriptionEnableOperationResponse, err error)
SubscriptionEnable ...
func (SubscriptionsClient) SubscriptionOperationGet ¶
func (c SubscriptionsClient) SubscriptionOperationGet(ctx context.Context, id SubscriptionOperationId) (result SubscriptionOperationGetOperationResponse, err error)
SubscriptionOperationGet ...
func (SubscriptionsClient) SubscriptionPolicyAddUpdatePolicyForTenant ¶
func (c SubscriptionsClient) SubscriptionPolicyAddUpdatePolicyForTenant(ctx context.Context, input PutTenantPolicyRequestProperties) (result SubscriptionPolicyAddUpdatePolicyForTenantOperationResponse, err error)
SubscriptionPolicyAddUpdatePolicyForTenant ...
func (SubscriptionsClient) SubscriptionPolicyGetPolicyForTenant ¶
func (c SubscriptionsClient) SubscriptionPolicyGetPolicyForTenant(ctx context.Context) (result SubscriptionPolicyGetPolicyForTenantOperationResponse, err error)
SubscriptionPolicyGetPolicyForTenant ...
func (SubscriptionsClient) SubscriptionPolicyListPolicyForTenant ¶
func (c SubscriptionsClient) SubscriptionPolicyListPolicyForTenant(ctx context.Context) (resp SubscriptionPolicyListPolicyForTenantOperationResponse, err error)
SubscriptionPolicyListPolicyForTenant ...
func (SubscriptionsClient) SubscriptionPolicyListPolicyForTenantComplete ¶
func (c SubscriptionsClient) SubscriptionPolicyListPolicyForTenantComplete(ctx context.Context) (SubscriptionPolicyListPolicyForTenantCompleteResult, error)
SubscriptionPolicyListPolicyForTenantComplete retrieves all of the results into a single object
func (SubscriptionsClient) SubscriptionPolicyListPolicyForTenantCompleteMatchingPredicate ¶
func (c SubscriptionsClient) SubscriptionPolicyListPolicyForTenantCompleteMatchingPredicate(ctx context.Context, predicate GetTenantPolicyResponseOperationPredicate) (resp SubscriptionPolicyListPolicyForTenantCompleteResult, err error)
SubscriptionPolicyListPolicyForTenantCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (SubscriptionsClient) SubscriptionRename ¶
func (c SubscriptionsClient) SubscriptionRename(ctx context.Context, id commonids.SubscriptionId, input SubscriptionName) (result SubscriptionRenameOperationResponse, err error)
SubscriptionRename ...
type TenantPolicy ¶
type TenantPolicy struct { BlockSubscriptionsIntoTenant *bool `json:"blockSubscriptionsIntoTenant,omitempty"` BlockSubscriptionsLeavingTenant *bool `json:"blockSubscriptionsLeavingTenant,omitempty"` ExemptedPrincipals *[]string `json:"exemptedPrincipals,omitempty"` PolicyId *string `json:"policyId,omitempty"` }
Source Files ¶
- client.go
- constants.go
- id_alias.go
- id_billingaccount.go
- id_providersubscription.go
- id_subscriptionoperation.go
- method_aliascreate_autorest.go
- method_aliasdelete_autorest.go
- method_aliasget_autorest.go
- method_aliaslist_autorest.go
- method_billingaccountgetpolicy_autorest.go
- method_subscriptionacceptownership_autorest.go
- method_subscriptionacceptownershipstatus_autorest.go
- method_subscriptioncancel_autorest.go
- method_subscriptionenable_autorest.go
- method_subscriptionoperationget_autorest.go
- method_subscriptionpolicyaddupdatepolicyfortenant_autorest.go
- method_subscriptionpolicygetpolicyfortenant_autorest.go
- method_subscriptionpolicylistpolicyfortenant_autorest.go
- method_subscriptionrename_autorest.go
- model_acceptownershiprequest.go
- model_acceptownershiprequestproperties.go
- model_acceptownershipstatusresponse.go
- model_billingaccountpoliciesresponse.go
- model_billingaccountpoliciesresponseproperties.go
- model_canceledsubscriptionid.go
- model_enabledsubscriptionid.go
- model_gettenantpolicyresponse.go
- model_putaliasrequest.go
- model_putaliasrequestadditionalproperties.go
- model_putaliasrequestproperties.go
- model_puttenantpolicyrequestproperties.go
- model_renamedsubscriptionid.go
- model_servicetenantresponse.go
- model_subscriptionaliasresponse.go
- model_subscriptionaliasresponseproperties.go
- model_subscriptioncreationresult.go
- model_subscriptionname.go
- model_tenantpolicy.go
- predicates.go
- version.go