Share via


StorageQueueData Class

Definition

A class representing the StorageQueue data model.

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

Constructors

StorageQueueData()

Initializes a new instance of StorageQueueData.

Properties

ApproximateMessageCount

Integer indicating an approximate number of messages in the queue. This number is not lower than the actual number of messages in the queue, but could be higher.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Metadata

A name-value pair that represents queue metadata.

Name

The name of the resource.

(Inherited from ResourceData)
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)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<StorageQueueData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StorageQueueData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StorageQueueData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StorageQueueData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StorageQueueData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to