azure.mgmt.cognitiveservices.models module — Azure SDK for Python 2.0.0 documentation
Leah Mitchell
Published Feb 16, 2026
- class
azure.mgmt.cognitiveservices.models.Account(*, kind: Optional[str] = None, sku: Optional[_models.Sku] = None, identity: Optional[_models.Identity] = None, tags: Optional[Dict[str,str]] = None, location: Optional[str] = None, properties: Optional[_models.AccountProperties] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices.models._models_py3.AzureEntityResourceCognitive Services account is an Azure resource representing the provisioned account, it’s type, location and SKU.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
etag (str) – Resource Etag.
kind (str) – The Kind of the resource.
sku (Sku) – The resource model definition representing SKU.
identity (Identity) – Identity for the resource.
system_data (SystemData) – Metadata pertaining to creation and last modification of the resource.
location (str) – The geo-location where the resource lives.
properties (AccountProperties) – Properties of Cognitive Services account.
- Keyword Arguments
kind (str) – The Kind of the resource.
sku (Sku) – The resource model definition representing SKU.
identity (Identity) – Identity for the resource.
location (str) – The geo-location where the resource lives.
properties (AccountProperties) – Properties of Cognitive Services account.
- class
azure.mgmt.cognitiveservices.models.AccountListResult(*, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe list of cognitive services accounts operation response.
Variables are only populated by the server, and will be ignored when sending a request.
- class
azure.mgmt.cognitiveservices.models.AccountModel(*, format: Optional[str] = None, name: Optional[str] = None, version: Optional[str] = None, base_model: Optional[_models.DeploymentModel] = None, max_capacity: Optional[int] = None, capabilities: Optional[Dict[str,str]] = None, finetune_capabilities: Optional[Dict[str,str]] = None, deprecation: Optional[_models.ModelDeprecationInfo] = None, lifecycle_status: Optional[Union[str,_models.ModelLifecycleStatus]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices.models._models_py3.DeploymentModelCognitive Services account Model.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – Deployment model name.
version (str) – Deployment model version.
call_rate_limit (CallRateLimit) – The call rate limit Cognitive Services account.
base_model (DeploymentModel) – Base Model Identifier.
max_capacity (int) – The max capacity.
finetune_capabilities (dict[str, str]) – The capabilities for finetune models.
deprecation (ModelDeprecationInfo) – Cognitive Services account ModelDeprecationInfo.
lifecycle_status (str or ModelLifecycleStatus) – Model lifecycle status. Known values are: “GenerallyAvailable” and “Preview”.
system_data (SystemData) – Metadata pertaining to creation and last modification of the resource.
- Keyword Arguments
format (str) – Deployment model format.
name (str) – Deployment model name.
version (str) – Deployment model version.
base_model (DeploymentModel) – Base Model Identifier.
max_capacity (int) – The max capacity.
finetune_capabilities (dict[str, str]) – The capabilities for finetune models.
deprecation (ModelDeprecationInfo) – Cognitive Services account ModelDeprecationInfo.
lifecycle_status (str or ModelLifecycleStatus) – Model lifecycle status. Known values are: “GenerallyAvailable” and “Preview”.
- class
azure.mgmt.cognitiveservices.models.AccountModelListResult(*, next_link: Optional[str] = None, value: Optional[List[_models.AccountModel]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe list of cognitive services accounts operation response.
- Variables
next_link (str) – The link used to get the next page of Model.
value (list[AccountModel]) – Gets the list of Cognitive Services accounts Model and their properties.
- Keyword Arguments
next_link (str) – The link used to get the next page of Model.
value (list[AccountModel]) – Gets the list of Cognitive Services accounts Model and their properties.
- class
azure.mgmt.cognitiveservices.models.AccountProperties(*, migration_token: Optional[str] = None, custom_sub_domain_name: Optional[str] = None, network_acls: Optional[_models.NetworkRuleSet] = None, encryption: Optional[_models.Encryption] = None, user_owned_storage: Optional[List[_models.UserOwnedStorage]] = None, public_network_access: Optional[Union[str,_models.PublicNetworkAccess]] = None, api_properties: Optional[_models.ApiProperties] = None, dynamic_throttling_enabled: Optional[bool] = None, restrict_outbound_network_access: Optional[bool] = None, allowed_fqdn_list: Optional[List[str]] = None, disable_local_auth: Optional[bool] = None, restore: Optional[bool] = None, locations: Optional[_models.MultiRegionSettings] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelProperties of Cognitive Services account.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
provisioning_state (str or ProvisioningState) – Gets the status of the cognitive services account at the time the operation was called. Known values are: “Accepted”, “Creating”, “Deleting”, “Moving”, “Failed”, “Succeeded”, and “ResolvingDNS”.
endpoint (str) – Endpoint of the created account.
internal_id (str) – The internal identifier (deprecated, do not use this property).
capabilities (list[SkuCapability]) – Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only.
is_migrated (bool) – If the resource is migrated from an existing key.
migration_token (str) – Resource migration token.
sku_change_info (SkuChangeInfo) – Sku change info of account.
custom_sub_domain_name (str) – Optional subdomain name used for token-based authentication.
network_acls (NetworkRuleSet) – A collection of rules governing the accessibility from specific network locations.
encryption (Encryption) – The encryption properties for this resource.
user_owned_storage (list[UserOwnedStorage]) – The storage accounts for this resource.
private_endpoint_connections (list[PrivateEndpointConnection]) – The private endpoint connection associated with the Cognitive Services account.
public_network_access (str or PublicNetworkAccess) – Whether or not public endpoint access is allowed for this account. Known values are: “Enabled” and “Disabled”.
api_properties (ApiProperties) – The api properties for special APIs.
date_created (str) – Gets the date of cognitive services account creation.
call_rate_limit (CallRateLimit) – The call rate limit Cognitive Services account.
dynamic_throttling_enabled (bool) – The flag to enable dynamic throttling.
quota_limit (QuotaLimit) –
restrict_outbound_network_access (bool) –
disable_local_auth (bool) –
restore (bool) –
deletion_date (str) – The deletion date, only available for deleted account.
scheduled_purge_date (str) – The scheduled purge date, only available for deleted account.
locations (MultiRegionSettings) – The multiregion settings of Cognitive Services account.
commitment_plan_associations (list[CommitmentPlanAssociation]) – The commitment plan associations of Cognitive Services account.
- Keyword Arguments
migration_token (str) – Resource migration token.
custom_sub_domain_name (str) – Optional subdomain name used for token-based authentication.
network_acls (NetworkRuleSet) – A collection of rules governing the accessibility from specific network locations.
encryption (Encryption) – The encryption properties for this resource.
user_owned_storage (list[UserOwnedStorage]) – The storage accounts for this resource.
public_network_access (str orPublicNetworkAccess) – Whether or not public endpoint access is allowed for this account. Known values are: “Enabled” and “Disabled”.
api_properties (ApiProperties) – The api properties for special APIs.
dynamic_throttling_enabled (bool) – The flag to enable dynamic throttling.
restrict_outbound_network_access (bool) –
disable_local_auth (bool) –
restore (bool) –
locations (MultiRegionSettings) – The multiregion settings of Cognitive Services account.
- class
azure.mgmt.cognitiveservices.models.AccountSku(*, resource_type: Optional[str] = None, sku: Optional[_models.Sku] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelCognitive Services resource type and SKU.
- class
azure.mgmt.cognitiveservices.models.AccountSkuListResult(*, value: Optional[List[_models.AccountSku]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe list of cognitive services accounts operation response.
- Variables
value (list[AccountSku]) – Gets the list of Cognitive Services accounts and their properties.
- Keyword Arguments
value (list[AccountSku]) – Gets the list of Cognitive Services accounts and their properties.
- class
azure.mgmt.cognitiveservices.models.ActionType(value)[source]¶ Enum. Indicates the action type. “Internal” refers to actions that are for internal only APIs.
INTERNAL= 'Internal'¶
- class
azure.mgmt.cognitiveservices.models.ApiKeys(*, key1: Optional[str] = None, key2: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe access keys for the cognitive services account.
- class
azure.mgmt.cognitiveservices.models.ApiProperties(*, additional_properties: Optional[Dict[str,collections.abc.MutableMapping[str,Any]]] = None, qna_runtime_endpoint: Optional[str] = None, qna_azure_search_endpoint_key: Optional[str] = None, qna_azure_search_endpoint_id: Optional[str] = None, statistics_enabled: Optional[bool] = None, event_hub_connection_string: Optional[str] = None, storage_account_connection_string: Optional[str] = None, aad_client_id: Optional[str] = None, aad_tenant_id: Optional[str] = None, super_user: Optional[str] = None, website_name: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe api properties for special APIs.
- Variables
additional_properties (dict[str, JSON]) – Unmatched properties from the message are deserialized to this collection.
qna_runtime_endpoint (str) – (QnAMaker Only) The runtime endpoint of QnAMaker.
qna_azure_search_endpoint_key (str) – (QnAMaker Only) The Azure Search endpoint key of QnAMaker.
qna_azure_search_endpoint_id (str) – (QnAMaker Only) The Azure Search endpoint id of QnAMaker.
statistics_enabled (bool) – (Bing Search Only) The flag to enable statistics of Bing Search.
event_hub_connection_string (str) – (Personalization Only) The flag to enable statistics of Bing Search.
storage_account_connection_string (str) – (Personalization Only) The storage account connection string.
aad_client_id (str) – (Metrics Advisor Only) The Azure AD Client Id (Application Id).
aad_tenant_id (str) – (Metrics Advisor Only) The Azure AD Tenant Id.
super_user (str) – (Metrics Advisor Only) The super user of Metrics Advisor.
website_name (str) – (Metrics Advisor Only) The website name of Metrics Advisor.
- Keyword Arguments
additional_properties (dict[str, JSON]) – Unmatched properties from the message are deserialized to this collection.
qna_runtime_endpoint (str) – (QnAMaker Only) The runtime endpoint of QnAMaker.
qna_azure_search_endpoint_key (str) – (QnAMaker Only) The Azure Search endpoint key of QnAMaker.
qna_azure_search_endpoint_id (str) – (QnAMaker Only) The Azure Search endpoint id of QnAMaker.
statistics_enabled (bool) – (Bing Search Only) The flag to enable statistics of Bing Search.
event_hub_connection_string (str) – (Personalization Only) The flag to enable statistics of Bing Search.
storage_account_connection_string (str) – (Personalization Only) The storage account connection string.
aad_client_id (str) – (Metrics Advisor Only) The Azure AD Client Id (Application Id).
aad_tenant_id (str) – (Metrics Advisor Only) The Azure AD Tenant Id.
super_user (str) – (Metrics Advisor Only) The super user of Metrics Advisor.
website_name (str) – (Metrics Advisor Only) The website name of Metrics Advisor.
- class
azure.mgmt.cognitiveservices.models.AzureEntityResource(**kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices.models._models_py3.ResourceThe resource model definition for an Azure Resource Manager resource with an etag.
Variables are only populated by the server, and will be ignored when sending a request.
- class
azure.mgmt.cognitiveservices.models.CallRateLimit(*, count: Optional[float] = None, renewal_period: Optional[float] = None, rules: Optional[List[_models.ThrottlingRule]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe call rate limit Cognitive Services account.
- Variables
count (float) – The count value of Call Rate Limit.
renewal_period (float) – The renewal period in seconds of Call Rate Limit.
rules (list[ThrottlingRule]) –
- Keyword Arguments
count (float) – The count value of Call Rate Limit.
renewal_period (float) – The renewal period in seconds of Call Rate Limit.
rules (list[ThrottlingRule]) –
- class
azure.mgmt.cognitiveservices.models.CheckDomainAvailabilityParameter(*, subdomain_name: str, type: str, kind: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelCheck Domain availability parameter.
All required parameters must be populated in order to send to Azure.
- Variables
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.CheckSkuAvailabilityParameter(*, skus: List[str], kind: str, type: str, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelCheck SKU availability parameter.
All required parameters must be populated in order to send to Azure.
- Variables
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.CommitmentCost(*, commitment_meter_id: Optional[str] = None, overage_meter_id: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelCognitive Services account commitment cost.
- class
azure.mgmt.cognitiveservices.models.CommitmentPeriod(*, tier: Optional[str] = None, count: Optional[int] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelCognitive Services account commitment period.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
tier (str) – Commitment period commitment tier.
count (int) – Commitment period commitment count.
quota (CommitmentQuota) – Cognitive Services account commitment quota.
start_date (str) – Commitment period start date.
end_date (str) – Commitment period end date.
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.CommitmentPlan(*, kind: Optional[str] = None, sku: Optional[_models.Sku] = None, tags: Optional[Dict[str,str]] = None, location: Optional[str] = None, properties: Optional[_models.CommitmentPlanProperties] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices.models._models_py3.ProxyResourceCognitive Services account commitment plan.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
system_data (SystemData) – Metadata pertaining to creation and last modification of the resource.
etag (str) – Resource Etag.
kind (str) – The Kind of the resource.
sku (Sku) – The resource model definition representing SKU.
location (str) – The geo-location where the resource lives.
properties (CommitmentPlanProperties) – Properties of Cognitive Services account commitment plan.
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.CommitmentPlanAccountAssociation(*, account_id: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices.models._models_py3.ProxyResourceThe commitment plan association.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
system_data (SystemData) – Metadata pertaining to creation and last modification of the resource.
etag (str) – Resource Etag.
account_id (str) – The Azure resource id of the account.
- Keyword Arguments
account_id (str) – The Azure resource id of the account.
- class
azure.mgmt.cognitiveservices.models.CommitmentPlanAccountAssociationListResult(*, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe list of cognitive services Commitment Plan Account Association operation response.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
next_link (str) – The link used to get the next page of Commitment Plan Account Association.
value (list[CommitmentPlanAccountAssociation]) – Gets the list of Cognitive Services Commitment Plan Account Association and their properties.
- Keyword Arguments
next_link (str) – The link used to get the next page of Commitment Plan Account Association.
- class
azure.mgmt.cognitiveservices.models.CommitmentPlanAssociation(*, commitment_plan_id: Optional[str] = None, commitment_plan_location: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe commitment plan association.
- Variables
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.CommitmentPlanListResult(*, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe list of cognitive services accounts operation response.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
next_link (str) – The link used to get the next page of CommitmentPlan.
value (list[CommitmentPlan]) – Gets the list of Cognitive Services accounts CommitmentPlan and their properties.
- Keyword Arguments
next_link (str) – The link used to get the next page of CommitmentPlan.
- class
azure.mgmt.cognitiveservices.models.CommitmentPlanProperties(*, commitment_plan_guid: Optional[str] = None, hosting_model: Optional[Union[str,_models.HostingModel]] = None, plan_type: Optional[str] = None, current: Optional[_models.CommitmentPeriod] = None, auto_renew: Optional[bool] = None, next: Optional[_models.CommitmentPeriod] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelProperties of Cognitive Services account commitment plan.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
provisioning_state (str orCommitmentPlanProvisioningState) – Gets the status of the resource at the time the operation was called. Known values are: “Accepted”, “Creating”, “Deleting”, “Moving”, “Failed”, “Succeeded”, and “Canceled”.
commitment_plan_guid (str) – Commitment plan guid.
hosting_model (str or HostingModel) – Account hosting model. Known values are: “Web”, “ConnectedContainer”, and “DisconnectedContainer”.
plan_type (str) – Commitment plan type.
current (CommitmentPeriod) – Cognitive Services account commitment period.
auto_renew (bool) – AutoRenew commitment plan.
next (CommitmentPeriod) – Cognitive Services account commitment period.
last (CommitmentPeriod) – Cognitive Services account commitment period.
- Keyword Arguments
commitment_plan_guid (str) – Commitment plan guid.
hosting_model (str or HostingModel) – Account hosting model. Known values are: “Web”, “ConnectedContainer”, and “DisconnectedContainer”.
plan_type (str) – Commitment plan type.
current (CommitmentPeriod) – Cognitive Services account commitment period.
auto_renew (bool) – AutoRenew commitment plan.
next (CommitmentPeriod) – Cognitive Services account commitment period.
- class
azure.mgmt.cognitiveservices.models.CommitmentPlanProvisioningState(value)[source]¶ Gets the status of the resource at the time the operation was called.
ACCEPTED= 'Accepted'¶
CANCELED= 'Canceled'¶
CREATING= 'Creating'¶
DELETING= 'Deleting'¶
FAILED= 'Failed'¶
MOVING= 'Moving'¶
SUCCEEDED= 'Succeeded'¶
- class
azure.mgmt.cognitiveservices.models.CommitmentQuota(*, quantity: Optional[int] = None, unit: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelCognitive Services account commitment quota.
- class
azure.mgmt.cognitiveservices.models.CommitmentTier(*, kind: Optional[str] = None, sku_name: Optional[str] = None, hosting_model: Optional[Union[str,_models.HostingModel]] = None, plan_type: Optional[str] = None, tier: Optional[str] = None, max_count: Optional[int] = None, quota: Optional[_models.CommitmentQuota] = None, cost: Optional[_models.CommitmentCost] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelCognitive Services account commitment tier.
- Variables
kind (str) – The Kind of the resource.
sku_name (str) – The name of the SKU. Ex - P3. It is typically a letter+number code.
hosting_model (str or HostingModel) – Account hosting model. Known values are: “Web”, “ConnectedContainer”, and “DisconnectedContainer”.
plan_type (str) – Commitment plan type.
tier (str) – Commitment period commitment tier.
max_count (int) – Commitment period commitment max count.
quota (CommitmentQuota) – Cognitive Services account commitment quota.
cost (CommitmentCost) – Cognitive Services account commitment cost.
- Keyword Arguments
kind (str) – The Kind of the resource.
sku_name (str) – The name of the SKU. Ex - P3. It is typically a letter+number code.
hosting_model (str or HostingModel) – Account hosting model. Known values are: “Web”, “ConnectedContainer”, and “DisconnectedContainer”.
plan_type (str) – Commitment plan type.
tier (str) – Commitment period commitment tier.
max_count (int) – Commitment period commitment max count.
quota (CommitmentQuota) – Cognitive Services account commitment quota.
cost (CommitmentCost) – Cognitive Services account commitment cost.
- class
azure.mgmt.cognitiveservices.models.CommitmentTierListResult(*, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe list of cognitive services accounts operation response.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
next_link (str) – The link used to get the next page of CommitmentTier.
value (list[CommitmentTier]) – Gets the list of Cognitive Services accounts CommitmentTier and their properties.
- Keyword Arguments
next_link (str) – The link used to get the next page of CommitmentTier.
- class
azure.mgmt.cognitiveservices.models.CreatedByType(value)[source]¶ The type of identity that created the resource.
APPLICATION= 'Application'¶
KEY= 'Key'¶
MANAGED_IDENTITY= 'ManagedIdentity'¶
USER= 'User'¶
- class
azure.mgmt.cognitiveservices.models.Deployment(*, properties: Optional[_models.DeploymentProperties] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices.models._models_py3.ProxyResourceCognitive Services account deployment.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
system_data (SystemData) – Metadata pertaining to creation and last modification of the resource.
etag (str) – Resource Etag.
properties (DeploymentProperties) – Properties of Cognitive Services account deployment.
- Keyword Arguments
properties (DeploymentProperties) – Properties of Cognitive Services account deployment.
- class
azure.mgmt.cognitiveservices.models.DeploymentListResult(*, next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe list of cognitive services accounts operation response.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
next_link (str) – The link used to get the next page of Deployment.
value (list[Deployment]) – Gets the list of Cognitive Services accounts Deployment and their properties.
- Keyword Arguments
next_link (str) – The link used to get the next page of Deployment.
- class
azure.mgmt.cognitiveservices.models.DeploymentModel(*, format: Optional[str] = None, name: Optional[str] = None, version: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelProperties of Cognitive Services account deployment model.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – Deployment model name.
version (str) – Deployment model version.
call_rate_limit (CallRateLimit) – The call rate limit Cognitive Services account.
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.DeploymentProperties(*, model: Optional[_models.DeploymentModel] = None, scale_settings: Optional[_models.DeploymentScaleSettings] = None, rai_policy_name: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelProperties of Cognitive Services account deployment.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
provisioning_state (str orDeploymentProvisioningState) – Gets the status of the resource at the time the operation was called. Known values are: “Accepted”, “Creating”, “Deleting”, “Moving”, “Failed”, and “Succeeded”.
model (DeploymentModel) – Properties of Cognitive Services account deployment model.
scale_settings (DeploymentScaleSettings) – Properties of Cognitive Services account deployment model.
rai_policy_name (str) – The name of RAI policy.
call_rate_limit (CallRateLimit) – The call rate limit Cognitive Services account.
- Keyword Arguments
model (DeploymentModel) – Properties of Cognitive Services account deployment model.
scale_settings (DeploymentScaleSettings) – Properties of Cognitive Services account deployment model.
rai_policy_name (str) – The name of RAI policy.
- class
azure.mgmt.cognitiveservices.models.DeploymentProvisioningState(value)[source]¶ Gets the status of the resource at the time the operation was called.
ACCEPTED= 'Accepted'¶
CREATING= 'Creating'¶
DELETING= 'Deleting'¶
FAILED= 'Failed'¶
MOVING= 'Moving'¶
SUCCEEDED= 'Succeeded'¶
- class
azure.mgmt.cognitiveservices.models.DeploymentScaleSettings(*, scale_type: Optional[Union[str,_models.DeploymentScaleType]] = None, capacity: Optional[int] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelProperties of Cognitive Services account deployment model.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
scale_type (str or DeploymentScaleType) – Deployment scale type. Known values are: “Standard” and “Manual”.
capacity (int) – Deployment capacity.
active_capacity (int) – Deployment active capacity. This value might be different from
capacityif customer recently updatedcapacity.
- Keyword Arguments
scale_type (str or DeploymentScaleType) – Deployment scale type. Known values are: “Standard” and “Manual”.
capacity (int) – Deployment capacity.
- class
azure.mgmt.cognitiveservices.models.DeploymentScaleType(value)[source]¶ Deployment scale type.
MANUAL= 'Manual'¶
STANDARD= 'Standard'¶
- class
azure.mgmt.cognitiveservices.models.DomainAvailability(*, is_subdomain_available: Optional[bool] = None, reason: Optional[str] = None, subdomain_name: Optional[str] = None, type: Optional[str] = None, kind: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelDomain availability.
- Variables
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.Encryption(*, key_vault_properties: Optional[_models.KeyVaultProperties] = None, key_source: Union[str,_models.KeySource] = 'Microsoft.KeyVault', **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelProperties to configure Encryption.
- Variables
key_vault_properties (KeyVaultProperties) – Properties of KeyVault.
key_source (str or KeySource) – Enumerates the possible value of keySource for Encryption. Known values are: “Microsoft.CognitiveServices” and “Microsoft.KeyVault”.
- Keyword Arguments
key_vault_properties (KeyVaultProperties) – Properties of KeyVault.
key_source (str or KeySource) – Enumerates the possible value of keySource for Encryption. Known values are: “Microsoft.CognitiveServices” and “Microsoft.KeyVault”.
- class
azure.mgmt.cognitiveservices.models.ErrorAdditionalInfo(**kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe resource management error additional info.
Variables are only populated by the server, and will be ignored when sending a request.
- class
azure.mgmt.cognitiveservices.models.ErrorDetail(**kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe error detail.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
- class
azure.mgmt.cognitiveservices.models.ErrorResponse(*, error: Optional[_models.ErrorDetail] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelCommon error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
- Variables
error (ErrorDetail) – The error object.
- Keyword Arguments
error (ErrorDetail) – The error object.
- class
azure.mgmt.cognitiveservices.models.HostingModel(value)[source]¶ Account hosting model.
CONNECTED_CONTAINER= 'ConnectedContainer'¶
DISCONNECTED_CONTAINER= 'DisconnectedContainer'¶
WEB= 'Web'¶
- class
azure.mgmt.cognitiveservices.models.Identity(*, type: Optional[Union[str,_models.ResourceIdentityType]] = None, user_assigned_identities: Optional[Dict[str,_models.UserAssignedIdentity]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelIdentity for the resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
type (str or ResourceIdentityType) – The identity type. Known values are: “None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned, UserAssigned”.
tenant_id (str) – The tenant ID of resource.
principal_id (str) – The principal ID of resource identity.
user_assigned_identities (dict[str,UserAssignedIdentity]) – The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/
- Keyword Arguments
type (str or ResourceIdentityType) – The identity type. Known values are: “None”, “SystemAssigned”, “UserAssigned”, and “SystemAssigned, UserAssigned”.
user_assigned_identities (dict[str,UserAssignedIdentity]) – The list of user assigned identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form: ‘/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/
- class
azure.mgmt.cognitiveservices.models.IpRule(*, value: str, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelA rule governing the accessibility from a specific ip address or ip range.
All required parameters must be populated in order to send to Azure.
- Variables
value (str) – An IPv4 address range in CIDR notation, such as ‘124.56.78.91’ (simple IP address) or ‘124.56.78.0/24’ (all addresses that start with 124.56.78). Required.
- Keyword Arguments
value (str) – An IPv4 address range in CIDR notation, such as ‘124.56.78.91’ (simple IP address) or ‘124.56.78.0/24’ (all addresses that start with 124.56.78). Required.
- class
azure.mgmt.cognitiveservices.models.KeyName(value)[source]¶ key name to generate (Key1|Key2).
KEY1= 'Key1'¶
KEY2= 'Key2'¶
- class
azure.mgmt.cognitiveservices.models.KeySource(value)[source]¶ Enumerates the possible value of keySource for Encryption.
MICROSOFT_COGNITIVE_SERVICES= 'Microsoft.CognitiveServices'¶
MICROSOFT_KEY_VAULT= 'Microsoft.KeyVault'¶
- class
azure.mgmt.cognitiveservices.models.KeyVaultProperties(*, key_name: Optional[str] = None, key_version: Optional[str] = None, key_vault_uri: Optional[str] = None, identity_client_id: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelProperties to configure keyVault Properties.
- Variables
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.MetricName(*, value: Optional[str] = None, localized_value: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelA metric name.
- class
azure.mgmt.cognitiveservices.models.ModelDeprecationInfo(*, fine_tune: Optional[str] = None, inference: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelCognitive Services account ModelDeprecationInfo.
- Variables
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.ModelLifecycleStatus(value)[source]¶ Model lifecycle status.
GENERALLY_AVAILABLE= 'GenerallyAvailable'¶
PREVIEW= 'Preview'¶
- class
azure.mgmt.cognitiveservices.models.MultiRegionSettings(*, routing_method: Optional[Union[str,_models.RoutingMethods]] = None, regions: Optional[List[_models.RegionSetting]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe multiregion settings Cognitive Services account.
- Variables
routing_method (str or RoutingMethods) – Multiregion routing methods. Known values are: “Priority”, “Weighted”, and “Performance”.
regions (list[RegionSetting]) –
- Keyword Arguments
routing_method (str or RoutingMethods) – Multiregion routing methods. Known values are: “Priority”, “Weighted”, and “Performance”.
regions (list[RegionSetting]) –
- class
azure.mgmt.cognitiveservices.models.NetworkRuleAction(value)[source]¶ The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated.
ALLOW= 'Allow'¶
DENY= 'Deny'¶
- class
azure.mgmt.cognitiveservices.models.NetworkRuleSet(*, default_action: Optional[Union[str,_models.NetworkRuleAction]] = None, ip_rules: Optional[List[_models.IpRule]] = None, virtual_network_rules: Optional[List[_models.VirtualNetworkRule]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelA set of rules governing the network accessibility.
- Variables
default_action (str or NetworkRuleAction) – The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. Known values are: “Allow” and “Deny”.
virtual_network_rules (list[VirtualNetworkRule]) – The list of virtual network rules.
- Keyword Arguments
default_action (str or NetworkRuleAction) – The default action when no rule from ipRules and from virtualNetworkRules match. This is only used after the bypass property has been evaluated. Known values are: “Allow” and “Deny”.
virtual_network_rules (list[VirtualNetworkRule]) – The list of virtual network rules.
- class
azure.mgmt.cognitiveservices.models.Operation(*, display: Optional[_models.OperationDisplay] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelDetails of a REST API operation, returned from the Resource Provider Operations API.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
name (str) – The name of the operation, as per Resource-Based Access Control (RBAC). Examples: “ “
is_data_action (bool) – Whether the operation applies to data-plane. This is “true” for data-plane operations and “false” for ARM/control-plane operations.
display (OperationDisplay) – Localized display information for this particular operation.
origin (str or Origin) – The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is “user,system”. Known values are: “user”, “system”, and “user,system”.
action_type (str or ActionType) – Enum. Indicates the action type. “Internal” refers to actions that are for internal only APIs. “Internal”
- Keyword Arguments
display (OperationDisplay) – Localized display information for this particular operation.
- class
azure.mgmt.cognitiveservices.models.OperationDisplay(**kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelLocalized display information for this particular operation.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
provider (str) – The localized friendly form of the resource provider name, e.g. “Microsoft Monitoring Insights” or “Microsoft Compute”.
resource (str) – The localized friendly name of the resource type related to this operation. E.g. “Virtual Machines” or “Job Schedule Collections”.
operation (str) – The concise, localized friendly name for the operation; suitable for dropdowns. E.g. “Create or Update Virtual Machine”, “Restart Virtual Machine”.
description (str) – The short, localized friendly description of the operation; suitable for tool tips and detailed views.
- class
azure.mgmt.cognitiveservices.models.OperationListResult(**kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelA list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results.
Variables are only populated by the server, and will be ignored when sending a request.
- class
azure.mgmt.cognitiveservices.models.Origin(value)[source]¶ The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is “user,system”.
SYSTEM= 'system'¶
USER= 'user'¶
USER_SYSTEM= 'user,system'¶
- class
azure.mgmt.cognitiveservices.models.PatchResourceTags(*, tags: Optional[Dict[str,str]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe object being used to update tags of a resource, in general used for PATCH operations.
- class
azure.mgmt.cognitiveservices.models.PatchResourceTagsAndSku(*, tags: Optional[Dict[str,str]] = None, sku: Optional[_models.Sku] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices.models._models_py3.PatchResourceTagsThe object being used to update tags and sku of a resource, in general used for PATCH operations.
- class
azure.mgmt.cognitiveservices.models.PrivateEndpoint(**kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe Private Endpoint resource.
Variables are only populated by the server, and will be ignored when sending a request.
- class
azure.mgmt.cognitiveservices.models.PrivateEndpointConnection(*, properties: Optional[_models.PrivateEndpointConnectionProperties] = None, location: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices.models._models_py3.AzureEntityResourceThe Private Endpoint Connection resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
etag (str) – Resource Etag.
properties (PrivateEndpointConnectionProperties) – Resource properties.
system_data (SystemData) – Metadata pertaining to creation and last modification of the resource.
location (str) – The location of the private endpoint connection.
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.PrivateEndpointConnectionListResult(*, value: Optional[List[_models.PrivateEndpointConnection]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelA list of private endpoint connections.
- Variables
value (list[PrivateEndpointConnection]) – Array of private endpoint connections.
- Keyword Arguments
value (list[PrivateEndpointConnection]) – Array of private endpoint connections.
- class
azure.mgmt.cognitiveservices.models.PrivateEndpointConnectionProperties(*, private_link_service_connection_state: _models.PrivateLinkServiceConnectionState, private_endpoint: Optional[_models.PrivateEndpoint] = None, group_ids: Optional[List[str]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelProperties of the PrivateEndpointConnectProperties.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Variables
private_endpoint (PrivateEndpoint) – The resource of private end point.
private_link_service_connection_state (PrivateLinkServiceConnectionState) – A collection of information about the state of the connection between service consumer and provider. Required.
provisioning_state (str orPrivateEndpointConnectionProvisioningState) – The provisioning state of the private endpoint connection resource. Known values are: “Succeeded”, “Creating”, “Deleting”, and “Failed”.
group_ids (list[str]) – The private link resource group ids.
- Keyword Arguments
private_endpoint (PrivateEndpoint) – The resource of private end point.
private_link_service_connection_state (PrivateLinkServiceConnectionState) – A collection of information about the state of the connection between service consumer and provider. Required.
group_ids (list[str]) – The private link resource group ids.
- class
azure.mgmt.cognitiveservices.models.PrivateEndpointConnectionProvisioningState(value)[source]¶ The current provisioning state.
CREATING= 'Creating'¶
DELETING= 'Deleting'¶
FAILED= 'Failed'¶
SUCCEEDED= 'Succeeded'¶
- class
azure.mgmt.cognitiveservices.models.PrivateEndpointServiceConnectionStatus(value)[source]¶ The private endpoint connection status.
APPROVED= 'Approved'¶
PENDING= 'Pending'¶
REJECTED= 'Rejected'¶
- class
azure.mgmt.cognitiveservices.models.PrivateLinkResource(*, properties: Optional[_models.PrivateLinkResourceProperties] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices.models._models_py3.ResourceA private link resource.
Variables are only populated by the server, and will be ignored when sending a request.
- Variables
id (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
properties (PrivateLinkResourceProperties) – Resource properties.
- Keyword Arguments
properties (PrivateLinkResourceProperties) – Resource properties.
- class
azure.mgmt.cognitiveservices.models.PrivateLinkResourceListResult(*, value: Optional[List[_models.PrivateLinkResource]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelA list of private link resources.
- Variables
value (list[PrivateLinkResource]) – Array of private link resources.
- Keyword Arguments
value (list[PrivateLinkResource]) – Array of private link resources.
- class
azure.mgmt.cognitiveservices.models.PrivateLinkResourceProperties(*, required_zone_names: Optional[List[str]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelProperties of a private link resource.
Variables are only populated by the server, and will be ignored when sending a request.
- class
azure.mgmt.cognitiveservices.models.PrivateLinkServiceConnectionState(*, status: Optional[Union[str,_models.PrivateEndpointServiceConnectionStatus]] = None, description: Optional[str] = None, actions_required: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelA collection of information about the state of the connection between service consumer and provider.
- Variables
status (str orPrivateEndpointServiceConnectionStatus) – Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Known values are: “Pending”, “Approved”, and “Rejected”.
description (str) – The reason for approval/rejection of the connection.
actions_required (str) – A message indicating if changes on the service provider require any updates on the consumer.
- Keyword Arguments
status (str orPrivateEndpointServiceConnectionStatus) – Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service. Known values are: “Pending”, “Approved”, and “Rejected”.
description (str) – The reason for approval/rejection of the connection.
actions_required (str) – A message indicating if changes on the service provider require any updates on the consumer.
- class
azure.mgmt.cognitiveservices.models.ProvisioningState(value)[source]¶ Gets the status of the cognitive services account at the time the operation was called.
ACCEPTED= 'Accepted'¶
CREATING= 'Creating'¶
DELETING= 'Deleting'¶
FAILED= 'Failed'¶
MOVING= 'Moving'¶
RESOLVING_DNS= 'ResolvingDNS'¶
SUCCEEDED= 'Succeeded'¶
- class
azure.mgmt.cognitiveservices.models.ProxyResource(**kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices.models._models_py3.ResourceThe resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location.
Variables are only populated by the server, and will be ignored when sending a request.
- class
azure.mgmt.cognitiveservices.models.PublicNetworkAccess(value)[source]¶ Whether or not public endpoint access is allowed for this account.
DISABLED= 'Disabled'¶
ENABLED= 'Enabled'¶
- class
azure.mgmt.cognitiveservices.models.QuotaLimit(*, count: Optional[float] = None, renewal_period: Optional[float] = None, rules: Optional[List[_models.ThrottlingRule]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelQuotaLimit.
- Variables
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.QuotaUsageStatus(value)[source]¶ Cognitive Services account quota usage status.
BLOCKED= 'Blocked'¶
INCLUDED= 'Included'¶
IN_OVERAGE= 'InOverage'¶
UNKNOWN= 'Unknown'¶
- class
azure.mgmt.cognitiveservices.models.RegenerateKeyParameters(*, key_name: Union[str,_models.KeyName], **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelRegenerate key parameters.
All required parameters must be populated in order to send to Azure.
- class
azure.mgmt.cognitiveservices.models.RegionSetting(*, name: Optional[str] = None, value: Optional[float] = None, customsubdomain: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe call rate limit Cognitive Services account.
- Variables
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.RequestMatchPattern(*, path: Optional[str] = None, method: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelRequestMatchPattern.
- class
azure.mgmt.cognitiveservices.models.Resource(**kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelCommon fields that are returned in the response for all Azure Resource Manager resources.
Variables are only populated by the server, and will be ignored when sending a request.
- class
azure.mgmt.cognitiveservices.models.ResourceIdentityType(value)[source]¶ The identity type.
NONE= 'None'¶
SYSTEM_ASSIGNED= 'SystemAssigned'¶
SYSTEM_ASSIGNED_USER_ASSIGNED= 'SystemAssigned, UserAssigned'¶
USER_ASSIGNED= 'UserAssigned'¶
- class
azure.mgmt.cognitiveservices.models.ResourceSku(*, resource_type: Optional[str] = None, name: Optional[str] = None, tier: Optional[str] = None, kind: Optional[str] = None, locations: Optional[List[str]] = None, restrictions: Optional[List[_models.ResourceSkuRestrictions]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelDescribes an available Cognitive Services SKU.
- Variables
resource_type (str) – The type of resource the SKU applies to.
name (str) – The name of SKU.
tier (str) – Specifies the tier of Cognitive Services account.
kind (str) – The Kind of resources that are supported in this SKU.
locations (list[str]) – The set of locations that the SKU is available.
restrictions (list[ResourceSkuRestrictions]) – The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
- Keyword Arguments
resource_type (str) – The type of resource the SKU applies to.
name (str) – The name of SKU.
tier (str) – Specifies the tier of Cognitive Services account.
kind (str) – The Kind of resources that are supported in this SKU.
locations (list[str]) – The set of locations that the SKU is available.
restrictions (list[ResourceSkuRestrictions]) – The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.
- class
azure.mgmt.cognitiveservices.models.ResourceSkuListResult(*, value: List[_models.ResourceSku], next_link: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe Get Skus operation response.
All required parameters must be populated in order to send to Azure.
- Variables
value (list[ResourceSku]) – The list of skus available for the subscription. Required.
next_link (str) – The uri to fetch the next page of Skus.
- Keyword Arguments
value (list[ResourceSku]) – The list of skus available for the subscription. Required.
next_link (str) – The uri to fetch the next page of Skus.
- class
azure.mgmt.cognitiveservices.models.ResourceSkuRestrictionInfo(*, locations: Optional[List[str]] = None, zones: Optional[List[str]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelResourceSkuRestrictionInfo.
- Variables
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.ResourceSkuRestrictions(*, type: Optional[Union[str,_models.ResourceSkuRestrictionsType]] = None, values: Optional[List[str]] = None, restriction_info: Optional[_models.ResourceSkuRestrictionInfo] = None, reason_code: Optional[Union[str,_models.ResourceSkuRestrictionsReasonCode]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelDescribes restrictions of a SKU.
- Variables
type (str or ResourceSkuRestrictionsType) – The type of restrictions. Known values are: “Location” and “Zone”.
values (list[str]) – The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.
restriction_info (ResourceSkuRestrictionInfo) – The information about the restriction where the SKU cannot be used.
reason_code (str orResourceSkuRestrictionsReasonCode) – The reason for restriction. Known values are: “QuotaId” and “NotAvailableForSubscription”.
- Keyword Arguments
type (str or ResourceSkuRestrictionsType) – The type of restrictions. Known values are: “Location” and “Zone”.
values (list[str]) – The value of restrictions. If the restriction type is set to location. This would be different locations where the SKU is restricted.
restriction_info (ResourceSkuRestrictionInfo) – The information about the restriction where the SKU cannot be used.
reason_code (str orResourceSkuRestrictionsReasonCode) – The reason for restriction. Known values are: “QuotaId” and “NotAvailableForSubscription”.
- class
azure.mgmt.cognitiveservices.models.ResourceSkuRestrictionsReasonCode(value)[source]¶ The reason for restriction.
NOT_AVAILABLE_FOR_SUBSCRIPTION= 'NotAvailableForSubscription'¶
QUOTA_ID= 'QuotaId'¶
- class
azure.mgmt.cognitiveservices.models.ResourceSkuRestrictionsType(value)[source]¶ The type of restrictions.
LOCATION= 'Location'¶
ZONE= 'Zone'¶
- class
azure.mgmt.cognitiveservices.models.RoutingMethods(value)[source]¶ Multiregion routing methods.
PERFORMANCE= 'Performance'¶
PRIORITY= 'Priority'¶
WEIGHTED= 'Weighted'¶
- class
azure.mgmt.cognitiveservices.models.Sku(*, name: str, tier: Optional[Union[str,_models.SkuTier]] = None, size: Optional[str] = None, family: Optional[str] = None, capacity: Optional[int] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe resource model definition representing SKU.
All required parameters must be populated in order to send to Azure.
- Variables
name (str) – The name of the SKU. Ex - P3. It is typically a letter+number code. Required.
tier (str or SkuTier) – This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. Known values are: “Free”, “Basic”, “Standard”, “Premium”, and “Enterprise”.
size (str) – The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
family (str) – If the service has different generations of hardware, for the same SKU, then that can be captured here.
capacity (int) – If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- Keyword Arguments
name (str) – The name of the SKU. Ex - P3. It is typically a letter+number code. Required.
tier (str or SkuTier) – This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. Known values are: “Free”, “Basic”, “Standard”, “Premium”, and “Enterprise”.
size (str) – The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
family (str) – If the service has different generations of hardware, for the same SKU, then that can be captured here.
capacity (int) – If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
- class
azure.mgmt.cognitiveservices.models.SkuAvailability(*, kind: Optional[str] = None, type: Optional[str] = None, sku_name: Optional[str] = None, sku_available: Optional[bool] = None, reason: Optional[str] = None, message: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelSKU availability.
- Variables
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.SkuAvailabilityListResult(*, value: Optional[List[_models.SkuAvailability]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelCheck SKU availability result list.
- Variables
value (list[SkuAvailability]) – Check SKU availability result list.
- Keyword Arguments
value (list[SkuAvailability]) – Check SKU availability result list.
- class
azure.mgmt.cognitiveservices.models.SkuCapability(*, name: Optional[str] = None, value: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelSkuCapability indicates the capability of a certain feature.
- class
azure.mgmt.cognitiveservices.models.SkuChangeInfo(*, count_of_downgrades: Optional[float] = None, count_of_upgrades_after_downgrades: Optional[float] = None, last_change_date: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelSku change info of account.
- Variables
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.SkuTier(value)[source]¶ This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
BASIC= 'Basic'¶
ENTERPRISE= 'Enterprise'¶
FREE= 'Free'¶
PREMIUM= 'Premium'¶
STANDARD= 'Standard'¶
- class
azure.mgmt.cognitiveservices.models.SystemData(*, created_by: Optional[str] = None, created_by_type: Optional[Union[str,_models.CreatedByType]] = None, created_at: Optional[datetime.datetime] = None, last_modified_by: Optional[str] = None, last_modified_by_type: Optional[Union[str,_models.CreatedByType]] = None, last_modified_at: Optional[datetime.datetime] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelMetadata pertaining to creation and last modification of the resource.
- Variables
created_by (str) – The identity that created the resource.
created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
created_at (datetime) – The timestamp of resource creation (UTC).
last_modified_by (str) – The identity that last modified the resource.
last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
last_modified_at (datetime) – The timestamp of resource last modification (UTC).
- Keyword Arguments
created_by (str) – The identity that created the resource.
created_by_type (str or CreatedByType) – The type of identity that created the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
created_at (datetime) – The timestamp of resource creation (UTC).
last_modified_by (str) – The identity that last modified the resource.
last_modified_by_type (str or CreatedByType) – The type of identity that last modified the resource. Known values are: “User”, “Application”, “ManagedIdentity”, and “Key”.
last_modified_at (datetime) – The timestamp of resource last modification (UTC).
- class
azure.mgmt.cognitiveservices.models.ThrottlingRule(*, key: Optional[str] = None, renewal_period: Optional[float] = None, count: Optional[float] = None, min_count: Optional[float] = None, dynamic_throttling_enabled: Optional[bool] = None, match_patterns: Optional[List[_models.RequestMatchPattern]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThrottlingRule.
- Variables
- Keyword Arguments
- class
azure.mgmt.cognitiveservices.models.UnitType(value)[source]¶ The unit of the metric.
BYTES= 'Bytes'¶
BYTES_PER_SECOND= 'BytesPerSecond'¶
COUNT= 'Count'¶
COUNT_PER_SECOND= 'CountPerSecond'¶
MILLISECONDS= 'Milliseconds'¶
PERCENT= 'Percent'¶
SECONDS= 'Seconds'¶
- class
azure.mgmt.cognitiveservices.models.Usage(*, unit: Optional[Union[str,_models.UnitType]] = None, name: Optional[_models.MetricName] = None, quota_period: Optional[str] = None, limit: Optional[float] = None, current_value: Optional[float] = None, next_reset_time: Optional[str] = None, status: Optional[Union[str,_models.QuotaUsageStatus]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe usage data for a usage request.
- Variables
unit (str or UnitType) – The unit of the metric. Known values are: “Count”, “Bytes”, “Seconds”, “Percent”, “CountPerSecond”, “BytesPerSecond”, and “Milliseconds”.
name (MetricName) – The name information for the metric.
quota_period (str) – The quota period used to summarize the usage values.
limit (float) – Maximum value for this metric.
current_value (float) – Current value for this metric.
next_reset_time (str) – Next reset time for current quota.
status (str or QuotaUsageStatus) – Cognitive Services account quota usage status. Known values are: “Included”, “Blocked”, “InOverage”, and “Unknown”.
- Keyword Arguments
unit (str or UnitType) – The unit of the metric. Known values are: “Count”, “Bytes”, “Seconds”, “Percent”, “CountPerSecond”, “BytesPerSecond”, and “Milliseconds”.
name (MetricName) – The name information for the metric.
quota_period (str) – The quota period used to summarize the usage values.
limit (float) – Maximum value for this metric.
current_value (float) – Current value for this metric.
next_reset_time (str) – Next reset time for current quota.
status (str or QuotaUsageStatus) – Cognitive Services account quota usage status. Known values are: “Included”, “Blocked”, “InOverage”, and “Unknown”.
- class
azure.mgmt.cognitiveservices.models.UsageListResult(*, value: Optional[List[_models.Usage]] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe response to a list usage request.
- class
azure.mgmt.cognitiveservices.models.UserAssignedIdentity(**kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelUser-assigned managed identity.
Variables are only populated by the server, and will be ignored when sending a request.
- class
azure.mgmt.cognitiveservices.models.UserOwnedStorage(*, resource_id: Optional[str] = None, identity_client_id: Optional[str] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelThe user owned storage for Cognitive Services account.
- class
azure.mgmt.cognitiveservices.models.VirtualNetworkRule(*, id: str, state: Optional[str] = None, ignore_missing_vnet_service_endpoint: Optional[bool] = None, **kwargs)[source]¶ Bases:
azure.mgmt.cognitiveservices._serialization.ModelA rule governing the accessibility from a specific virtual network.
All required parameters must be populated in order to send to Azure.
- Variables
- Keyword Arguments