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

174 строки
14 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.resources.models.DenySettings"
fullName: "com.azure.resourcemanager.resources.models.DenySettings"
name: "DenySettings"
nameWithType: "DenySettings"
summary: "Defines how resources deployed by the Deployment stack are locked."
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 **DenySettings**</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.DenySettings?alt=com.azure.resourcemanager.resources.models.DenySettings&text=DenySettings\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.resources.models.DenySettings.DenySettings()"
fullName: "com.azure.resourcemanager.resources.models.DenySettings.DenySettings()"
name: "DenySettings()"
nameWithType: "DenySettings.DenySettings()"
summary: "Creates an instance of Deny<wbr>Settings class."
syntax: "public DenySettings()"
desc: "Creates an instance of DenySettings class."
methods:
- uid: "com.azure.resourcemanager.resources.models.DenySettings.applyToChildScopes()"
fullName: "com.azure.resourcemanager.resources.models.DenySettings.applyToChildScopes()"
name: "applyToChildScopes()"
nameWithType: "DenySettings.applyToChildScopes()"
summary: "Get the apply<wbr>ToChild<wbr>Scopes property: Deny<wbr>Settings will be applied to child resource scopes of every managed resource with a deny assignment."
syntax: "public Boolean applyToChildScopes()"
desc: "Get the applyToChildScopes property: DenySettings will be applied to child resource scopes of every managed resource with a deny assignment."
returns:
description: "the applyToChildScopes value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.resources.models.DenySettings.excludedActions()"
fullName: "com.azure.resourcemanager.resources.models.DenySettings.excludedActions()"
name: "excludedActions()"
nameWithType: "DenySettings.excludedActions()"
summary: "Get the excluded<wbr>Actions property: List of role-based management operations that are excluded from the deny<wbr>Settings."
syntax: "public List<String> excludedActions()"
desc: "Get the excludedActions property: List of role-based management operations that are excluded from the denySettings. Up to 200 actions are permitted. If the denySetting mode is set to 'denyWriteAndDelete', then the following actions are automatically appended to 'excludedActions': '\\*\\\\/read' and 'Microsoft.Authorization/locks/delete'. If the denySetting mode is set to 'denyDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will be removed."
returns:
description: "the excludedActions value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.resources.models.DenySettings.excludedPrincipals()"
fullName: "com.azure.resourcemanager.resources.models.DenySettings.excludedPrincipals()"
name: "excludedPrincipals()"
nameWithType: "DenySettings.excludedPrincipals()"
summary: "Get the excluded<wbr>Principals property: List of AAD principal IDs excluded from the lock."
syntax: "public List<String> excludedPrincipals()"
desc: "Get the excludedPrincipals property: List of AAD principal IDs excluded from the lock. Up to 5 principals are permitted."
returns:
description: "the excludedPrincipals value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.resources.models.DenySettings.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.resources.models.DenySettings.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "DenySettings.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Deny<wbr>Settings 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 DenySettings fromJson(JsonReader jsonReader)"
exceptions:
- description: "If the deserialized JSON object was missing any required properties."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of DenySettings from the JsonReader."
returns:
description: "An instance of DenySettings if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.resources.models.DenySettings?alt=com.azure.resourcemanager.resources.models.DenySettings&text=DenySettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resources.models.DenySettings.mode()"
fullName: "com.azure.resourcemanager.resources.models.DenySettings.mode()"
name: "mode()"
nameWithType: "DenySettings.mode()"
summary: "Get the mode property: deny<wbr>Settings Mode that defines denied actions."
syntax: "public DenySettingsMode mode()"
desc: "Get the mode property: denySettings Mode that defines denied actions."
returns:
description: "the mode value."
type: "<xref href=\"com.azure.resourcemanager.resources.models.DenySettingsMode?alt=com.azure.resourcemanager.resources.models.DenySettingsMode&text=DenySettingsMode\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resources.models.DenySettings.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.resources.models.DenySettings.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "DenySettings.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.DenySettings.validate()"
fullName: "com.azure.resourcemanager.resources.models.DenySettings.validate()"
name: "validate()"
nameWithType: "DenySettings.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.resources.models.DenySettings.withApplyToChildScopes(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.resources.models.DenySettings.withApplyToChildScopes(Boolean applyToChildScopes)"
name: "withApplyToChildScopes(Boolean applyToChildScopes)"
nameWithType: "DenySettings.withApplyToChildScopes(Boolean applyToChildScopes)"
summary: "Set the apply<wbr>ToChild<wbr>Scopes property: Deny<wbr>Settings will be applied to child resource scopes of every managed resource with a deny assignment."
parameters:
- description: "the applyToChildScopes value to set."
name: "applyToChildScopes"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public DenySettings withApplyToChildScopes(Boolean applyToChildScopes)"
desc: "Set the applyToChildScopes property: DenySettings will be applied to child resource scopes of every managed resource with a deny assignment."
returns:
description: "the DenySettings object itself."
type: "<xref href=\"com.azure.resourcemanager.resources.models.DenySettings?alt=com.azure.resourcemanager.resources.models.DenySettings&text=DenySettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resources.models.DenySettings.withExcludedActions(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.resources.models.DenySettings.withExcludedActions(List<String> excludedActions)"
name: "withExcludedActions(List<String> excludedActions)"
nameWithType: "DenySettings.withExcludedActions(List<String> excludedActions)"
summary: "Set the excluded<wbr>Actions property: List of role-based management operations that are excluded from the deny<wbr>Settings."
parameters:
- description: "the excludedActions value to set."
name: "excludedActions"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public DenySettings withExcludedActions(List<String> excludedActions)"
desc: "Set the excludedActions property: List of role-based management operations that are excluded from the denySettings. Up to 200 actions are permitted. If the denySetting mode is set to 'denyWriteAndDelete', then the following actions are automatically appended to 'excludedActions': '\\*\\\\/read' and 'Microsoft.Authorization/locks/delete'. If the denySetting mode is set to 'denyDelete', then the following actions are automatically appended to 'excludedActions': 'Microsoft.Authorization/locks/delete'. Duplicate actions will be removed."
returns:
description: "the DenySettings object itself."
type: "<xref href=\"com.azure.resourcemanager.resources.models.DenySettings?alt=com.azure.resourcemanager.resources.models.DenySettings&text=DenySettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resources.models.DenySettings.withExcludedPrincipals(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.resources.models.DenySettings.withExcludedPrincipals(List<String> excludedPrincipals)"
name: "withExcludedPrincipals(List<String> excludedPrincipals)"
nameWithType: "DenySettings.withExcludedPrincipals(List<String> excludedPrincipals)"
summary: "Set the excluded<wbr>Principals property: List of AAD principal IDs excluded from the lock."
parameters:
- description: "the excludedPrincipals value to set."
name: "excludedPrincipals"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public DenySettings withExcludedPrincipals(List<String> excludedPrincipals)"
desc: "Set the excludedPrincipals property: List of AAD principal IDs excluded from the lock. Up to 5 principals are permitted."
returns:
description: "the DenySettings object itself."
type: "<xref href=\"com.azure.resourcemanager.resources.models.DenySettings?alt=com.azure.resourcemanager.resources.models.DenySettings&text=DenySettings\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resources.models.DenySettings.withMode(com.azure.resourcemanager.resources.models.DenySettingsMode)"
fullName: "com.azure.resourcemanager.resources.models.DenySettings.withMode(DenySettingsMode mode)"
name: "withMode(DenySettingsMode mode)"
nameWithType: "DenySettings.withMode(DenySettingsMode mode)"
summary: "Set the mode property: deny<wbr>Settings Mode that defines denied actions."
parameters:
- description: "the mode value to set."
name: "mode"
type: "<xref href=\"com.azure.resourcemanager.resources.models.DenySettingsMode?alt=com.azure.resourcemanager.resources.models.DenySettingsMode&text=DenySettingsMode\" data-throw-if-not-resolved=\"False\" />"
syntax: "public DenySettings withMode(DenySettingsMode mode)"
desc: "Set the mode property: denySettings Mode that defines denied actions."
returns:
description: "the DenySettings object itself."
type: "<xref href=\"com.azure.resourcemanager.resources.models.DenySettings?alt=com.azure.resourcemanager.resources.models.DenySettings&text=DenySettings\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Defines how resources deployed by the Deployment stack are locked."
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.DenySettings?alt=com.azure.resourcemanager.resources.models.DenySettings&text=DenySettings\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.resources.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-resources:2.44.0