Documentation ¶
Index ¶
- func PossibleValuesForBillingType() []string
- func PossibleValuesForLocation() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForSkuTier() []string
- func ValidateB2CDirectoryID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateResourceGroupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateSubscriptionID(input interface{}, key string) (warnings []string, errors []error)
- type B2CDirectoryId
- type BillingConfig
- type BillingType
- type CheckNameAvailabilityRequest
- type CheckNameAvailabilityResponse
- type CheckNameAvailabilityResult
- type CreateResponse
- type CreateTenant
- type CreateTenantProperties
- type DeleteResponse
- type GetResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionResponse
- type Location
- type ResourceGroupId
- type Sku
- type SkuName
- type SkuTier
- type SubscriptionId
- type Tenant
- type TenantPredicate
- type TenantProperties
- type TenantPropertiesForCreate
- type TenantsClient
- func (c TenantsClient) CheckNameAvailability(ctx context.Context, id SubscriptionId, input CheckNameAvailabilityRequest) (result CheckNameAvailabilityResponse, err error)
- func (c TenantsClient) Create(ctx context.Context, id B2CDirectoryId, input CreateTenant) (result CreateResponse, err error)
- func (c TenantsClient) CreateThenPoll(ctx context.Context, id B2CDirectoryId, input CreateTenant) error
- func (c TenantsClient) Delete(ctx context.Context, id B2CDirectoryId) (result DeleteResponse, err error)
- func (c TenantsClient) DeleteThenPoll(ctx context.Context, id B2CDirectoryId) error
- func (c TenantsClient) Get(ctx context.Context, id B2CDirectoryId) (result GetResponse, err error)
- func (c TenantsClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)
- func (c TenantsClient) ListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c TenantsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate TenantPredicate) (resp ListByResourceGroupCompleteResult, err error)
- func (c TenantsClient) ListBySubscription(ctx context.Context, id SubscriptionId) (resp ListBySubscriptionResponse, err error)
- func (c TenantsClient) ListBySubscriptionComplete(ctx context.Context, id SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c TenantsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate TenantPredicate) (resp ListBySubscriptionCompleteResult, err error)
- func (c TenantsClient) Update(ctx context.Context, id B2CDirectoryId, input UpdateTenant) (result UpdateResponse, err error)
- type UpdateResponse
- type UpdateTenant
- type UpdateTenantProperties
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForBillingType ¶
func PossibleValuesForBillingType() []string
func PossibleValuesForLocation ¶
func PossibleValuesForLocation() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func PossibleValuesForSkuTier ¶
func PossibleValuesForSkuTier() []string
func ValidateB2CDirectoryID ¶
ValidateB2CDirectoryID checks that 'input' can be parsed as a B 2 C Directory ID
func ValidateResourceGroupID ¶
ValidateResourceGroupID checks that 'input' can be parsed as a Resource Group ID
func ValidateSubscriptionID ¶
ValidateSubscriptionID checks that 'input' can be parsed as a Subscription ID
Types ¶
type B2CDirectoryId ¶
B2CDirectoryId is a struct representing the Resource ID for a B 2 C Directory
func NewB2CDirectoryID ¶
func NewB2CDirectoryID(subscriptionId string, resourceGroup string, directoryName string) B2CDirectoryId
NewB2CDirectoryID returns a new B2CDirectoryId struct
func ParseB2CDirectoryID ¶
func ParseB2CDirectoryID(input string) (*B2CDirectoryId, error)
ParseB2CDirectoryID parses 'input' into a B2CDirectoryId
func ParseB2CDirectoryIDInsensitively ¶
func ParseB2CDirectoryIDInsensitively(input string) (*B2CDirectoryId, error)
ParseB2CDirectoryIDInsensitively parses 'input' case-insensitively into a B2CDirectoryId note: this method should only be used for API response data and not user input
func (B2CDirectoryId) ID ¶
func (id B2CDirectoryId) ID() string
ID returns the formatted B 2 C Directory ID
func (B2CDirectoryId) Segments ¶
func (id B2CDirectoryId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this B 2 C Directory ID
func (B2CDirectoryId) String ¶
func (id B2CDirectoryId) String() string
String returns a human-readable description of this B 2 C Directory ID
type BillingConfig ¶
type BillingConfig struct { BillingType *BillingType `json:"billingType,omitempty"` EffectiveStartDateUtc *string `json:"effectiveStartDateUtc,omitempty"` }
type BillingType ¶
type BillingType string
const ( BillingTypeAuths BillingType = "auths" BillingTypeMonthlyActiveUsers BillingType = "mau" )
type CheckNameAvailabilityResponse ¶
type CheckNameAvailabilityResponse struct { HttpResponse *http.Response Model *CheckNameAvailabilityResult }
type CreateResponse ¶
type CreateResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CreateTenant ¶
type CreateTenant struct { Location Location `json:"location"` Properties TenantPropertiesForCreate `json:"properties"` Sku Sku `json:"sku"` Tags *map[string]string `json:"tags,omitempty"` }
type CreateTenantProperties ¶
type DeleteResponse ¶
type DeleteResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetResponse ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Tenant
}
type ListByResourceGroupResponse ¶
type ListByResourceGroupResponse struct { HttpResponse *http.Response Model *[]Tenant // contains filtered or unexported fields }
func (ListByResourceGroupResponse) HasMore ¶
func (r ListByResourceGroupResponse) HasMore() bool
func (ListByResourceGroupResponse) LoadMore ¶
func (r ListByResourceGroupResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []Tenant
}
type ListBySubscriptionResponse ¶
type ListBySubscriptionResponse struct { HttpResponse *http.Response Model *[]Tenant // contains filtered or unexported fields }
func (ListBySubscriptionResponse) HasMore ¶
func (r ListBySubscriptionResponse) HasMore() bool
func (ListBySubscriptionResponse) LoadMore ¶
func (r ListBySubscriptionResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionResponse, err error)
type ResourceGroupId ¶
ResourceGroupId is a struct representing the Resource ID for a Resource Group
func NewResourceGroupID ¶
func NewResourceGroupID(subscriptionId string, resourceGroup string) ResourceGroupId
NewResourceGroupID returns a new ResourceGroupId struct
func ParseResourceGroupID ¶
func ParseResourceGroupID(input string) (*ResourceGroupId, error)
ParseResourceGroupID parses 'input' into a ResourceGroupId
func ParseResourceGroupIDInsensitively ¶
func ParseResourceGroupIDInsensitively(input string) (*ResourceGroupId, error)
ParseResourceGroupIDInsensitively parses 'input' case-insensitively into a ResourceGroupId note: this method should only be used for API response data and not user input
func (ResourceGroupId) ID ¶
func (id ResourceGroupId) ID() string
ID returns the formatted Resource Group ID
func (ResourceGroupId) Segments ¶
func (id ResourceGroupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Resource Group ID
func (ResourceGroupId) String ¶
func (id ResourceGroupId) String() string
String returns a human-readable description of this Resource Group ID
type SubscriptionId ¶
type SubscriptionId struct {
SubscriptionId string
}
SubscriptionId is a struct representing the Resource ID for a Subscription
func NewSubscriptionID ¶
func NewSubscriptionID(subscriptionId string) SubscriptionId
NewSubscriptionID returns a new SubscriptionId struct
func ParseSubscriptionID ¶
func ParseSubscriptionID(input string) (*SubscriptionId, error)
ParseSubscriptionID parses 'input' into a SubscriptionId
func ParseSubscriptionIDInsensitively ¶
func ParseSubscriptionIDInsensitively(input string) (*SubscriptionId, error)
ParseSubscriptionIDInsensitively parses 'input' case-insensitively into a SubscriptionId note: this method should only be used for API response data and not user input
func (SubscriptionId) ID ¶
func (id SubscriptionId) ID() string
ID returns the formatted Subscription ID
func (SubscriptionId) Segments ¶
func (id SubscriptionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Subscription ID
func (SubscriptionId) String ¶
func (id SubscriptionId) String() string
String returns a human-readable description of this Subscription ID
type Tenant ¶
type Tenant struct { Id *string `json:"id,omitempty"` Location *Location `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *TenantProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type TenantPredicate ¶
func (TenantPredicate) Matches ¶
func (p TenantPredicate) Matches(input Tenant) bool
type TenantProperties ¶
type TenantProperties struct { BillingConfig *BillingConfig `json:"billingConfig,omitempty"` CountryCode *string `json:"countryCode,omitempty"` DisplayName *string `json:"displayName,omitempty"` TenantId *string `json:"tenantId,omitempty"` }
type TenantPropertiesForCreate ¶
type TenantPropertiesForCreate struct {
CreateTenantProperties CreateTenantProperties `json:"createTenantProperties"`
}
type TenantsClient ¶
func NewTenantsClientWithBaseURI ¶
func NewTenantsClientWithBaseURI(endpoint string) TenantsClient
func (TenantsClient) CheckNameAvailability ¶
func (c TenantsClient) CheckNameAvailability(ctx context.Context, id SubscriptionId, input CheckNameAvailabilityRequest) (result CheckNameAvailabilityResponse, err error)
CheckNameAvailability ...
func (TenantsClient) Create ¶
func (c TenantsClient) Create(ctx context.Context, id B2CDirectoryId, input CreateTenant) (result CreateResponse, err error)
Create ...
func (TenantsClient) CreateThenPoll ¶
func (c TenantsClient) CreateThenPoll(ctx context.Context, id B2CDirectoryId, input CreateTenant) error
CreateThenPoll performs Create then polls until it's completed
func (TenantsClient) Delete ¶
func (c TenantsClient) Delete(ctx context.Context, id B2CDirectoryId) (result DeleteResponse, err error)
Delete ...
func (TenantsClient) DeleteThenPoll ¶
func (c TenantsClient) DeleteThenPoll(ctx context.Context, id B2CDirectoryId) error
DeleteThenPoll performs Delete then polls until it's completed
func (TenantsClient) Get ¶
func (c TenantsClient) Get(ctx context.Context, id B2CDirectoryId) (result GetResponse, err error)
Get ...
func (TenantsClient) ListByResourceGroup ¶
func (c TenantsClient) ListByResourceGroup(ctx context.Context, id ResourceGroupId) (resp ListByResourceGroupResponse, err error)
ListByResourceGroup ...
func (TenantsClient) ListByResourceGroupComplete ¶
func (c TenantsClient) ListByResourceGroupComplete(ctx context.Context, id ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (TenantsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c TenantsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id ResourceGroupId, predicate TenantPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (TenantsClient) ListBySubscription ¶
func (c TenantsClient) ListBySubscription(ctx context.Context, id SubscriptionId) (resp ListBySubscriptionResponse, err error)
ListBySubscription ...
func (TenantsClient) ListBySubscriptionComplete ¶
func (c TenantsClient) ListBySubscriptionComplete(ctx context.Context, id SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (TenantsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c TenantsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id SubscriptionId, predicate TenantPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (TenantsClient) Update ¶
func (c TenantsClient) Update(ctx context.Context, id B2CDirectoryId, input UpdateTenant) (result UpdateResponse, err error)
Update ...
type UpdateResponse ¶
type UpdateTenant ¶
type UpdateTenant struct { Properties UpdateTenantProperties `json:"properties"` Sku Sku `json:"sku"` Tags *map[string]string `json:"tags,omitempty"` }
type UpdateTenantProperties ¶
type UpdateTenantProperties struct {
BillingConfig *BillingConfig `json:"billingConfig,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_b2cdirectory.go
- id_resourcegroup.go
- id_subscription.go
- method_checknameavailability_autorest.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_update_autorest.go
- model_billingconfig.go
- model_checknameavailabilityrequest.go
- model_checknameavailabilityresult.go
- model_createtenant.go
- model_createtenantproperties.go
- model_sku.go
- model_tenant.go
- model_tenantproperties.go
- model_tenantpropertiesforcreate.go
- model_updatetenant.go
- model_updatetenantproperties.go
- predicates.go
- version.go