ArmBlueprintModelFactory.RoleAssignmentArtifact Method

Definition

Initializes a new instance of RoleAssignmentArtifact.

public static Azure.ResourceManager.Blueprint.Models.RoleAssignmentArtifact RoleAssignmentArtifact (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string displayName = default, string description = default, System.Collections.Generic.IEnumerable<string> dependsOn = default, string roleDefinitionId = default, BinaryData principalIds = default, string resourceGroup = default);
static member RoleAssignmentArtifact : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * seq<string> * string * BinaryData * string -> Azure.ResourceManager.Blueprint.Models.RoleAssignmentArtifact
Public Shared Function RoleAssignmentArtifact (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional displayName As String = Nothing, Optional description As String = Nothing, Optional dependsOn As IEnumerable(Of String) = Nothing, Optional roleDefinitionId As String = Nothing, Optional principalIds As BinaryData = Nothing, Optional resourceGroup As String = Nothing) As RoleAssignmentArtifact

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

displayName
String

One-liner string explain this resource.

description
String

Multi-line explain this resource.

dependsOn
IEnumerable<String>

Artifacts which need to be deployed before the specified artifact.

roleDefinitionId
String

Azure resource ID of the RoleDefinition.

principalIds
BinaryData

Array of user or group identities in Azure Active Directory. The roleDefinition will apply to each identity.

resourceGroup
String

RoleAssignment will be scope to this resourceGroup. If empty, it scopes to the subscription.

Returns

A new RoleAssignmentArtifact instance for mocking.

Applies to