CognitiveServicesComputeData Class

Definition

Cognitive Services compute resource. Supports polymorphic compute types (Cluster, ContainerInstance) via the computeType discriminator in properties.

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

Constructors

Name Description
CognitiveServicesComputeData(CognitiveServicesComputeProperties)

Initializes a new instance of CognitiveServicesComputeData.

Properties

Name Description
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 (type) of compute resource.

Location

The location of the compute resource.

Name

The name of the resource.

(Inherited from ResourceData)
Properties

Polymorphic properties of the compute resource. Use computeType to select Cluster or ContainerInstance.

ResourceType

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

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CognitiveServicesComputeData>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<CognitiveServicesComputeData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<CognitiveServicesComputeData>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<CognitiveServicesComputeData>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<CognitiveServicesComputeData>.Write(ModelReaderWriterOptions)

Applies to