B2CTenantsOperations Class
B2CTenantsOperations operations.
You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.
Constructor
B2CTenantsOperations(client, config, serializer, deserializer)
Parameters
Name | Description |
---|---|
client
Required
|
Client for service requests. |
config
Required
|
Configuration of service client. |
serializer
Required
|
An object model serializer. |
deserializer
Required
|
An object model deserializer. |
Name | Description |
---|---|
models
|
Alias to model classes used in this operation group. |
begin_create |
Initiates an async request to create both the Azure AD B2C tenant and the corresponding Azure resource linked to a subscription. |
begin_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. |
check_name_availability |
Checks the availability and validity of a domain name for the tenant. |
get |
Get the Azure AD B2C tenant resource. |
list_by_resource_group |
Get all the Azure AD B2C tenant resources in a resource group. |
list_by_subscription |
Get all the Azure AD B2C tenant resources in a subscription. |
update |
Update the Azure AD B2C tenant resource. |
begin_create
Initiates an async request to create both the Azure AD B2C tenant and the corresponding Azure resource linked to a subscription.
begin_create(resource_group_name: str, resource_name: str, create_tenant_request_body: '_models.CreateTenantRequestBody' | None = None, **kwargs: Any) -> LROPoller['_models.B2CTenantResource']
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. |
resource_name
Required
|
The initial domain name of the B2C tenant. |
create_tenant_request_body
|
Default value: None
|
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
continuation_token
|
A continuation token to restart a poller from a saved state. |
polling
|
True for ARMPolling, False for no polling, or a polling object for personal polling strategy |
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either B2CTenantResource or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_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.
begin_delete(resource_group_name: str, resource_name: str, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. |
resource_name
Required
|
The initial domain name of the B2C tenant. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
continuation_token
|
A continuation token to restart a poller from a saved state. |
polling
|
True for ARMPolling, False for no polling, or a polling object for personal polling strategy |
polling_interval
|
Default waiting time between two polls for LRO operations if no Retry-After header is present. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
check_name_availability
Checks the availability and validity of a domain name for the tenant.
check_name_availability(check_name_availability_request_body: '_models.CheckNameAvailabilityRequestBody' | None = None, **kwargs: Any) -> _models.NameAvailabilityResponse
Parameters
Name | Description |
---|---|
check_name_availability_request_body
|
Default value: None
|
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
NameAvailabilityResponse, or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Get the Azure AD B2C tenant resource.
get(resource_group_name: str, resource_name: str, **kwargs: Any) -> _models.B2CTenantResource
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. |
resource_name
Required
|
The initial domain name of the B2C tenant. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
B2CTenantResource, or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_resource_group
Get all the Azure AD B2C tenant resources in a resource group.
list_by_resource_group(resource_group_name: str, **kwargs: Any) -> Iterable['_models.B2CTenantResourceList']
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
An iterator like instance of either B2CTenantResourceList or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list_by_subscription
Get all the Azure AD B2C tenant resources in a subscription.
list_by_subscription(**kwargs: Any) -> Iterable['_models.B2CTenantResourceList']
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
An iterator like instance of either B2CTenantResourceList or the result of cls(response) |
Exceptions
Type | Description |
---|---|
update
Update the Azure AD B2C tenant resource.
update(resource_group_name: str, resource_name: str, update_tenant_request_body: '_models.B2CTenantUpdateRequest' | None = None, **kwargs: Any) -> _models.B2CTenantResource
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. |
resource_name
Required
|
The initial domain name of the B2C tenant. |
update_tenant_request_body
|
Default value: None
|
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
B2CTenantResource, or the result of cls(response) |
Exceptions
Type | Description |
---|---|
models
models = <module 'azure.mgmt.azureadb2c.v2019_01_01_preview.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv25\\Lib\\site-packages\\azure\\mgmt\\azureadb2c\\v2019_01_01_preview\\models\\__init__.py'>
Azure SDK for Python