Assured Workloads v1beta1 API - Class AnalyzeWorkloadMoveRequest (2.0.0-beta08)

public sealed class AnalyzeWorkloadMoveRequest : IMessage<AnalyzeWorkloadMoveRequest>, IEquatable<AnalyzeWorkloadMoveRequest>, IDeepCloneable<AnalyzeWorkloadMoveRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Assured Workloads v1beta1 API class AnalyzeWorkloadMoveRequest.

A request to analyze a hypothetical move of a source project or project-based workload to a target (destination) folder-based workload.

Inheritance

object > AnalyzeWorkloadMoveRequest

Namespace

Google.Cloud.AssuredWorkloads.V1Beta1

Assembly

Google.Cloud.AssuredWorkloads.V1Beta1.dll

Constructors

AnalyzeWorkloadMoveRequest()

public AnalyzeWorkloadMoveRequest()

AnalyzeWorkloadMoveRequest(AnalyzeWorkloadMoveRequest)

public AnalyzeWorkloadMoveRequest(AnalyzeWorkloadMoveRequest other)
Parameter
Name Description
other AnalyzeWorkloadMoveRequest

Properties

HasProject

public bool HasProject { get; }

Gets whether the "project" field is set

Property Value
Type Description
bool

HasSource

public bool HasSource { get; }

Gets whether the "source" field is set

Property Value
Type Description
bool

Project

public string Project { get; set; }

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.

Property Value
Type Description
string

ProjectOrWorkloadResourceCase

public AnalyzeWorkloadMoveRequest.ProjectOrWorkloadResourceOneofCase ProjectOrWorkloadResourceCase { get; }
Property Value
Type Description
AnalyzeWorkloadMoveRequestProjectOrWorkloadResourceOneofCase

Source

public string Source { get; set; }

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"

Property Value
Type Description
string

Target

public string Target { get; set; }

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"

Property Value
Type Description
string