Compartilhar via


ArmEventHubsModelFactory.EventHubsApplicationGroupData Method

Definition

Initializes a new instance of EventHubsApplicationGroupData.

public static Azure.ResourceManager.EventHubs.EventHubsApplicationGroupData EventHubsApplicationGroupData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, bool? isEnabled = default, string clientAppGroupIdentifier = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EventHubs.Models.EventHubsApplicationGroupPolicy> policies = default, Azure.Core.AzureLocation? location = default);
static member EventHubsApplicationGroupData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<bool> * string * seq<Azure.ResourceManager.EventHubs.Models.EventHubsApplicationGroupPolicy> * Nullable<Azure.Core.AzureLocation> -> Azure.ResourceManager.EventHubs.EventHubsApplicationGroupData
Public Shared Function EventHubsApplicationGroupData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional clientAppGroupIdentifier As String = Nothing, Optional policies As IEnumerable(Of EventHubsApplicationGroupPolicy) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing) As EventHubsApplicationGroupData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

isEnabled
Nullable<Boolean>

Determines if Application Group is allowed to create connection with namespace or not. Once the isEnabled is set to false, all the existing connections of application group gets dropped and no new connections will be allowed.

clientAppGroupIdentifier
String

The Unique identifier for application group.Supports SAS(SASKeyName=KeyName) or AAD(AADAppID=Guid).

policies
IEnumerable<EventHubsApplicationGroupPolicy>

List of group policies that define the behavior of application group. The policies can support resource governance scenarios such as limiting ingress or egress traffic. Please note EventHubsApplicationGroupPolicy is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include EventHubsThrottlingPolicy.

location
Nullable<AzureLocation>

The geo-location where the resource lives.

Returns

A new EventHubsApplicationGroupData instance for mocking.

Applies to