Class VmwareEngineGrpc.VmwareEngineImplBase (0.5.0)

public abstract static class VmwareEngineGrpc.VmwareEngineImplBase implements BindableService

VMwareEngine manages VMware's private clusters in the Cloud.

Inheritance

java.lang.Object > VmwareEngineGrpc.VmwareEngineImplBase

Implements

io.grpc.BindableService

Constructors

VmwareEngineImplBase()

public VmwareEngineImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)

public void createCluster(CreateClusterRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestCreateClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createHcxActivationKey(CreateHcxActivationKeyRequest request, StreamObserver<Operation> responseObserver)

public void createHcxActivationKey(CreateHcxActivationKeyRequest request, StreamObserver<Operation> responseObserver)

Creates a new HCX activation key in a given private cloud.

Parameters
NameDescription
requestCreateHcxActivationKeyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createNetworkPolicy(CreateNetworkPolicyRequest request, StreamObserver<Operation> responseObserver)

public void createNetworkPolicy(CreateNetworkPolicyRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestCreateNetworkPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createPrivateCloud(CreatePrivateCloudRequest request, StreamObserver<Operation> responseObserver)

public void createPrivateCloud(CreatePrivateCloudRequest request, StreamObserver<Operation> responseObserver)

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 for that private cloud.

Parameters
NameDescription
requestCreatePrivateCloudRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

createVmwareEngineNetwork(CreateVmwareEngineNetworkRequest request, StreamObserver<Operation> responseObserver)

public void createVmwareEngineNetwork(CreateVmwareEngineNetworkRequest request, StreamObserver<Operation> responseObserver)

Creates a new VMware Engine network that can be used by a private cloud.

Parameters
NameDescription
requestCreateVmwareEngineNetworkRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

public void deleteCluster(DeleteClusterRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestDeleteClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteNetworkPolicy(DeleteNetworkPolicyRequest request, StreamObserver<Operation> responseObserver)

public void deleteNetworkPolicy(DeleteNetworkPolicyRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestDeleteNetworkPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deletePrivateCloud(DeletePrivateCloudRequest request, StreamObserver<Operation> responseObserver)

public void deletePrivateCloud(DeletePrivateCloudRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestDeletePrivateCloudRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

deleteVmwareEngineNetwork(DeleteVmwareEngineNetworkRequest request, StreamObserver<Operation> responseObserver)

public void deleteVmwareEngineNetwork(DeleteVmwareEngineNetworkRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestDeleteVmwareEngineNetworkRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

public void getCluster(GetClusterRequest request, StreamObserver<Cluster> responseObserver)

Retrieves a Cluster resource by its resource name.

Parameters
NameDescription
requestGetClusterRequest
responseObserverio.grpc.stub.StreamObserver<Cluster>

getHcxActivationKey(GetHcxActivationKeyRequest request, StreamObserver<HcxActivationKey> responseObserver)

public void getHcxActivationKey(GetHcxActivationKeyRequest request, StreamObserver<HcxActivationKey> responseObserver)

Retrieves a HcxActivationKey resource by its resource name.

Parameters
NameDescription
requestGetHcxActivationKeyRequest
responseObserverio.grpc.stub.StreamObserver<HcxActivationKey>

getNetworkPolicy(GetNetworkPolicyRequest request, StreamObserver<NetworkPolicy> responseObserver)

public void getNetworkPolicy(GetNetworkPolicyRequest request, StreamObserver<NetworkPolicy> responseObserver)

Retrieves a NetworkPolicy resource by its resource name.

Parameters
NameDescription
requestGetNetworkPolicyRequest
responseObserverio.grpc.stub.StreamObserver<NetworkPolicy>

getNodeType(GetNodeTypeRequest request, StreamObserver<NodeType> responseObserver)

public void getNodeType(GetNodeTypeRequest request, StreamObserver<NodeType> responseObserver)

Gets details of a single NodeType.

Parameters
NameDescription
requestGetNodeTypeRequest
responseObserverio.grpc.stub.StreamObserver<NodeType>

getPrivateCloud(GetPrivateCloudRequest request, StreamObserver<PrivateCloud> responseObserver)

public void getPrivateCloud(GetPrivateCloudRequest request, StreamObserver<PrivateCloud> responseObserver)

Retrieves a PrivateCloud resource by its resource name.

Parameters
NameDescription
requestGetPrivateCloudRequest
responseObserverio.grpc.stub.StreamObserver<PrivateCloud>

getVmwareEngineNetwork(GetVmwareEngineNetworkRequest request, StreamObserver<VmwareEngineNetwork> responseObserver)

public void getVmwareEngineNetwork(GetVmwareEngineNetworkRequest request, StreamObserver<VmwareEngineNetwork> responseObserver)

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).

Parameters
NameDescription
requestGetVmwareEngineNetworkRequest
responseObserverio.grpc.stub.StreamObserver<VmwareEngineNetwork>

listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)

public void listClusters(ListClustersRequest request, StreamObserver<ListClustersResponse> responseObserver)

Lists Cluster resources in a given private cloud.

Parameters
NameDescription
requestListClustersRequest
responseObserverio.grpc.stub.StreamObserver<ListClustersResponse>

listHcxActivationKeys(ListHcxActivationKeysRequest request, StreamObserver<ListHcxActivationKeysResponse> responseObserver)

public void listHcxActivationKeys(ListHcxActivationKeysRequest request, StreamObserver<ListHcxActivationKeysResponse> responseObserver)

Lists HcxActivationKey resources in a given private cloud.

Parameters
NameDescription
requestListHcxActivationKeysRequest
responseObserverio.grpc.stub.StreamObserver<ListHcxActivationKeysResponse>

listNetworkPolicies(ListNetworkPoliciesRequest request, StreamObserver<ListNetworkPoliciesResponse> responseObserver)

public void listNetworkPolicies(ListNetworkPoliciesRequest request, StreamObserver<ListNetworkPoliciesResponse> responseObserver)

Lists NetworkPolicy resources in a specified project and location.

Parameters
NameDescription
requestListNetworkPoliciesRequest
responseObserverio.grpc.stub.StreamObserver<ListNetworkPoliciesResponse>

listNodeTypes(ListNodeTypesRequest request, StreamObserver<ListNodeTypesResponse> responseObserver)

public void listNodeTypes(ListNodeTypesRequest request, StreamObserver<ListNodeTypesResponse> responseObserver)

Lists node types

Parameters
NameDescription
requestListNodeTypesRequest
responseObserverio.grpc.stub.StreamObserver<ListNodeTypesResponse>

listPrivateClouds(ListPrivateCloudsRequest request, StreamObserver<ListPrivateCloudsResponse> responseObserver)

public void listPrivateClouds(ListPrivateCloudsRequest request, StreamObserver<ListPrivateCloudsResponse> responseObserver)

Lists PrivateCloud resources in a given project and location.

Parameters
NameDescription
requestListPrivateCloudsRequest
responseObserverio.grpc.stub.StreamObserver<ListPrivateCloudsResponse>

listSubnets(ListSubnetsRequest request, StreamObserver<ListSubnetsResponse> responseObserver)

public void listSubnets(ListSubnetsRequest request, StreamObserver<ListSubnetsResponse> responseObserver)

Lists subnets in a given private cloud.

Parameters
NameDescription
requestListSubnetsRequest
responseObserverio.grpc.stub.StreamObserver<ListSubnetsResponse>

listVmwareEngineNetworks(ListVmwareEngineNetworksRequest request, StreamObserver<ListVmwareEngineNetworksResponse> responseObserver)

public void listVmwareEngineNetworks(ListVmwareEngineNetworksRequest request, StreamObserver<ListVmwareEngineNetworksResponse> responseObserver)

Lists VmwareEngineNetwork resources in a given project and location.

Parameters
NameDescription
requestListVmwareEngineNetworksRequest
responseObserverio.grpc.stub.StreamObserver<ListVmwareEngineNetworksResponse>

resetNsxCredentials(ResetNsxCredentialsRequest request, StreamObserver<Operation> responseObserver)

public void resetNsxCredentials(ResetNsxCredentialsRequest request, StreamObserver<Operation> responseObserver)

Resets credentials of the NSX appliance.

Parameters
NameDescription
requestResetNsxCredentialsRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

resetVcenterCredentials(ResetVcenterCredentialsRequest request, StreamObserver<Operation> responseObserver)

public void resetVcenterCredentials(ResetVcenterCredentialsRequest request, StreamObserver<Operation> responseObserver)

Resets credentials of the Vcenter appliance.

Parameters
NameDescription
requestResetVcenterCredentialsRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

showNsxCredentials(ShowNsxCredentialsRequest request, StreamObserver<Credentials> responseObserver)

public void showNsxCredentials(ShowNsxCredentialsRequest request, StreamObserver<Credentials> responseObserver)

Gets details of credentials for NSX appliance.

Parameters
NameDescription
requestShowNsxCredentialsRequest
responseObserverio.grpc.stub.StreamObserver<Credentials>

showVcenterCredentials(ShowVcenterCredentialsRequest request, StreamObserver<Credentials> responseObserver)

public void showVcenterCredentials(ShowVcenterCredentialsRequest request, StreamObserver<Credentials> responseObserver)

Gets details of credentials for Vcenter appliance.

Parameters
NameDescription
requestShowVcenterCredentialsRequest
responseObserverio.grpc.stub.StreamObserver<Credentials>

undeletePrivateCloud(UndeletePrivateCloudRequest request, StreamObserver<Operation> responseObserver)

public void undeletePrivateCloud(UndeletePrivateCloudRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestUndeletePrivateCloudRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)

public void updateCluster(UpdateClusterRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestUpdateClusterRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateNetworkPolicy(UpdateNetworkPolicyRequest request, StreamObserver<Operation> responseObserver)

public void updateNetworkPolicy(UpdateNetworkPolicyRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestUpdateNetworkPolicyRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updatePrivateCloud(UpdatePrivateCloudRequest request, StreamObserver<Operation> responseObserver)

public void updatePrivateCloud(UpdatePrivateCloudRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
NameDescription
requestUpdatePrivateCloudRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

updateVmwareEngineNetwork(UpdateVmwareEngineNetworkRequest request, StreamObserver<Operation> responseObserver)

public void updateVmwareEngineNetwork(UpdateVmwareEngineNetworkRequest request, StreamObserver<Operation> responseObserver)

Modifies a VMware Engine network resource. Only the following fields can be updated: description. Only fields specified in updateMask are applied.

Parameters
NameDescription
requestUpdateVmwareEngineNetworkRequest
responseObserverio.grpc.stub.StreamObserver<Operation>