共用方式為


ConsumerGroup Constructors

Definition

Overloads

ConsumerGroup()

Initializes a new instance of the ConsumerGroup class.

ConsumerGroup(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, SystemData)

Initializes a new instance of the ConsumerGroup class.

ConsumerGroup()

Initializes a new instance of the ConsumerGroup class.

public ConsumerGroup ();
Public Sub New ()

Applies to

ConsumerGroup(String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, SystemData)

Initializes a new instance of the ConsumerGroup class.

public ConsumerGroup (string id = default, string name = default, string type = default, string location = default, DateTime? createdAt = default, DateTime? updatedAt = default, string userMetadata = default, Microsoft.Azure.Management.EventHub.Models.SystemData systemData = default);
new Microsoft.Azure.Management.EventHub.Models.ConsumerGroup : string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * string * Microsoft.Azure.Management.EventHub.Models.SystemData -> Microsoft.Azure.Management.EventHub.Models.ConsumerGroup
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional location As String = Nothing, Optional createdAt As Nullable(Of DateTime) = Nothing, Optional updatedAt As Nullable(Of DateTime) = Nothing, Optional userMetadata As String = Nothing, Optional systemData As SystemData = Nothing)

Parameters

id
String

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

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"

location
String

The geo-location where the resource lives

createdAt
Nullable<DateTime>

Exact time the message was created.

updatedAt
Nullable<DateTime>

The exact time the message was updated.

userMetadata
String

User Metadata is a placeholder to store user-defined string data with maximum length 1024. e.g. it can be used to store descriptive data, such as list of teams and their contact information also user-defined configuration settings can be stored.

systemData
SystemData

The system meta data relating to this resource.

Applies to