Share via


Account Class

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.

Constructor

Account(*, kind: str | None = None, sku: _models.Sku | None = None, identity: _models.Identity | None = None, tags: dict[str, str] | None = None, location: str | None = None, properties: _models.AccountProperties | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
kind
str

The Kind of the resource.

Default value: None
sku
Sku

The resource model definition representing SKU.

Default value: None
identity

Identity for the resource.

Default value: None
tags

Resource tags.

Default value: None
location
str

The geo-location where the resource lives.

Default value: None
properties

Properties of Cognitive Services account.

Default value: None

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

system_data

Azure Resource Manager metadata containing createdBy and modifiedBy information.

etag
str

Resource Etag.

kind
str

The Kind of the resource.

sku
Sku

The resource model definition representing SKU.

identity

Identity for the resource.

tags

Resource tags.

location
str

The geo-location where the resource lives.

properties

Properties of Cognitive Services account.