你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConsumerGroup Class

Definition

Single item in List or Get Consumer group operation

[Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.ConsumerGroupTypeConverter))]
public class ConsumerGroup : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IConsumerGroup, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.ConsumerGroupTypeConverter))>]
type ConsumerGroup = class
    interface IConsumerGroup
    interface IJsonSerializable
    interface IProxyResource
    interface IValidates
Public Class ConsumerGroup
Implements IConsumerGroup, IValidates
Inheritance
ConsumerGroup
Attributes
Implements

Constructors

ConsumerGroup()

Creates an new ConsumerGroup instance.

Properties

CreatedAt

Exact time the message was created.

Id

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

Location

The geo-location where the resource lives

Name

The name of the resource

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The type of identity that last modified the resource.

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

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

UpdatedAt

The exact time the message was updated.

UserMetadata

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.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ConsumerGroup.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ConsumerGroup.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IConsumerGroup.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ConsumerGroup into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to