ArmResourcesPolicyModelFactory.PolicyParameterMetadataProperties Method

Definition

General metadata for the parameter.

public static Azure.ResourceManager.Resources.Policy.Models.PolicyParameterMetadataProperties PolicyParameterMetadataProperties(string displayName = default, string description = default, string strongType = default, bool? shouldAssignPermissions = default, System.Collections.Generic.IDictionary<string,BinaryData> additionalProperties = default);
static member PolicyParameterMetadataProperties : string * string * string * Nullable<bool> * System.Collections.Generic.IDictionary<string, BinaryData> -> Azure.ResourceManager.Resources.Policy.Models.PolicyParameterMetadataProperties
Public Shared Function PolicyParameterMetadataProperties (Optional displayName As String = Nothing, Optional description As String = Nothing, Optional strongType As String = Nothing, Optional shouldAssignPermissions As Nullable(Of Boolean) = Nothing, Optional additionalProperties As IDictionary(Of String, BinaryData) = Nothing) As PolicyParameterMetadataProperties

Parameters

displayName
String

The display name for the parameter.

description
String

The description of the parameter.

strongType
String

Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from.

shouldAssignPermissions
Nullable<Boolean>

Set to true to have Azure portal create role assignments on the resource ID or resource scope value of this parameter during policy assignment. This property is useful in case you wish to assign permissions outside the assignment scope.

additionalProperties
IDictionary<String,BinaryData>

Returns

A new PolicyParameterMetadataProperties instance for mocking.

Applies to