B2CTenants interface
Interface representing a B2CTenants.
Methods
begin |
Initiates an async request to create both the Azure AD B2C tenant and the corresponding Azure resource linked to a subscription. |
begin |
Initiates an async request to create both the Azure AD B2C tenant and the corresponding Azure resource linked to a subscription. |
begin |
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. |
begin |
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. |
check |
Checks the availability and validity of a domain name for the tenant. |
get(string, string, B2CTenants |
Get the Azure AD B2C tenant resource. |
list |
Get all the Azure AD B2C tenant resources in a resource group. |
list |
Get all the Azure AD B2C tenant resources in a subscription. |
update(string, string, B2CTenants |
Update the Azure AD B2C tenant resource. |
Method Details
beginCreate(string, string, B2CTenantsCreateOptionalParams)
Initiates an async request to create both the Azure AD B2C tenant and the corresponding Azure resource linked to a subscription.
function beginCreate(resourceGroupName: string, resourceName: string, options?: B2CTenantsCreateOptionalParams): Promise<PollerLike<PollOperationState<B2CTenantResource>, B2CTenantResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- resourceName
-
string
The initial domain name of the Azure AD B2C tenant.
- options
- B2CTenantsCreateOptionalParams
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<B2CTenantResource>, B2CTenantResource>>
beginCreateAndWait(string, string, B2CTenantsCreateOptionalParams)
Initiates an async request to create both the Azure AD B2C tenant and the corresponding Azure resource linked to a subscription.
function beginCreateAndWait(resourceGroupName: string, resourceName: string, options?: B2CTenantsCreateOptionalParams): Promise<B2CTenantResource>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- resourceName
-
string
The initial domain name of the Azure AD B2C tenant.
- options
- B2CTenantsCreateOptionalParams
The options parameters.
Returns
Promise<B2CTenantResource>
beginDelete(string, string, B2CTenantsDeleteOptionalParams)
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.
function beginDelete(resourceGroupName: string, resourceName: string, options?: B2CTenantsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- resourceName
-
string
The initial domain name of the Azure AD B2C tenant.
- options
- B2CTenantsDeleteOptionalParams
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, B2CTenantsDeleteOptionalParams)
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.
function beginDeleteAndWait(resourceGroupName: string, resourceName: string, options?: B2CTenantsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- resourceName
-
string
The initial domain name of the Azure AD B2C tenant.
- options
- B2CTenantsDeleteOptionalParams
The options parameters.
Returns
Promise<void>
checkNameAvailability(B2CTenantsCheckNameAvailabilityOptionalParams)
Checks the availability and validity of a domain name for the tenant.
function checkNameAvailability(options?: B2CTenantsCheckNameAvailabilityOptionalParams): Promise<NameAvailabilityResponse>
Parameters
The options parameters.
Returns
Promise<NameAvailabilityResponse>
get(string, string, B2CTenantsGetOptionalParams)
Get the Azure AD B2C tenant resource.
function get(resourceGroupName: string, resourceName: string, options?: B2CTenantsGetOptionalParams): Promise<B2CTenantResource>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- resourceName
-
string
The initial domain name of the Azure AD B2C tenant.
- options
- B2CTenantsGetOptionalParams
The options parameters.
Returns
Promise<B2CTenantResource>
listByResourceGroup(string, B2CTenantsListByResourceGroupOptionalParams)
Get all the Azure AD B2C tenant resources in a resource group.
function listByResourceGroup(resourceGroupName: string, options?: B2CTenantsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<B2CTenantResource, B2CTenantResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
The options parameters.
Returns
listBySubscription(B2CTenantsListBySubscriptionOptionalParams)
Get all the Azure AD B2C tenant resources in a subscription.
function listBySubscription(options?: B2CTenantsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<B2CTenantResource, B2CTenantResource[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, B2CTenantsUpdateOptionalParams)
Update the Azure AD B2C tenant resource.
function update(resourceGroupName: string, resourceName: string, options?: B2CTenantsUpdateOptionalParams): Promise<B2CTenantResource>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- resourceName
-
string
The initial domain name of the Azure AD B2C tenant.
- options
- B2CTenantsUpdateOptionalParams
The options parameters.
Returns
Promise<B2CTenantResource>