Share via


CognitiveServicesManagementClient Class

Cognitive Services Management Client.

Constructor

CognitiveServicesManagementClient(credential: TokenCredential, subscription_id: str, base_url: str = 'https://management.azure.com', **kwargs: Any)

Parameters

Name Description
credential
Required

Credential needed for the client to connect to Azure. Required.

subscription_id
Required
str

The ID of the target subscription. Required.

base_url
str

Service URL. Default value is "https://management.azure.com".

Default value: https://management.azure.com

Keyword-Only Parameters

Name Description
api_version
str

Api Version. Default value is "2024-10-01". Note that overriding this default value may result in unsupported behavior.

polling_interval
int

Default waiting time between two polls for LRO operations if no Retry-After header is present.

Variables

Name Description
accounts

AccountsOperations operations

deleted_accounts

DeletedAccountsOperations operations

resource_skus

ResourceSkusOperations operations

usages

UsagesOperations operations

operations

Operations operations

commitment_tiers

CommitmentTiersOperations operations

models

ModelsOperations operations

location_based_model_capacities

LocationBasedModelCapacitiesOperations operations

model_capacities

ModelCapacitiesOperations operations

private_endpoint_connections

PrivateEndpointConnectionsOperations operations

private_link_resources

PrivateLinkResourcesOperations operations

deployments

DeploymentsOperations operations

commitment_plans

CommitmentPlansOperations operations

encryption_scopes

EncryptionScopesOperations operations

rai_policies

RaiPoliciesOperations operations

rai_blocklists

RaiBlocklistsOperations operations

rai_blocklist_items

RaiBlocklistItemsOperations operations

rai_content_filters

RaiContentFiltersOperations operations

network_security_perimeter_configurations

NetworkSecurityPerimeterConfigurationsOperations operations

defender_for_ai_settings

DefenderForAISettingsOperations operations

Methods

close

close

close() -> None