共用方式為


ArmDataProtectionBackupModelFactory.ResourceGuardProperties Method

Definition

Initializes a new instance of ResourceGuardProperties.

public static Azure.ResourceManager.DataProtectionBackup.Models.ResourceGuardProperties ResourceGuardProperties (Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupProvisioningState? provisioningState = default, bool? isAutoApprovalsAllowed = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DataProtectionBackup.Models.ResourceGuardOperationDetails> resourceGuardOperations = default, System.Collections.Generic.IEnumerable<string> vaultCriticalOperationExclusionList = default, string description = default);
static member ResourceGuardProperties : Nullable<Azure.ResourceManager.DataProtectionBackup.Models.DataProtectionBackupProvisioningState> * Nullable<bool> * seq<Azure.ResourceManager.DataProtectionBackup.Models.ResourceGuardOperationDetails> * seq<string> * string -> Azure.ResourceManager.DataProtectionBackup.Models.ResourceGuardProperties
Public Shared Function ResourceGuardProperties (Optional provisioningState As Nullable(Of DataProtectionBackupProvisioningState) = Nothing, Optional isAutoApprovalsAllowed As Nullable(Of Boolean) = Nothing, Optional resourceGuardOperations As IEnumerable(Of ResourceGuardOperationDetails) = Nothing, Optional vaultCriticalOperationExclusionList As IEnumerable(Of String) = Nothing, Optional description As String = Nothing) As ResourceGuardProperties

Parameters

provisioningState
Nullable<DataProtectionBackupProvisioningState>

Provisioning state of the BackupVault resource.

isAutoApprovalsAllowed
Nullable<Boolean>

This flag indicates whether auto approval is allowed or not.

resourceGuardOperations
IEnumerable<ResourceGuardOperationDetails>

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

vaultCriticalOperationExclusionList
IEnumerable<String>

List of critical operations which are not protected by this resourceGuard.

description
String

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

Returns

A new ResourceGuardProperties instance for mocking.

Applies to