Class ProjectsResource.LocationsResource.PrivateCloudsResource.CreateRequest
Creates a new PrivateCloud
resource in a given project and location. Private clouds of type
STANDARD
and TIME_LIMITED
are zonal resources, STRETCHED
private clouds are regional. Creating
a private cloud also creates a management
cluster for that private
cloud.
Inheritance
Inherited Members
Namespace: Google.Apis.VMwareEngine.v1
Assembly: Google.Apis.VMwareEngine.v1.dll
Syntax
public class ProjectsResource.LocationsResource.PrivateCloudsResource.CreateRequest : VMwareEngineBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
CreateRequest(IClientService, PrivateCloud, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, PrivateCloud body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
PrivateCloud | body | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Parent
Required. The resource name of the location to create the new private cloud in. Resource names
are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1-a
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
PrivateCloudId
Required. The user-provided identifier of the private cloud to be created. This identifier must
be unique among each PrivateCloud
within the parent and becomes the final token in the name
URI. The identifier must meet the following requirements: * Only contains 1-63 alphanumeric
characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen
character * Not formatted as a UUID * Complies with RFC
1034 (section 3.5)
Declaration
[RequestParameter("privateCloudId", RequestParameterType.Query)]
public virtual string PrivateCloudId { get; set; }
Property Value
Type | Description |
---|---|
string |
RequestId
Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Declaration
[RequestParameter("requestId", RequestParameterType.Query)]
public virtual string RequestId { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
ValidateOnly
Optional. True if you want the request to be validated and not executed; false otherwise.
Declaration
[RequestParameter("validateOnly", RequestParameterType.Query)]
public virtual bool? ValidateOnly { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()