azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.r...

174 строки
14 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate"
fullName: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate"
name: "PolicyAssignmentUpdate"
nameWithType: "PolicyAssignmentUpdate"
summary: "The policy assignment for Patch request."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **PolicyAssignmentUpdate**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate?alt=com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate&text=PolicyAssignmentUpdate\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.PolicyAssignmentUpdate()"
fullName: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.PolicyAssignmentUpdate()"
name: "PolicyAssignmentUpdate()"
nameWithType: "PolicyAssignmentUpdate.PolicyAssignmentUpdate()"
summary: "Creates an instance of Policy<wbr>Assignment<wbr>Update class."
syntax: "public PolicyAssignmentUpdate()"
desc: "Creates an instance of PolicyAssignmentUpdate class."
methods:
- uid: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "PolicyAssignmentUpdate.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Policy<wbr>Assignment<wbr>Update from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static PolicyAssignmentUpdate fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the PolicyAssignmentUpdate."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of PolicyAssignmentUpdate from the JsonReader."
returns:
description: "An instance of PolicyAssignmentUpdate if the JsonReader was pointing to an instance of it, or null if it\n was pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate?alt=com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate&text=PolicyAssignmentUpdate\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.identity()"
fullName: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.identity()"
name: "identity()"
nameWithType: "PolicyAssignmentUpdate.identity()"
summary: "Get the identity property: The managed identity associated with the policy assignment."
syntax: "public Identity identity()"
desc: "Get the identity property: The managed identity associated with the policy assignment."
returns:
description: "the identity value."
type: "<xref href=\"com.azure.resourcemanager.resources.models.Identity?alt=com.azure.resourcemanager.resources.models.Identity&text=Identity\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.location()"
fullName: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.location()"
name: "location()"
nameWithType: "PolicyAssignmentUpdate.location()"
summary: "Get the location property: The location of the policy assignment."
syntax: "public String location()"
desc: "Get the location property: The location of the policy assignment. Only required when utilizing managed identity."
returns:
description: "the location value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.overrides()"
fullName: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.overrides()"
name: "overrides()"
nameWithType: "PolicyAssignmentUpdate.overrides()"
summary: "Get the overrides property: The policy property value override."
syntax: "public List<OverrideModel> overrides()"
desc: "Get the overrides property: The policy property value override."
returns:
description: "the overrides value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.resources.models.OverrideModel?alt=com.azure.resourcemanager.resources.models.OverrideModel&text=OverrideModel\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.resourceSelectors()"
fullName: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.resourceSelectors()"
name: "resourceSelectors()"
nameWithType: "PolicyAssignmentUpdate.resourceSelectors()"
summary: "Get the resource<wbr>Selectors property: The resource selector list to filter policies by resource properties."
syntax: "public List<ResourceSelector> resourceSelectors()"
desc: "Get the resourceSelectors property: The resource selector list to filter policies by resource properties."
returns:
description: "the resourceSelectors value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.resources.models.ResourceSelector?alt=com.azure.resourcemanager.resources.models.ResourceSelector&text=ResourceSelector\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "PolicyAssignmentUpdate.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.validate()"
fullName: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.validate()"
name: "validate()"
nameWithType: "PolicyAssignmentUpdate.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.withIdentity(com.azure.resourcemanager.resources.models.Identity)"
fullName: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.withIdentity(Identity identity)"
name: "withIdentity(Identity identity)"
nameWithType: "PolicyAssignmentUpdate.withIdentity(Identity identity)"
summary: "Set the identity property: The managed identity associated with the policy assignment."
parameters:
- description: "the identity value to set."
name: "identity"
type: "<xref href=\"com.azure.resourcemanager.resources.models.Identity?alt=com.azure.resourcemanager.resources.models.Identity&text=Identity\" data-throw-if-not-resolved=\"False\" />"
syntax: "public PolicyAssignmentUpdate withIdentity(Identity identity)"
desc: "Set the identity property: The managed identity associated with the policy assignment."
returns:
description: "the PolicyAssignmentUpdate object itself."
type: "<xref href=\"com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate?alt=com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate&text=PolicyAssignmentUpdate\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.withLocation(java.lang.String)"
fullName: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.withLocation(String location)"
name: "withLocation(String location)"
nameWithType: "PolicyAssignmentUpdate.withLocation(String location)"
summary: "Set the location property: The location of the policy assignment."
parameters:
- description: "the location value to set."
name: "location"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public PolicyAssignmentUpdate withLocation(String location)"
desc: "Set the location property: The location of the policy assignment. Only required when utilizing managed identity."
returns:
description: "the PolicyAssignmentUpdate object itself."
type: "<xref href=\"com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate?alt=com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate&text=PolicyAssignmentUpdate\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.withOverrides(java.util.List<com.azure.resourcemanager.resources.models.OverrideModel>)"
fullName: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.withOverrides(List<OverrideModel> overrides)"
name: "withOverrides(List<OverrideModel> overrides)"
nameWithType: "PolicyAssignmentUpdate.withOverrides(List<OverrideModel> overrides)"
summary: "Set the overrides property: The policy property value override."
parameters:
- description: "the overrides value to set."
name: "overrides"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.resources.models.OverrideModel?alt=com.azure.resourcemanager.resources.models.OverrideModel&text=OverrideModel\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public PolicyAssignmentUpdate withOverrides(List<OverrideModel> overrides)"
desc: "Set the overrides property: The policy property value override."
returns:
description: "the PolicyAssignmentUpdate object itself."
type: "<xref href=\"com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate?alt=com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate&text=PolicyAssignmentUpdate\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.withResourceSelectors(java.util.List<com.azure.resourcemanager.resources.models.ResourceSelector>)"
fullName: "com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate.withResourceSelectors(List<ResourceSelector> resourceSelectors)"
name: "withResourceSelectors(List<ResourceSelector> resourceSelectors)"
nameWithType: "PolicyAssignmentUpdate.withResourceSelectors(List<ResourceSelector> resourceSelectors)"
summary: "Set the resource<wbr>Selectors property: The resource selector list to filter policies by resource properties."
parameters:
- description: "the resourceSelectors value to set."
name: "resourceSelectors"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.resources.models.ResourceSelector?alt=com.azure.resourcemanager.resources.models.ResourceSelector&text=ResourceSelector\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public PolicyAssignmentUpdate withResourceSelectors(List<ResourceSelector> resourceSelectors)"
desc: "Set the resourceSelectors property: The resource selector list to filter policies by resource properties."
returns:
description: "the PolicyAssignmentUpdate object itself."
type: "<xref href=\"com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate?alt=com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate&text=PolicyAssignmentUpdate\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The policy assignment for Patch request."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate?alt=com.azure.resourcemanager.resources.models.PolicyAssignmentUpdate&text=PolicyAssignmentUpdate\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.resources.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-resources:2.44.0