共用方式為


IWithConsumerGroup.WithNewConsumerGroup Method

Definition

Overloads

WithNewConsumerGroup(String)

Specifies that a new consumer group should be created for the event hub.

WithNewConsumerGroup(String, String)

Specifies that a new consumer group should be created for the event hub.

WithNewConsumerGroup(String)

Specifies that a new consumer group should be created for the event hub.

public Microsoft.Azure.Management.Eventhub.Fluent.EventHub.Definition.IWithCreate WithNewConsumerGroup (string name);
abstract member WithNewConsumerGroup : string -> Microsoft.Azure.Management.Eventhub.Fluent.EventHub.Definition.IWithCreate
Public Function WithNewConsumerGroup (name As String) As IWithCreate

Parameters

name
String

Consumer group name.

Returns

Applies to

WithNewConsumerGroup(String, String)

Specifies that a new consumer group should be created for the event hub.

public Microsoft.Azure.Management.Eventhub.Fluent.EventHub.Definition.IWithCreate WithNewConsumerGroup (string name, string metadata);
abstract member WithNewConsumerGroup : string * string -> Microsoft.Azure.Management.Eventhub.Fluent.EventHub.Definition.IWithCreate
Public Function WithNewConsumerGroup (name As String, metadata As String) As IWithCreate

Parameters

name
String

Consumer group name.

metadata
String

Consumer group metadata.

Returns

Applies to