ParameterDefinitionsValueMetadata Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. ParameterDefinitionsValueMetadata
- com.
Implements
public final class ParameterDefinitionsValueMetadata
implements JsonSerializable<ParameterDefinitionsValueMetadata>
General metadata for the parameter.
Constructor Summary
Constructor | Description |
---|---|
ParameterDefinitionsValueMetadata() |
Creates an instance of Parameter |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
Boolean |
assignPermissions()
Get the assign |
String |
description()
Get the description property: The description of the parameter. |
String |
displayName()
Get the display |
static
Parameter |
fromJson(JsonReader jsonReader)
Reads an instance of Parameter |
String |
strongType()
Get the strong |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Parameter |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Parameter |
withAssignPermissions(Boolean assignPermissions)
Set the assign |
Parameter |
withDescription(String description)
Set the description property: The description of the parameter. |
Parameter |
withDisplayName(String displayName)
Set the display |
Parameter |
withStrongType(String strongType)
Set the strong |
Methods inherited from java.lang.Object
Constructor Details
ParameterDefinitionsValueMetadata
public ParameterDefinitionsValueMetadata()
Creates an instance of ParameterDefinitionsValueMetadata class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: General metadata for the parameter.
Returns:
assignPermissions
public Boolean assignPermissions()
Get the assignPermissions property: 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.
Returns:
description
public String description()
Get the description property: The description of the parameter.
Returns:
displayName
public String displayName()
Get the displayName property: The display name for the parameter.
Returns:
fromJson
public static ParameterDefinitionsValueMetadata fromJson(JsonReader jsonReader)
Reads an instance of ParameterDefinitionsValueMetadata from the JsonReader.
Parameters:
Returns:
Throws:
strongType
public String strongType()
Get the strongType property: Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public ParameterDefinitionsValueMetadata withAdditionalProperties(Map
Set the additionalProperties property: General metadata for the parameter.
Parameters:
Returns:
withAssignPermissions
public ParameterDefinitionsValueMetadata withAssignPermissions(Boolean assignPermissions)
Set the assignPermissions property: 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.
Parameters:
Returns:
withDescription
public ParameterDefinitionsValueMetadata withDescription(String description)
Set the description property: The description of the parameter.
Parameters:
Returns:
withDisplayName
public ParameterDefinitionsValueMetadata withDisplayName(String displayName)
Set the displayName property: The display name for the parameter.
Parameters:
Returns:
withStrongType
public ParameterDefinitionsValueMetadata withStrongType(String strongType)
Set the strongType property: Used when assigning the policy definition through the portal. Provides a context aware list of values for the user to choose from.
Parameters:
Returns:
Applies to
Azure SDK for Java