ResourceGuard Class
- java.
lang. Object - com.
azure. resourcemanager. dataprotection. models. ResourceGuard
- com.
Implements
public final class ResourceGuard
implements JsonSerializable<ResourceGuard>
The ResourceGuard model.
Constructor Summary
| Constructor | Description |
|---|---|
| ResourceGuard() |
Creates an instance of Resource |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
allowAutoApprovals()
Get the allow |
| String |
description()
Get the description property: Description about the pre-req steps to perform all the critical operations. |
|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
|
Provisioning |
provisioningState()
Get the provisioning |
|
List<Resource |
resourceGuardOperations()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| List<String> |
vaultCriticalOperationExclusionList()
Get the vault |
|
Resource |
withVaultCriticalOperationExclusionList(List<String> vaultCriticalOperationExclusionList)
Set the vault |
Methods inherited from java.lang.Object
Constructor Details
ResourceGuard
public ResourceGuard()
Creates an instance of ResourceGuard class.
Method Details
allowAutoApprovals
public Boolean allowAutoApprovals()
Get the allowAutoApprovals property: This flag indicates whether auto approval is allowed or not.
Returns:
description
public String description()
Get the description property: Description about the pre-req steps to perform all the critical operations.
Returns:
fromJson
public static ResourceGuard fromJson(JsonReader jsonReader)
Reads an instance of ResourceGuard from the JsonReader.
Parameters:
Returns:
Throws:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: Provisioning state of the BackupVault resource.
Returns:
resourceGuardOperations
public List<ResourceGuardOperation> resourceGuardOperations()
Get the resourceGuardOperations property: {readonly} List of operation details those are protected by the ResourceGuard resource.
Returns:
toJson
vaultCriticalOperationExclusionList
public List<String> vaultCriticalOperationExclusionList()
Get the vaultCriticalOperationExclusionList property: List of critical operations which are not protected by this resourceGuard.
Returns:
withVaultCriticalOperationExclusionList
public ResourceGuard withVaultCriticalOperationExclusionList(List<String> vaultCriticalOperationExclusionList)
Set the vaultCriticalOperationExclusionList property: List of critical operations which are not protected by this resourceGuard.
Parameters:
Returns: