Freigeben über


CognitiveServicesHostedAgentDeployment Class

Definition

Represents a hosted agent deployment where the underlying infrastructure is owned by the platform.

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

Constructors

Name Description
CognitiveServicesHostedAgentDeployment()

Initializes a new instance of CognitiveServicesHostedAgentDeployment.

Properties

Name Description
Agents

Returns a flat list of agent:version deployed in this deployment.

(Inherited from CognitiveServicesAgentDeploymentProperties)
DeploymentId

Gets or sets the unique identifier of the deployment.

(Inherited from CognitiveServicesAgentDeploymentProperties)
Description

The asset description text.

(Inherited from CognitiveServicesResourceBase)
DisplayName

Gets or sets the display name of the deployment.

(Inherited from CognitiveServicesAgentDeploymentProperties)
MaxReplicas

Gets or sets the maximum number of replicas for this hosted deployment.

MinReplicas

Gets or sets the minimum number of replicas for this hosted deployment.

Protocols

Gets or sets the supported protocol types and versions exposed by this deployment.

(Inherited from CognitiveServicesAgentDeploymentProperties)
ProvisioningState

Gets or sets the provisioning state of the agent deployment.

(Inherited from CognitiveServicesAgentDeploymentProperties)
State

Gets or sets the current operational state of the deployment (and, intrinsically, of the comprising agents).

(Inherited from CognitiveServicesAgentDeploymentProperties)
Tags

Tag dictionary. Tags can be added, removed, and updated.

(Inherited from CognitiveServicesResourceBase)

Methods

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

Explicit Interface Implementations

Name Description
IJsonModel<CognitiveServicesAgentDeploymentProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from CognitiveServicesAgentDeploymentProperties)
IJsonModel<CognitiveServicesAgentDeploymentProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from CognitiveServicesAgentDeploymentProperties)
IJsonModel<CognitiveServicesHostedAgentDeployment>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<CognitiveServicesHostedAgentDeployment>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<CognitiveServicesResourceBase>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

(Inherited from CognitiveServicesResourceBase)
IJsonModel<CognitiveServicesResourceBase>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from CognitiveServicesResourceBase)
IPersistableModel<CognitiveServicesAgentDeploymentProperties>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from CognitiveServicesAgentDeploymentProperties)
IPersistableModel<CognitiveServicesAgentDeploymentProperties>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from CognitiveServicesAgentDeploymentProperties)
IPersistableModel<CognitiveServicesAgentDeploymentProperties>.Write(ModelReaderWriterOptions) (Inherited from CognitiveServicesAgentDeploymentProperties)
IPersistableModel<CognitiveServicesHostedAgentDeployment>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<CognitiveServicesHostedAgentDeployment>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<CognitiveServicesHostedAgentDeployment>.Write(ModelReaderWriterOptions)
IPersistableModel<CognitiveServicesResourceBase>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from CognitiveServicesResourceBase)
IPersistableModel<CognitiveServicesResourceBase>.GetFormatFromOptions(ModelReaderWriterOptions)

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

(Inherited from CognitiveServicesResourceBase)
IPersistableModel<CognitiveServicesResourceBase>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from CognitiveServicesResourceBase)

Applies to