Package com.google.cloud.vmwareengine.v1
Class VmwareEngineGrpc.VmwareEngineBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<VmwareEngineGrpc.VmwareEngineBlockingStub>
-
- com.google.cloud.vmwareengine.v1.VmwareEngineGrpc.VmwareEngineBlockingStub
-
- Enclosing class:
- VmwareEngineGrpc
public static final class VmwareEngineGrpc.VmwareEngineBlockingStub extends io.grpc.stub.AbstractBlockingStub<VmwareEngineGrpc.VmwareEngineBlockingStub>
A stub to allow clients to do synchronous rpc calls to service VmwareEngine.VMwareEngine manages VMware's private clusters in the Cloud.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VmwareEngineGrpc.VmwareEngineBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.longrunning.Operation
createCluster(CreateClusterRequest request)
Creates a new cluster in a given private cloud.com.google.longrunning.Operation
createHcxActivationKey(CreateHcxActivationKeyRequest request)
Creates a new HCX activation key in a given private cloud.com.google.longrunning.Operation
createNetworkPolicy(CreateNetworkPolicyRequest request)
Creates a new network policy in a given VMware Engine network of a project and location (region).com.google.longrunning.Operation
createPrivateCloud(CreatePrivateCloudRequest request)
Creates a new `PrivateCloud` resource in a given project and location.com.google.longrunning.Operation
createPrivateConnection(CreatePrivateConnectionRequest request)
Creates a new private connection that can be used for accessing private Clouds.com.google.longrunning.Operation
createVmwareEngineNetwork(CreateVmwareEngineNetworkRequest request)
Creates a new VMware Engine network that can be used by a private cloud.com.google.longrunning.Operation
deleteCluster(DeleteClusterRequest request)
Deletes a `Cluster` resource.com.google.longrunning.Operation
deleteNetworkPolicy(DeleteNetworkPolicyRequest request)
Deletes a `NetworkPolicy` resource.com.google.longrunning.Operation
deletePrivateCloud(DeletePrivateCloudRequest request)
Schedules a `PrivateCloud` resource for deletion.com.google.longrunning.Operation
deletePrivateConnection(DeletePrivateConnectionRequest request)
Deletes a `PrivateConnection` resource.com.google.longrunning.Operation
deleteVmwareEngineNetwork(DeleteVmwareEngineNetworkRequest request)
Deletes a `VmwareEngineNetwork` resource.Cluster
getCluster(GetClusterRequest request)
Retrieves a `Cluster` resource by its resource name.HcxActivationKey
getHcxActivationKey(GetHcxActivationKeyRequest request)
Retrieves a `HcxActivationKey` resource by its resource name.NetworkPolicy
getNetworkPolicy(GetNetworkPolicyRequest request)
Retrieves a `NetworkPolicy` resource by its resource name.NodeType
getNodeType(GetNodeTypeRequest request)
Gets details of a single `NodeType`.PrivateCloud
getPrivateCloud(GetPrivateCloudRequest request)
Retrieves a `PrivateCloud` resource by its resource name.PrivateConnection
getPrivateConnection(GetPrivateConnectionRequest request)
Retrieves a `PrivateConnection` resource by its resource name.Subnet
getSubnet(GetSubnetRequest request)
Gets details of a single subnet.VmwareEngineNetwork
getVmwareEngineNetwork(GetVmwareEngineNetworkRequest request)
Retrieves a `VmwareEngineNetwork` resource by its resource name.ListClustersResponse
listClusters(ListClustersRequest request)
Lists `Cluster` resources in a given private cloud.ListHcxActivationKeysResponse
listHcxActivationKeys(ListHcxActivationKeysRequest request)
Lists `HcxActivationKey` resources in a given private cloud.ListNetworkPoliciesResponse
listNetworkPolicies(ListNetworkPoliciesRequest request)
Lists `NetworkPolicy` resources in a specified project and location.ListNodeTypesResponse
listNodeTypes(ListNodeTypesRequest request)
Lists node typesListPrivateCloudsResponse
listPrivateClouds(ListPrivateCloudsRequest request)
Lists `PrivateCloud` resources in a given project and location.ListPrivateConnectionPeeringRoutesResponse
listPrivateConnectionPeeringRoutes(ListPrivateConnectionPeeringRoutesRequest request)
Lists the private connection routes exchanged over a peering connection.ListPrivateConnectionsResponse
listPrivateConnections(ListPrivateConnectionsRequest request)
Lists `PrivateConnection` resources in a given project and location.ListSubnetsResponse
listSubnets(ListSubnetsRequest request)
Lists subnets in a given private cloud.ListVmwareEngineNetworksResponse
listVmwareEngineNetworks(ListVmwareEngineNetworksRequest request)
Lists `VmwareEngineNetwork` resources in a given project and location.com.google.longrunning.Operation
resetNsxCredentials(ResetNsxCredentialsRequest request)
Resets credentials of the NSX appliance.com.google.longrunning.Operation
resetVcenterCredentials(ResetVcenterCredentialsRequest request)
Resets credentials of the Vcenter appliance.Credentials
showNsxCredentials(ShowNsxCredentialsRequest request)
Gets details of credentials for NSX appliance.Credentials
showVcenterCredentials(ShowVcenterCredentialsRequest request)
Gets details of credentials for Vcenter appliance.com.google.longrunning.Operation
undeletePrivateCloud(UndeletePrivateCloudRequest request)
Restores a private cloud that was previously scheduled for deletion by `DeletePrivateCloud`.com.google.longrunning.Operation
updateCluster(UpdateClusterRequest request)
Modifies a `Cluster` resource.com.google.longrunning.Operation
updateNetworkPolicy(UpdateNetworkPolicyRequest request)
Modifies a `NetworkPolicy` resource.com.google.longrunning.Operation
updatePrivateCloud(UpdatePrivateCloudRequest request)
Modifies a `PrivateCloud` resource.com.google.longrunning.Operation
updatePrivateConnection(UpdatePrivateConnectionRequest request)
Modifies a `PrivateConnection` resource.com.google.longrunning.Operation
updateSubnet(UpdateSubnetRequest request)
Updates the parameters of a single subnet.com.google.longrunning.Operation
updateVmwareEngineNetwork(UpdateVmwareEngineNetworkRequest request)
Modifies a VMware Engine network resource.
-
-
-
Method Detail
-
build
protected VmwareEngineGrpc.VmwareEngineBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<VmwareEngineGrpc.VmwareEngineBlockingStub>
-
listPrivateClouds
public ListPrivateCloudsResponse listPrivateClouds(ListPrivateCloudsRequest request)
Lists `PrivateCloud` resources in a given project and location.
-
getPrivateCloud
public PrivateCloud getPrivateCloud(GetPrivateCloudRequest request)
Retrieves a `PrivateCloud` resource by its resource name.
-
createPrivateCloud
public com.google.longrunning.Operation createPrivateCloud(CreatePrivateCloudRequest request)
Creates a new `PrivateCloud` resource in a given project and location. Private clouds can only be created in zones, regional private clouds are not supported. Creating a private cloud also creates a [management cluster](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components) for that private cloud.
-
updatePrivateCloud
public com.google.longrunning.Operation updatePrivateCloud(UpdatePrivateCloudRequest request)
Modifies a `PrivateCloud` resource. Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied. During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.
-
deletePrivateCloud
public com.google.longrunning.Operation deletePrivateCloud(DeletePrivateCloudRequest request)
Schedules a `PrivateCloud` resource for deletion. A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `expireTime` set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the `PrivateCloud` is successfully scheduled for deletion (this also applies when `delayHours` is set to zero), and the operation is not kept in pending state until `PrivateCloud` is purged. `PrivateCloud` can be restored using `UndeletePrivateCloud` method before the `expireTime` elapses. When `expireTime` is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, `PrivateCloud.state` is set to `PURGING`. `PrivateCloud` can be polled using standard `GET` method for the whole period of deletion and purging. It will not be returned only when it is completely purged.
-
undeletePrivateCloud
public com.google.longrunning.Operation undeletePrivateCloud(UndeletePrivateCloudRequest request)
Restores a private cloud that was previously scheduled for deletion by `DeletePrivateCloud`. A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `PrivateCloud.expireTime` set to the time when deletion can no longer be reversed.
-
listClusters
public ListClustersResponse listClusters(ListClustersRequest request)
Lists `Cluster` resources in a given private cloud.
-
getCluster
public Cluster getCluster(GetClusterRequest request)
Retrieves a `Cluster` resource by its resource name.
-
createCluster
public com.google.longrunning.Operation createCluster(CreateClusterRequest request)
Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient [node quota](https://cloud.google.com/vmware-engine/quotas).
-
updateCluster
public com.google.longrunning.Operation updateCluster(UpdateClusterRequest request)
Modifies a `Cluster` resource. Only the following fields can be updated: `node_type_configs.*.node_count`. Only fields specified in `updateMask` are applied. During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.
-
deleteCluster
public com.google.longrunning.Operation deleteCluster(DeleteClusterRequest request)
Deletes a `Cluster` resource. To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management cluster of a private cloud using this method.
-
listSubnets
public ListSubnetsResponse listSubnets(ListSubnetsRequest request)
Lists subnets in a given private cloud.
-
getSubnet
public Subnet getSubnet(GetSubnetRequest request)
Gets details of a single subnet.
-
updateSubnet
public com.google.longrunning.Operation updateSubnet(UpdateSubnetRequest request)
Updates the parameters of a single subnet. Only fields specified in `update_mask` are applied. *Note*: This API is synchronous and always returns a successful `google.longrunning.Operation` (LRO). The returned LRO will only have `done` and `response` fields.
-
listNodeTypes
public ListNodeTypesResponse listNodeTypes(ListNodeTypesRequest request)
Lists node types
-
getNodeType
public NodeType getNodeType(GetNodeTypeRequest request)
Gets details of a single `NodeType`.
-
showNsxCredentials
public Credentials showNsxCredentials(ShowNsxCredentialsRequest request)
Gets details of credentials for NSX appliance.
-
showVcenterCredentials
public Credentials showVcenterCredentials(ShowVcenterCredentialsRequest request)
Gets details of credentials for Vcenter appliance.
-
resetNsxCredentials
public com.google.longrunning.Operation resetNsxCredentials(ResetNsxCredentialsRequest request)
Resets credentials of the NSX appliance.
-
resetVcenterCredentials
public com.google.longrunning.Operation resetVcenterCredentials(ResetVcenterCredentialsRequest request)
Resets credentials of the Vcenter appliance.
-
createHcxActivationKey
public com.google.longrunning.Operation createHcxActivationKey(CreateHcxActivationKeyRequest request)
Creates a new HCX activation key in a given private cloud.
-
listHcxActivationKeys
public ListHcxActivationKeysResponse listHcxActivationKeys(ListHcxActivationKeysRequest request)
Lists `HcxActivationKey` resources in a given private cloud.
-
getHcxActivationKey
public HcxActivationKey getHcxActivationKey(GetHcxActivationKeyRequest request)
Retrieves a `HcxActivationKey` resource by its resource name.
-
getNetworkPolicy
public NetworkPolicy getNetworkPolicy(GetNetworkPolicyRequest request)
Retrieves a `NetworkPolicy` resource by its resource name.
-
listNetworkPolicies
public ListNetworkPoliciesResponse listNetworkPolicies(ListNetworkPoliciesRequest request)
Lists `NetworkPolicy` resources in a specified project and location.
-
createNetworkPolicy
public com.google.longrunning.Operation createNetworkPolicy(CreateNetworkPolicyRequest request)
Creates a new network policy in a given VMware Engine network of a project and location (region). A new network policy cannot be created if another network policy already exists in the same scope.
-
updateNetworkPolicy
public com.google.longrunning.Operation updateNetworkPolicy(UpdateNetworkPolicyRequest request)
Modifies a `NetworkPolicy` resource. Only the following fields can be updated: `internet_access`, `external_ip`, `edge_services_cidr`. Only fields specified in `updateMask` are applied. When updating a network policy, the external IP network service can only be disabled if there are no external IP addresses present in the scope of the policy. Also, a `NetworkService` cannot be updated when `NetworkService.state` is set to `RECONCILING`. During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.
-
deleteNetworkPolicy
public com.google.longrunning.Operation deleteNetworkPolicy(DeleteNetworkPolicyRequest request)
Deletes a `NetworkPolicy` resource. A network policy cannot be deleted when `NetworkService.state` is set to `RECONCILING` for either its external IP or internet access service.
-
createVmwareEngineNetwork
public com.google.longrunning.Operation createVmwareEngineNetwork(CreateVmwareEngineNetworkRequest request)
Creates a new VMware Engine network that can be used by a private cloud.
-
updateVmwareEngineNetwork
public com.google.longrunning.Operation updateVmwareEngineNetwork(UpdateVmwareEngineNetworkRequest request)
Modifies a VMware Engine network resource. Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied.
-
deleteVmwareEngineNetwork
public com.google.longrunning.Operation deleteVmwareEngineNetwork(DeleteVmwareEngineNetworkRequest request)
Deletes a `VmwareEngineNetwork` resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network.
-
getVmwareEngineNetwork
public VmwareEngineNetwork getVmwareEngineNetwork(GetVmwareEngineNetworkRequest request)
Retrieves a `VmwareEngineNetwork` resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, `CREATING`, `ACTIVE`, `DELETING`).
-
listVmwareEngineNetworks
public ListVmwareEngineNetworksResponse listVmwareEngineNetworks(ListVmwareEngineNetworksRequest request)
Lists `VmwareEngineNetwork` resources in a given project and location.
-
createPrivateConnection
public com.google.longrunning.Operation createPrivateConnection(CreatePrivateConnectionRequest request)
Creates a new private connection that can be used for accessing private Clouds.
-
getPrivateConnection
public PrivateConnection getPrivateConnection(GetPrivateConnectionRequest request)
Retrieves a `PrivateConnection` resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state.
-
listPrivateConnections
public ListPrivateConnectionsResponse listPrivateConnections(ListPrivateConnectionsRequest request)
Lists `PrivateConnection` resources in a given project and location.
-
updatePrivateConnection
public com.google.longrunning.Operation updatePrivateConnection(UpdatePrivateConnectionRequest request)
Modifies a `PrivateConnection` resource. Only `description` and `routing_mode` fields can be updated. Only fields specified in `updateMask` are applied.
-
deletePrivateConnection
public com.google.longrunning.Operation deletePrivateConnection(DeletePrivateConnectionRequest request)
Deletes a `PrivateConnection` resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network.
-
listPrivateConnectionPeeringRoutes
public ListPrivateConnectionPeeringRoutesResponse listPrivateConnectionPeeringRoutes(ListPrivateConnectionPeeringRoutesRequest request)
Lists the private connection routes exchanged over a peering connection.
-
-