Share via


CognitiveServicesAccountData Class

Definition

A class representing the CognitiveServicesAccount data model. Cognitive Services account is an Azure resource representing the provisioned account, it's type, location and SKU.

public class CognitiveServicesAccountData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.CognitiveServices.CognitiveServicesAccountData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.CognitiveServices.CognitiveServicesAccountData>
type CognitiveServicesAccountData = class
    inherit TrackedResourceData
    interface IJsonModel<CognitiveServicesAccountData>
    interface IPersistableModel<CognitiveServicesAccountData>
Public Class CognitiveServicesAccountData
Inherits TrackedResourceData
Implements IJsonModel(Of CognitiveServicesAccountData), IPersistableModel(Of CognitiveServicesAccountData)
Inheritance
CognitiveServicesAccountData
Implements

Constructors

CognitiveServicesAccountData(AzureLocation)

Initializes a new instance of CognitiveServicesAccountData.

Properties

ETag

Resource Etag.

Id

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

(Inherited from ResourceData)
Identity

Identity for the resource.

Kind

The Kind of the resource.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
Properties

Properties of Cognitive Services account.

ResourceType

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

(Inherited from ResourceData)
Sku

The resource model definition representing SKU.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CognitiveServicesAccountData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CognitiveServicesAccountData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CognitiveServicesAccountData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CognitiveServicesAccountData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CognitiveServicesAccountData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to