Table of Contents

Class ParameterDefinitionsValueMetadata

Namespace
Azure.ResourceManager.Resources.Models
Assembly
Azure.ResourceManager.dll

General metadata for the parameter.

public class ParameterDefinitionsValueMetadata : IJsonModel<ParameterDefinitionsValueMetadata>, IPersistableModel<ParameterDefinitionsValueMetadata>
Inheritance
ParameterDefinitionsValueMetadata
Implements
Inherited Members

Constructors

ParameterDefinitionsValueMetadata()

Initializes a new instance of ParameterDefinitionsValueMetadata.

public ParameterDefinitionsValueMetadata()

Properties

AdditionalProperties

Additional Properties

To assign an object to the value of this property use System.BinaryData.FromObjectAsJson``1(``0,System.Text.Json.JsonSerializerOptions).

To assign an already formatted json string to this property use System.BinaryData.FromString(System.String).

Examples:

  • BinaryData.FromObjectAsJson("foo")Creates a payload of "foo".
  • BinaryData.FromString("\"foo\"")Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" })Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}")Creates a payload of { "key": "value" }.
public IDictionary<string, BinaryData> AdditionalProperties { get; }

Property Value

IDictionary<string, BinaryData>

AssignPermissions

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.

public bool? AssignPermissions { get; set; }

Property Value

bool?

Description

The description of the parameter.

public string Description { get; set; }

Property Value

string

DisplayName

The display name for the parameter.

public string DisplayName { get; set; }

Property Value

string

StrongType

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

public string StrongType { get; set; }

Property Value

string