共用方式為


EventHubData Class

Definition

A class representing the EventHubsNamespace data model.

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

Constructors

EventHubData()

Initializes a new instance of EventHubData.

Properties

CaptureDescription

Properties of capture description.

CreatedOn

Exact time the Event Hub was created.

Id

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

(Inherited from ResourceData)
Location

The geo-location where the resource lives.

Name

The name of the resource.

(Inherited from ResourceData)
PartitionCount

Number of partitions created for the Event Hub, allowed values are from 1 to 32 partitions.

PartitionIds

Current number of shards on the Event Hub.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
RetentionDescription

Event Hub retention settings.

Status

Enumerates the possible values for the status of the Event Hub.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
UpdatedOn

The exact time the message was updated.

UserMetadata

Gets and Sets Metadata of User.

Methods

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

Explicit Interface Implementations

IJsonModel<EventHubData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<EventHubData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<EventHubData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<EventHubData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<EventHubData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to