ErrorReason

Defines the supported values for google.rpc.ErrorInfo.reason for the vmwareengine.googleapis.com error domain. Values contained in this enum are read-only and are included in the API response when the server encounters an error. Use the machine-readable reason field to identify and handle errors, as the associated human-readable error message might change over time. Each ErrorInfo object has an associated metadata field that contains additional parameters of the error, and a domain field that identifies the source of the error.

Enums
ERROR_REASON_UNSPECIFIED Do not use this default value.
RESOURCE_HAS_NESTED_RESOURCES

Issuing a request to delete the resource while it has nested resources. Before you delete a resource, you must delete all nested resources.

A sample ErrorInfo object:

{
  "reason": "RESOURCE_HAS_NESTED_RESOURCES",
  "domain": "vmwareengine.googleapis.com",
  "metadata": {
     "resourceType": "PrivateCloud",
     "nestedResourceType": "ExternalAddress"
   }
}
RESOURCE_IS_BEING_DELETED

Issuing a request to delete resource while it is being deleted.

A sample ErrorInfo object:

{
  "reason": "RESOURCE_IS_BEING_DELETED",
  "domain": "vmwareengine.googleapis.com",
  "metadata": {
     "resourceType": "PrivateCloud"
   }
}
RESOURCE_IS_BEING_MODIFIED

Issuing a request to modify a resource while it is being modified.

A sample ErrorInfo object:

{
  "reason": "RESOURCE_IS_BEING_MODIFIED",
  "domain": "vmwareengine.googleapis.com",
  "metadata": {
     "resourceType": "PrivateCloud"
   }
}
NETWORK_SERVICE_IN_RECONCILING_STATE

Request to delete or update a network policy when its services are in the RECONCILING state. Network policy can be modified after the reconciling will finish and the state of the network policy will be updated.

A sample ErrorInfo object:

{
  "reason": "NETWORK_SERVICE_IN_RECONCILING_STATE",
  "domain": "vmwareengine.googleapis.com",
  "metadata": {}
}
EXTERNAL_ADDRESSES_EXIST

Issuing a request to delete a network policy or disable its external IP address network service while dependent external IP addresses still exist. For example, attempting to delete a network policy when reserved external IP addresses exist. Release all reserved external IP addresses from private clouds that use a network policy before attempting to delete the policy.

A sample ErrorInfo object:

{
  "reason": "EXTERNAL_ADDRESSES_EXIST",
  "domain": "vmwareengine.googleapis.com",
  "metadata": {}
}
RESOURCE_STATE_DISALLOWS_REQUEST

The resource state does not allow the operation to be fulfilled. For example, attempting to fetch credentials when the private cloud is in an invalid state or not in the required state.

A sample ErrorInfo object:

{
  "reason": "RESOURCE_STATE_DISALLOWS_REQUEST",
  "domain": "vmwareengine.googleapis.com",
  "metadata": {
     "resourceType": "PrivateCloud"
     "allowedStates": "ACTIVE,UPDATING"
   }
}
RESOURCE_HAS_NESTED_RESOURCES_FORCE_SUPPORTED

Issuing a request to delete the resource while it has nested resources. Before you delete a resource, you must delete all nested resources or set the force parameter to true to delete all nested resources at the same time.

A sample ErrorInfo object:

{
  "reason": "RESOURCE_HAS_NESTED_RESOURCES_FORCE_SUPPORTED",
  "domain": "vmwareengine.googleapis.com",
  "metadata": {
     "resourceType": "PrivateCloud",
     "nestedResourceType": "Cluster"
   }
}
REFERENCED_VMWARE_ENGINE_NETWORK_NOT_FOUND

Issuing a request to perform an operation on a resource and referencing a VMware Engine network that doesn't exist.

A sample ErrorInfo object:

{
  "reason": "REFERENCED_VMWARE_ENGINE_NETWORK_NOT_FOUND",
  "domain": "vmwareengine.googleapis.com",
  "metadata": {
     "vmwareEngineNetworkName":
     "projects/56743/locations/global/vmwareEngineNetworks/my-ven",
     "resourceType": "NetworkPeering"
   }
}
REFERENCED_VMWARE_ENGINE_NETWORK_INVALID_STATE

Issuing a request that can't be fulfilled due to the state of the VMware Engine network.

A sample ErrorInfo object:

{
  "reason": "REFERENCED_VMWARE_ENGINE_NETWORK_INVALID_STATE",
  "domain": "vmwareengine.googleapis.com",
  "metadata": {
     "vmwareEngineNetworkName":
     "projects/56743/locations/global/vmwareEngineNetworks/my-ven",
     "resourceType": "NetworkPeering",
     "allowedStates": "ACTIVE,CREATING,UPDATING"
   }
}
RESOURCE_IS_REFERENCED

Issuing a request to delete the resource while it is currently being referenced by other resources. Before you delete a resource, you must delete all referencing resources.

A sample ErrorInfo object:

{ "reason": "RESOURCE_IS_REFERENCED", . "domain": "vmwareengine.googleapis.com", "metadata": { . "resourceType": "VmwareEngineNetwork", "referencingResourceTypes": "PrivateCloud,NetworkPeering" } }

MULTIPLE_LEGACY_VMWARE_ENGINE_NETWORKS_IN_REGION_NOT_ALLOWED

Requesting to create a legacy VMware Engine network which is not allowed because a legacy network is already present in same region in the project.

A sample ErrorInfo object:

{
  "reason":
  "MULTIPLE_LEGACY_VMWARE_ENGINE_NETWORKS_IN_REGION_NOT_ALLOWED",
  "domain": "vmwareengine.googleapis.com",
  "metadata": {}
}
NETWORK_POLICY_FOR_VMWARE_ENGINE_NETWORK_IN_REGION_EXISTS

Creating a network policy in a VMware Engine network in a region where another network policy already exists.

A sample ErrorInfo object:

{
  "reason":
  "NETWORK_POLICY_FOR_VMWARE_ENGINE_NETWORK_IN_REGION_EXISTS",
  "domain": "vmwareengine.googleapis.com"
}