Documentation ¶
Index ¶
- func PossibleValuesForBillingManagementTenantState() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForProvisioningTenantState() []string
- func ValidateAssociatedTenantID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateBillingAccountID(input interface{}, key string) (warnings []string, errors []error)
- type AssociatedTenant
- type AssociatedTenantClient
- func (c AssociatedTenantClient) CreateOrUpdate(ctx context.Context, id AssociatedTenantId, input AssociatedTenant) (result CreateOrUpdateOperationResponse, err error)
- func (c AssociatedTenantClient) CreateOrUpdateThenPoll(ctx context.Context, id AssociatedTenantId, input AssociatedTenant) error
- func (c AssociatedTenantClient) Delete(ctx context.Context, id AssociatedTenantId) (result DeleteOperationResponse, err error)
- func (c AssociatedTenantClient) DeleteThenPoll(ctx context.Context, id AssociatedTenantId) error
- func (c AssociatedTenantClient) Get(ctx context.Context, id AssociatedTenantId) (result GetOperationResponse, err error)
- func (c AssociatedTenantClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountOperationResponse, err error)
- func (c AssociatedTenantClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, ...) (ListByBillingAccountCompleteResult, error)
- func (c AssociatedTenantClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, ...) (result ListByBillingAccountCompleteResult, err error)
- type AssociatedTenantId
- type AssociatedTenantOperationPredicate
- type AssociatedTenantProperties
- type BillingAccountId
- type BillingManagementTenantState
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByBillingAccountCompleteResult
- type ListByBillingAccountCustomPager
- type ListByBillingAccountOperationOptions
- type ListByBillingAccountOperationResponse
- type ProvisioningState
- type ProvisioningTenantState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBillingManagementTenantState ¶
func PossibleValuesForBillingManagementTenantState() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForProvisioningTenantState ¶
func PossibleValuesForProvisioningTenantState() []string
func ValidateAssociatedTenantID ¶
ValidateAssociatedTenantID checks that 'input' can be parsed as a Associated Tenant ID
func ValidateBillingAccountID ¶
ValidateBillingAccountID checks that 'input' can be parsed as a Billing Account ID
Types ¶
type AssociatedTenant ¶
type AssociatedTenant struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AssociatedTenantProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type AssociatedTenantClient ¶
type AssociatedTenantClient struct {
Client *resourcemanager.Client
}
func NewAssociatedTenantClientWithBaseURI ¶
func NewAssociatedTenantClientWithBaseURI(sdkApi sdkEnv.Api) (*AssociatedTenantClient, error)
func (AssociatedTenantClient) CreateOrUpdate ¶
func (c AssociatedTenantClient) CreateOrUpdate(ctx context.Context, id AssociatedTenantId, input AssociatedTenant) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AssociatedTenantClient) CreateOrUpdateThenPoll ¶
func (c AssociatedTenantClient) CreateOrUpdateThenPoll(ctx context.Context, id AssociatedTenantId, input AssociatedTenant) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AssociatedTenantClient) Delete ¶
func (c AssociatedTenantClient) Delete(ctx context.Context, id AssociatedTenantId) (result DeleteOperationResponse, err error)
Delete ...
func (AssociatedTenantClient) DeleteThenPoll ¶
func (c AssociatedTenantClient) DeleteThenPoll(ctx context.Context, id AssociatedTenantId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AssociatedTenantClient) Get ¶
func (c AssociatedTenantClient) Get(ctx context.Context, id AssociatedTenantId) (result GetOperationResponse, err error)
Get ...
func (AssociatedTenantClient) ListByBillingAccount ¶
func (c AssociatedTenantClient) ListByBillingAccount(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions) (result ListByBillingAccountOperationResponse, err error)
ListByBillingAccount ...
func (AssociatedTenantClient) ListByBillingAccountComplete ¶
func (c AssociatedTenantClient) ListByBillingAccountComplete(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions) (ListByBillingAccountCompleteResult, error)
ListByBillingAccountComplete retrieves all the results into a single object
func (AssociatedTenantClient) ListByBillingAccountCompleteMatchingPredicate ¶
func (c AssociatedTenantClient) ListByBillingAccountCompleteMatchingPredicate(ctx context.Context, id BillingAccountId, options ListByBillingAccountOperationOptions, predicate AssociatedTenantOperationPredicate) (result ListByBillingAccountCompleteResult, err error)
ListByBillingAccountCompleteMatchingPredicate retrieves all the results and then applies the predicate
type AssociatedTenantId ¶
AssociatedTenantId is a struct representing the Resource ID for a Associated Tenant
func NewAssociatedTenantID ¶
func NewAssociatedTenantID(billingAccountName string, associatedTenantName string) AssociatedTenantId
NewAssociatedTenantID returns a new AssociatedTenantId struct
func ParseAssociatedTenantID ¶
func ParseAssociatedTenantID(input string) (*AssociatedTenantId, error)
ParseAssociatedTenantID parses 'input' into a AssociatedTenantId
func ParseAssociatedTenantIDInsensitively ¶
func ParseAssociatedTenantIDInsensitively(input string) (*AssociatedTenantId, error)
ParseAssociatedTenantIDInsensitively parses 'input' case-insensitively into a AssociatedTenantId note: this method should only be used for API response data and not user input
func (*AssociatedTenantId) FromParseResult ¶
func (id *AssociatedTenantId) FromParseResult(input resourceids.ParseResult) error
func (AssociatedTenantId) ID ¶
func (id AssociatedTenantId) ID() string
ID returns the formatted Associated Tenant ID
func (AssociatedTenantId) Segments ¶
func (id AssociatedTenantId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Associated Tenant ID
func (AssociatedTenantId) String ¶
func (id AssociatedTenantId) String() string
String returns a human-readable description of this Associated Tenant ID
type AssociatedTenantOperationPredicate ¶
func (AssociatedTenantOperationPredicate) Matches ¶
func (p AssociatedTenantOperationPredicate) Matches(input AssociatedTenant) bool
type AssociatedTenantProperties ¶
type AssociatedTenantProperties struct { BillingManagementState *BillingManagementTenantState `json:"billingManagementState,omitempty"` DisplayName *string `json:"displayName,omitempty"` ProvisioningBillingRequestId *string `json:"provisioningBillingRequestId,omitempty"` ProvisioningManagementState *ProvisioningTenantState `json:"provisioningManagementState,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type BillingAccountId ¶
type BillingAccountId struct {
BillingAccountName string
}
BillingAccountId is a struct representing the Resource ID for a Billing Account
func NewBillingAccountID ¶
func NewBillingAccountID(billingAccountName 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 BillingManagementTenantState ¶
type BillingManagementTenantState string
const ( BillingManagementTenantStateActive BillingManagementTenantState = "Active" BillingManagementTenantStateNotAllowed BillingManagementTenantState = "NotAllowed" BillingManagementTenantStateOther BillingManagementTenantState = "Other" BillingManagementTenantStateRevoked BillingManagementTenantState = "Revoked" )
func (*BillingManagementTenantState) UnmarshalJSON ¶
func (s *BillingManagementTenantState) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AssociatedTenant }
type ListByBillingAccountCompleteResult ¶
type ListByBillingAccountCompleteResult struct { LatestHttpResponse *http.Response Items []AssociatedTenant }
type ListByBillingAccountCustomPager ¶ added in v0.20240628.1153531
func (*ListByBillingAccountCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByBillingAccountCustomPager) NextPageLink() *odata.Link
type ListByBillingAccountOperationOptions ¶
type ListByBillingAccountOperationOptions struct { Count *bool Filter *string IncludeRevoked *bool OrderBy *string Search *string Skip *int64 Top *int64 }
func DefaultListByBillingAccountOperationOptions ¶
func DefaultListByBillingAccountOperationOptions() ListByBillingAccountOperationOptions
func (ListByBillingAccountOperationOptions) ToHeaders ¶
func (o ListByBillingAccountOperationOptions) ToHeaders() *client.Headers
func (ListByBillingAccountOperationOptions) ToOData ¶
func (o ListByBillingAccountOperationOptions) ToOData() *odata.Query
func (ListByBillingAccountOperationOptions) ToQuery ¶
func (o ListByBillingAccountOperationOptions) ToQuery() *client.QueryParams
type ListByBillingAccountOperationResponse ¶
type ListByBillingAccountOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AssociatedTenant }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNew ProvisioningState = "New" ProvisioningStatePending ProvisioningState = "Pending" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type ProvisioningTenantState ¶
type ProvisioningTenantState string
const ( ProvisioningTenantStateActive ProvisioningTenantState = "Active" ProvisioningTenantStateBillingRequestDeclined ProvisioningTenantState = "BillingRequestDeclined" ProvisioningTenantStateBillingRequestExpired ProvisioningTenantState = "BillingRequestExpired" ProvisioningTenantStateNotRequested ProvisioningTenantState = "NotRequested" ProvisioningTenantStateOther ProvisioningTenantState = "Other" ProvisioningTenantStatePending ProvisioningTenantState = "Pending" ProvisioningTenantStateRevoked ProvisioningTenantState = "Revoked" )
func (*ProvisioningTenantState) UnmarshalJSON ¶
func (s *ProvisioningTenantState) UnmarshalJSON(bytes []byte) error