AzureSiteRecoveryManagementServiceAPI class
- Extends
建構函式
Azure |
初始化 AzureSiteRecoveryManagementServiceAPI 類別的新實例。 |
屬性
繼承的屬性
pipeline | 此用戶端用來提出要求的管線 |
方法
check |
檢查資源名稱可用性。 |
deployment |
執行資源部署驗證。 |
繼承的方法
send |
傳送使用提供的 OperationSpec 填入的 HTTP 要求。 |
send |
傳送提供的 HTTPRequest。 |
建構函式詳細資料
AzureSiteRecoveryManagementServiceAPI(TokenCredential, string, AzureSiteRecoveryManagementServiceAPIOptionalParams)
初始化 AzureSiteRecoveryManagementServiceAPI 類別的新實例。
new AzureSiteRecoveryManagementServiceAPI(credentials: TokenCredential, subscriptionId: string, options?: AzureSiteRecoveryManagementServiceAPIOptionalParams)
參數
- credentials
- TokenCredential
可唯一識別用戶端訂用帳戶的訂用帳號憑證。
- subscriptionId
-
string
目標訂用帳戶的識別碼。 此值必須是 UUID。
參數選項
屬性詳細資料
$host
$host: string
屬性值
string
apiVersion
apiVersion: string
屬性值
string
dra
draOperationStatus
emailConfiguration
event
fabric
fabricOperationsStatus
operations
policy
policyOperationStatus
protectedItem
protectedItemOperationStatus
recoveryPoints
replicationExtension
replicationExtensionOperationStatus
replicationExtensionOperationStatus: ReplicationExtensionOperationStatus
屬性值
subscriptionId
subscriptionId: string
屬性值
string
vault
vaultOperationStatus
workflow
workflowOperationStatus
繼承的屬性詳細資料
pipeline
方法詳細資料
checkNameAvailability(string, CheckNameAvailabilityOptionalParams)
檢查資源名稱可用性。
function checkNameAvailability(location: string, options?: CheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResponseModel>
參數
- location
-
string
Azure 區域的名稱。
選項參數。
傳回
Promise<CheckNameAvailabilityResponseModel>
deploymentPreflight(string, string, DeploymentPreflightOptionalParams)
執行資源部署驗證。
function deploymentPreflight(resourceGroupName: string, deploymentId: string, options?: DeploymentPreflightOptionalParams): Promise<DeploymentPreflightModel>
參數
- resourceGroupName
-
string
資源群組的名稱。 名稱不區分大小寫。
- deploymentId
-
string
部署識別碼。
選項參數。
傳回
Promise<DeploymentPreflightModel>
繼承的方法的詳細資料
sendOperationRequest<T>(OperationArguments, OperationSpec)
傳送使用提供的 OperationSpec 填入的 HTTP 要求。
function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>
參數
- operationArguments
- OperationArguments
HTTP 要求範本化值的引數會從 中填入。
- operationSpec
- OperationSpec
要用來填入 HTTPRequest 的 OperationSpec。
傳回
Promise<T>
繼承自 coreClient.ServiceClient.sendOperationRequest
sendRequest(PipelineRequest)
傳送提供的 HTTPRequest。
function sendRequest(request: PipelineRequest): Promise<PipelineResponse>
參數
- request
- PipelineRequest
傳回
Promise<PipelineResponse>
繼承自 coreClient.ServiceClient.sendRequest