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.AzureEntityResource
Cognitive 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.
Variablesid (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
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.
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.
azure.mgmt.cognitiveservices.models.
AccountListResult
(*, next_link: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
The list of cognitive services accounts operation response.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesnext_link (str) – The link used to get the next page of accounts.
value (list[Account]) – Gets the list of Cognitive Services accounts and their properties.
next_link (str) – The link used to get the next page of accounts.
classazure.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.DeploymentModel
Cognitive Services account Model.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesname (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.
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”.
azure.mgmt.cognitiveservices.models.
AccountModelListResult
(*, next_link: Optional[str] = None, value: Optional[List[_models.AccountModel]] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
The list of cognitive services accounts operation response.
Variablesnext_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.
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.
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.Model
Properties of Cognitive Services account.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesprovisioning_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.
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 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.
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.
azure.mgmt.cognitiveservices.models.
AccountSku
(*, resource_type: Optional[str] = None, sku: Optional[_models.Sku] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
Cognitive Services resource type and SKU.
Variablesresource_type (str) – Resource Namespace and Type.
sku (Sku) – The SKU of Cognitive Services account.
resource_type (str) – Resource Namespace and Type.
sku (Sku) – The SKU of Cognitive Services account.
azure.mgmt.cognitiveservices.models.
AccountSkuListResult
(*, value: Optional[List[_models.AccountSku]] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
The list of cognitive services accounts operation response.
Variablesvalue (list[AccountSku]) – Gets the list of Cognitive Services accounts and their properties.
Keyword Argumentsvalue (list[AccountSku]) – Gets the list of Cognitive Services accounts and their properties.
classazure.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.Model
The access keys for the cognitive services account.
VariablesKeyword Argumentsclassazure.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.Model
The api properties for special APIs.
Variablesadditional_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.
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.
azure.mgmt.cognitiveservices.models.
AzureEntityResource
(**kwargs)[source]¶Bases: azure.mgmt.cognitiveservices.models._models_py3.Resource
The 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.
Variablesid (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
etag (str) – Resource Etag.
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.Model
The call rate limit Cognitive Services account.
Variablescount (float) – The count value of Call Rate Limit.
renewal_period (float) – The renewal period in seconds of Call Rate Limit.
rules (list[ThrottlingRule]) –
count (float) – The count value of Call Rate Limit.
renewal_period (float) – The renewal period in seconds of Call Rate Limit.
rules (list[ThrottlingRule]) –
azure.mgmt.cognitiveservices.models.
CheckDomainAvailabilityParameter
(*, subdomain_name: str, type: str, kind: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
Check Domain availability parameter.
All required parameters must be populated in order to send to Azure.
VariablesKeyword Argumentssubdomain_name (str) – The subdomain name to use. Required.
type (str) – The Type of the resource. Required.
kind (str) – The Kind of the resource.
azure.mgmt.cognitiveservices.models.
CheckSkuAvailabilityParameter
(*, skus: List[str], kind: str, type: str, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
Check SKU availability parameter.
All required parameters must be populated in order to send to Azure.
Variableskind (str) – The Kind of the resource. Required.
azure.mgmt.cognitiveservices.models.
CommitmentCost
(*, commitment_meter_id: Optional[str] = None, overage_meter_id: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
Cognitive Services account commitment cost.
VariablesKeyword Argumentsclassazure.mgmt.cognitiveservices.models.
CommitmentPeriod
(*, tier: Optional[str] = None, count: Optional[int] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
Cognitive Services account commitment period.
Variables are only populated by the server, and will be ignored when sending a request.
Variablestier (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.
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.ProxyResource
Cognitive Services account commitment plan.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesid (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
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.
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.
azure.mgmt.cognitiveservices.models.
CommitmentPlanAccountAssociation
(*, account_id: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices.models._models_py3.ProxyResource
The commitment plan association.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesid (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
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.
account_id (str) – The Azure resource id of the account.
classazure.mgmt.cognitiveservices.models.
CommitmentPlanAccountAssociationListResult
(*, next_link: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
The 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.
Variablesnext_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.
next_link (str) – The link used to get the next page of Commitment Plan Account Association.
classazure.mgmt.cognitiveservices.models.
CommitmentPlanAssociation
(*, commitment_plan_id: Optional[str] = None, commitment_plan_location: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
The commitment plan association.
Variablescommitment_plan_id (str) – The Azure resource id of the commitment plan.
commitment_plan_location (str) – The location of of the commitment plan.
commitment_plan_id (str) – The Azure resource id of the commitment plan.
commitment_plan_location (str) – The location of of the commitment plan.
azure.mgmt.cognitiveservices.models.
CommitmentPlanListResult
(*, next_link: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
The list of cognitive services accounts operation response.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesnext_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.
next_link (str) – The link used to get the next page of CommitmentPlan.
classazure.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.Model
Properties of Cognitive Services account commitment plan.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesprovisioning_state (str or CommitmentPlanProvisioningState) – 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.
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.
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.Model
Cognitive Services account commitment quota.
VariablesKeyword Argumentsclassazure.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.Model
Cognitive Services account commitment tier.
Variableskind (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.
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.
azure.mgmt.cognitiveservices.models.
CommitmentTierListResult
(*, next_link: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
The list of cognitive services accounts operation response.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesnext_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.
next_link (str) – The link used to get the next page of CommitmentTier.
classazure.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.ProxyResource
Cognitive Services account deployment.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesid (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
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.
properties (DeploymentProperties) – Properties of Cognitive Services account deployment.
classazure.mgmt.cognitiveservices.models.
DeploymentListResult
(*, next_link: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
The list of cognitive services accounts operation response.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesnext_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.
next_link (str) – The link used to get the next page of Deployment.
classazure.mgmt.cognitiveservices.models.
DeploymentModel
(*, format: Optional[str] = None, name: Optional[str] = None, version: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
Properties of Cognitive Services account deployment model.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesname (str) – Deployment model name.
version (str) – Deployment model version.
call_rate_limit (CallRateLimit) – The call rate limit Cognitive Services account.
format (str) – Deployment model format.
name (str) – Deployment model name.
version (str) – Deployment model version.
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.Model
Properties of Cognitive Services account deployment.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesprovisioning_state (str or DeploymentProvisioningState) – 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.
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.
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.Model
Properties of Cognitive Services account deployment model.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesscale_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 capacity
if customer recently updated capacity
.
scale_type (str or DeploymentScaleType) – Deployment scale type. Known values are: “Standard” and “Manual”.
capacity (int) – Deployment capacity.
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.Model
Domain availability.
Variablesis_subdomain_available (bool) – Indicates the given SKU is available or not.
reason (str) – Reason why the SKU is not available.
subdomain_name (str) – The subdomain name to use.
kind (str) – The Kind of the resource.
is_subdomain_available (bool) – Indicates the given SKU is available or not.
reason (str) – Reason why the SKU is not available.
subdomain_name (str) – The subdomain name to use.
type (str) – The Type of the resource.
kind (str) – The Kind of the resource.
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.Model
Properties to configure Encryption.
Variableskey_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”.
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”.
azure.mgmt.cognitiveservices.models.
ErrorAdditionalInfo
(**kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
The resource management error additional info.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesclassazure.mgmt.cognitiveservices.models.
ErrorDetail
(**kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
The error detail.
Variables are only populated by the server, and will be ignored when sending a request.
Variables classazure.mgmt.cognitiveservices.models.
ErrorResponse
(*, error: Optional[_models.ErrorDetail] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
Variableserror (ErrorDetail) – The error object.
Keyword Argumentserror (ErrorDetail) – The error object.
classazure.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.Model
Identity for the resource.
Variables are only populated by the server, and will be ignored when sending a request.
Variablestype (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/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
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/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.
azure.mgmt.cognitiveservices.models.
IpRule
(*, value: str, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
A rule governing the accessibility from a specific ip address or ip range.
All required parameters must be populated in order to send to Azure.
Variablesvalue (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 Argumentsvalue (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.
classazure.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.Model
Properties to configure keyVault Properties.
Variableskey_name (str) – Name of the Key from KeyVault.
key_version (str) – Version of the Key from KeyVault.
key_vault_uri (str) – Uri of KeyVault.
identity_client_id (str) –
key_name (str) – Name of the Key from KeyVault.
key_version (str) – Version of the Key from KeyVault.
key_vault_uri (str) – Uri of KeyVault.
identity_client_id (str) –
azure.mgmt.cognitiveservices.models.
MetricName
(*, value: Optional[str] = None, localized_value: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
A metric name.
VariablesKeyword Argumentsclassazure.mgmt.cognitiveservices.models.
ModelDeprecationInfo
(*, fine_tune: Optional[str] = None, inference: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
Cognitive Services account ModelDeprecationInfo.
Variablesfine_tune (str) – The datetime of deprecation of the fineTune Model.
inference (str) – The datetime of deprecation of the inference Model.
fine_tune (str) – The datetime of deprecation of the fineTune Model.
inference (str) – The datetime of deprecation of the inference Model.
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.Model
The multiregion settings Cognitive Services account.
Variablesrouting_method (str or RoutingMethods) – Multiregion routing methods. Known values are: “Priority”, “Weighted”, and “Performance”.
regions (list[RegionSetting]) –
routing_method (str or RoutingMethods) – Multiregion routing methods. Known values are: “Priority”, “Weighted”, and “Performance”.
regions (list[RegionSetting]) –
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.Model
A set of rules governing the network accessibility.
Variablesdefault_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.
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.
azure.mgmt.cognitiveservices.models.
Operation
(*, display: Optional[_models.OperationDisplay] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
Details 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.
Variablesname (str) – The name of the operation, as per Resource-Based Access Control (RBAC). Examples: “Microsoft.Compute/virtualMachines/write”, “Microsoft.Compute/virtualMachines/capture/action”.
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”
display (OperationDisplay) – Localized display information for this particular operation.
classazure.mgmt.cognitiveservices.models.
OperationDisplay
(**kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
Localized display information for this particular operation.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesprovider (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.
azure.mgmt.cognitiveservices.models.
OperationListResult
(**kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
A 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.
Variablesvalue (list[Operation]) – List of operations supported by the resource provider.
next_link (str) – URL to get the next set of operation list results (if there are any).
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.Model
The object being used to update tags of a resource, in general used for PATCH operations.
Variablestags (dict[str, str]) – Resource tags.
Keyword Argumentstags (dict[str, str]) – Resource tags.
classazure.mgmt.cognitiveservices.models.
PatchResourceTagsAndSku
(*, tags: Optional[Dict[str, str]] = None, sku: Optional[_models.Sku] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices.models._models_py3.PatchResourceTags
The object being used to update tags and sku of a resource, in general used for PATCH operations.
VariablesKeyword Argumentsclassazure.mgmt.cognitiveservices.models.
PrivateEndpoint
(**kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
The Private Endpoint resource.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesid (str) – The ARM identifier for Private Endpoint.
classazure.mgmt.cognitiveservices.models.
PrivateEndpointConnection
(*, properties: Optional[_models.PrivateEndpointConnectionProperties] = None, location: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices.models._models_py3.AzureEntityResource
The Private Endpoint Connection resource.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesid (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
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.
azure.mgmt.cognitiveservices.models.
PrivateEndpointConnectionListResult
(*, value: Optional[List[_models.PrivateEndpointConnection]] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
A list of private endpoint connections.
Variablesvalue (list[PrivateEndpointConnection]) – Array of private endpoint connections.
Keyword Argumentsvalue (list[PrivateEndpointConnection]) – Array of private endpoint connections.
classazure.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.Model
Properties 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.
Variablesprivate_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 or PrivateEndpointConnectionProvisioningState) – 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.
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.
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.Resource
A private link resource.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesid (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
properties (PrivateLinkResourceProperties) – Resource properties.
properties (PrivateLinkResourceProperties) – Resource properties.
classazure.mgmt.cognitiveservices.models.
PrivateLinkResourceListResult
(*, value: Optional[List[_models.PrivateLinkResource]] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
A list of private link resources.
Variablesvalue (list[PrivateLinkResource]) – Array of private link resources.
Keyword Argumentsvalue (list[PrivateLinkResource]) – Array of private link resources.
classazure.mgmt.cognitiveservices.models.
PrivateLinkResourceProperties
(*, required_zone_names: Optional[List[str]] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
Properties of a private link resource.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesgroup_id (str) – The private link resource group id.
required_members (list[str]) – The private link resource required member names.
required_zone_names (list[str]) – The private link resource Private link DNS zone name.
display_name (str) – The private link resource display name.
required_zone_names (list[str]) – The private link resource Private link DNS zone name.
classazure.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.Model
A collection of information about the state of the connection between service consumer and provider.
Variablesstatus (str or PrivateEndpointServiceConnectionStatus) – 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.
status (str or PrivateEndpointServiceConnectionStatus) – 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.
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.Resource
The 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.
Variablesid (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
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.Model
QuotaLimit.
Variables Keyword Arguments classazure.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.Model
Regenerate key parameters.
All required parameters must be populated in order to send to Azure.
Variableskey_name (str or KeyName) – key name to generate (Key1|Key2). Required. Known values are: “Key1” and “Key2”.
Keyword Argumentskey_name (str or KeyName) – key name to generate (Key1|Key2). Required. Known values are: “Key1” and “Key2”.
classazure.mgmt.cognitiveservices.models.
RegionSetting
(*, name: Optional[str] = None, value: Optional[float] = None, customsubdomain: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
The call rate limit Cognitive Services account.
Variablesname (str) – Name of the region.
value (float) – A value for priority or weighted routing methods.
customsubdomain (str) – Maps the region to the regional custom subdomain.
name (str) – Name of the region.
value (float) – A value for priority or weighted routing methods.
customsubdomain (str) – Maps the region to the regional custom subdomain.
azure.mgmt.cognitiveservices.models.
RequestMatchPattern
(*, path: Optional[str] = None, method: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
RequestMatchPattern.
VariablesKeyword Argumentsclassazure.mgmt.cognitiveservices.models.
Resource
(**kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
Common 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.
Variablesid (str) – Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
name (str) – The name of the resource.
type (str) – The type of the resource. E.g. “Microsoft.Compute/virtualMachines” or “Microsoft.Storage/storageAccounts”.
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.Model
Describes an available Cognitive Services SKU.
Variablesresource_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.
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.
azure.mgmt.cognitiveservices.models.
ResourceSkuListResult
(*, value: List[_models.ResourceSku], next_link: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
The Get Skus operation response.
All required parameters must be populated in order to send to Azure.
Variablesvalue (list[ResourceSku]) – The list of skus available for the subscription. Required.
next_link (str) – The uri to fetch the next page of Skus.
value (list[ResourceSku]) – The list of skus available for the subscription. Required.
next_link (str) – The uri to fetch the next page of Skus.
azure.mgmt.cognitiveservices.models.
ResourceSkuRestrictionInfo
(*, locations: Optional[List[str]] = None, zones: Optional[List[str]] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
ResourceSkuRestrictionInfo.
Variableslocations (list[str]) – Locations where the SKU is restricted.
zones (list[str]) – List of availability zones where the SKU is restricted.
locations (list[str]) – Locations where the SKU is restricted.
zones (list[str]) – List of availability zones where the SKU is restricted.
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.Model
Describes restrictions of a SKU.
Variablestype (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 or ResourceSkuRestrictionsReasonCode) – The reason for restriction. Known values are: “QuotaId” and “NotAvailableForSubscription”.
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 or ResourceSkuRestrictionsReasonCode) – The reason for restriction. Known values are: “QuotaId” and “NotAvailableForSubscription”.
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.Model
The resource model definition representing SKU.
All required parameters must be populated in order to send to Azure.
Variablesname (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.
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.
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.Model
SKU availability.
Variableskind (str) – The Kind of the resource.
sku_name (str) – The SKU of Cognitive Services account.
sku_available (bool) – Indicates the given SKU is available or not.
reason (str) – Reason why the SKU is not available.
message (str) – Additional error message.
kind (str) – The Kind of the resource.
type (str) – The Type of the resource.
sku_name (str) – The SKU of Cognitive Services account.
sku_available (bool) – Indicates the given SKU is available or not.
reason (str) – Reason why the SKU is not available.
message (str) – Additional error message.
azure.mgmt.cognitiveservices.models.
SkuAvailabilityListResult
(*, value: Optional[List[_models.SkuAvailability]] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
Check SKU availability result list.
Variablesvalue (list[SkuAvailability]) – Check SKU availability result list.
Keyword Argumentsvalue (list[SkuAvailability]) – Check SKU availability result list.
classazure.mgmt.cognitiveservices.models.
SkuCapability
(*, name: Optional[str] = None, value: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
SkuCapability indicates the capability of a certain feature.
VariablesKeyword Argumentsclassazure.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.Model
Sku change info of account.
Variablescount_of_downgrades (float) – Gets the count of downgrades.
count_of_upgrades_after_downgrades (float) – Gets the count of upgrades after downgrades.
last_change_date (str) – Gets the last change date.
count_of_downgrades (float) – Gets the count of downgrades.
count_of_upgrades_after_downgrades (float) – Gets the count of upgrades after downgrades.
last_change_date (str) – Gets the last change date.
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.Model
Metadata pertaining to creation and last modification of the resource.
Variablescreated_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).
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).
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.Model
ThrottlingRule.
Variables Keyword Arguments classazure.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.Model
The usage data for a usage request.
Variablesunit (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”.
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”.
azure.mgmt.cognitiveservices.models.
UsageListResult
(*, value: Optional[List[_models.Usage]] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
The response to a list usage request.
Variablesvalue (list[Usage]) – The list of usages for Cognitive Service account.
Keyword Argumentsvalue (list[Usage]) – The list of usages for Cognitive Service account.
classazure.mgmt.cognitiveservices.models.
UserAssignedIdentity
(**kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
User-assigned managed identity.
Variables are only populated by the server, and will be ignored when sending a request.
Variablesprincipal_id (str) – Azure Active Directory principal ID associated with this Identity.
client_id (str) – Client App Id associated with this identity.
azure.mgmt.cognitiveservices.models.
UserOwnedStorage
(*, resource_id: Optional[str] = None, identity_client_id: Optional[str] = None, **kwargs)[source]¶Bases: azure.mgmt.cognitiveservices._serialization.Model
The user owned storage for Cognitive Services account.
VariablesKeyword Argumentsclassazure.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.Model
A rule governing the accessibility from a specific virtual network.
All required parameters must be populated in order to send to Azure.
Variablesid (str) – Full resource id of a vnet subnet, such as ‘/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1’. Required.
state (str) – Gets the state of virtual network rule.
ignore_missing_vnet_service_endpoint (bool) – Ignore missing vnet service endpoint or not.
id (str) – Full resource id of a vnet subnet, such as ‘/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1’. Required.
state (str) – Gets the state of virtual network rule.
ignore_missing_vnet_service_endpoint (bool) – Ignore missing vnet service endpoint or not.
ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnploqKmptbC6jpqxrqqVYrqoudNmmqifnp7BqsLErJyrrpmYsrR7kGxlbWZgl35wrdmuqZ5mnZy6tXrCqJ6noaSew6a%2FxKutopuVqHuuu8Oeo6xmmKm6rQ%3D%3D