Dela via


PolicyAssignment(String, String) Constructor

Definition

Creates a new PolicyAssignment.

public PolicyAssignment (string bicepIdentifier, string? resourceVersion = default);
public PolicyAssignment (string identifierName, string? resourceVersion = default);
new Azure.Provisioning.Resources.PolicyAssignment : string * string -> Azure.Provisioning.Resources.PolicyAssignment
new Azure.Provisioning.Resources.PolicyAssignment : string * string -> Azure.Provisioning.Resources.PolicyAssignment
Public Sub New (bicepIdentifier As String, Optional resourceVersion As String = Nothing)
Public Sub New (identifierName As String, Optional resourceVersion As String = Nothing)

Parameters

bicepIdentifieridentifierName
String

The the Bicep identifier name of the PolicyAssignment resource. This can be used to refer to the resource in expressions, but is not the Azure name of the resource. This value can contain letters, numbers, and underscores.

resourceVersion
String

Version of the PolicyAssignment.

Applies to