Documentation ¶
Overview ¶
Package azureadexternalidentities implements the Azure ARM Azureadexternalidentities service API version 2021-04-01.
External Identities Configuration Client
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type AvailableOperations
- type B2CResourceSKU
- type B2CResourceSKUName
- type B2CResourceSKUTier
- type B2CTenantResource
- type B2CTenantResourceList
- type B2CTenantResourceProperties
- type B2CTenantResourcePropertiesBillingConfig
- type B2CTenantUpdateRequest
- type B2CTenantsClient
- func (client B2CTenantsClient) CheckNameAvailability(ctx context.Context, ...) (result NameAvailabilityResponse, err error)
- func (client B2CTenantsClient) CheckNameAvailabilityPreparer(ctx context.Context, ...) (*http.Request, error)
- func (client B2CTenantsClient) CheckNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityResponse, err error)
- func (client B2CTenantsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
- func (client B2CTenantsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, ...) (result B2CTenantsCreateFuture, err error)
- func (client B2CTenantsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client B2CTenantsClient) CreateResponder(resp *http.Response) (result B2CTenantResource, err error)
- func (client B2CTenantsClient) CreateSender(req *http.Request) (future B2CTenantsCreateFuture, err error)
- func (client B2CTenantsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result B2CTenantsDeleteFuture, err error)
- func (client B2CTenantsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client B2CTenantsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client B2CTenantsClient) DeleteSender(req *http.Request) (future B2CTenantsDeleteFuture, err error)
- func (client B2CTenantsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result B2CTenantResource, err error)
- func (client B2CTenantsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client B2CTenantsClient) GetResponder(resp *http.Response) (result B2CTenantResource, err error)
- func (client B2CTenantsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client B2CTenantsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result B2CTenantResourceList, err error)
- func (client B2CTenantsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client B2CTenantsClient) ListByResourceGroupResponder(resp *http.Response) (result B2CTenantResourceList, err error)
- func (client B2CTenantsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client B2CTenantsClient) ListBySubscription(ctx context.Context) (result B2CTenantResourceList, err error)
- func (client B2CTenantsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client B2CTenantsClient) ListBySubscriptionResponder(resp *http.Response) (result B2CTenantResourceList, err error)
- func (client B2CTenantsClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client B2CTenantsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, ...) (result B2CTenantResource, err error)
- func (client B2CTenantsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client B2CTenantsClient) UpdateResponder(resp *http.Response) (result B2CTenantResource, err error)
- func (client B2CTenantsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type B2CTenantsCreateFuture
- type B2CTenantsDeleteFuture
- type BaseClient
- type BillingType
- type CheckNameAvailabilityRequestBody
- type CloudError
- type CreateTenantProperties
- type CreateTenantRequestBody
- type CreateTenantRequestBodyProperties
- type CreatedByType
- type ErrorAdditionalInfo
- type ErrorResponse
- type GuestUsagesClient
- func (client GuestUsagesClient) Create(ctx context.Context, resourceGroupName string, resourceName string, ...) (result GuestUsagesResource, err error)
- func (client GuestUsagesClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client GuestUsagesClient) CreateResponder(resp *http.Response) (result GuestUsagesResource, err error)
- func (client GuestUsagesClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client GuestUsagesClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error)
- func (client GuestUsagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client GuestUsagesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client GuestUsagesClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client GuestUsagesClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result GuestUsagesResource, err error)
- func (client GuestUsagesClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client GuestUsagesClient) GetResponder(resp *http.Response) (result GuestUsagesResource, err error)
- func (client GuestUsagesClient) GetSender(req *http.Request) (*http.Response, error)
- func (client GuestUsagesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result GuestUsagesResourceList, err error)
- func (client GuestUsagesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client GuestUsagesClient) ListByResourceGroupResponder(resp *http.Response) (result GuestUsagesResourceList, err error)
- func (client GuestUsagesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client GuestUsagesClient) ListBySubscription(ctx context.Context) (result GuestUsagesResourceList, err error)
- func (client GuestUsagesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
- func (client GuestUsagesClient) ListBySubscriptionResponder(resp *http.Response) (result GuestUsagesResourceList, err error)
- func (client GuestUsagesClient) ListBySubscriptionSender(req *http.Request) (*http.Response, error)
- func (client GuestUsagesClient) Update(ctx context.Context, resourceGroupName string, resourceName string, ...) (result GuestUsagesResource, err error)
- func (client GuestUsagesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client GuestUsagesClient) UpdateResponder(resp *http.Response) (result GuestUsagesResource, err error)
- func (client GuestUsagesClient) UpdateSender(req *http.Request) (*http.Response, error)
- type GuestUsagesResource
- type GuestUsagesResourceList
- type GuestUsagesResourcePatch
- type GuestUsagesResourceProperties
- type NameAvailabilityReasonType
- type NameAvailabilityResponse
- type OperationDetail
- type OperationDisplay
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result AvailableOperations, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result AvailableOperations, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type SystemData
- type TypeValue
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Azureadexternalidentities
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type AvailableOperations ¶
type AvailableOperations struct { autorest.Response `json:"-"` // Value - Collection of available operation details Value *[]OperationDetail `json:"value,omitempty"` // NextLink - URL client should use to fetch the next page (per server side paging). // It's null for now, added for future use. NextLink *string `json:"nextLink,omitempty"` }
AvailableOperations available operations of the service
type B2CResourceSKU ¶
type B2CResourceSKU struct { // Name - The name of the SKU for the tenant. Possible values include: 'B2CResourceSKUNameStandard', 'B2CResourceSKUNamePremiumP1', 'B2CResourceSKUNamePremiumP2' Name B2CResourceSKUName `json:"name,omitempty"` // Tier - The tier of the tenant. Possible values include: 'B2CResourceSKUTierA0' Tier B2CResourceSKUTier `json:"tier,omitempty"` }
B2CResourceSKU SKU properties of the Azure AD B2C tenant. Learn more about Azure AD B2C billing at aka.ms/b2cBilling(https://aka.ms/b2cBilling).
type B2CResourceSKUName ¶
type B2CResourceSKUName string
B2CResourceSKUName enumerates the values for b2c resource sku name.
const ( // B2CResourceSKUNamePremiumP1 Azure AD B2C usage is billed to a linked Azure subscription and uses number // of authentications based billing. B2CResourceSKUNamePremiumP1 B2CResourceSKUName = "PremiumP1" // B2CResourceSKUNamePremiumP2 Azure AD B2C usage is billed to a linked Azure subscription and uses number // of authentications based billing. B2CResourceSKUNamePremiumP2 B2CResourceSKUName = "PremiumP2" // B2CResourceSKUNameStandard Azure AD B2C usage is billed to a linked Azure subscription and uses a // monthly active users (MAU) billing model. B2CResourceSKUNameStandard B2CResourceSKUName = "Standard" )
func PossibleB2CResourceSKUNameValues ¶
func PossibleB2CResourceSKUNameValues() []B2CResourceSKUName
PossibleB2CResourceSKUNameValues returns an array of possible values for the B2CResourceSKUName const type.
type B2CResourceSKUTier ¶
type B2CResourceSKUTier string
B2CResourceSKUTier enumerates the values for b2c resource sku tier.
const ( // B2CResourceSKUTierA0 The SKU tier used for all Azure AD B2C tenants. B2CResourceSKUTierA0 B2CResourceSKUTier = "A0" )
func PossibleB2CResourceSKUTierValues ¶
func PossibleB2CResourceSKUTierValues() []B2CResourceSKUTier
PossibleB2CResourceSKUTierValues returns an array of possible values for the B2CResourceSKUTier const type.
type B2CTenantResource ¶
type B2CTenantResource struct { autorest.Response `json:"-"` // Type - READ-ONLY; The type of the B2C tenant resource. Possible values include: 'TypeValueMicrosoftAzureActiveDirectoryb2cDirectories' Type TypeValue `json:"type,omitempty"` Sku *B2CResourceSKU `json:"sku,omitempty"` // B2CTenantResourceProperties - The Azure AD B2C tenant resource properties *B2CTenantResourceProperties `json:"properties,omitempty"` // ID - READ-ONLY; An identifier that represents the Azure AD B2C tenant resource. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the Azure AD B2C tenant resource. Name *string `json:"name,omitempty"` // Location - The location in which the resource is hosted and data resides. Can be one of 'United States', 'Europe', 'Asia Pacific', or 'Australia'. Refer to [this documentation](https://aka.ms/B2CDataResidency) for more information. Location *string `json:"location,omitempty"` // Tags - Resource Tags Tags map[string]*string `json:"tags"` // SystemData - READ-ONLY SystemData *SystemData `json:"systemData,omitempty"` }
B2CTenantResource ...
func (B2CTenantResource) MarshalJSON ¶
func (btr B2CTenantResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for B2CTenantResource.
func (*B2CTenantResource) UnmarshalJSON ¶
func (btr *B2CTenantResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for B2CTenantResource struct.
type B2CTenantResourceList ¶
type B2CTenantResourceList struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of Azure AD B2C tenant resources Value *[]B2CTenantResource `json:"value,omitempty"` }
B2CTenantResourceList the collection of Azure AD B2C tenant resources
func (B2CTenantResourceList) MarshalJSON ¶
func (btrl B2CTenantResourceList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for B2CTenantResourceList.
type B2CTenantResourceProperties ¶
type B2CTenantResourceProperties struct { // BillingConfig - The billing configuration for the tenant. BillingConfig *B2CTenantResourcePropertiesBillingConfig `json:"billingConfig,omitempty"` // TenantID - An identifier of the Azure AD B2C tenant. TenantID *string `json:"tenantId,omitempty"` }
B2CTenantResourceProperties properties of the Azure AD B2C tenant Azure resource.
type B2CTenantResourcePropertiesBillingConfig ¶
type B2CTenantResourcePropertiesBillingConfig struct { // BillingType - The type of billing. Will be MAU for all new customers. If 'Auths', it can be updated to 'MAU'. Cannot be changed if value is 'MAU'. Learn more about Azure AD B2C billing at [aka.ms/b2cBilling](https://aka.ms/b2cbilling). Possible values include: 'BillingTypeMAU', 'BillingTypeAuths' BillingType BillingType `json:"billingType,omitempty"` // EffectiveStartDateUtc - READ-ONLY; The data from which the billing type took effect EffectiveStartDateUtc *string `json:"effectiveStartDateUtc,omitempty"` }
B2CTenantResourcePropertiesBillingConfig the billing configuration for the tenant.
func (B2CTenantResourcePropertiesBillingConfig) MarshalJSON ¶
func (btrpC B2CTenantResourcePropertiesBillingConfig) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for B2CTenantResourcePropertiesBillingConfig.
type B2CTenantUpdateRequest ¶
type B2CTenantUpdateRequest struct { Sku *B2CResourceSKU `json:"sku,omitempty"` // B2CTenantResourceProperties - The Azure AD B2C tenant resource properties. *B2CTenantResourceProperties `json:"properties,omitempty"` // Tags - Resource Tags Tags map[string]*string `json:"tags"` }
B2CTenantUpdateRequest the request body to update the Azure AD B2C tenant resource.
func (B2CTenantUpdateRequest) MarshalJSON ¶
func (btur B2CTenantUpdateRequest) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for B2CTenantUpdateRequest.
func (*B2CTenantUpdateRequest) UnmarshalJSON ¶
func (btur *B2CTenantUpdateRequest) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for B2CTenantUpdateRequest struct.
type B2CTenantsClient ¶
type B2CTenantsClient struct {
BaseClient
}
B2CTenantsClient is the external Identities Configuration Client
func NewB2CTenantsClient ¶
func NewB2CTenantsClient(subscriptionID string) B2CTenantsClient
NewB2CTenantsClient creates an instance of the B2CTenantsClient client.
func NewB2CTenantsClientWithBaseURI ¶
func NewB2CTenantsClientWithBaseURI(baseURI string, subscriptionID string) B2CTenantsClient
NewB2CTenantsClientWithBaseURI creates an instance of the B2CTenantsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (B2CTenantsClient) CheckNameAvailability ¶
func (client B2CTenantsClient) CheckNameAvailability(ctx context.Context, checkNameAvailabilityRequestBody *CheckNameAvailabilityRequestBody) (result NameAvailabilityResponse, err error)
CheckNameAvailability checks the availability and validity of a domain name for the tenant.
func (B2CTenantsClient) CheckNameAvailabilityPreparer ¶
func (client B2CTenantsClient) CheckNameAvailabilityPreparer(ctx context.Context, checkNameAvailabilityRequestBody *CheckNameAvailabilityRequestBody) (*http.Request, error)
CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.
func (B2CTenantsClient) CheckNameAvailabilityResponder ¶
func (client B2CTenantsClient) CheckNameAvailabilityResponder(resp *http.Response) (result NameAvailabilityResponse, err error)
CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.
func (B2CTenantsClient) CheckNameAvailabilitySender ¶
func (client B2CTenantsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.
func (B2CTenantsClient) Create ¶
func (client B2CTenantsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, createTenantRequestBody *CreateTenantRequestBody) (result B2CTenantsCreateFuture, err error)
Create initiates an async request to create both the Azure AD B2C tenant and the corresponding Azure resource linked to a subscription. Parameters: resourceGroupName - the name of the resource group. resourceName - the initial domain name of the Azure AD B2C tenant.
func (B2CTenantsClient) CreatePreparer ¶
func (client B2CTenantsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, createTenantRequestBody *CreateTenantRequestBody) (*http.Request, error)
CreatePreparer prepares the Create request.
func (B2CTenantsClient) CreateResponder ¶
func (client B2CTenantsClient) CreateResponder(resp *http.Response) (result B2CTenantResource, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (B2CTenantsClient) CreateSender ¶
func (client B2CTenantsClient) CreateSender(req *http.Request) (future B2CTenantsCreateFuture, err error)
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (B2CTenantsClient) Delete ¶
func (client B2CTenantsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result B2CTenantsDeleteFuture, err error)
Delete initiates an async operation to delete the Azure AD B2C tenant and Azure resource. The resource deletion can only happen as the last step in [the tenant deletion process](https://aka.ms/deleteB2Ctenant). Parameters: resourceGroupName - the name of the resource group. resourceName - the initial domain name of the Azure AD B2C tenant.
func (B2CTenantsClient) DeletePreparer ¶
func (client B2CTenantsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (B2CTenantsClient) DeleteResponder ¶
func (client B2CTenantsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (B2CTenantsClient) DeleteSender ¶
func (client B2CTenantsClient) DeleteSender(req *http.Request) (future B2CTenantsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (B2CTenantsClient) Get ¶
func (client B2CTenantsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result B2CTenantResource, err error)
Get get the Azure AD B2C tenant resource. Parameters: resourceGroupName - the name of the resource group. resourceName - the initial domain name of the Azure AD B2C tenant.
func (B2CTenantsClient) GetPreparer ¶
func (client B2CTenantsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (B2CTenantsClient) GetResponder ¶
func (client B2CTenantsClient) GetResponder(resp *http.Response) (result B2CTenantResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (B2CTenantsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (B2CTenantsClient) ListByResourceGroup ¶
func (client B2CTenantsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result B2CTenantResourceList, err error)
ListByResourceGroup get all the Azure AD B2C tenant resources in a resource group. Parameters: resourceGroupName - the name of the resource group.
func (B2CTenantsClient) ListByResourceGroupPreparer ¶
func (client B2CTenantsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (B2CTenantsClient) ListByResourceGroupResponder ¶
func (client B2CTenantsClient) ListByResourceGroupResponder(resp *http.Response) (result B2CTenantResourceList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (B2CTenantsClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (B2CTenantsClient) ListBySubscription ¶
func (client B2CTenantsClient) ListBySubscription(ctx context.Context) (result B2CTenantResourceList, err error)
ListBySubscription get all the Azure AD B2C tenant resources in a subscription.
func (B2CTenantsClient) ListBySubscriptionPreparer ¶
func (client B2CTenantsClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (B2CTenantsClient) ListBySubscriptionResponder ¶
func (client B2CTenantsClient) ListBySubscriptionResponder(resp *http.Response) (result B2CTenantResourceList, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (B2CTenantsClient) ListBySubscriptionSender ¶
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (B2CTenantsClient) Update ¶
func (client B2CTenantsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, updateTenantRequestBody *B2CTenantUpdateRequest) (result B2CTenantResource, err error)
Update update the Azure AD B2C tenant resource. Parameters: resourceGroupName - the name of the resource group. resourceName - the initial domain name of the Azure AD B2C tenant.
func (B2CTenantsClient) UpdatePreparer ¶
func (client B2CTenantsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, updateTenantRequestBody *B2CTenantUpdateRequest) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (B2CTenantsClient) UpdateResponder ¶
func (client B2CTenantsClient) UpdateResponder(resp *http.Response) (result B2CTenantResource, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (B2CTenantsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type B2CTenantsCreateFuture ¶
type B2CTenantsCreateFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(B2CTenantsClient) (B2CTenantResource, error) }
B2CTenantsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*B2CTenantsCreateFuture) UnmarshalJSON ¶
func (future *B2CTenantsCreateFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type B2CTenantsDeleteFuture ¶
type B2CTenantsDeleteFuture struct { azure.FutureAPI // Result returns the result of the asynchronous operation. // If the operation has not completed it will return an error. Result func(B2CTenantsClient) (autorest.Response, error) }
B2CTenantsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*B2CTenantsDeleteFuture) UnmarshalJSON ¶
func (future *B2CTenantsDeleteFuture) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaller for CreateFuture.
type BaseClient ¶
BaseClient is the base client for Azureadexternalidentities.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
type BillingType ¶
type BillingType string
BillingType enumerates the values for billing type.
const ( // BillingTypeAuths Azure AD B2C usage is billed to a linked Azure subscription and uses number of // authentications based billing. BillingTypeAuths BillingType = "Auths" // BillingTypeMAU Azure AD B2C usage is billed to a linked Azure subscription and uses a monthly active // users (MAU) billing model. BillingTypeMAU BillingType = "MAU" )
func PossibleBillingTypeValues ¶
func PossibleBillingTypeValues() []BillingType
PossibleBillingTypeValues returns an array of possible values for the BillingType const type.
type CheckNameAvailabilityRequestBody ¶
type CheckNameAvailabilityRequestBody struct { // Name - The domain name to check for availability. Name *string `json:"name,omitempty"` CountryCode *string `json:"countryCode,omitempty"` }
CheckNameAvailabilityRequestBody the information required to check the availability of the name for the tenant.
type CloudError ¶
type CloudError struct {
Error *ErrorResponse `json:"error,omitempty"`
}
CloudError an error response for a resource management request.
type CreateTenantProperties ¶
type CreateTenantProperties struct { // DisplayName - The display name of the Azure AD B2C tenant. DisplayName *string `json:"displayName,omitempty"` CountryCode *string `json:"countryCode,omitempty"` }
CreateTenantProperties these properties are used to create the Azure AD B2C tenant. These properties are not part of the Azure resource.
type CreateTenantRequestBody ¶
type CreateTenantRequestBody struct { // Location - The location in which the resource is hosted and data resides. Can be one of 'United States', 'Europe', 'Asia Pacific', or 'Australia'. Refer to [this documentation](https://aka.ms/B2CDataResidency) for more information. Location *string `json:"location,omitempty"` *CreateTenantRequestBodyProperties `json:"properties,omitempty"` Sku *B2CResourceSKU `json:"sku,omitempty"` // Tags - Resource Tags Tags map[string]*string `json:"tags"` }
CreateTenantRequestBody the information needed to create the Azure AD B2C tenant and corresponding Azure resource, which is used for billing purposes.
func (CreateTenantRequestBody) MarshalJSON ¶
func (ctrb CreateTenantRequestBody) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateTenantRequestBody.
func (*CreateTenantRequestBody) UnmarshalJSON ¶
func (ctrb *CreateTenantRequestBody) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreateTenantRequestBody struct.
type CreateTenantRequestBodyProperties ¶
type CreateTenantRequestBodyProperties struct {
*CreateTenantProperties `json:"createTenantProperties,omitempty"`
}
CreateTenantRequestBodyProperties ...
func (CreateTenantRequestBodyProperties) MarshalJSON ¶
func (ctrb CreateTenantRequestBodyProperties) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for CreateTenantRequestBodyProperties.
func (*CreateTenantRequestBodyProperties) UnmarshalJSON ¶
func (ctrb *CreateTenantRequestBodyProperties) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for CreateTenantRequestBodyProperties struct.
type CreatedByType ¶
type CreatedByType string
CreatedByType enumerates the values for created by type.
const ( // CreatedByTypeApplication ... CreatedByTypeApplication CreatedByType = "Application" // CreatedByTypeKey ... CreatedByTypeKey CreatedByType = "Key" // CreatedByTypeManagedIdentity ... CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" // CreatedByTypeUser ... CreatedByTypeUser CreatedByType = "User" )
func PossibleCreatedByTypeValues ¶
func PossibleCreatedByTypeValues() []CreatedByType
PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { // Type - READ-ONLY; The additional info type. Type *string `json:"type,omitempty"` // Info - READ-ONLY; The additional info. Info interface{} `json:"info,omitempty"` }
ErrorAdditionalInfo the resource management error additional info.
func (ErrorAdditionalInfo) MarshalJSON ¶
func (eai ErrorAdditionalInfo) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ErrorAdditionalInfo.
type ErrorResponse ¶
type ErrorResponse struct { // Code - READ-ONLY; The error code. Code *string `json:"code,omitempty"` // Message - READ-ONLY; The error message. Message *string `json:"message,omitempty"` // Target - READ-ONLY; The error target. Target *string `json:"target,omitempty"` // Details - READ-ONLY; The error details. Details *[]ErrorResponse `json:"details,omitempty"` // AdditionalInfo - READ-ONLY; The error additional info. AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` }
ErrorResponse common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)
func (ErrorResponse) MarshalJSON ¶
func (er ErrorResponse) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ErrorResponse.
type GuestUsagesClient ¶
type GuestUsagesClient struct {
BaseClient
}
GuestUsagesClient is the external Identities Configuration Client
func NewGuestUsagesClient ¶
func NewGuestUsagesClient(subscriptionID string) GuestUsagesClient
NewGuestUsagesClient creates an instance of the GuestUsagesClient client.
func NewGuestUsagesClientWithBaseURI ¶
func NewGuestUsagesClientWithBaseURI(baseURI string, subscriptionID string) GuestUsagesClient
NewGuestUsagesClientWithBaseURI creates an instance of the GuestUsagesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (GuestUsagesClient) Create ¶
func (client GuestUsagesClient) Create(ctx context.Context, resourceGroupName string, resourceName string, resource *GuestUsagesResource) (result GuestUsagesResource, err error)
Create creates a Guest Usages resource, which is used to linking a subscription to an instance of Azure AD External Identities. [Learn more](https://aka.ms/extidbilling). Parameters: resourceGroupName - the name of the resource group. resourceName - the initial domain name of the Azure AD B2C tenant. resource - guest Usages resource to be created
func (GuestUsagesClient) CreatePreparer ¶
func (client GuestUsagesClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, resource *GuestUsagesResource) (*http.Request, error)
CreatePreparer prepares the Create request.
func (GuestUsagesClient) CreateResponder ¶
func (client GuestUsagesClient) CreateResponder(resp *http.Response) (result GuestUsagesResource, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (GuestUsagesClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (GuestUsagesClient) Delete ¶
func (client GuestUsagesClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error)
Delete deletes a Guest Usages resource for the Microsoft.AzureActiveDirectory resource provider Parameters: resourceGroupName - the name of the resource group. resourceName - the initial domain name of the Azure AD B2C tenant.
func (GuestUsagesClient) DeletePreparer ¶
func (client GuestUsagesClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (GuestUsagesClient) DeleteResponder ¶
func (client GuestUsagesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (GuestUsagesClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (GuestUsagesClient) Get ¶
func (client GuestUsagesClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result GuestUsagesResource, err error)
Get gets a Guest Usages resource for the Microsoft.AzureActiveDirectory resource provider Parameters: resourceGroupName - the name of the resource group. resourceName - the initial domain name of the Azure AD B2C tenant.
func (GuestUsagesClient) GetPreparer ¶
func (client GuestUsagesClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (GuestUsagesClient) GetResponder ¶
func (client GuestUsagesClient) GetResponder(resp *http.Response) (result GuestUsagesResource, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (GuestUsagesClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (GuestUsagesClient) ListByResourceGroup ¶
func (client GuestUsagesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result GuestUsagesResourceList, err error)
ListByResourceGroup gets Guest Usages resources under a resource group for the Microsoft.AzureActiveDirectory resource provider Parameters: resourceGroupName - the name of the resource group.
func (GuestUsagesClient) ListByResourceGroupPreparer ¶
func (client GuestUsagesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (GuestUsagesClient) ListByResourceGroupResponder ¶
func (client GuestUsagesClient) ListByResourceGroupResponder(resp *http.Response) (result GuestUsagesResourceList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (GuestUsagesClient) ListByResourceGroupSender ¶
func (client GuestUsagesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (GuestUsagesClient) ListBySubscription ¶
func (client GuestUsagesClient) ListBySubscription(ctx context.Context) (result GuestUsagesResourceList, err error)
ListBySubscription gets Guest Usages resources under a subscription for the Microsoft.AzureActiveDirectory resource provider
func (GuestUsagesClient) ListBySubscriptionPreparer ¶
func (client GuestUsagesClient) ListBySubscriptionPreparer(ctx context.Context) (*http.Request, error)
ListBySubscriptionPreparer prepares the ListBySubscription request.
func (GuestUsagesClient) ListBySubscriptionResponder ¶
func (client GuestUsagesClient) ListBySubscriptionResponder(resp *http.Response) (result GuestUsagesResourceList, err error)
ListBySubscriptionResponder handles the response to the ListBySubscription request. The method always closes the http.Response Body.
func (GuestUsagesClient) ListBySubscriptionSender ¶
ListBySubscriptionSender sends the ListBySubscription request. The method will close the http.Response Body if it receives an error.
func (GuestUsagesClient) Update ¶
func (client GuestUsagesClient) Update(ctx context.Context, resourceGroupName string, resourceName string, resourcePatch *GuestUsagesResourcePatch) (result GuestUsagesResource, err error)
Update updates a Guest Usages resource for the Microsoft.AzureActiveDirectory resource provider Parameters: resourceGroupName - the name of the resource group. resourceName - the initial domain name of the Azure AD B2C tenant. resourcePatch - guest Usages Resource to be updated
func (GuestUsagesClient) UpdatePreparer ¶
func (client GuestUsagesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, resourcePatch *GuestUsagesResourcePatch) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (GuestUsagesClient) UpdateResponder ¶
func (client GuestUsagesClient) UpdateResponder(resp *http.Response) (result GuestUsagesResource, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (GuestUsagesClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type GuestUsagesResource ¶
type GuestUsagesResource struct { autorest.Response `json:"-"` // ID - READ-ONLY; An identifier that represents the Guest Usages resource. ID *string `json:"id,omitempty"` // Name - READ-ONLY; The name of the Guest Usages resource. Name *string `json:"name,omitempty"` // Type - READ-ONLY; The type of the Guest Usages resource. Type *string `json:"type,omitempty"` // Location - Location of the Guest Usages resource. Location *string `json:"location,omitempty"` // Tags - Key-value pairs of additional resource provisioning properties. Tags map[string]*string `json:"tags"` // GuestUsagesResourceProperties - The Guest Usages Resource Properties *GuestUsagesResourceProperties `json:"properties,omitempty"` // SystemData - READ-ONLY SystemData *SystemData `json:"systemData,omitempty"` }
GuestUsagesResource guest Usages Resource
func (GuestUsagesResource) MarshalJSON ¶
func (gur GuestUsagesResource) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GuestUsagesResource.
func (*GuestUsagesResource) UnmarshalJSON ¶
func (gur *GuestUsagesResource) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for GuestUsagesResource struct.
type GuestUsagesResourceList ¶
type GuestUsagesResourceList struct { autorest.Response `json:"-"` // Value - READ-ONLY; List of guest usages resources Value *[]GuestUsagesResource `json:"value,omitempty"` }
GuestUsagesResourceList the collection of guest usages resources
func (GuestUsagesResourceList) MarshalJSON ¶
func (gurl GuestUsagesResourceList) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GuestUsagesResourceList.
type GuestUsagesResourcePatch ¶
type GuestUsagesResourcePatch struct { // Tags - Key-value pairs of additional resource provisioning properties. Tags map[string]*string `json:"tags"` }
GuestUsagesResourcePatch guest Usages Resource for Patch
func (GuestUsagesResourcePatch) MarshalJSON ¶
func (gurp GuestUsagesResourcePatch) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for GuestUsagesResourcePatch.
type GuestUsagesResourceProperties ¶
type GuestUsagesResourceProperties struct { // TenantID - An identifier for the tenant for which the resource is being created TenantID *string `json:"tenantId,omitempty"` }
GuestUsagesResourceProperties guest Usages Resource Properties
type NameAvailabilityReasonType ¶
type NameAvailabilityReasonType string
NameAvailabilityReasonType enumerates the values for name availability reason type.
const ( // NameAvailabilityReasonTypeAlreadyExists The name is already in use and is therefore unavailable. NameAvailabilityReasonTypeAlreadyExists NameAvailabilityReasonType = "AlreadyExists" // NameAvailabilityReasonTypeInvalid The name provided does not match the resource provider’s naming // requirements (incorrect length, unsupported characters, etc.). NameAvailabilityReasonTypeInvalid NameAvailabilityReasonType = "Invalid" )
func PossibleNameAvailabilityReasonTypeValues ¶
func PossibleNameAvailabilityReasonTypeValues() []NameAvailabilityReasonType
PossibleNameAvailabilityReasonTypeValues returns an array of possible values for the NameAvailabilityReasonType const type.
type NameAvailabilityResponse ¶
type NameAvailabilityResponse struct { autorest.Response `json:"-"` // Message - Description of the reason if name is not available. Message *string `json:"message,omitempty"` // NameAvailable - True if the name is available and can be used to create a new tenant. Otherwise false. NameAvailable *bool `json:"nameAvailable,omitempty"` // Reason - Possible values include: 'NameAvailabilityReasonTypeAlreadyExists', 'NameAvailabilityReasonTypeInvalid' Reason NameAvailabilityReasonType `json:"reason,omitempty"` }
NameAvailabilityResponse response of the CheckNameAvailability operation.
type OperationDetail ¶
type OperationDetail struct { // Name - Name of the operation Name *string `json:"name,omitempty"` // IsDataAction - Indicates whether the operation is a data action IsDataAction *bool `json:"isDataAction,omitempty"` // Display - Display of the operation Display *OperationDisplay `json:"display,omitempty"` // Origin - Origin of the operation Origin *string `json:"origin,omitempty"` }
OperationDetail operation detail payload
type OperationDisplay ¶
type OperationDisplay struct { // Provider - Resource provider of the operation Provider *string `json:"provider,omitempty"` // Resource - Resource of the operation Resource *string `json:"resource,omitempty"` // Operation - Localized friendly name for the operation Operation *string `json:"operation,omitempty"` // Description - Localized friendly description for the operation Description *string `json:"description,omitempty"` }
OperationDisplay operation display payload
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the external Identities Configuration Client
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result AvailableOperations, err error)
List lists the operations available from this provider.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result AvailableOperations, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type SystemData ¶
type SystemData struct { // CreatedBy - The identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // CreatedByType - The type of identity that created the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' CreatedByType CreatedByType `json:"createdByType,omitempty"` // CreatedAt - The timestamp of resource creation (UTC). CreatedAt *date.Time `json:"createdAt,omitempty"` // LastModifiedBy - The identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // LastModifiedByType - The type of identity that last modified the resource. Possible values include: 'CreatedByTypeUser', 'CreatedByTypeApplication', 'CreatedByTypeManagedIdentity', 'CreatedByTypeKey' LastModifiedByType CreatedByType `json:"lastModifiedByType,omitempty"` // LastModifiedAt - The timestamp of resource last modification (UTC) LastModifiedAt *date.Time `json:"lastModifiedAt,omitempty"` }
SystemData metadata pertaining to creation and last modification of the resource.
type TypeValue ¶
type TypeValue string
TypeValue enumerates the values for type value.
const ( // TypeValueMicrosoftAzureActiveDirectoryb2cDirectories The resource type for Azure AD B2C tenant resource. TypeValueMicrosoftAzureActiveDirectoryb2cDirectories TypeValue = "Microsoft.AzureActiveDirectory/b2cDirectories" )
func PossibleTypeValueValues ¶
func PossibleTypeValueValues() []TypeValue
PossibleTypeValueValues returns an array of possible values for the TypeValue const type.