CognitiveServicesManagementClientOperationsMixin Class
- Inheritance
-
azure.mgmt.cognitiveservices.aio._vendor.CognitiveServicesManagementClientMixinABCCognitiveServicesManagementClientOperationsMixin
Constructor
CognitiveServicesManagementClientOperationsMixin()
Methods
check_domain_availability |
Check whether a domain is available. |
check_sku_availability |
Check available SKUs. |
check_domain_availability
Check whether a domain is available.
async check_domain_availability(subdomain_name: str, type: str, kind: str | None = None, **kwargs: Any) -> DomainAvailability
Parameters
Name | Description |
---|---|
subdomain_name
Required
|
The subdomain name to use. Required. |
type
Required
|
The Type of the resource. Required. |
kind
Required
|
The Kind of the resource. Default value is None. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
DomainAvailability or the result of cls(response) |
Exceptions
Type | Description |
---|---|
check_sku_availability
Check available SKUs.
async check_sku_availability(location: str, skus: List[str], kind: str, type: str, **kwargs: Any) -> SkuAvailabilityListResult
Parameters
Name | Description |
---|---|
location
Required
|
Resource location. Required. |
skus
Required
|
The SKU of the resource. Required. |
kind
Required
|
The Kind of the resource. Required. |
type
Required
|
The Type of the resource. Required. |
Keyword-Only Parameters
Name | Description |
---|---|
cls
|
A custom type or function that will be passed the direct response |
Returns
Type | Description |
---|---|
SkuAvailabilityListResult or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Azure SDK for Python