azure-mgmt-cognitiveservices


Nameazure-mgmt-cognitiveservices JSON
Version 13.6.0 PyPI version JSON
download
home_pagehttps://github.com/Azure/azure-sdk-for-python
SummaryMicrosoft Azure Cognitive Services Management Client Library for Python
upload_time2024-12-19 05:43:19
maintainerNone
docs_urlNone
authorMicrosoft Corporation
requires_python>=3.8
licenseMIT License
keywords azure azure sdk
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # Microsoft Azure SDK for Python

This is the Microsoft Azure Cognitive Services Management Client Library.
This package has been tested with Python 3.8+.
For a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).

## _Disclaimer_

_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_

## Getting started

### Prerequisites

- Python 3.8+ is required to use this package.
- [Azure subscription](https://azure.microsoft.com/free/)

### Install the package

```bash
pip install azure-mgmt-cognitiveservices
pip install azure-identity
```

### Authentication

By default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.

- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
- `AZURE_CLIENT_SECRET` for Azure client secret.

In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.

With above configuration, client can be authenticated by following code:

```python
from azure.identity import DefaultAzureCredential
from azure.mgmt.cognitiveservices import CognitiveServicesManagementClient
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = CognitiveServicesManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)
```

## Examples

Code samples for this package can be found at:
- [Search Cognitive Services Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com
- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)


## Troubleshooting

## Next steps

## Provide Feedback

If you encounter any bugs or have suggestions, please file an issue in the
[Issues](https://github.com/Azure/azure-sdk-for-python/issues)
section of the project. 


# Release History

## 13.6.0 (2024-12-19)

### Features Added

  - Client `CognitiveServicesManagementClient` added method `calculate_model_capacity`
  - Client `CognitiveServicesManagementClient` added operation group `location_based_model_capacities`
  - Client `CognitiveServicesManagementClient` added operation group `model_capacities`
  - Client `CognitiveServicesManagementClient` added operation group `encryption_scopes`
  - Client `CognitiveServicesManagementClient` added operation group `rai_policies`
  - Client `CognitiveServicesManagementClient` added operation group `rai_blocklists`
  - Client `CognitiveServicesManagementClient` added operation group `rai_blocklist_items`
  - Client `CognitiveServicesManagementClient` added operation group `rai_content_filters`
  - Client `CognitiveServicesManagementClient` added operation group `network_security_perimeter_configurations`
  - Client `CognitiveServicesManagementClient` added operation group `defender_for_ai_settings`
  - Model `AccountModel` added property `publisher`
  - Model `AccountModel` added property `source_account`
  - Model `AccountProperties` added property `aml_workspace`
  - Model `AccountProperties` added property `rai_monitor_config`
  - Model `CapacityConfig` added property `allowed_values`
  - Model `CommitmentPlanAccountAssociation` added property `tags`
  - Model `Deployment` added property `tags`
  - Model `DeploymentModel` added property `publisher`
  - Model `DeploymentModel` added property `source_account`
  - Model `DeploymentProperties` added property `dynamic_throttling_enabled`
  - Model `DeploymentProperties` added property `current_capacity`
  - Model `DeploymentProperties` added property `capacity_settings`
  - Model `DeploymentProperties` added property `parent_deployment_name`
  - Model `Model` added property `description`
  - Enum `ModelLifecycleStatus` added member `DEPRECATED`
  - Enum `ModelLifecycleStatus` added member `DEPRECATING`
  - Enum `ModelLifecycleStatus` added member `STABLE`
  - Model `ModelSku` added property `cost`
  - Model `NetworkRuleSet` added property `bypass`
  - Added model `BillingMeterInfo`
  - Added enum `ByPassSelection`
  - Added model `CalculateModelCapacityParameter`
  - Added model `CalculateModelCapacityResult`
  - Added model `CalculateModelCapacityResultEstimatedCapacity`
  - Added enum `ContentLevel`
  - Added model `CustomBlocklistConfig`
  - Added model `DefenderForAISetting`
  - Added model `DefenderForAISettingResult`
  - Added enum `DefenderForAISettingState`
  - Added model `DeploymentCapacitySettings`
  - Added model `DeploymentSkuListResult`
  - Added model `EncryptionScope`
  - Added model `EncryptionScopeListResult`
  - Added model `EncryptionScopeProperties`
  - Added enum `EncryptionScopeProvisioningState`
  - Added enum `EncryptionScopeState`
  - Added model `ModelCapacityCalculatorWorkload`
  - Added model `ModelCapacityCalculatorWorkloadRequestParam`
  - Added model `ModelCapacityListResult`
  - Added model `ModelCapacityListResultValueItem`
  - Added model `ModelSkuCapacityProperties`
  - Added model `NetworkSecurityPerimeter`
  - Added model `NetworkSecurityPerimeterAccessRule`
  - Added model `NetworkSecurityPerimeterAccessRuleProperties`
  - Added model `NetworkSecurityPerimeterAccessRulePropertiesSubscriptionsItem`
  - Added model `NetworkSecurityPerimeterConfiguration`
  - Added model `NetworkSecurityPerimeterConfigurationAssociationInfo`
  - Added model `NetworkSecurityPerimeterConfigurationList`
  - Added model `NetworkSecurityPerimeterConfigurationProperties`
  - Added model `NetworkSecurityPerimeterProfileInfo`
  - Added enum `NspAccessRuleDirection`
  - Added model `ProvisioningIssue`
  - Added model `ProvisioningIssueProperties`
  - Added model `RaiBlockListItemsResult`
  - Added model `RaiBlockListResult`
  - Added model `RaiBlocklist`
  - Added model `RaiBlocklistConfig`
  - Added model `RaiBlocklistItem`
  - Added model `RaiBlocklistItemBulkRequest`
  - Added model `RaiBlocklistItemProperties`
  - Added model `RaiBlocklistProperties`
  - Added model `RaiContentFilter`
  - Added model `RaiContentFilterListResult`
  - Added model `RaiContentFilterProperties`
  - Added model `RaiMonitorConfig`
  - Added model `RaiPolicy`
  - Added model `RaiPolicyContentFilter`
  - Added enum `RaiPolicyContentSource`
  - Added model `RaiPolicyListResult`
  - Added enum `RaiPolicyMode`
  - Added model `RaiPolicyProperties`
  - Added enum `RaiPolicyType`
  - Added model `SkuResource`
  - Added model `UserOwnedAmlWorkspace`
  - Operation group `CognitiveServicesManagementClientOperationsMixin` added method `calculate_model_capacity`
  - Operation group `DeploymentsOperations` added method `begin_update`
  - Operation group `DeploymentsOperations` added method `list_skus`
  - Added operation group `DefenderForAISettingsOperations`
  - Added operation group `EncryptionScopesOperations`
  - Added operation group `LocationBasedModelCapacitiesOperations`
  - Added operation group `ModelCapacitiesOperations`
  - Added operation group `NetworkSecurityPerimeterConfigurationsOperations`
  - Added operation group `RaiBlocklistItemsOperations`
  - Added operation group `RaiBlocklistsOperations`
  - Added operation group `RaiContentFiltersOperations`
  - Added operation group `RaiPoliciesOperations`

## 13.5.0 (2023-07-21)

### Features Added

  - Added operation group ModelsOperations
  - Added operation group UsagesOperations
  - Model AccountModel has a new parameter is_default_version
  - Model AccountModel has a new parameter skus
  - Model AccountModel has a new parameter source
  - Model AccountProperties has a new parameter abuse_penalty
  - Model CommitmentPlanProperties has a new parameter provisioning_issues
  - Model Deployment has a new parameter sku
  - Model DeploymentModel has a new parameter source
  - Model DeploymentProperties has a new parameter rate_limits
  - Model DeploymentProperties has a new parameter version_upgrade_option
  - Model UsageListResult has a new parameter next_link

## 13.4.0 (2023-02-15)

### Features Added

  - Added operation CommitmentPlansOperations.begin_create_or_update_association
  - Added operation CommitmentPlansOperations.begin_create_or_update_plan
  - Added operation CommitmentPlansOperations.begin_delete_association
  - Added operation CommitmentPlansOperations.begin_delete_plan
  - Added operation CommitmentPlansOperations.begin_update_plan
  - Added operation CommitmentPlansOperations.get_association
  - Added operation CommitmentPlansOperations.get_plan
  - Added operation CommitmentPlansOperations.list_associations
  - Added operation CommitmentPlansOperations.list_plans_by_resource_group
  - Added operation CommitmentPlansOperations.list_plans_by_subscription
  - Model AccountModel has a new parameter finetune_capabilities
  - Model AccountModel has a new parameter lifecycle_status
  - Model AccountProperties has a new parameter commitment_plan_associations
  - Model AccountProperties has a new parameter locations
  - Model CommitmentPlan has a new parameter kind
  - Model CommitmentPlan has a new parameter location
  - Model CommitmentPlan has a new parameter sku
  - Model CommitmentPlan has a new parameter tags
  - Model CommitmentPlanProperties has a new parameter commitment_plan_guid
  - Model CommitmentPlanProperties has a new parameter provisioning_state

## 13.4.0b1 (2022-12-29)

### Features Added

  - Added operation CommitmentPlansOperations.begin_create_or_update_association
  - Added operation CommitmentPlansOperations.begin_create_or_update_plan
  - Added operation CommitmentPlansOperations.begin_delete_association
  - Added operation CommitmentPlansOperations.begin_delete_plan
  - Added operation CommitmentPlansOperations.begin_update_plan
  - Added operation CommitmentPlansOperations.get_association
  - Added operation CommitmentPlansOperations.get_plan
  - Added operation CommitmentPlansOperations.list_associations
  - Added operation CommitmentPlansOperations.list_plans_by_resource_group
  - Added operation CommitmentPlansOperations.list_plans_by_subscription
  - Model AccountModel has a new parameter finetune_capabilities
  - Model AccountModel has a new parameter lifecycle_status
  - Model AccountProperties has a new parameter commitment_plan_associations
  - Model AccountProperties has a new parameter locations
  - Model CommitmentPlan has a new parameter kind
  - Model CommitmentPlan has a new parameter location
  - Model CommitmentPlan has a new parameter sku
  - Model CommitmentPlan has a new parameter tags
  - Model CommitmentPlanProperties has a new parameter commitment_plan_guid
  - Model CommitmentPlanProperties has a new parameter provisioning_state

## 13.3.0 (2022-10-24)

### Features Added

  - Model AccountModel has a new parameter call_rate_limit
  - Model DeploymentModel has a new parameter call_rate_limit
  - Model DeploymentProperties has a new parameter call_rate_limit
  - Model DeploymentProperties has a new parameter capabilities
  - Model DeploymentProperties has a new parameter rai_policy_name

## 13.2.0 (2022-06-08)

**Features**

  - `scale_type` of Model DeploymentScaleType has a new Enum type STANDARD

## 13.1.0 (2022-03-25)

**Features**

  - Added operation AccountsOperations.list_models
  - Model AccountProperties has a new parameter deletion_date
  - Model AccountProperties has a new parameter dynamic_throttling_enabled
  - Model AccountProperties has a new parameter scheduled_purge_date
  - Model DeploymentScaleSettings has a new parameter active_capacity

## 13.0.0 (2021-11-15)

**Features**

  - Model DomainAvailability has a new parameter kind
  - Model CheckDomainAvailabilityParameter has a new parameter kind
  - Added operation group CommitmentPlansOperations
  - Added operation group CommitmentTiersOperations
  - Added operation group DeploymentsOperations

**Breaking changes**

  - Operation CognitiveServicesManagementClientOperationsMixin.check_domain_availability has a new signature

## 12.0.0 (2021-06-03)

**Features**

  - Model UserOwnedStorage has a new parameter identity_client_id
  - Model Sku has a new parameter family
  - Model Sku has a new parameter capacity
  - Model Sku has a new parameter size
  - Model PrivateEndpointConnection has a new parameter location
  - Model PrivateEndpointConnection has a new parameter system_data
  - Model PrivateEndpointConnection has a new parameter etag
  - Model PrivateEndpointConnectionProperties has a new parameter provisioning_state
  - Model KeyVaultProperties has a new parameter identity_client_id
  - Model PrivateLinkServiceConnectionState has a new parameter actions_required
  - Added operation PrivateEndpointConnectionsOperations.begin_create_or_update
  - Added operation PrivateEndpointConnectionsOperations.begin_delete
  - Added operation AccountsOperations.list_usages
  - Added operation AccountsOperations.begin_delete
  - Added operation AccountsOperations.get
  - Added operation AccountsOperations.begin_create
  - Added operation AccountsOperations.begin_update
  - Added operation group DeletedAccountsOperations

**Breaking changes**

  - Model PrivateLinkServiceConnectionState no longer has parameter action_required
  - Removed operation PrivateEndpointConnectionsOperations.create_or_update
  - Removed operation PrivateEndpointConnectionsOperations.delete
  - Removed operation AccountsOperations.delete
  - Removed operation AccountsOperations.create
  - Removed operation AccountsOperations.get_usages
  - Removed operation AccountsOperations.update
  - Removed operation AccountsOperations.get_properties

## 11.0.0 (2020-12-22)

**Features**

  - Model CognitiveServicesAccountProperties has a new parameter date_created

## 11.0.0b1 (2020-11-03)

This is beta preview version.

This version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).

**General breaking changes**

- Credential system has been completly revamped:

  - `azure.common.credentials` or `msrestazure.azure_active_directory` instances are no longer supported, use the `azure-identity` classes instead: https://pypi.org/project/azure-identity/
  - `credentials` parameter has been renamed `credential`

- The `config` attribute no longer exists on a client, configuration should be passed as kwarg. Example: `MyClient(credential, subscription_id, enable_logging=True)`. For a complete set of
  supported options, see the [parameters accept in init documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies)
- You can't import a `version` module anymore, use `__version__` instead
- Operations that used to return a `msrest.polling.LROPoller` now returns a `azure.core.polling.LROPoller` and are prefixed with `begin_`.
- Exceptions tree have been simplified and most exceptions are now `azure.core.exceptions.HttpResponseError` (`CloudError` has been removed).
- Most of the operation kwarg have changed. Some of the most noticeable:

  - `raw` has been removed. Equivalent feature can be found using `cls`, a callback that will give access to internal HTTP response for advanced user
  - For a complete set of
  supported options, see the [parameters accept in Request documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies)

**General new features**

- Type annotations support using `typing`. SDKs are mypy ready.
- This client has now stable and official support for async. Check the `aio` namespace of your package to find the async client.
- This client now support natively tracing library like OpenCensus or OpenTelemetry. See this [tracing quickstart](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-core-tracing-opentelemetry) for an overview.

## 6.3.0 (2020-10-09)

**Features**

  - Model CognitiveServicesAccountApiProperties has a new parameter website_name
  - Model CognitiveServicesAccountApiProperties has a new parameter super_user
  - Model CognitiveServicesAccountApiProperties has a new parameter aad_client_id
  - Model CognitiveServicesAccountApiProperties has a new parameter aad_tenant_id
  - Added operation PrivateEndpointConnectionsOperations.list

## 6.2.0 (2020-05-29)

**Features**

  - Model CognitiveServicesAccountProperties has a new parameter public_network_access
  - Model CognitiveServicesAccountProperties has a new parameter private_endpoint_connections
  - Model CognitiveServicesAccountProperties has a new parameter capabilities
  - Added operation group PrivateEndpointConnectionsOperations
  - Added operation group PrivateLinkResourcesOperations

## 6.1.0 (2020-03-25)

**Features**

  - Model CognitiveServicesAccount has a new parameter identity
  - Model CognitiveServicesAccountProperties has a new parameter user_owned_storage
  - Model CognitiveServicesAccountProperties has a new parameter encryption

## 6.0.0 (2020-02-07)

**Features**

- Model CognitiveServicesAccount has a new parameter properties
- Added operation CognitiveServicesManagementClientOperationsMixin.check_sku_availability

**Breaking changes**

- Operation AccountsOperations.create has a new signature
- Model CognitiveServicesAccount no longer has parameter network_acls
- Model CognitiveServicesAccount no longer has parameter provisioning_state
- Model CognitiveServicesAccount no longer has parameter internal_id
- Model CognitiveServicesAccount no longer has parameter custom_sub_domain_name
- Model CognitiveServicesAccount no longer has parameter endpoint
- Model NetworkRuleSet no longer has parameter bypass
- Operation AccountsOperations.update has a new signature
- Removed operation group CheckSkuAvailabilityOperations

## 5.0.0 (2019-06-21)

**Features**

  - Model CognitiveServicesAccount has a new parameter network_acls
  - Add operation check_domain_availability

**General Breaking changes**

This version uses a next-generation code generator that *might*
introduce breaking changes for some imports. In summary, some modules
were incorrectly visible/importable and have been renamed. This fixed
several issues caused by usage of classes that were not supposed to be
used in the first place.

  - CognitiveServicesManagementClient cannot be imported from
    `azure.mgmt.cognitiveservices.v20xx_yy_zz.cognitive_services_management_client`
    anymore (import from `azure.mgmt.cognitiveservices.v20xx_yy_zz`
    works like before)
  - CognitiveServicesManagementClientConfiguration import has been moved
    from
    `azure.mgmt.cognitiveservices.v20xx_yy_zz.cognitive_services_management_client`
    to `azure.mgmt.cognitiveservices.v20xx_yy_zz`
  - A model `MyClass` from a "models" sub-module cannot be imported
    anymore using
    `azure.mgmt.cognitiveservices.v20xx_yy_zz.models.my_class`
    (import from `azure.mgmt.cognitiveservices.v20xx_yy_zz.models`
    works like before)
  - An operation class `MyClassOperations` from an `operations`
    sub-module cannot be imported anymore using
    `azure.mgmt.cognitiveservices.v20xx_yy_zz.operations.my_class_operations`
    (import from
    `azure.mgmt.cognitiveservices.v20xx_yy_zz.operations` works like
    before)

Last but not least, HTTP connection pooling is now enabled by default.
You should always use a client as a context manager, or call close(), or
use no more than one client per process.

## 4.0.0 (2019-05-01)

**Features**

  - Model CognitiveServicesAccount has a new parameter
    custom_sub_domain_name
  - Model CognitiveServicesAccountUpdateParameters has a new parameter
    properties
  - Operation AccountsOperations.update now takes optional properties

**Breaking changes**

  - Remove limited enum Kind and SkuName. Replace all usage by a simple
    string (e.g. "Bing.SpellCheck.v7")

## 3.0.0 (2018-05-21)

**General Breaking changes**

This version uses a next-generation code generator that *might*
introduce breaking changes.

  - Model signatures now use only keyword-argument syntax. All
    positional arguments must be re-written as keyword-arguments. To
    keep auto-completion in most cases, models are now generated for
    Python 2 and Python 3. Python 3 uses the "*" syntax for
    keyword-only arguments.
  - Enum types now use the "str" mixin (class AzureEnum(str, Enum)) to
    improve the behavior when unrecognized enum values are encountered.
    While this is not a breaking change, the distinctions are important,
    and are documented here:
    <https://docs.python.org/3/library/enum.html#others> At a glance:
      - "is" should not be used at all.
      - "format" will return the string value, where "%s" string
        formatting will return `NameOfEnum.stringvalue`. Format syntax
        should be prefered.
  - New Long Running Operation:
      - Return type changes from
        `msrestazure.azure_operation.AzureOperationPoller` to
        `msrest.polling.LROPoller`. External API is the same.
      - Return type is now **always** a `msrest.polling.LROPoller`,
        regardless of the optional parameters used.
      - The behavior has changed when using `raw=True`. Instead of
        returning the initial call result as `ClientRawResponse`,
        without polling, now this returns an LROPoller. After polling,
        the final resource will be returned as a `ClientRawResponse`.
      - New `polling` parameter. The default behavior is
        `Polling=True` which will poll using ARM algorithm. When
        `Polling=False`, the response of the initial call will be
        returned without polling.
      - `polling` parameter accepts instances of subclasses of
        `msrest.polling.PollingMethod`.
      - `add_done_callback` will no longer raise if called after
        polling is finished, but will instead execute the callback right
        away.

**Features**

  - Add "resource_skus" operation group
  - Update SKU list
  - Add "accounts.get_usages" operation
  - Client class can be used as a context manager to keep the underlying
    HTTP session open for performance

**Bugfixes**

  - Compatibility of the sdist with wheel 0.31.0

## 2.0.0 (2017-10-26)

**Breaking changes**

  - remove "location" as a constructor parameter
  - sku_name in "check_sku_availability" result is now a str (from an
    enum)
  - merge "cognitive_services_accounts" into "accounts" operation
    group
  - "key_name" is now required to regenerate keys
  - "location/skus/kind/type" are now required for "list" available skus

## 1.0.0 (2017-05-01)

  - No changes, this is the 0.30.0 approved as stable.

## 0.30.0 (2017-05-01)

  - Initial Release (ApiVersion 2017-04-18)
  - This wheel package is now built with the azure wheel extension

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Azure/azure-sdk-for-python",
    "name": "azure-mgmt-cognitiveservices",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "azure, azure sdk",
    "author": "Microsoft Corporation",
    "author_email": "azpysdkhelp@microsoft.com",
    "download_url": "https://files.pythonhosted.org/packages/6f/a4/4d5c014adfa05707669fc0aa29aca02eff37131c114e51c850db61d8fa35/azure_mgmt_cognitiveservices-13.6.0.tar.gz",
    "platform": null,
    "description": "# Microsoft Azure SDK for Python\n\nThis is the Microsoft Azure Cognitive Services Management Client Library.\nThis package has been tested with Python 3.8+.\nFor a more complete view of Azure libraries, see the [azure sdk python release](https://aka.ms/azsdk/python/all).\n\n## _Disclaimer_\n\n_Azure SDK Python packages support for Python 2.7 has ended 01 January 2022. For more information and questions, please refer to https://github.com/Azure/azure-sdk-for-python/issues/20691_\n\n## Getting started\n\n### Prerequisites\n\n- Python 3.8+ is required to use this package.\n- [Azure subscription](https://azure.microsoft.com/free/)\n\n### Install the package\n\n```bash\npip install azure-mgmt-cognitiveservices\npip install azure-identity\n```\n\n### Authentication\n\nBy default, [Azure Active Directory](https://aka.ms/awps/aad) token authentication depends on correct configure of following environment variables.\n\n- `AZURE_CLIENT_ID` for Azure client ID.\n- `AZURE_TENANT_ID` for Azure tenant ID.\n- `AZURE_CLIENT_SECRET` for Azure client secret.\n\nIn addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.\n\nWith above configuration, client can be authenticated by following code:\n\n```python\nfrom azure.identity import DefaultAzureCredential\nfrom azure.mgmt.cognitiveservices import CognitiveServicesManagementClient\nimport os\n\nsub_id = os.getenv(\"AZURE_SUBSCRIPTION_ID\")\nclient = CognitiveServicesManagementClient(credential=DefaultAzureCredential(), subscription_id=sub_id)\n```\n\n## Examples\n\nCode samples for this package can be found at:\n- [Search Cognitive Services Management](https://docs.microsoft.com/samples/browse/?languages=python&term=Getting%20started%20-%20Managing&terms=Getting%20started%20-%20Managing) on docs.microsoft.com\n- [Azure Python Mgmt SDK Samples Repo](https://aka.ms/azsdk/python/mgmt/samples)\n\n\n## Troubleshooting\n\n## Next steps\n\n## Provide Feedback\n\nIf you encounter any bugs or have suggestions, please file an issue in the\n[Issues](https://github.com/Azure/azure-sdk-for-python/issues)\nsection of the project. \n\n\n# Release History\n\n## 13.6.0 (2024-12-19)\n\n### Features Added\n\n  - Client `CognitiveServicesManagementClient` added method `calculate_model_capacity`\n  - Client `CognitiveServicesManagementClient` added operation group `location_based_model_capacities`\n  - Client `CognitiveServicesManagementClient` added operation group `model_capacities`\n  - Client `CognitiveServicesManagementClient` added operation group `encryption_scopes`\n  - Client `CognitiveServicesManagementClient` added operation group `rai_policies`\n  - Client `CognitiveServicesManagementClient` added operation group `rai_blocklists`\n  - Client `CognitiveServicesManagementClient` added operation group `rai_blocklist_items`\n  - Client `CognitiveServicesManagementClient` added operation group `rai_content_filters`\n  - Client `CognitiveServicesManagementClient` added operation group `network_security_perimeter_configurations`\n  - Client `CognitiveServicesManagementClient` added operation group `defender_for_ai_settings`\n  - Model `AccountModel` added property `publisher`\n  - Model `AccountModel` added property `source_account`\n  - Model `AccountProperties` added property `aml_workspace`\n  - Model `AccountProperties` added property `rai_monitor_config`\n  - Model `CapacityConfig` added property `allowed_values`\n  - Model `CommitmentPlanAccountAssociation` added property `tags`\n  - Model `Deployment` added property `tags`\n  - Model `DeploymentModel` added property `publisher`\n  - Model `DeploymentModel` added property `source_account`\n  - Model `DeploymentProperties` added property `dynamic_throttling_enabled`\n  - Model `DeploymentProperties` added property `current_capacity`\n  - Model `DeploymentProperties` added property `capacity_settings`\n  - Model `DeploymentProperties` added property `parent_deployment_name`\n  - Model `Model` added property `description`\n  - Enum `ModelLifecycleStatus` added member `DEPRECATED`\n  - Enum `ModelLifecycleStatus` added member `DEPRECATING`\n  - Enum `ModelLifecycleStatus` added member `STABLE`\n  - Model `ModelSku` added property `cost`\n  - Model `NetworkRuleSet` added property `bypass`\n  - Added model `BillingMeterInfo`\n  - Added enum `ByPassSelection`\n  - Added model `CalculateModelCapacityParameter`\n  - Added model `CalculateModelCapacityResult`\n  - Added model `CalculateModelCapacityResultEstimatedCapacity`\n  - Added enum `ContentLevel`\n  - Added model `CustomBlocklistConfig`\n  - Added model `DefenderForAISetting`\n  - Added model `DefenderForAISettingResult`\n  - Added enum `DefenderForAISettingState`\n  - Added model `DeploymentCapacitySettings`\n  - Added model `DeploymentSkuListResult`\n  - Added model `EncryptionScope`\n  - Added model `EncryptionScopeListResult`\n  - Added model `EncryptionScopeProperties`\n  - Added enum `EncryptionScopeProvisioningState`\n  - Added enum `EncryptionScopeState`\n  - Added model `ModelCapacityCalculatorWorkload`\n  - Added model `ModelCapacityCalculatorWorkloadRequestParam`\n  - Added model `ModelCapacityListResult`\n  - Added model `ModelCapacityListResultValueItem`\n  - Added model `ModelSkuCapacityProperties`\n  - Added model `NetworkSecurityPerimeter`\n  - Added model `NetworkSecurityPerimeterAccessRule`\n  - Added model `NetworkSecurityPerimeterAccessRuleProperties`\n  - Added model `NetworkSecurityPerimeterAccessRulePropertiesSubscriptionsItem`\n  - Added model `NetworkSecurityPerimeterConfiguration`\n  - Added model `NetworkSecurityPerimeterConfigurationAssociationInfo`\n  - Added model `NetworkSecurityPerimeterConfigurationList`\n  - Added model `NetworkSecurityPerimeterConfigurationProperties`\n  - Added model `NetworkSecurityPerimeterProfileInfo`\n  - Added enum `NspAccessRuleDirection`\n  - Added model `ProvisioningIssue`\n  - Added model `ProvisioningIssueProperties`\n  - Added model `RaiBlockListItemsResult`\n  - Added model `RaiBlockListResult`\n  - Added model `RaiBlocklist`\n  - Added model `RaiBlocklistConfig`\n  - Added model `RaiBlocklistItem`\n  - Added model `RaiBlocklistItemBulkRequest`\n  - Added model `RaiBlocklistItemProperties`\n  - Added model `RaiBlocklistProperties`\n  - Added model `RaiContentFilter`\n  - Added model `RaiContentFilterListResult`\n  - Added model `RaiContentFilterProperties`\n  - Added model `RaiMonitorConfig`\n  - Added model `RaiPolicy`\n  - Added model `RaiPolicyContentFilter`\n  - Added enum `RaiPolicyContentSource`\n  - Added model `RaiPolicyListResult`\n  - Added enum `RaiPolicyMode`\n  - Added model `RaiPolicyProperties`\n  - Added enum `RaiPolicyType`\n  - Added model `SkuResource`\n  - Added model `UserOwnedAmlWorkspace`\n  - Operation group `CognitiveServicesManagementClientOperationsMixin` added method `calculate_model_capacity`\n  - Operation group `DeploymentsOperations` added method `begin_update`\n  - Operation group `DeploymentsOperations` added method `list_skus`\n  - Added operation group `DefenderForAISettingsOperations`\n  - Added operation group `EncryptionScopesOperations`\n  - Added operation group `LocationBasedModelCapacitiesOperations`\n  - Added operation group `ModelCapacitiesOperations`\n  - Added operation group `NetworkSecurityPerimeterConfigurationsOperations`\n  - Added operation group `RaiBlocklistItemsOperations`\n  - Added operation group `RaiBlocklistsOperations`\n  - Added operation group `RaiContentFiltersOperations`\n  - Added operation group `RaiPoliciesOperations`\n\n## 13.5.0 (2023-07-21)\n\n### Features Added\n\n  - Added operation group ModelsOperations\n  - Added operation group UsagesOperations\n  - Model AccountModel has a new parameter is_default_version\n  - Model AccountModel has a new parameter skus\n  - Model AccountModel has a new parameter source\n  - Model AccountProperties has a new parameter abuse_penalty\n  - Model CommitmentPlanProperties has a new parameter provisioning_issues\n  - Model Deployment has a new parameter sku\n  - Model DeploymentModel has a new parameter source\n  - Model DeploymentProperties has a new parameter rate_limits\n  - Model DeploymentProperties has a new parameter version_upgrade_option\n  - Model UsageListResult has a new parameter next_link\n\n## 13.4.0 (2023-02-15)\n\n### Features Added\n\n  - Added operation CommitmentPlansOperations.begin_create_or_update_association\n  - Added operation CommitmentPlansOperations.begin_create_or_update_plan\n  - Added operation CommitmentPlansOperations.begin_delete_association\n  - Added operation CommitmentPlansOperations.begin_delete_plan\n  - Added operation CommitmentPlansOperations.begin_update_plan\n  - Added operation CommitmentPlansOperations.get_association\n  - Added operation CommitmentPlansOperations.get_plan\n  - Added operation CommitmentPlansOperations.list_associations\n  - Added operation CommitmentPlansOperations.list_plans_by_resource_group\n  - Added operation CommitmentPlansOperations.list_plans_by_subscription\n  - Model AccountModel has a new parameter finetune_capabilities\n  - Model AccountModel has a new parameter lifecycle_status\n  - Model AccountProperties has a new parameter commitment_plan_associations\n  - Model AccountProperties has a new parameter locations\n  - Model CommitmentPlan has a new parameter kind\n  - Model CommitmentPlan has a new parameter location\n  - Model CommitmentPlan has a new parameter sku\n  - Model CommitmentPlan has a new parameter tags\n  - Model CommitmentPlanProperties has a new parameter commitment_plan_guid\n  - Model CommitmentPlanProperties has a new parameter provisioning_state\n\n## 13.4.0b1 (2022-12-29)\n\n### Features Added\n\n  - Added operation CommitmentPlansOperations.begin_create_or_update_association\n  - Added operation CommitmentPlansOperations.begin_create_or_update_plan\n  - Added operation CommitmentPlansOperations.begin_delete_association\n  - Added operation CommitmentPlansOperations.begin_delete_plan\n  - Added operation CommitmentPlansOperations.begin_update_plan\n  - Added operation CommitmentPlansOperations.get_association\n  - Added operation CommitmentPlansOperations.get_plan\n  - Added operation CommitmentPlansOperations.list_associations\n  - Added operation CommitmentPlansOperations.list_plans_by_resource_group\n  - Added operation CommitmentPlansOperations.list_plans_by_subscription\n  - Model AccountModel has a new parameter finetune_capabilities\n  - Model AccountModel has a new parameter lifecycle_status\n  - Model AccountProperties has a new parameter commitment_plan_associations\n  - Model AccountProperties has a new parameter locations\n  - Model CommitmentPlan has a new parameter kind\n  - Model CommitmentPlan has a new parameter location\n  - Model CommitmentPlan has a new parameter sku\n  - Model CommitmentPlan has a new parameter tags\n  - Model CommitmentPlanProperties has a new parameter commitment_plan_guid\n  - Model CommitmentPlanProperties has a new parameter provisioning_state\n\n## 13.3.0 (2022-10-24)\n\n### Features Added\n\n  - Model AccountModel has a new parameter call_rate_limit\n  - Model DeploymentModel has a new parameter call_rate_limit\n  - Model DeploymentProperties has a new parameter call_rate_limit\n  - Model DeploymentProperties has a new parameter capabilities\n  - Model DeploymentProperties has a new parameter rai_policy_name\n\n## 13.2.0 (2022-06-08)\n\n**Features**\n\n  - `scale_type` of Model DeploymentScaleType has a new Enum type STANDARD\n\n## 13.1.0 (2022-03-25)\n\n**Features**\n\n  - Added operation AccountsOperations.list_models\n  - Model AccountProperties has a new parameter deletion_date\n  - Model AccountProperties has a new parameter dynamic_throttling_enabled\n  - Model AccountProperties has a new parameter scheduled_purge_date\n  - Model DeploymentScaleSettings has a new parameter active_capacity\n\n## 13.0.0 (2021-11-15)\n\n**Features**\n\n  - Model DomainAvailability has a new parameter kind\n  - Model CheckDomainAvailabilityParameter has a new parameter kind\n  - Added operation group CommitmentPlansOperations\n  - Added operation group CommitmentTiersOperations\n  - Added operation group DeploymentsOperations\n\n**Breaking changes**\n\n  - Operation CognitiveServicesManagementClientOperationsMixin.check_domain_availability has a new signature\n\n## 12.0.0 (2021-06-03)\n\n**Features**\n\n  - Model UserOwnedStorage has a new parameter identity_client_id\n  - Model Sku has a new parameter family\n  - Model Sku has a new parameter capacity\n  - Model Sku has a new parameter size\n  - Model PrivateEndpointConnection has a new parameter location\n  - Model PrivateEndpointConnection has a new parameter system_data\n  - Model PrivateEndpointConnection has a new parameter etag\n  - Model PrivateEndpointConnectionProperties has a new parameter provisioning_state\n  - Model KeyVaultProperties has a new parameter identity_client_id\n  - Model PrivateLinkServiceConnectionState has a new parameter actions_required\n  - Added operation PrivateEndpointConnectionsOperations.begin_create_or_update\n  - Added operation PrivateEndpointConnectionsOperations.begin_delete\n  - Added operation AccountsOperations.list_usages\n  - Added operation AccountsOperations.begin_delete\n  - Added operation AccountsOperations.get\n  - Added operation AccountsOperations.begin_create\n  - Added operation AccountsOperations.begin_update\n  - Added operation group DeletedAccountsOperations\n\n**Breaking changes**\n\n  - Model PrivateLinkServiceConnectionState no longer has parameter action_required\n  - Removed operation PrivateEndpointConnectionsOperations.create_or_update\n  - Removed operation PrivateEndpointConnectionsOperations.delete\n  - Removed operation AccountsOperations.delete\n  - Removed operation AccountsOperations.create\n  - Removed operation AccountsOperations.get_usages\n  - Removed operation AccountsOperations.update\n  - Removed operation AccountsOperations.get_properties\n\n## 11.0.0 (2020-12-22)\n\n**Features**\n\n  - Model CognitiveServicesAccountProperties has a new parameter date_created\n\n## 11.0.0b1 (2020-11-03)\n\nThis is beta preview version.\n\nThis version uses a next-generation code generator that introduces important breaking changes, but also important new features (like unified authentication and async programming).\n\n**General breaking changes**\n\n- Credential system has been completly revamped:\n\n  - `azure.common.credentials` or `msrestazure.azure_active_directory` instances are no longer supported, use the `azure-identity` classes instead: https://pypi.org/project/azure-identity/\n  - `credentials` parameter has been renamed `credential`\n\n- The `config` attribute no longer exists on a client, configuration should be passed as kwarg. Example: `MyClient(credential, subscription_id, enable_logging=True)`. For a complete set of\n  supported options, see the [parameters accept in init documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies)\n- You can't import a `version` module anymore, use `__version__` instead\n- Operations that used to return a `msrest.polling.LROPoller` now returns a `azure.core.polling.LROPoller` and are prefixed with `begin_`.\n- Exceptions tree have been simplified and most exceptions are now `azure.core.exceptions.HttpResponseError` (`CloudError` has been removed).\n- Most of the operation kwarg have changed. Some of the most noticeable:\n\n  - `raw` has been removed. Equivalent feature can be found using `cls`, a callback that will give access to internal HTTP response for advanced user\n  - For a complete set of\n  supported options, see the [parameters accept in Request documentation of azure-core](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md#available-policies)\n\n**General new features**\n\n- Type annotations support using `typing`. SDKs are mypy ready.\n- This client has now stable and official support for async. Check the `aio` namespace of your package to find the async client.\n- This client now support natively tracing library like OpenCensus or OpenTelemetry. See this [tracing quickstart](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/core/azure-core-tracing-opentelemetry) for an overview.\n\n## 6.3.0 (2020-10-09)\n\n**Features**\n\n  - Model CognitiveServicesAccountApiProperties has a new parameter website_name\n  - Model CognitiveServicesAccountApiProperties has a new parameter super_user\n  - Model CognitiveServicesAccountApiProperties has a new parameter aad_client_id\n  - Model CognitiveServicesAccountApiProperties has a new parameter aad_tenant_id\n  - Added operation PrivateEndpointConnectionsOperations.list\n\n## 6.2.0 (2020-05-29)\n\n**Features**\n\n  - Model CognitiveServicesAccountProperties has a new parameter public_network_access\n  - Model CognitiveServicesAccountProperties has a new parameter private_endpoint_connections\n  - Model CognitiveServicesAccountProperties has a new parameter capabilities\n  - Added operation group PrivateEndpointConnectionsOperations\n  - Added operation group PrivateLinkResourcesOperations\n\n## 6.1.0 (2020-03-25)\n\n**Features**\n\n  - Model CognitiveServicesAccount has a new parameter identity\n  - Model CognitiveServicesAccountProperties has a new parameter user_owned_storage\n  - Model CognitiveServicesAccountProperties has a new parameter encryption\n\n## 6.0.0 (2020-02-07)\n\n**Features**\n\n- Model CognitiveServicesAccount has a new parameter properties\n- Added operation CognitiveServicesManagementClientOperationsMixin.check_sku_availability\n\n**Breaking changes**\n\n- Operation AccountsOperations.create has a new signature\n- Model CognitiveServicesAccount no longer has parameter network_acls\n- Model CognitiveServicesAccount no longer has parameter provisioning_state\n- Model CognitiveServicesAccount no longer has parameter internal_id\n- Model CognitiveServicesAccount no longer has parameter custom_sub_domain_name\n- Model CognitiveServicesAccount no longer has parameter endpoint\n- Model NetworkRuleSet no longer has parameter bypass\n- Operation AccountsOperations.update has a new signature\n- Removed operation group CheckSkuAvailabilityOperations\n\n## 5.0.0 (2019-06-21)\n\n**Features**\n\n  - Model CognitiveServicesAccount has a new parameter network_acls\n  - Add operation check_domain_availability\n\n**General Breaking changes**\n\nThis version uses a next-generation code generator that *might*\nintroduce breaking changes for some imports. In summary, some modules\nwere incorrectly visible/importable and have been renamed. This fixed\nseveral issues caused by usage of classes that were not supposed to be\nused in the first place.\n\n  - CognitiveServicesManagementClient cannot be imported from\n    `azure.mgmt.cognitiveservices.v20xx_yy_zz.cognitive_services_management_client`\n    anymore (import from `azure.mgmt.cognitiveservices.v20xx_yy_zz`\n    works like before)\n  - CognitiveServicesManagementClientConfiguration import has been moved\n    from\n    `azure.mgmt.cognitiveservices.v20xx_yy_zz.cognitive_services_management_client`\n    to `azure.mgmt.cognitiveservices.v20xx_yy_zz`\n  - A model `MyClass` from a \"models\" sub-module cannot be imported\n    anymore using\n    `azure.mgmt.cognitiveservices.v20xx_yy_zz.models.my_class`\n    (import from `azure.mgmt.cognitiveservices.v20xx_yy_zz.models`\n    works like before)\n  - An operation class `MyClassOperations` from an `operations`\n    sub-module cannot be imported anymore using\n    `azure.mgmt.cognitiveservices.v20xx_yy_zz.operations.my_class_operations`\n    (import from\n    `azure.mgmt.cognitiveservices.v20xx_yy_zz.operations` works like\n    before)\n\nLast but not least, HTTP connection pooling is now enabled by default.\nYou should always use a client as a context manager, or call close(), or\nuse no more than one client per process.\n\n## 4.0.0 (2019-05-01)\n\n**Features**\n\n  - Model CognitiveServicesAccount has a new parameter\n    custom_sub_domain_name\n  - Model CognitiveServicesAccountUpdateParameters has a new parameter\n    properties\n  - Operation AccountsOperations.update now takes optional properties\n\n**Breaking changes**\n\n  - Remove limited enum Kind and SkuName. Replace all usage by a simple\n    string (e.g. \"Bing.SpellCheck.v7\")\n\n## 3.0.0 (2018-05-21)\n\n**General Breaking changes**\n\nThis version uses a next-generation code generator that *might*\nintroduce breaking changes.\n\n  - Model signatures now use only keyword-argument syntax. All\n    positional arguments must be re-written as keyword-arguments. To\n    keep auto-completion in most cases, models are now generated for\n    Python 2 and Python 3. Python 3 uses the \"*\" syntax for\n    keyword-only arguments.\n  - Enum types now use the \"str\" mixin (class AzureEnum(str, Enum)) to\n    improve the behavior when unrecognized enum values are encountered.\n    While this is not a breaking change, the distinctions are important,\n    and are documented here:\n    <https://docs.python.org/3/library/enum.html#others> At a glance:\n      - \"is\" should not be used at all.\n      - \"format\" will return the string value, where \"%s\" string\n        formatting will return `NameOfEnum.stringvalue`. Format syntax\n        should be prefered.\n  - New Long Running Operation:\n      - Return type changes from\n        `msrestazure.azure_operation.AzureOperationPoller` to\n        `msrest.polling.LROPoller`. External API is the same.\n      - Return type is now **always** a `msrest.polling.LROPoller`,\n        regardless of the optional parameters used.\n      - The behavior has changed when using `raw=True`. Instead of\n        returning the initial call result as `ClientRawResponse`,\n        without polling, now this returns an LROPoller. After polling,\n        the final resource will be returned as a `ClientRawResponse`.\n      - New `polling` parameter. The default behavior is\n        `Polling=True` which will poll using ARM algorithm. When\n        `Polling=False`, the response of the initial call will be\n        returned without polling.\n      - `polling` parameter accepts instances of subclasses of\n        `msrest.polling.PollingMethod`.\n      - `add_done_callback` will no longer raise if called after\n        polling is finished, but will instead execute the callback right\n        away.\n\n**Features**\n\n  - Add \"resource_skus\" operation group\n  - Update SKU list\n  - Add \"accounts.get_usages\" operation\n  - Client class can be used as a context manager to keep the underlying\n    HTTP session open for performance\n\n**Bugfixes**\n\n  - Compatibility of the sdist with wheel 0.31.0\n\n## 2.0.0 (2017-10-26)\n\n**Breaking changes**\n\n  - remove \"location\" as a constructor parameter\n  - sku_name in \"check_sku_availability\" result is now a str (from an\n    enum)\n  - merge \"cognitive_services_accounts\" into \"accounts\" operation\n    group\n  - \"key_name\" is now required to regenerate keys\n  - \"location/skus/kind/type\" are now required for \"list\" available skus\n\n## 1.0.0 (2017-05-01)\n\n  - No changes, this is the 0.30.0 approved as stable.\n\n## 0.30.0 (2017-05-01)\n\n  - Initial Release (ApiVersion 2017-04-18)\n  - This wheel package is now built with the azure wheel extension\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Microsoft Azure Cognitive Services Management Client Library for Python",
    "version": "13.6.0",
    "project_urls": {
        "Homepage": "https://github.com/Azure/azure-sdk-for-python"
    },
    "split_keywords": [
        "azure",
        " azure sdk"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c37229f7a91181abe6e5dc2169ab5c7332157b41709666db33dbd2b1030aaa29",
                "md5": "20a43dd8db5cc26fe2c5d7e5443fc831",
                "sha256": "76394783fc3d3279cb42b4bc167ed984fab0dcb4cd83673f907b006ba9577cab"
            },
            "downloads": -1,
            "filename": "azure_mgmt_cognitiveservices-13.6.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "20a43dd8db5cc26fe2c5d7e5443fc831",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 213256,
            "upload_time": "2024-12-19T05:43:21",
            "upload_time_iso_8601": "2024-12-19T05:43:21.381117Z",
            "url": "https://files.pythonhosted.org/packages/c3/72/29f7a91181abe6e5dc2169ab5c7332157b41709666db33dbd2b1030aaa29/azure_mgmt_cognitiveservices-13.6.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "6fa44d5c014adfa05707669fc0aa29aca02eff37131c114e51c850db61d8fa35",
                "md5": "d7a868be40c4063428d57e60cd6120d3",
                "sha256": "612e56f79e824f81d590cff0c09253358ada065d5a6169c13905fc35064d9b40"
            },
            "downloads": -1,
            "filename": "azure_mgmt_cognitiveservices-13.6.0.tar.gz",
            "has_sig": false,
            "md5_digest": "d7a868be40c4063428d57e60cd6120d3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 130495,
            "upload_time": "2024-12-19T05:43:19",
            "upload_time_iso_8601": "2024-12-19T05:43:19.759486Z",
            "url": "https://files.pythonhosted.org/packages/6f/a4/4d5c014adfa05707669fc0aa29aca02eff37131c114e51c850db61d8fa35/azure_mgmt_cognitiveservices-13.6.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-19 05:43:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Azure",
    "github_project": "azure-sdk-for-python",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "azure-mgmt-cognitiveservices"
}
        
Elapsed time: 0.42333s