public sealed class DeletePrivateCloudRequest : IMessage<DeletePrivateCloudRequest>, IEquatable<DeletePrivateCloudRequest>, IDeepCloneable<DeletePrivateCloudRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the VMware Engine v1 API class DeletePrivateCloudRequest.
Request message for [VmwareEngine.DeletePrivateCloud][google.cloud.vmwareengine.v1.VmwareEngine.DeletePrivateCloud]
Implements
IMessageDeletePrivateCloudRequest, IEquatableDeletePrivateCloudRequest, IDeepCloneableDeletePrivateCloudRequest, IBufferMessage, IMessageNamespace
Google.Cloud.VmwareEngine.V1Assembly
Google.Cloud.VmwareEngine.V1.dll
Constructors
DeletePrivateCloudRequest()
public DeletePrivateCloudRequest()
DeletePrivateCloudRequest(DeletePrivateCloudRequest)
public DeletePrivateCloudRequest(DeletePrivateCloudRequest other)
Parameter | |
---|---|
Name | Description |
other |
DeletePrivateCloudRequest |
Properties
DelayHours
public int DelayHours { get; set; }
Optional. Time delay of the deletion specified in hours. The default value
is 3
. Specifying a non-zero value for this field changes the value of
PrivateCloud.state
to DELETED
and sets expire_time
to the planned
deletion time. Deletion can be cancelled before expire_time
elapses using
[VmwareEngine.UndeletePrivateCloud][google.cloud.vmwareengine.v1.VmwareEngine.UndeletePrivateCloud].
Specifying a value of 0
for this field instead begins the deletion
process and ceases billing immediately. During the final deletion process,
the value of PrivateCloud.state
becomes PURGING
.
Property Value | |
---|---|
Type | Description |
int |
Force
public bool Force { get; set; }
Optional. If set to true, cascade delete is enabled and all children of this private cloud resource are also deleted. When this flag is set to false, the private cloud will not be deleted if there are any children other than the management cluster. The management cluster is always deleted.
Property Value | |
---|---|
Type | Description |
bool |
HasDelayHours
public bool HasDelayHours { get; }
Gets whether the "delay_hours" field is set
Property Value | |
---|---|
Type | Description |
bool |
Name
public string Name { get; set; }
Required. The resource name of the private cloud to delete.
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/privateClouds/my-cloud
Property Value | |
---|---|
Type | Description |
string |
PrivateCloudName
public PrivateCloudName PrivateCloudName { get; set; }
PrivateCloudName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
PrivateCloudName |
RequestId
public string RequestId { get; set; }
Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
Property Value | |
---|---|
Type | Description |
string |