Method: organizations.locations.workloads.organizations.locations.workloads.analyzeWorkloadMove

Analyze if the source Assured Workloads can be moved to the target Assured Workload

HTTP request

GET https://{endpoint}/v1beta1/{source=organizations/*/locations/*/workloads/*}/{target=organizations/*/locations/*/workloads/*}:analyzeWorkloadMove

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
source

string

Required. The resource name of the Workload to fetch. This is the workloads's relative path in the API, formatted as "organizations/{organization_id}/locations/{locationId}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-1".

target

string

Required. The resource name of the Workload to fetch. This is the workloads's relative path in the API, formatted as "organizations/{organization_id}/locations/{locationId}/workloads/{workload_id}". For example, "organizations/123/locations/us-east1/workloads/assured-workload-2".

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

Response with the analysis if the source workload can be moved to the target workload

JSON representation
{
  "blockers": [
    string
  ]
}
Fields
blockers[]

string

List of blockers that prevent moving the source workload to the target workload

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the source resource:

  • assuredworkloads.workload.get

For more information, see the IAM documentation.