Share via


ArmEventGridModelFactory.EventGridNamespacePermissionBindingData Method

Definition

Initializes a new instance of EventGridNamespacePermissionBindingData.

public static Azure.ResourceManager.EventGrid.EventGridNamespacePermissionBindingData EventGridNamespacePermissionBindingData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, string topicSpaceName = default, Azure.ResourceManager.EventGrid.Models.PermissionType? permission = default, string clientGroupName = default, Azure.ResourceManager.EventGrid.Models.PermissionBindingProvisioningState? provisioningState = default);
static member EventGridNamespacePermissionBindingData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<Azure.ResourceManager.EventGrid.Models.PermissionType> * string * Nullable<Azure.ResourceManager.EventGrid.Models.PermissionBindingProvisioningState> -> Azure.ResourceManager.EventGrid.EventGridNamespacePermissionBindingData
Public Shared Function EventGridNamespacePermissionBindingData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional topicSpaceName As String = Nothing, Optional permission As Nullable(Of PermissionType) = Nothing, Optional clientGroupName As String = Nothing, Optional provisioningState As Nullable(Of PermissionBindingProvisioningState) = Nothing) As EventGridNamespacePermissionBindingData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

Description for the Permission Binding resource.

topicSpaceName
String

The name of the Topic Space resource that the permission is bound to. The Topic space needs to be a resource under the same namespace the permission binding is a part of.

permission
Nullable<PermissionType>

The allowed permission.

clientGroupName
String

The name of the client group resource that the permission is bound to. The client group needs to be a resource under the same namespace the permission binding is a part of.

provisioningState
Nullable<PermissionBindingProvisioningState>

Provisioning state of the PermissionBinding resource.

Returns

A new EventGridNamespacePermissionBindingData instance for mocking.

Applies to