AzureSiteRecoveryManagementServiceAPI class
- Extends
Constructors
Azure |
Initializes a new instance of the AzureSiteRecoveryManagementServiceAPI class. |
Properties
Inherited Properties
pipeline | The pipeline used by this client to make requests |
Methods
check |
Checks the resource name availability. |
deployment |
Performs resource deployment validation. |
Inherited Methods
send |
Send an HTTP request that is populated using the provided OperationSpec. |
send |
Send the provided httpRequest. |
Constructor Details
AzureSiteRecoveryManagementServiceAPI(TokenCredential, string, AzureSiteRecoveryManagementServiceAPIOptionalParams)
Initializes a new instance of the AzureSiteRecoveryManagementServiceAPI class.
new AzureSiteRecoveryManagementServiceAPI(credentials: TokenCredential, subscriptionId: string, options?: AzureSiteRecoveryManagementServiceAPIOptionalParams)
Parameters
- credentials
- TokenCredential
Subscription credentials which uniquely identify client subscription.
- subscriptionId
-
string
The ID of the target subscription. The value must be an UUID.
The parameter options
Property Details
$host
$host: string
Property Value
string
apiVersion
apiVersion: string
Property Value
string
dra
draOperationStatus
emailConfiguration
event
fabric
fabricOperationsStatus
operations
policy
policyOperationStatus
protectedItem
protectedItemOperationStatus
protectedItemOperationStatus: ProtectedItemOperationStatus
Property Value
recoveryPoints
replicationExtension
replicationExtensionOperationStatus
replicationExtensionOperationStatus: ReplicationExtensionOperationStatus
Property Value
subscriptionId
subscriptionId: string
Property Value
string
vault
vaultOperationStatus
workflow
workflowOperationStatus
Inherited Property Details
pipeline
The pipeline used by this client to make requests
pipeline: Pipeline
Property Value
Inherited From coreClient.ServiceClient.pipeline
Method Details
checkNameAvailability(string, CheckNameAvailabilityOptionalParams)
Checks the resource name availability.
function checkNameAvailability(location: string, options?: CheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResponseModel>
Parameters
- location
-
string
The name of the Azure region.
The options parameters.
Returns
Promise<CheckNameAvailabilityResponseModel>
deploymentPreflight(string, string, DeploymentPreflightOptionalParams)
Performs resource deployment validation.
function deploymentPreflight(resourceGroupName: string, deploymentId: string, options?: DeploymentPreflightOptionalParams): Promise<DeploymentPreflightModel>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- deploymentId
-
string
Deployment Id.
The options parameters.
Returns
Promise<DeploymentPreflightModel>
Inherited Method Details
sendOperationRequest<T>(OperationArguments, OperationSpec)
Send an HTTP request that is populated using the provided OperationSpec.
function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>
Parameters
- operationArguments
- OperationArguments
The arguments that the HTTP request's templated values will be populated from.
- operationSpec
- OperationSpec
The OperationSpec to use to populate the httpRequest.
Returns
Promise<T>
Inherited From coreClient.ServiceClient.sendOperationRequest
sendRequest(PipelineRequest)
Send the provided httpRequest.
function sendRequest(request: PipelineRequest): Promise<PipelineResponse>
Parameters
- request
- PipelineRequest
Returns
Promise<PipelineResponse>
Inherited From coreClient.ServiceClient.sendRequest
Azure SDK for JavaScript