Assured Workloads API . organizations . locations . workloads . organizations . locations . workloads

Instance Methods

analyzeWorkloadMove(source, target, project=None, x__xgafv=None)

Analyzes a hypothetical move of a source project to a target (destination) folder-based workload.

close()

Close httplib2 connections.

Method Details

analyzeWorkloadMove(source, target, project=None, x__xgafv=None)
Analyzes a hypothetical move of a source project to a target (destination) folder-based workload.

Args:
  source: string, The source type is a project-based workload. Specify the workloads's relative resource name, formatted as: "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-1" This option is now deprecated (required)
  target: string, Required. The resource ID of the folder-based destination workload. This workload is where the source project will hypothetically be moved to. Specify the workload's relative resource name, formatted as: "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" For example: "organizations/123/locations/us-east1/workloads/assured-workload-2" (required)
  project: string, The source type is a project. Specify the project's relative resource name, formatted as either a project number or a project ID: "projects/{PROJECT_NUMBER}" or "projects/{PROJECT_ID}" For example: "projects/951040570662" when specifying a project number, or "projects/my-project-123" when specifying a project ID.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # A response that includes the analysis of the hypothetical resource move.
  "blockers": [ # A list of blockers that should be addressed before moving the source project or project-based workload to the destination folder-based workload.
    "A String",
  ],
}
close()
Close httplib2 connections.