Delen via


ArmConfluentModelFactory.AccessRoleBindingRecord Method

Definition

Initializes a new instance of AccessRoleBindingRecord.

public static Azure.ResourceManager.Confluent.Models.AccessRoleBindingRecord AccessRoleBindingRecord (string kind = default, string id = default, Azure.ResourceManager.Confluent.Models.MetadataEntity metadata = default, string principal = default, string roleName = default, string crnPattern = default);
static member AccessRoleBindingRecord : string * string * Azure.ResourceManager.Confluent.Models.MetadataEntity * string * string * string -> Azure.ResourceManager.Confluent.Models.AccessRoleBindingRecord
Public Shared Function AccessRoleBindingRecord (Optional kind As String = Nothing, Optional id As String = Nothing, Optional metadata As MetadataEntity = Nothing, Optional principal As String = Nothing, Optional roleName As String = Nothing, Optional crnPattern As String = Nothing) As AccessRoleBindingRecord

Parameters

kind
String

The type of the resource.

id
String

Id of the role binding.

metadata
MetadataEntity

Metadata of the record.

principal
String

The principal User or Group to bind the role to.

roleName
String

The name of the role to bind to the principal.

crnPattern
String

A CRN that specifies the scope and resource patterns necessary for the role to bind.

Returns

A new AccessRoleBindingRecord instance for mocking.

Applies to