你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Constants Class

Definition

General Constant definition

public static class Constants
type Constants = class
Public Class Constants
Inheritance
Constants

Fields

A2A

Represents A2A string constant.

AgentHealth

Represents Type of health event.

ASRVaultType

ASR vault type

Async

Replication type - async.

AuthenticationTypeCertificate

Authentication Type as Certificate based authentication.

AuthenticationTypeKerberos

Authentication Type as Kerberos.

AutoCreateCloudService

Represents autocreation of cloud service for test failover.

Azure

FabricType - Azure.

AzureContainer

Represents HyperVReplica string constant.

AzureFabricId

Azure fabric Id. In E2A context Recovery Server Id is always this.

AzureToAzureFabric

Represents AzureToAzure string constant.

Boot

Group Type: Boot

Classic

Failover deployment model: Classic

ClassicCompute

Classic compute namespace.

CloudServiceNameExtensionPrefix

Cloud service name prefix

CloudServiceNameExtensionSuffix

Cloud service name suffix

Compute

Compute namespace.

CreateVmIfNotFound

Represents RecoveryVmCreationOption value for CreateVmIfNotFound in failback.

DefaultAlertSettingName

Name value for configure alert setting.

Direction

Represents Direction string value.

Disable

Disable.

Disabled

Disabled.

DisableProtection

Represents Disable protection.

Enable

Enable.

Enabled

Enabled.

EnableProtection

Represents Enable protection.

Existing

Represents Existing string value.

FabricDiscoveryClientRequestIdSuffix

Suffix to add in client request id while making SDS calls.

Failover

Group Type: Failover

False

false.

ForDownTime

Represents Optimize value ForDowntime.

ForSynchronization

Represents Optimize value for Synchronization.

HyperVReplica2012

Represents HyperVReplica string constant.

HyperVReplica2012R2

Represents HyperVReplicaBlue string constant.

HyperVReplica2012ReplicationDetails

Represents HyperVReplica2012ReplicationDetails string constant.

HyperVReplicaAzure

Represents HyperVReplica string constant.

HyperVReplicaAzureReplicationDetails

Represents HyperVReplicaAzureReplicationDetails string constant.

HyperVSite

FabricType - HyperVSite.

ID

Represents ID string value.

InMage

Represents InMage string constant.

InMageAzureV2

Represents InMageAzureV2 string constant.

InMageAzureV2ProviderSpecificSettings

Represents InMageAzureV2ProviderSpecificSettings string constant.

InMageProviderSpecificSettings

Represents InMageProviderSpecificSettings string constant.

InMageRcm

Represents InMageRcm string constant.

InMageRcmFailback

Represents InMageRcmFailback string constant.

InstanceType

JSON field: InstanceType

LicenseTypeAHUB

The SQL server license type for AHUB https://azure.microsoft.com/en-in/blog/azure-hybrid-benefit-for-sql-server-on-azure-virtual-machines/

LicenseTypePAYG

The SQL server license type for PAYG https://azure.microsoft.com/en-in/blog/azure-hybrid-benefit-for-sql-server-on-azure-virtual-machines/

LicenseTypeWindowsServer

The windows server license type for HUB https://azure.microsoft.com/en-in/pricing/hybrid-use-benefit/

NetworkType

Represents NetworkType string value.

NeverEnableRDPOnTargetOption

Never Enable RDP On Target Option while Enabling Protection for InMageAzureV2.

New

Represents New string value.

NextPageLink

Represents Next page link.

NineHundred

Acceptable values of Replication Frequency in seconds (as per portal).

No

Represents No.

NoAction

Represents RecoveryVmCreationOption value for NoAction in failback.

NoLicenseType

No license type for HUB https://azure.microsoft.com/en-in/pricing/hybrid-use-benefit/

NoLicenseTypeSql

No license type for SQL https://azure.microsoft.com/en-in/blog/azure-hybrid-benefit-for-sql-server-on-azure-virtual-machines/

None

Represents None string value.

NotApplicable

Failover deployment model: NotApplicable

NotRequired

SourceSiteOperations - NotRequired.

NotSelected

Nic Selection Type - NotSelected

OfflineReplicationMethod

Represents OfflineReplicationMethod string constant.

OnlineReplicationMethod

Represents OnlineReplicationMethod string constant.

OperatingSystem

Represents string constant for OperatingSystem.

OSLinux

Represents OS Linux.

OSWindows

Represents OS Windows.

Premium_LRS

Represents Premium_LRS storage account.

Premium_ZRS

Represents Premium_ZRS storage account.

PrimaryLocation

Represents primary location.

PrimaryToRecovery

Represents direction primary to secondary.

ProtectionEntityId

Represents ProtectionEntityId string value.

RdfeOperationStatusResultFailed

A valid value for the string field Microsoft.WindowsAzure.CloudServiceManagement.resource.OperationStatus.Failed

RdfeOperationStatusResultInProgress

A valid value for the string field Microsoft.WindowsAzure.CloudServiceManagement.resource.OperationStatus.InProgress

RdfeOperationStatusResultSucceeded

A valid value for the string field Microsoft.WindowsAzure.CloudServiceManagement.resource.OperationStatus.Result

RdfeOperationStatusTypeCreate

A valid value for the string field Microsoft.WindowsAzure.CloudServiceManagement.resource.OperationStatus.Type

RdfeOperationStatusTypeDelete

A valid value for the string field Microsoft.WindowsAzure.CloudServiceManagement.resource.OperationStatus.Type

RecoveryLocation

Represents Recovery location.

RecoveryTagApplicationConsistent

Recovery Tag for application consistent recovery point type.

RecoveryTagCrashConsistent

Recovery Tag for crash consistent recovery point type.

RecoveryTagLatest

Recovery Tag for Latest Recovery Point.

RecoveryTagLatestAvailable

Recovery Tag for Latest Available Recovery Point.

RecoveryTagLatestAvailableApplicationConsistent

Recovery Tag for Latest Available Application Consistent Recovery Point.

RecoveryTagLatestAvailableCrashConsistent

Recovery Tag for Latest Available Application Consistent Recovery Point.

RecoveryToPrimary

Represents direction secondary to primary.

Required

SourceSiteOperations - Required.

ResourceManager

Failover deployment model: ResourceMananger

ResourceNamespace

Resource Provider Namespace.

RPId

Represents RPId string value.

RpSchemaVersion

Schema Version of RP

San

Represents San string constant.

SecondaryVMOnRecoveryCloud

Secondary Vm on Recovery cloud

SelectedByDefault

Nic Selection Type - SelectedByDefault

SelectedByUser

Nic Selection Type - SelectedByUser

ServerHealth

Represents Type of health event.

Shutdown

Group Type: Shutdown

Standard_LRS

Represents Standard_LRS storage account.

Standard_SSD

Represents Standard_SSD storage account.

StandardSSD_LRS

Represents StandardSSD_LRS storage account.

StandardSSD_ZRS

Represents StandardSSD_ZRS storage account.

Sync

Replication type - async.

TemporaryStorage

Azure VM temporary disk name, to be excluded as part of switch protection.

Thirty

Acceptable values of Replication Frequency in seconds (as per portal).

ThreeHundred

Acceptable values of Replication Frequency in seconds (as per portal).

True

True.

UseRecoveryCloudService

Represents use of recovery cloud service provided by user for test failover.

UtcDateTimeFormat

Sets the Utc date time format.

VaultCredentialVersion

Vault Credential version.

VaultExtendedInfoContractVersion

extended information version.

VaultSecurityInfoVersion

The version of Extended resource info.

VmHealth

Represents Type of health event.

VMM

FabricType - VMM.

VmmToAzureFabric

Represents VmmToAzureFabric string constant.

VmmToVmmFabric

Represents VmmToVmmFabric string constant.

VMware

FabricType - VMware.

Yes

Represents Yes.

Applies to