Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class DeleteAzureClusterRequest.
Request message for Clusters.DeleteAzureCluster
method.
Generated from protobuf message google.cloud.gkemulticloud.v1.DeleteAzureClusterRequest
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The resource name the AzureCluster to delete. |
↳ allow_missing |
bool
If set to true, and the AzureCluster resource is not found, the request will succeed but no action will be taken on the server and a completed Operation will be returned. Useful for idempotent deletion. |
↳ validate_only |
bool
If set, only validate the request, but do not actually delete the resource. |
↳ etag |
string
The current etag of the AzureCluster. Allows clients to perform deletions through optimistic concurrency control. If the provided etag does not match the current etag of the cluster, the request will fail and an ABORTED error will be returned. |
getName
Required. The resource name the AzureCluster to delete.
AzureCluster
names are formatted as
projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
.
See Resource Names
for more details on GCP resource names.
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Returns | |
---|---|
Type | Description |
string |
setName
Required. The resource name the AzureCluster to delete.
AzureCluster
names are formatted as
projects/<project-id>/locations/<region>/azureClusters/<cluster-id>
.
See Resource Names
for more details on GCP resource names.
Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAllowMissing
If set to true, and the AzureCluster resource is not found, the request will succeed but no action will be taken on the server and a completed Operation will be returned.
Useful for idempotent deletion.
Generated from protobuf field bool allow_missing = 2;
Returns | |
---|---|
Type | Description |
bool |
setAllowMissing
If set to true, and the AzureCluster resource is not found, the request will succeed but no action will be taken on the server and a completed Operation will be returned.
Useful for idempotent deletion.
Generated from protobuf field bool allow_missing = 2;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getValidateOnly
If set, only validate the request, but do not actually delete the resource.
Generated from protobuf field bool validate_only = 3;
Returns | |
---|---|
Type | Description |
bool |
setValidateOnly
If set, only validate the request, but do not actually delete the resource.
Generated from protobuf field bool validate_only = 3;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getEtag
The current etag of the AzureCluster.
Allows clients to perform deletions through optimistic concurrency control. If the provided etag does not match the current etag of the cluster, the request will fail and an ABORTED error will be returned.
Generated from protobuf field string etag = 4;
Returns | |
---|---|
Type | Description |
string |
setEtag
The current etag of the AzureCluster.
Allows clients to perform deletions through optimistic concurrency control. If the provided etag does not match the current etag of the cluster, the request will fail and an ABORTED error will be returned.
Generated from protobuf field string etag = 4;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |