public abstract class VmMigrationClient
Reference documentation and code samples for the VM Migration v1 API class VmMigrationClient.
VmMigration client wrapper, for convenient use.
Derived Types
Namespace
Google.Cloud.VMMigration.V1Assembly
Google.Cloud.VMMigration.V1.dll
Remarks
VM Migration Service
Properties
AddGroupMigrationOperationsClient
public virtual OperationsClient AddGroupMigrationOperationsClient { get; }
The long-running operations client for AddGroupMigration
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CancelCloneJobOperationsClient
public virtual OperationsClient CancelCloneJobOperationsClient { get; }
The long-running operations client for CancelCloneJob
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CancelCutoverJobOperationsClient
public virtual OperationsClient CancelCutoverJobOperationsClient { get; }
The long-running operations client for CancelCutoverJob
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateCloneJobOperationsClient
public virtual OperationsClient CreateCloneJobOperationsClient { get; }
The long-running operations client for CreateCloneJob
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateCutoverJobOperationsClient
public virtual OperationsClient CreateCutoverJobOperationsClient { get; }
The long-running operations client for CreateCutoverJob
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateDatacenterConnectorOperationsClient
public virtual OperationsClient CreateDatacenterConnectorOperationsClient { get; }
The long-running operations client for CreateDatacenterConnector
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateGroupOperationsClient
public virtual OperationsClient CreateGroupOperationsClient { get; }
The long-running operations client for CreateGroup
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateMigratingVmOperationsClient
public virtual OperationsClient CreateMigratingVmOperationsClient { get; }
The long-running operations client for CreateMigratingVm
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateSourceOperationsClient
public virtual OperationsClient CreateSourceOperationsClient { get; }
The long-running operations client for CreateSource
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateTargetProjectOperationsClient
public virtual OperationsClient CreateTargetProjectOperationsClient { get; }
The long-running operations client for CreateTargetProject
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
CreateUtilizationReportOperationsClient
public virtual OperationsClient CreateUtilizationReportOperationsClient { get; }
The long-running operations client for CreateUtilizationReport
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DefaultEndpoint
public static string DefaultEndpoint { get; }
The default endpoint for the VmMigration service, which is a host of "vmmigration.googleapis.com" and a port of 443.
Property Value | |
---|---|
Type | Description |
String |
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }
The default VmMigration scopes.
Property Value | |
---|---|
Type | Description |
IReadOnlyList<String> |
The default VmMigration scopes are:
DeleteDatacenterConnectorOperationsClient
public virtual OperationsClient DeleteDatacenterConnectorOperationsClient { get; }
The long-running operations client for DeleteDatacenterConnector
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteGroupOperationsClient
public virtual OperationsClient DeleteGroupOperationsClient { get; }
The long-running operations client for DeleteGroup
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteMigratingVmOperationsClient
public virtual OperationsClient DeleteMigratingVmOperationsClient { get; }
The long-running operations client for DeleteMigratingVm
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteSourceOperationsClient
public virtual OperationsClient DeleteSourceOperationsClient { get; }
The long-running operations client for DeleteSource
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteTargetProjectOperationsClient
public virtual OperationsClient DeleteTargetProjectOperationsClient { get; }
The long-running operations client for DeleteTargetProject
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
DeleteUtilizationReportOperationsClient
public virtual OperationsClient DeleteUtilizationReportOperationsClient { get; }
The long-running operations client for DeleteUtilizationReport
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
FinalizeMigrationOperationsClient
public virtual OperationsClient FinalizeMigrationOperationsClient { get; }
The long-running operations client for FinalizeMigration
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public virtual VmMigration.VmMigrationClient GrpcClient { get; }
The underlying gRPC VmMigration client
Property Value | |
---|---|
Type | Description |
VmMigration.VmMigrationClient |
IAMPolicyClient
public virtual IAMPolicyClient IAMPolicyClient { get; }
The IAMPolicyClient associated with this client.
Property Value | |
---|---|
Type | Description |
IAMPolicyClient |
LocationsClient
public virtual LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
PauseMigrationOperationsClient
public virtual OperationsClient PauseMigrationOperationsClient { get; }
The long-running operations client for PauseMigration
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
RemoveGroupMigrationOperationsClient
public virtual OperationsClient RemoveGroupMigrationOperationsClient { get; }
The long-running operations client for RemoveGroupMigration
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
ResumeMigrationOperationsClient
public virtual OperationsClient ResumeMigrationOperationsClient { get; }
The long-running operations client for ResumeMigration
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
ServiceMetadata
public static ServiceMetadata ServiceMetadata { get; }
The service metadata associated with this client type.
Property Value | |
---|---|
Type | Description |
ServiceMetadata |
StartMigrationOperationsClient
public virtual OperationsClient StartMigrationOperationsClient { get; }
The long-running operations client for StartMigration
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateGroupOperationsClient
public virtual OperationsClient UpdateGroupOperationsClient { get; }
The long-running operations client for UpdateGroup
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateMigratingVmOperationsClient
public virtual OperationsClient UpdateMigratingVmOperationsClient { get; }
The long-running operations client for UpdateMigratingVm
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateSourceOperationsClient
public virtual OperationsClient UpdateSourceOperationsClient { get; }
The long-running operations client for UpdateSource
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpdateTargetProjectOperationsClient
public virtual OperationsClient UpdateTargetProjectOperationsClient { get; }
The long-running operations client for UpdateTargetProject
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
UpgradeApplianceOperationsClient
public virtual OperationsClient UpgradeApplianceOperationsClient { get; }
The long-running operations client for UpgradeAppliance
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
Methods
AddGroupMigration(AddGroupMigrationRequest, CallSettings)
public virtual Operation<AddGroupMigrationResponse, OperationMetadata> AddGroupMigration(AddGroupMigrationRequest request, CallSettings callSettings = null)
Adds a MigratingVm to a Group.
Parameters | |
---|---|
Name | Description |
request | AddGroupMigrationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AddGroupMigrationResponse, OperationMetadata> | The RPC response. |
// Create client
VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
// Initialize request argument(s)
AddGroupMigrationRequest request = new AddGroupMigrationRequest
{
GroupAsGroupName = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]"),
MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
};
// Make the request
Operation<AddGroupMigrationResponse, OperationMetadata> response = vmMigrationClient.AddGroupMigration(request);
// Poll until the returned long-running operation is complete
Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AddGroupMigrationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceAddGroupMigration(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
}
AddGroupMigration(GroupName, CallSettings)
public virtual Operation<AddGroupMigrationResponse, OperationMetadata> AddGroupMigration(GroupName group, CallSettings callSettings = null)
Adds a MigratingVm to a Group.
Parameters | |
---|---|
Name | Description |
group | GroupName Required. The full path name of the Group to add to. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AddGroupMigrationResponse, OperationMetadata> | The RPC response. |
// Create client
VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
// Initialize request argument(s)
GroupName group = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]");
// Make the request
Operation<AddGroupMigrationResponse, OperationMetadata> response = vmMigrationClient.AddGroupMigration(group);
// Poll until the returned long-running operation is complete
Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AddGroupMigrationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceAddGroupMigration(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
}
AddGroupMigration(String, CallSettings)
public virtual Operation<AddGroupMigrationResponse, OperationMetadata> AddGroupMigration(string group, CallSettings callSettings = null)
Adds a MigratingVm to a Group.
Parameters | |
---|---|
Name | Description |
group | String Required. The full path name of the Group to add to. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<AddGroupMigrationResponse, OperationMetadata> | The RPC response. |
// Create client
VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
// Initialize request argument(s)
string group = "projects/[PROJECT]/locations/[LOCATION]/groups/[GROUP]";
// Make the request
Operation<AddGroupMigrationResponse, OperationMetadata> response = vmMigrationClient.AddGroupMigration(group);
// Poll until the returned long-running operation is complete
Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
AddGroupMigrationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceAddGroupMigration(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
}
AddGroupMigrationAsync(AddGroupMigrationRequest, CallSettings)
public virtual Task<Operation<AddGroupMigrationResponse, OperationMetadata>> AddGroupMigrationAsync(AddGroupMigrationRequest request, CallSettings callSettings = null)
Adds a MigratingVm to a Group.
Parameters | |
---|---|
Name | Description |
request | AddGroupMigrationRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AddGroupMigrationResponse, OperationMetadata>> | A Task containing the RPC response. |
// Create client
VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
// Initialize request argument(s)
AddGroupMigrationRequest request = new AddGroupMigrationRequest
{
GroupAsGroupName = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]"),
MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
};
// Make the request
Operation<AddGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.AddGroupMigrationAsync(request);
// Poll until the returned long-running operation is complete
Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AddGroupMigrationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceAddGroupMigrationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
}
AddGroupMigrationAsync(AddGroupMigrationRequest, CancellationToken)
public virtual Task<Operation<AddGroupMigrationResponse, OperationMetadata>> AddGroupMigrationAsync(AddGroupMigrationRequest request, CancellationToken cancellationToken)
Adds a MigratingVm to a Group.
Parameters | |
---|---|
Name | Description |
request | AddGroupMigrationRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AddGroupMigrationResponse, OperationMetadata>> | A Task containing the RPC response. |
// Create client
VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
// Initialize request argument(s)
AddGroupMigrationRequest request = new AddGroupMigrationRequest
{
GroupAsGroupName = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]"),
MigratingVmAsMigratingVmName = MigratingVmName.FromProjectLocationSourceMigratingVm("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]"),
};
// Make the request
Operation<AddGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.AddGroupMigrationAsync(request);
// Poll until the returned long-running operation is complete
Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AddGroupMigrationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceAddGroupMigrationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
}
AddGroupMigrationAsync(GroupName, CallSettings)
public virtual Task<Operation<AddGroupMigrationResponse, OperationMetadata>> AddGroupMigrationAsync(GroupName group, CallSettings callSettings = null)
Adds a MigratingVm to a Group.
Parameters | |
---|---|
Name | Description |
group | GroupName Required. The full path name of the Group to add to. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AddGroupMigrationResponse, OperationMetadata>> | A Task containing the RPC response. |
// Create client
VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
// Initialize request argument(s)
GroupName group = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]");
// Make the request
Operation<AddGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.AddGroupMigrationAsync(group);
// Poll until the returned long-running operation is complete
Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AddGroupMigrationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceAddGroupMigrationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
}
AddGroupMigrationAsync(GroupName, CancellationToken)
public virtual Task<Operation<AddGroupMigrationResponse, OperationMetadata>> AddGroupMigrationAsync(GroupName group, CancellationToken cancellationToken)
Adds a MigratingVm to a Group.
Parameters | |
---|---|
Name | Description |
group | GroupName Required. The full path name of the Group to add to. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AddGroupMigrationResponse, OperationMetadata>> | A Task containing the RPC response. |
// Create client
VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
// Initialize request argument(s)
GroupName group = GroupName.FromProjectLocationGroup("[PROJECT]", "[LOCATION]", "[GROUP]");
// Make the request
Operation<AddGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.AddGroupMigrationAsync(group);
// Poll until the returned long-running operation is complete
Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AddGroupMigrationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceAddGroupMigrationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
}
AddGroupMigrationAsync(String, CallSettings)
public virtual Task<Operation<AddGroupMigrationResponse, OperationMetadata>> AddGroupMigrationAsync(string group, CallSettings callSettings = null)
Adds a MigratingVm to a Group.
Parameters | |
---|---|
Name | Description |
group | String Required. The full path name of the Group to add to. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<AddGroupMigrationResponse, OperationMetadata>> | A Task containing the RPC response. |
// Create client
VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
// Initialize request argument(s)
string group = "projects/[PROJECT]/locations/[LOCATION]/groups/[GROUP]";
// Make the request
Operation<AddGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.AddGroupMigrationAsync(group);
// Poll until the returned long-running operation is complete
Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AddGroupMigrationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceAddGroupMigrationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
}
AddGroupMigrationAsync(String, CancellationToken)
public virtual Task<Operation<AddGroupMigrationResponse, OperationMetadata>> AddGroupMigrationAsync(string group, CancellationToken cancellationToken)
Adds a MigratingVm to a Group.
Parameters | |
---|---|
Name | Description |
group | String Required. The full path name of the Group to add to. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<AddGroupMigrationResponse, OperationMetadata>> | A Task containing the RPC response. |
// Create client
VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
// Initialize request argument(s)
string group = "projects/[PROJECT]/locations/[LOCATION]/groups/[GROUP]";
// Make the request
Operation<AddGroupMigrationResponse, OperationMetadata> response = await vmMigrationClient.AddGroupMigrationAsync(group);
// Poll until the returned long-running operation is complete
Operation<AddGroupMigrationResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
AddGroupMigrationResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<AddGroupMigrationResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceAddGroupMigrationAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
AddGroupMigrationResponse retrievedResult = retrievedResponse.Result;
}
CancelCloneJob(CancelCloneJobRequest, CallSettings)
public virtual Operation<CancelCloneJobResponse, OperationMetadata> CancelCloneJob(CancelCloneJobRequest request, CallSettings callSettings = null)
Initiates the cancellation of a running clone job.
Parameters | |
---|---|
Name | Description |
request | CancelCloneJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<CancelCloneJobResponse, OperationMetadata> | The RPC response. |
// Create client
VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
// Initialize request argument(s)
CancelCloneJobRequest request = new CancelCloneJobRequest
{
CloneJobName = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]"),
};
// Make the request
Operation<CancelCloneJobResponse, OperationMetadata> response = vmMigrationClient.CancelCloneJob(request);
// Poll until the returned long-running operation is complete
Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CancelCloneJobResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelCloneJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
}
CancelCloneJob(CloneJobName, CallSettings)
public virtual Operation<CancelCloneJobResponse, OperationMetadata> CancelCloneJob(CloneJobName name, CallSettings callSettings = null)
Initiates the cancellation of a running clone job.
Parameters | |
---|---|
Name | Description |
name | CloneJobName Required. The clone job id |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<CancelCloneJobResponse, OperationMetadata> | The RPC response. |
// Create client
VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
// Initialize request argument(s)
CloneJobName name = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]");
// Make the request
Operation<CancelCloneJobResponse, OperationMetadata> response = vmMigrationClient.CancelCloneJob(name);
// Poll until the returned long-running operation is complete
Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CancelCloneJobResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelCloneJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
}
CancelCloneJob(String, CallSettings)
public virtual Operation<CancelCloneJobResponse, OperationMetadata> CancelCloneJob(string name, CallSettings callSettings = null)
Initiates the cancellation of a running clone job.
Parameters | |
---|---|
Name | Description |
name | String Required. The clone job id |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<CancelCloneJobResponse, OperationMetadata> | The RPC response. |
// Create client
VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cloneJobs/[CLONE_JOB]";
// Make the request
Operation<CancelCloneJobResponse, OperationMetadata> response = vmMigrationClient.CancelCloneJob(name);
// Poll until the returned long-running operation is complete
Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CancelCloneJobResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelCloneJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
}
CancelCloneJobAsync(CancelCloneJobRequest, CallSettings)
public virtual Task<Operation<CancelCloneJobResponse, OperationMetadata>> CancelCloneJobAsync(CancelCloneJobRequest request, CallSettings callSettings = null)
Initiates the cancellation of a running clone job.
Parameters | |
---|---|
Name | Description |
request | CancelCloneJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<CancelCloneJobResponse, OperationMetadata>> | A Task containing the RPC response. |
// Create client
VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
// Initialize request argument(s)
CancelCloneJobRequest request = new CancelCloneJobRequest
{
CloneJobName = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]"),
};
// Make the request
Operation<CancelCloneJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCloneJobAsync(request);
// Poll until the returned long-running operation is complete
Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CancelCloneJobResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCloneJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
}
CancelCloneJobAsync(CancelCloneJobRequest, CancellationToken)
public virtual Task<Operation<CancelCloneJobResponse, OperationMetadata>> CancelCloneJobAsync(CancelCloneJobRequest request, CancellationToken cancellationToken)
Initiates the cancellation of a running clone job.
Parameters | |
---|---|
Name | Description |
request | CancelCloneJobRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<CancelCloneJobResponse, OperationMetadata>> | A Task containing the RPC response. |
// Create client
VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
// Initialize request argument(s)
CancelCloneJobRequest request = new CancelCloneJobRequest
{
CloneJobName = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]"),
};
// Make the request
Operation<CancelCloneJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCloneJobAsync(request);
// Poll until the returned long-running operation is complete
Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CancelCloneJobResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCloneJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
}
CancelCloneJobAsync(CloneJobName, CallSettings)
public virtual Task<Operation<CancelCloneJobResponse, OperationMetadata>> CancelCloneJobAsync(CloneJobName name, CallSettings callSettings = null)
Initiates the cancellation of a running clone job.
Parameters | |
---|---|
Name | Description |
name | CloneJobName Required. The clone job id |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<CancelCloneJobResponse, OperationMetadata>> | A Task containing the RPC response. |
// Create client
VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
// Initialize request argument(s)
CloneJobName name = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]");
// Make the request
Operation<CancelCloneJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCloneJobAsync(name);
// Poll until the returned long-running operation is complete
Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CancelCloneJobResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCloneJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
}
CancelCloneJobAsync(CloneJobName, CancellationToken)
public virtual Task<Operation<CancelCloneJobResponse, OperationMetadata>> CancelCloneJobAsync(CloneJobName name, CancellationToken cancellationToken)
Initiates the cancellation of a running clone job.
Parameters | |
---|---|
Name | Description |
name | CloneJobName Required. The clone job id |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<CancelCloneJobResponse, OperationMetadata>> | A Task containing the RPC response. |
// Create client
VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
// Initialize request argument(s)
CloneJobName name = CloneJobName.FromProjectLocationSourceMigratingVmCloneJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CLONE_JOB]");
// Make the request
Operation<CancelCloneJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCloneJobAsync(name);
// Poll until the returned long-running operation is complete
Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CancelCloneJobResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCloneJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
}
CancelCloneJobAsync(String, CallSettings)
public virtual Task<Operation<CancelCloneJobResponse, OperationMetadata>> CancelCloneJobAsync(string name, CallSettings callSettings = null)
Initiates the cancellation of a running clone job.
Parameters | |
---|---|
Name | Description |
name | String Required. The clone job id |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<CancelCloneJobResponse, OperationMetadata>> | A Task containing the RPC response. |
// Create client
VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cloneJobs/[CLONE_JOB]";
// Make the request
Operation<CancelCloneJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCloneJobAsync(name);
// Poll until the returned long-running operation is complete
Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CancelCloneJobResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCloneJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
}
CancelCloneJobAsync(String, CancellationToken)
public virtual Task<Operation<CancelCloneJobResponse, OperationMetadata>> CancelCloneJobAsync(string name, CancellationToken cancellationToken)
Initiates the cancellation of a running clone job.
Parameters | |
---|---|
Name | Description |
name | String Required. The clone job id |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<CancelCloneJobResponse, OperationMetadata>> | A Task containing the RPC response. |
// Create client
VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cloneJobs/[CLONE_JOB]";
// Make the request
Operation<CancelCloneJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCloneJobAsync(name);
// Poll until the returned long-running operation is complete
Operation<CancelCloneJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CancelCloneJobResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CancelCloneJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCloneJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CancelCloneJobResponse retrievedResult = retrievedResponse.Result;
}
CancelCutoverJob(CancelCutoverJobRequest, CallSettings)
public virtual Operation<CancelCutoverJobResponse, OperationMetadata> CancelCutoverJob(CancelCutoverJobRequest request, CallSettings callSettings = null)
Initiates the cancellation of a running cutover job.
Parameters | |
---|---|
Name | Description |
request | CancelCutoverJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<CancelCutoverJobResponse, OperationMetadata> | The RPC response. |
// Create client
VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
// Initialize request argument(s)
CancelCutoverJobRequest request = new CancelCutoverJobRequest
{
CutoverJobName = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]"),
};
// Make the request
Operation<CancelCutoverJobResponse, OperationMetadata> response = vmMigrationClient.CancelCutoverJob(request);
// Poll until the returned long-running operation is complete
Operation<CancelCutoverJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CancelCutoverJobResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CancelCutoverJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelCutoverJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CancelCutoverJobResponse retrievedResult = retrievedResponse.Result;
}
CancelCutoverJob(CutoverJobName, CallSettings)
public virtual Operation<CancelCutoverJobResponse, OperationMetadata> CancelCutoverJob(CutoverJobName name, CallSettings callSettings = null)
Initiates the cancellation of a running cutover job.
Parameters | |
---|---|
Name | Description |
name | CutoverJobName Required. The cutover job id |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<CancelCutoverJobResponse, OperationMetadata> | The RPC response. |
// Create client
VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
// Initialize request argument(s)
CutoverJobName name = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]");
// Make the request
Operation<CancelCutoverJobResponse, OperationMetadata> response = vmMigrationClient.CancelCutoverJob(name);
// Poll until the returned long-running operation is complete
Operation<CancelCutoverJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CancelCutoverJobResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CancelCutoverJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelCutoverJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CancelCutoverJobResponse retrievedResult = retrievedResponse.Result;
}
CancelCutoverJob(String, CallSettings)
public virtual Operation<CancelCutoverJobResponse, OperationMetadata> CancelCutoverJob(string name, CallSettings callSettings = null)
Initiates the cancellation of a running cutover job.
Parameters | |
---|---|
Name | Description |
name | String Required. The cutover job id |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Operation<CancelCutoverJobResponse, OperationMetadata> | The RPC response. |
// Create client
VmMigrationClient vmMigrationClient = VmMigrationClient.Create();
// Initialize request argument(s)
string name = "projects/[PROJECT]/locations/[LOCATION]/sources/[SOURCE]/migratingVms/[MIGRATING_VM]/cutoverJobs/[CUTOVER_JOB]";
// Make the request
Operation<CancelCutoverJobResponse, OperationMetadata> response = vmMigrationClient.CancelCutoverJob(name);
// Poll until the returned long-running operation is complete
Operation<CancelCutoverJobResponse, OperationMetadata> completedResponse = response.PollUntilCompleted();
// Retrieve the operation result
CancelCutoverJobResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CancelCutoverJobResponse, OperationMetadata> retrievedResponse = vmMigrationClient.PollOnceCancelCutoverJob(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CancelCutoverJobResponse retrievedResult = retrievedResponse.Result;
}
CancelCutoverJobAsync(CancelCutoverJobRequest, CallSettings)
public virtual Task<Operation<CancelCutoverJobResponse, OperationMetadata>> CancelCutoverJobAsync(CancelCutoverJobRequest request, CallSettings callSettings = null)
Initiates the cancellation of a running cutover job.
Parameters | |
---|---|
Name | Description |
request | CancelCutoverJobRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<CancelCutoverJobResponse, OperationMetadata>> | A Task containing the RPC response. |
// Create client
VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
// Initialize request argument(s)
CancelCutoverJobRequest request = new CancelCutoverJobRequest
{
CutoverJobName = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]"),
};
// Make the request
Operation<CancelCutoverJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCutoverJobAsync(request);
// Poll until the returned long-running operation is complete
Operation<CancelCutoverJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CancelCutoverJobResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CancelCutoverJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCutoverJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CancelCutoverJobResponse retrievedResult = retrievedResponse.Result;
}
CancelCutoverJobAsync(CancelCutoverJobRequest, CancellationToken)
public virtual Task<Operation<CancelCutoverJobResponse, OperationMetadata>> CancelCutoverJobAsync(CancelCutoverJobRequest request, CancellationToken cancellationToken)
Initiates the cancellation of a running cutover job.
Parameters | |
---|---|
Name | Description |
request | CancelCutoverJobRequest The request object containing all of the parameters for the API call. |
cancellationToken | CancellationToken A CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
Task<Operation<CancelCutoverJobResponse, OperationMetadata>> | A Task containing the RPC response. |
// Create client
VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
// Initialize request argument(s)
CancelCutoverJobRequest request = new CancelCutoverJobRequest
{
CutoverJobName = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]"),
};
// Make the request
Operation<CancelCutoverJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCutoverJobAsync(request);
// Poll until the returned long-running operation is complete
Operation<CancelCutoverJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CancelCutoverJobResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CancelCutoverJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCutoverJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CancelCutoverJobResponse retrievedResult = retrievedResponse.Result;
}
CancelCutoverJobAsync(CutoverJobName, CallSettings)
public virtual Task<Operation<CancelCutoverJobResponse, OperationMetadata>> CancelCutoverJobAsync(CutoverJobName name, CallSettings callSettings = null)
Initiates the cancellation of a running cutover job.
Parameters | |
---|---|
Name | Description |
name | CutoverJobName Required. The cutover job id |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Task<Operation<CancelCutoverJobResponse, OperationMetadata>> | A Task containing the RPC response. |
// Create client
VmMigrationClient vmMigrationClient = await VmMigrationClient.CreateAsync();
// Initialize request argument(s)
CutoverJobName name = CutoverJobName.FromProjectLocationSourceMigratingVmCutoverJob("[PROJECT]", "[LOCATION]", "[SOURCE]", "[MIGRATING_VM]", "[CUTOVER_JOB]");
// Make the request
Operation<CancelCutoverJobResponse, OperationMetadata> response = await vmMigrationClient.CancelCutoverJobAsync(name);
// Poll until the returned long-running operation is complete
Operation<CancelCutoverJobResponse, OperationMetadata> completedResponse = await response.PollUntilCompletedAsync();
// Retrieve the operation result
CancelCutoverJobResponse result = completedResponse.Result;
// Or get the name of the operation
string operationName = response.Name;
// This name can be stored, then the long-running operation retrieved later by name
Operation<CancelCutoverJobResponse, OperationMetadata> retrievedResponse = await vmMigrationClient.PollOnceCancelCutoverJobAsync(operationName);
// Check if the retrieved long-running operation has completed
if (retrievedResponse.IsCompleted)
{
// If it has completed, then access the result
CancelCutoverJobResponse retrievedResult = retrievedResponse.Result;
}
CancelCutoverJobAsync(CutoverJobName, CancellationToken)