Share via


ResourceGuardResource Class

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardResourceTypeConverter))]
public class ResourceGuardResource : Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.IResourceGuardResource, Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataProtection.Models.Api20240401.ResourceGuardResourceTypeConverter))>]
type ResourceGuardResource = class
    interface IResourceGuardResource
    interface IJsonSerializable
    interface IDppBaseTrackedResource
    interface IValidates
Public Class ResourceGuardResource
Implements IResourceGuardResource, IValidates
Inheritance
ResourceGuardResource
Attributes
Implements

Constructors

ResourceGuardResource()

Creates an new ResourceGuardResource 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.

ETag

Optional ETag.

Id

Resource Id represents the complete path to the resource.

Location

Resource location.

Name

Resource name associated with the resource.

ProvisioningState

Provisioning state of the BackupVault resource

ResourceGuardOperation

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

SystemData

Metadata pertaining to creation and last modification of the resource.

Tag

Resource tags.

Type

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceGuardResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceGuardResource.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceGuardResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to