다음을 통해 공유


ArmDeploymentOperationProperties Class

Definition

Deployment operation properties.

public class ArmDeploymentOperationProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.Models.ArmDeploymentOperationProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.Models.ArmDeploymentOperationProperties>
public class ArmDeploymentOperationProperties
type ArmDeploymentOperationProperties = class
    interface IJsonModel<ArmDeploymentOperationProperties>
    interface IPersistableModel<ArmDeploymentOperationProperties>
type ArmDeploymentOperationProperties = class
Public Class ArmDeploymentOperationProperties
Implements IJsonModel(Of ArmDeploymentOperationProperties), IPersistableModel(Of ArmDeploymentOperationProperties)
Public Class ArmDeploymentOperationProperties
Inheritance
ArmDeploymentOperationProperties
Implements

Properties

Duration

The duration of the operation.

ProvisioningOperation

The name of the current provisioning operation.

ProvisioningState

The state of the provisioning.

RequestContent

HTTP message content.

To assign an object to 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" }.

ResponseContent

HTTP message content.

To assign an object to 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" }.

ServiceRequestId

Deployment operation service request id.

StatusCode

Operation status code from the resource provider. This property may not be set if a response has not yet been received.

StatusMessage

Operation status message from the resource provider. This property is optional. It will only be provided if an error was received from the resource provider.

TargetResource

The target resource.

Timestamp

The date and time of the operation.

Explicit Interface Implementations

IJsonModel<ArmDeploymentOperationProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ArmDeploymentOperationProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ArmDeploymentOperationProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ArmDeploymentOperationProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ArmDeploymentOperationProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to