Interface VmwareEngineGrpc.AsyncService

    • Method Detail

      • getPrivateCloud

        default void getPrivateCloud​(GetPrivateCloudRequest request,
                                     io.grpc.stub.StreamObserver<PrivateCloud> responseObserver)
         Retrieves a `PrivateCloud` resource by its resource name.
         
      • createPrivateCloud

        default void createPrivateCloud​(CreatePrivateCloudRequest request,
                                        io.grpc.stub.StreamObserver<com.google.longrunning.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](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components)
         for that private cloud.
         
      • updatePrivateCloud

        default void updatePrivateCloud​(UpdatePrivateCloudRequest request,
                                        io.grpc.stub.StreamObserver<com.google.longrunning.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.
         
      • deletePrivateCloud

        default void deletePrivateCloud​(DeletePrivateCloudRequest request,
                                        io.grpc.stub.StreamObserver<com.google.longrunning.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.
         
      • undeletePrivateCloud

        default void undeletePrivateCloud​(UndeletePrivateCloudRequest request,
                                          io.grpc.stub.StreamObserver<com.google.longrunning.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.
         
      • listClusters

        default void listClusters​(ListClustersRequest request,
                                  io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)
         Lists `Cluster` resources in a given private cloud.
         
      • getCluster

        default void getCluster​(GetClusterRequest request,
                                io.grpc.stub.StreamObserver<Cluster> responseObserver)
         Retrieves a `Cluster` resource by its resource name.
         
      • createCluster

        default void createCluster​(CreateClusterRequest request,
                                   io.grpc.stub.StreamObserver<com.google.longrunning.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](https://cloud.google.com/vmware-engine/quotas).
         
      • updateCluster

        default void updateCluster​(UpdateClusterRequest request,
                                   io.grpc.stub.StreamObserver<com.google.longrunning.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.
         
      • deleteCluster

        default void deleteCluster​(DeleteClusterRequest request,
                                   io.grpc.stub.StreamObserver<com.google.longrunning.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.
         
      • getSubnet

        default void getSubnet​(GetSubnetRequest request,
                               io.grpc.stub.StreamObserver<Subnet> responseObserver)
         Gets details of a single subnet.
         
      • updateSubnet

        default void updateSubnet​(UpdateSubnetRequest request,
                                  io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         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.
         
      • getNodeType

        default void getNodeType​(GetNodeTypeRequest request,
                                 io.grpc.stub.StreamObserver<NodeType> responseObserver)
         Gets details of a single `NodeType`.
         
      • showNsxCredentials

        default void showNsxCredentials​(ShowNsxCredentialsRequest request,
                                        io.grpc.stub.StreamObserver<Credentials> responseObserver)
         Gets details of credentials for NSX appliance.
         
      • showVcenterCredentials

        default void showVcenterCredentials​(ShowVcenterCredentialsRequest request,
                                            io.grpc.stub.StreamObserver<Credentials> responseObserver)
         Gets details of credentials for Vcenter appliance.
         
      • resetNsxCredentials

        default void resetNsxCredentials​(ResetNsxCredentialsRequest request,
                                         io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Resets credentials of the NSX appliance.
         
      • resetVcenterCredentials

        default void resetVcenterCredentials​(ResetVcenterCredentialsRequest request,
                                             io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Resets credentials of the Vcenter appliance.
         
      • createHcxActivationKey

        default void createHcxActivationKey​(CreateHcxActivationKeyRequest request,
                                            io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a new HCX activation key in a given private cloud.
         
      • getHcxActivationKey

        default void getHcxActivationKey​(GetHcxActivationKeyRequest request,
                                         io.grpc.stub.StreamObserver<HcxActivationKey> responseObserver)
         Retrieves a `HcxActivationKey` resource by its resource name.
         
      • getNetworkPolicy

        default void getNetworkPolicy​(GetNetworkPolicyRequest request,
                                      io.grpc.stub.StreamObserver<NetworkPolicy> responseObserver)
         Retrieves a `NetworkPolicy` resource by its resource name.
         
      • createNetworkPolicy

        default void createNetworkPolicy​(CreateNetworkPolicyRequest request,
                                         io.grpc.stub.StreamObserver<com.google.longrunning.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.
         
      • updateNetworkPolicy

        default void updateNetworkPolicy​(UpdateNetworkPolicyRequest request,
                                         io.grpc.stub.StreamObserver<com.google.longrunning.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.
         
      • deleteNetworkPolicy

        default void deleteNetworkPolicy​(DeleteNetworkPolicyRequest request,
                                         io.grpc.stub.StreamObserver<com.google.longrunning.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.
         
      • createVmwareEngineNetwork

        default void createVmwareEngineNetwork​(CreateVmwareEngineNetworkRequest request,
                                               io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a new VMware Engine network that can be used by a private cloud.
         
      • updateVmwareEngineNetwork

        default void updateVmwareEngineNetwork​(UpdateVmwareEngineNetworkRequest request,
                                               io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Modifies a VMware Engine network resource. Only the following fields can be
         updated: `description`. Only fields specified in `updateMask` are
         applied.
         
      • deleteVmwareEngineNetwork

        default void deleteVmwareEngineNetwork​(DeleteVmwareEngineNetworkRequest request,
                                               io.grpc.stub.StreamObserver<com.google.longrunning.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.
         
      • getVmwareEngineNetwork

        default void getVmwareEngineNetwork​(GetVmwareEngineNetworkRequest request,
                                            io.grpc.stub.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`).
         
      • createPrivateConnection

        default void createPrivateConnection​(CreatePrivateConnectionRequest request,
                                             io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Creates a new private connection that can be used for accessing private
         Clouds.
         
      • getPrivateConnection

        default void getPrivateConnection​(GetPrivateConnectionRequest request,
                                          io.grpc.stub.StreamObserver<PrivateConnection> responseObserver)
         Retrieves a `PrivateConnection` resource by its resource name. The resource
         contains details of the private connection, such as connected
         network, routing mode and state.
         
      • updatePrivateConnection

        default void updatePrivateConnection​(UpdatePrivateConnectionRequest request,
                                             io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Modifies a `PrivateConnection` resource. Only `description` and
         `routing_mode` fields can be updated. Only fields specified in `updateMask`
         are applied.
         
      • deletePrivateConnection

        default void deletePrivateConnection​(DeletePrivateConnectionRequest request,
                                             io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         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.