Documentation ¶
Index ¶
- func PossibleValuesForBillingType() []string
- func PossibleValuesForLocation() []string
- func PossibleValuesForSkuName() []string
- func PossibleValuesForSkuTier() []string
- func ValidateB2CDirectoryID(input interface{}, key string) (warnings []string, errors []error)
- type B2CDirectoryId
- type BillingConfig
- type BillingType
- type CheckNameAvailabilityOperationResponse
- type CheckNameAvailabilityRequest
- type CheckNameAvailabilityResult
- type CreateOperationResponse
- type CreateTenant
- type CreateTenantProperties
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type Location
- type Sku
- type SkuName
- type SkuTier
- type Tenant
- type TenantOperationPredicate
- type TenantProperties
- type TenantPropertiesForCreate
- type TenantsClient
- func (c TenantsClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, ...) (result CheckNameAvailabilityOperationResponse, err error)
- func (c TenantsClient) Create(ctx context.Context, id B2CDirectoryId, input CreateTenant) (result CreateOperationResponse, err error)
- func (c TenantsClient) CreateThenPoll(ctx context.Context, id B2CDirectoryId, input CreateTenant) error
- func (c TenantsClient) Delete(ctx context.Context, id B2CDirectoryId) (result DeleteOperationResponse, err error)
- func (c TenantsClient) DeleteThenPoll(ctx context.Context, id B2CDirectoryId) error
- func (c TenantsClient) Get(ctx context.Context, id B2CDirectoryId) (result GetOperationResponse, err error)
- func (c TenantsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c TenantsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c TenantsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c TenantsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c TenantsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c TenantsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c TenantsClient) Update(ctx context.Context, id B2CDirectoryId, input UpdateTenant) (result UpdateOperationResponse, err error)
- type UpdateOperationResponse
- 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
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 CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckNameAvailabilityResult }
type CreateOperationResponse ¶
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 DeleteOperationResponse ¶
type GetOperationResponse ¶
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []Tenant
}
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []Tenant
}
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 TenantOperationPredicate ¶
func (TenantOperationPredicate) Matches ¶
func (p TenantOperationPredicate) 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 ¶
type TenantsClient struct {
Client *resourcemanager.Client
}
func NewTenantsClientWithBaseURI ¶
func NewTenantsClientWithBaseURI(api environments.Api) (*TenantsClient, error)
func (TenantsClient) CheckNameAvailability ¶
func (c TenantsClient) CheckNameAvailability(ctx context.Context, id commonids.SubscriptionId, input CheckNameAvailabilityRequest) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
func (TenantsClient) Create ¶
func (c TenantsClient) Create(ctx context.Context, id B2CDirectoryId, input CreateTenant) (result CreateOperationResponse, 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 DeleteOperationResponse, 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 GetOperationResponse, err error)
Get ...
func (TenantsClient) ListByResourceGroup ¶
func (c TenantsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (TenantsClient) ListByResourceGroupComplete ¶
func (c TenantsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (TenantsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c TenantsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate TenantOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TenantsClient) ListBySubscription ¶
func (c TenantsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (TenantsClient) ListBySubscriptionComplete ¶
func (c TenantsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (TenantsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c TenantsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate TenantOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (TenantsClient) Update ¶
func (c TenantsClient) Update(ctx context.Context, id B2CDirectoryId, input UpdateTenant) (result UpdateOperationResponse, err error)
Update ...
type UpdateOperationResponse ¶
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
- method_checknameavailability.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.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