共用方式為


ArmRecoveryServicesModelFactory.RecoveryServicesVaultProperties Method

Definition

Initializes a new instance of RecoveryServicesVaultProperties.

public static Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesVaultProperties RecoveryServicesVaultProperties (string provisioningState = default, Azure.ResourceManager.RecoveryServices.Models.VaultUpgradeDetails upgradeDetails = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesPrivateEndpointConnectionVaultProperties> privateEndpointConnections = default, Azure.ResourceManager.RecoveryServices.Models.VaultPrivateEndpointState? privateEndpointStateForBackup = default, Azure.ResourceManager.RecoveryServices.Models.VaultPrivateEndpointState? privateEndpointStateForSiteRecovery = default, Azure.ResourceManager.RecoveryServices.Models.VaultPropertiesEncryption encryption = default, Azure.ResourceManager.RecoveryServices.Models.VaultPropertiesMoveDetails moveDetails = default, Azure.ResourceManager.RecoveryServices.Models.ResourceMoveState? moveState = default, Azure.ResourceManager.RecoveryServices.Models.BackupStorageVersion? backupStorageVersion = default, Azure.ResourceManager.RecoveryServices.Models.VaultPublicNetworkAccess? publicNetworkAccess = default, Azure.ResourceManager.RecoveryServices.Models.VaultMonitoringSettings monitoringSettings = default, Azure.ResourceManager.RecoveryServices.Models.CrossSubscriptionRestoreState? crossSubscriptionRestoreState = default, Azure.ResourceManager.RecoveryServices.Models.VaultPropertiesRedundancySettings redundancySettings = default, Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesSecuritySettings securitySettings = default, Azure.ResourceManager.RecoveryServices.Models.SecureScoreLevel? secureScore = default);
static member RecoveryServicesVaultProperties : string * Azure.ResourceManager.RecoveryServices.Models.VaultUpgradeDetails * seq<Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesPrivateEndpointConnectionVaultProperties> * Nullable<Azure.ResourceManager.RecoveryServices.Models.VaultPrivateEndpointState> * Nullable<Azure.ResourceManager.RecoveryServices.Models.VaultPrivateEndpointState> * Azure.ResourceManager.RecoveryServices.Models.VaultPropertiesEncryption * Azure.ResourceManager.RecoveryServices.Models.VaultPropertiesMoveDetails * Nullable<Azure.ResourceManager.RecoveryServices.Models.ResourceMoveState> * Nullable<Azure.ResourceManager.RecoveryServices.Models.BackupStorageVersion> * Nullable<Azure.ResourceManager.RecoveryServices.Models.VaultPublicNetworkAccess> * Azure.ResourceManager.RecoveryServices.Models.VaultMonitoringSettings * Nullable<Azure.ResourceManager.RecoveryServices.Models.CrossSubscriptionRestoreState> * Azure.ResourceManager.RecoveryServices.Models.VaultPropertiesRedundancySettings * Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesSecuritySettings * Nullable<Azure.ResourceManager.RecoveryServices.Models.SecureScoreLevel> -> Azure.ResourceManager.RecoveryServices.Models.RecoveryServicesVaultProperties
Public Shared Function RecoveryServicesVaultProperties (Optional provisioningState As String = Nothing, Optional upgradeDetails As VaultUpgradeDetails = Nothing, Optional privateEndpointConnections As IEnumerable(Of RecoveryServicesPrivateEndpointConnectionVaultProperties) = Nothing, Optional privateEndpointStateForBackup As Nullable(Of VaultPrivateEndpointState) = Nothing, Optional privateEndpointStateForSiteRecovery As Nullable(Of VaultPrivateEndpointState) = Nothing, Optional encryption As VaultPropertiesEncryption = Nothing, Optional moveDetails As VaultPropertiesMoveDetails = Nothing, Optional moveState As Nullable(Of ResourceMoveState) = Nothing, Optional backupStorageVersion As Nullable(Of BackupStorageVersion) = Nothing, Optional publicNetworkAccess As Nullable(Of VaultPublicNetworkAccess) = Nothing, Optional monitoringSettings As VaultMonitoringSettings = Nothing, Optional crossSubscriptionRestoreState As Nullable(Of CrossSubscriptionRestoreState) = Nothing, Optional redundancySettings As VaultPropertiesRedundancySettings = Nothing, Optional securitySettings As RecoveryServicesSecuritySettings = Nothing, Optional secureScore As Nullable(Of SecureScoreLevel) = Nothing) As RecoveryServicesVaultProperties

Parameters

provisioningState
String

Provisioning State.

upgradeDetails
VaultUpgradeDetails

Details for upgrading vault.

privateEndpointConnections
IEnumerable<RecoveryServicesPrivateEndpointConnectionVaultProperties>

List of private endpoint connection.

privateEndpointStateForBackup
Nullable<VaultPrivateEndpointState>

Private endpoint state for backup.

privateEndpointStateForSiteRecovery
Nullable<VaultPrivateEndpointState>

Private endpoint state for site recovery.

encryption
VaultPropertiesEncryption

Customer Managed Key details of the resource.

moveDetails
VaultPropertiesMoveDetails

The details of the latest move operation performed on the Azure Resource.

moveState
Nullable<ResourceMoveState>

The State of the Resource after the move operation.

backupStorageVersion
Nullable<BackupStorageVersion>

Backup storage version.

publicNetworkAccess
Nullable<VaultPublicNetworkAccess>

property to enable or disable resource provider inbound network traffic from public clients.

monitoringSettings
VaultMonitoringSettings

Monitoring Settings of the vault.

crossSubscriptionRestoreState
Nullable<CrossSubscriptionRestoreState>

Restore Settings of the vault.

redundancySettings
VaultPropertiesRedundancySettings

The redundancy Settings of a Vault.

securitySettings
RecoveryServicesSecuritySettings

Security Settings of the vault.

secureScore
Nullable<SecureScoreLevel>

Secure Score of Recovery Services Vault.

Returns

A new RecoveryServicesVaultProperties instance for mocking.

Applies to