共用方式為


DataTransferServiceProperties Class

Definition

Properties for DataTransferServiceResource.

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

Constructors

DataTransferServiceProperties()

Initializes a new instance of DataTransferServiceProperties.

Properties

AdditionalProperties

Additional Properties

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

(Inherited from CosmosDBServiceProperties)
CreatedOn

Time of the last state change (ISO-8601 format).

(Inherited from CosmosDBServiceProperties)
InstanceCount

Instance count for the service.

(Inherited from CosmosDBServiceProperties)
InstanceSize

Instance type for the service.

(Inherited from CosmosDBServiceProperties)
Locations

An array that contains all of the locations for the service.

Status

Describes the status of a service.

(Inherited from CosmosDBServiceProperties)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from CosmosDBServiceProperties)

Explicit Interface Implementations

IJsonModel<CosmosDBServiceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from CosmosDBServiceProperties)
IJsonModel<DataTransferServiceProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DataTransferServiceProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBServiceProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from CosmosDBServiceProperties)
IPersistableModel<DataTransferServiceProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DataTransferServiceProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DataTransferServiceProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to