Share via


ResourceGuard Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardTypeConverter))]
public class ResourceGuard : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuard
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardTypeConverter))>]
type ResourceGuard = class
    interface IResourceGuard
    interface IJsonSerializable
Public Class ResourceGuard
Implements IResourceGuard
Inheritance
ResourceGuard
Attributes
Implements

Constructors

ResourceGuard()

Creates an new ResourceGuard instance.

Properties

AllowAutoApproval

This flag indicates whether auto approval is allowed or not.

CriticalOperationExclusionList

List of critical operations which are not protected by this resourceGuard

Description

Description about the pre-req steps to perform all the critical operations.

Operation

{readonly} List of operation details those are protected by the ResourceGuard resource

ProvisioningState

Provisioning state of the BackupVault resource

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceGuard.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceGuard.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuard.

FromJsonString(String)

Creates a new instance of ResourceGuard, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceGuard into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to