Share via


OperationStatus Class

Definition

A status describing the success/failure of the enablement/disablement operation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DefenderForStorage.Models.OperationStatusTypeConverter))]
public class OperationStatus : Microsoft.Azure.PowerShell.Cmdlets.DefenderForStorage.Models.IOperationStatus
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DefenderForStorage.Models.OperationStatusTypeConverter))>]
type OperationStatus = class
    interface IOperationStatus
    interface IJsonSerializable
Public Class OperationStatus
Implements IOperationStatus
Inheritance
OperationStatus
Attributes
Implements

Constructors

OperationStatus()

Creates an new OperationStatus instance.

Properties

Code

The operation status code.

Message

Additional information regarding the success/failure of the operation.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OperationStatus.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OperationStatus.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DefenderForStorage.Models.IOperationStatus.

FromJsonString(String)

Creates a new instance of OperationStatus, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of OperationStatus into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to