Package com.google.cloud.vmwareengine.v1
Class VmwareEngineGrpc.VmwareEngineBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<VmwareEngineGrpc.VmwareEngineBlockingV2Stub>
com.google.cloud.vmwareengine.v1.VmwareEngineGrpc.VmwareEngineBlockingV2Stub
- Enclosing class:
- VmwareEngineGrpc
public static final class VmwareEngineGrpc.VmwareEngineBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<VmwareEngineGrpc.VmwareEngineBlockingV2Stub>
A stub to allow clients to do synchronous rpc calls to service VmwareEngine.
VMwareEngine manages VMware's private clusters in the Cloud.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createCluster(CreateClusterRequest request) Creates a new cluster in a given private cloud.Creates a new external access rule in a given network policy.Creates a new `ExternalAddress` resource in a given private cloud.Creates a new HCX activation key in a given private cloud.Create a new logging server for a given private cloud.Creates a new `ManagementDnsZoneBinding` resource in a private cloud.Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource.Creates a new network policy in a given VMware Engine network of a project and location (region).Creates a new `PrivateCloud` resource in a given project and location.Creates a new private connection that can be used for accessing private Clouds.Creates a new VMware Engine network that can be used by a private cloud.deleteCluster(DeleteClusterRequest request) Deletes a `Cluster` resource.Deletes a single external access rule.Deletes a single external IP address.Deletes a single logging server.Deletes a `ManagementDnsZoneBinding` resource.Deletes a `NetworkPeering` resource.Deletes a `NetworkPolicy` resource.Schedules a `PrivateCloud` resource for deletion.Deletes a `PrivateConnection` resource.Deletes a `VmwareEngineNetwork` resource.Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.getCluster(GetClusterRequest request) Retrieves a `Cluster` resource by its resource name.Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API.getDnsForwarding(GetDnsForwardingRequest request) Gets details of the `DnsForwarding` config.Gets details of a single external access rule.Gets details of a single external IP address.Retrieves a `HcxActivationKey` resource by its resource name.getLoggingServer(GetLoggingServerRequest request) Gets details of a logging server.Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.Retrieves a `NetworkPeering` resource by its resource name.getNetworkPolicy(GetNetworkPolicyRequest request) Retrieves a `NetworkPolicy` resource by its resource name.getNode(GetNodeRequest request) Gets details of a single node.getNodeType(GetNodeTypeRequest request) Gets details of a single `NodeType`.getPrivateCloud(GetPrivateCloudRequest request) Retrieves a `PrivateCloud` resource by its resource name.Retrieves a `PrivateConnection` resource by its resource name.getSubnet(GetSubnetRequest request) Gets details of a single subnet.Retrieves a `VmwareEngineNetwork` resource by its resource name.Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project.listClusters(ListClustersRequest request) Lists `Cluster` resources in a given private cloud.Lists `ExternalAccessRule` resources in the specified network policy.Lists external IP addresses assigned to VMware workload VMs in a given private cloud.Lists `HcxActivationKey` resources in a given private cloud.Lists logging servers configured for a given private cloud.Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.Lists `NetworkPeering` resources in a given project.Lists `NetworkPolicy` resources in a specified project and location.listNodes(ListNodesRequest request) Lists nodes in a given cluster.listNodeTypes(ListNodeTypesRequest request) Lists node typesLists the network peering routes exchanged over a peering connection.Lists `PrivateCloud` resources in a given project and location.Lists the private connection routes exchanged over a peering connection.Lists `PrivateConnection` resources in a given project and location.listSubnets(ListSubnetsRequest request) Lists subnets in a given private cloud.Lists `VmwareEngineNetwork` resources in a given project and location.Retries to create a `ManagementDnsZoneBinding` resource that is in failed state.Resets credentials of the NSX appliance.Resets credentials of the Vcenter appliance.Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project.Gets details of credentials for NSX appliance.Gets details of credentials for Vcenter appliance.Restores a private cloud that was previously scheduled for deletion by `DeletePrivateCloud`.updateCluster(UpdateClusterRequest request) Modifies a `Cluster` resource.Updates the parameters of the `DnsForwarding` config, like associated domains.Updates the parameters of a single external access rule.Updates the parameters of a single external IP address.Updates the parameters of a single logging server.Updates a `ManagementDnsZoneBinding` resource.Modifies a `NetworkPeering` resource.Modifies a `NetworkPolicy` resource.Modifies a `PrivateCloud` resource.Modifies a `PrivateConnection` resource.updateSubnet(UpdateSubnetRequest request) Updates the parameters of a single subnet.Modifies a VMware Engine network resource.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected VmwareEngineGrpc.VmwareEngineBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<VmwareEngineGrpc.VmwareEngineBlockingV2Stub>
-
listPrivateClouds
public ListPrivateCloudsResponse listPrivateClouds(ListPrivateCloudsRequest request) throws io.grpc.StatusException Lists `PrivateCloud` resources in a given project and location.
- Throws:
io.grpc.StatusException
-
getPrivateCloud
Retrieves a `PrivateCloud` resource by its resource name.
- Throws:
io.grpc.StatusException
-
createPrivateCloud
public Operation createPrivateCloud(CreatePrivateCloudRequest request) throws io.grpc.StatusException Creates a new `PrivateCloud` resource in a given project and location. Private clouds of type `STANDARD` and `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are regional. Creating a private cloud also creates a [management cluster](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components) for that private cloud.
- Throws:
io.grpc.StatusException
-
updatePrivateCloud
public Operation updatePrivateCloud(UpdatePrivateCloudRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
deletePrivateCloud
public Operation deletePrivateCloud(DeletePrivateCloudRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
undeletePrivateCloud
public Operation undeletePrivateCloud(UndeletePrivateCloudRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
listClusters
public ListClustersResponse listClusters(ListClustersRequest request) throws io.grpc.StatusException Lists `Cluster` resources in a given private cloud.
- Throws:
io.grpc.StatusException
-
getCluster
Retrieves a `Cluster` resource by its resource name.
- Throws:
io.grpc.StatusException
-
createCluster
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).
- Throws:
io.grpc.StatusException
-
updateCluster
Modifies a `Cluster` resource. 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.
- Throws:
io.grpc.StatusException
-
deleteCluster
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.
- Throws:
io.grpc.StatusException
-
listNodes
Lists nodes in a given cluster.
- Throws:
io.grpc.StatusException
-
getNode
Gets details of a single node.
- Throws:
io.grpc.StatusException
-
listExternalAddresses
public ListExternalAddressesResponse listExternalAddresses(ListExternalAddressesRequest request) throws io.grpc.StatusException Lists external IP addresses assigned to VMware workload VMs in a given private cloud.
- Throws:
io.grpc.StatusException
-
fetchNetworkPolicyExternalAddresses
public FetchNetworkPolicyExternalAddressesResponse fetchNetworkPolicyExternalAddresses(FetchNetworkPolicyExternalAddressesRequest request) throws io.grpc.StatusException Lists external IP addresses assigned to VMware workload VMs within the scope of the given network policy.
- Throws:
io.grpc.StatusException
-
getExternalAddress
public ExternalAddress getExternalAddress(GetExternalAddressRequest request) throws io.grpc.StatusException Gets details of a single external IP address.
- Throws:
io.grpc.StatusException
-
createExternalAddress
public Operation createExternalAddress(CreateExternalAddressRequest request) throws io.grpc.StatusException Creates a new `ExternalAddress` resource in a given private cloud. The network policy that corresponds to the private cloud must have the external IP address network service enabled (`NetworkPolicy.external_ip`).
- Throws:
io.grpc.StatusException
-
updateExternalAddress
public Operation updateExternalAddress(UpdateExternalAddressRequest request) throws io.grpc.StatusException Updates the parameters of a single external IP address. Only fields specified in `update_mask` 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.
- Throws:
io.grpc.StatusException
-
deleteExternalAddress
public Operation deleteExternalAddress(DeleteExternalAddressRequest request) throws io.grpc.StatusException Deletes a single external IP address. When you delete an external IP address, connectivity between the external IP address and the corresponding internal IP address is lost.
- Throws:
io.grpc.StatusException
-
listSubnets
Lists subnets in a given private cloud.
- Throws:
io.grpc.StatusException
-
getSubnet
Gets details of a single subnet.
- Throws:
io.grpc.StatusException
-
updateSubnet
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.
- Throws:
io.grpc.StatusException
-
listExternalAccessRules
public ListExternalAccessRulesResponse listExternalAccessRules(ListExternalAccessRulesRequest request) throws io.grpc.StatusException Lists `ExternalAccessRule` resources in the specified network policy.
- Throws:
io.grpc.StatusException
-
getExternalAccessRule
public ExternalAccessRule getExternalAccessRule(GetExternalAccessRuleRequest request) throws io.grpc.StatusException Gets details of a single external access rule.
- Throws:
io.grpc.StatusException
-
createExternalAccessRule
public Operation createExternalAccessRule(CreateExternalAccessRuleRequest request) throws io.grpc.StatusException Creates a new external access rule in a given network policy.
- Throws:
io.grpc.StatusException
-
updateExternalAccessRule
public Operation updateExternalAccessRule(UpdateExternalAccessRuleRequest request) throws io.grpc.StatusException Updates the parameters of a single external access rule. Only fields specified in `update_mask` are applied.
- Throws:
io.grpc.StatusException
-
deleteExternalAccessRule
public Operation deleteExternalAccessRule(DeleteExternalAccessRuleRequest request) throws io.grpc.StatusException Deletes a single external access rule.
- Throws:
io.grpc.StatusException
-
listLoggingServers
public ListLoggingServersResponse listLoggingServers(ListLoggingServersRequest request) throws io.grpc.StatusException Lists logging servers configured for a given private cloud.
- Throws:
io.grpc.StatusException
-
getLoggingServer
public LoggingServer getLoggingServer(GetLoggingServerRequest request) throws io.grpc.StatusException Gets details of a logging server.
- Throws:
io.grpc.StatusException
-
createLoggingServer
public Operation createLoggingServer(CreateLoggingServerRequest request) throws io.grpc.StatusException Create a new logging server for a given private cloud.
- Throws:
io.grpc.StatusException
-
updateLoggingServer
public Operation updateLoggingServer(UpdateLoggingServerRequest request) throws io.grpc.StatusException Updates the parameters of a single logging server. Only fields specified in `update_mask` are applied.
- Throws:
io.grpc.StatusException
-
deleteLoggingServer
public Operation deleteLoggingServer(DeleteLoggingServerRequest request) throws io.grpc.StatusException Deletes a single logging server.
- Throws:
io.grpc.StatusException
-
listNodeTypes
public ListNodeTypesResponse listNodeTypes(ListNodeTypesRequest request) throws io.grpc.StatusException Lists node types
- Throws:
io.grpc.StatusException
-
getNodeType
Gets details of a single `NodeType`.
- Throws:
io.grpc.StatusException
-
showNsxCredentials
public Credentials showNsxCredentials(ShowNsxCredentialsRequest request) throws io.grpc.StatusException Gets details of credentials for NSX appliance.
- Throws:
io.grpc.StatusException
-
showVcenterCredentials
public Credentials showVcenterCredentials(ShowVcenterCredentialsRequest request) throws io.grpc.StatusException Gets details of credentials for Vcenter appliance.
- Throws:
io.grpc.StatusException
-
resetNsxCredentials
public Operation resetNsxCredentials(ResetNsxCredentialsRequest request) throws io.grpc.StatusException Resets credentials of the NSX appliance.
- Throws:
io.grpc.StatusException
-
resetVcenterCredentials
public Operation resetVcenterCredentials(ResetVcenterCredentialsRequest request) throws io.grpc.StatusException Resets credentials of the Vcenter appliance.
- Throws:
io.grpc.StatusException
-
getDnsForwarding
public DnsForwarding getDnsForwarding(GetDnsForwardingRequest request) throws io.grpc.StatusException Gets details of the `DnsForwarding` config.
- Throws:
io.grpc.StatusException
-
updateDnsForwarding
public Operation updateDnsForwarding(UpdateDnsForwardingRequest request) throws io.grpc.StatusException Updates the parameters of the `DnsForwarding` config, like associated domains. Only fields specified in `update_mask` are applied.
- Throws:
io.grpc.StatusException
-
getNetworkPeering
public NetworkPeering getNetworkPeering(GetNetworkPeeringRequest request) throws io.grpc.StatusException Retrieves a `NetworkPeering` resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state. NetworkPeering is a global resource and location can only be global.
- Throws:
io.grpc.StatusException
-
listNetworkPeerings
public ListNetworkPeeringsResponse listNetworkPeerings(ListNetworkPeeringsRequest request) throws io.grpc.StatusException Lists `NetworkPeering` resources in a given project. NetworkPeering is a global resource and location can only be global.
- Throws:
io.grpc.StatusException
-
createNetworkPeering
public Operation createNetworkPeering(CreateNetworkPeeringRequest request) throws io.grpc.StatusException Creates a new network peering between the peer network and VMware Engine network provided in a `NetworkPeering` resource. NetworkPeering is a global resource and location can only be global.
- Throws:
io.grpc.StatusException
-
deleteNetworkPeering
public Operation deleteNetworkPeering(DeleteNetworkPeeringRequest request) throws io.grpc.StatusException Deletes a `NetworkPeering` resource. When a network peering is deleted for a VMware Engine network, the peer network becomes inaccessible to that VMware Engine network. NetworkPeering is a global resource and location can only be global.
- Throws:
io.grpc.StatusException
-
updateNetworkPeering
public Operation updateNetworkPeering(UpdateNetworkPeeringRequest request) throws io.grpc.StatusException Modifies a `NetworkPeering` resource. Only the `description` field can be updated. Only fields specified in `updateMask` are applied. NetworkPeering is a global resource and location can only be global.
- Throws:
io.grpc.StatusException
-
listPeeringRoutes
public ListPeeringRoutesResponse listPeeringRoutes(ListPeeringRoutesRequest request) throws io.grpc.StatusException Lists the network peering routes exchanged over a peering connection. NetworkPeering is a global resource and location can only be global.
- Throws:
io.grpc.StatusException
-
createHcxActivationKey
public Operation createHcxActivationKey(CreateHcxActivationKeyRequest request) throws io.grpc.StatusException Creates a new HCX activation key in a given private cloud.
- Throws:
io.grpc.StatusException
-
listHcxActivationKeys
public ListHcxActivationKeysResponse listHcxActivationKeys(ListHcxActivationKeysRequest request) throws io.grpc.StatusException Lists `HcxActivationKey` resources in a given private cloud.
- Throws:
io.grpc.StatusException
-
getHcxActivationKey
public HcxActivationKey getHcxActivationKey(GetHcxActivationKeyRequest request) throws io.grpc.StatusException Retrieves a `HcxActivationKey` resource by its resource name.
- Throws:
io.grpc.StatusException
-
getNetworkPolicy
public NetworkPolicy getNetworkPolicy(GetNetworkPolicyRequest request) throws io.grpc.StatusException Retrieves a `NetworkPolicy` resource by its resource name.
- Throws:
io.grpc.StatusException
-
listNetworkPolicies
public ListNetworkPoliciesResponse listNetworkPolicies(ListNetworkPoliciesRequest request) throws io.grpc.StatusException Lists `NetworkPolicy` resources in a specified project and location.
- Throws:
io.grpc.StatusException
-
createNetworkPolicy
public Operation createNetworkPolicy(CreateNetworkPolicyRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
updateNetworkPolicy
public Operation updateNetworkPolicy(UpdateNetworkPolicyRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
deleteNetworkPolicy
public Operation deleteNetworkPolicy(DeleteNetworkPolicyRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
listManagementDnsZoneBindings
public ListManagementDnsZoneBindingsResponse listManagementDnsZoneBindings(ListManagementDnsZoneBindingsRequest request) throws io.grpc.StatusException Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.
- Throws:
io.grpc.StatusException
-
getManagementDnsZoneBinding
public ManagementDnsZoneBinding getManagementDnsZoneBinding(GetManagementDnsZoneBindingRequest request) throws io.grpc.StatusException Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.
- Throws:
io.grpc.StatusException
-
createManagementDnsZoneBinding
public Operation createManagementDnsZoneBinding(CreateManagementDnsZoneBindingRequest request) throws io.grpc.StatusException Creates a new `ManagementDnsZoneBinding` resource in a private cloud. This RPC creates the DNS binding and the resource that represents the DNS binding of the consumer VPC network to the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.
- Throws:
io.grpc.StatusException
-
updateManagementDnsZoneBinding
public Operation updateManagementDnsZoneBinding(UpdateManagementDnsZoneBindingRequest request) throws io.grpc.StatusException Updates a `ManagementDnsZoneBinding` resource. Only fields specified in `update_mask` are applied.
- Throws:
io.grpc.StatusException
-
deleteManagementDnsZoneBinding
public Operation deleteManagementDnsZoneBinding(DeleteManagementDnsZoneBindingRequest request) throws io.grpc.StatusException Deletes a `ManagementDnsZoneBinding` resource. When a management DNS zone binding is deleted, the corresponding consumer VPC network is no longer bound to the management DNS zone.
- Throws:
io.grpc.StatusException
-
repairManagementDnsZoneBinding
public Operation repairManagementDnsZoneBinding(RepairManagementDnsZoneBindingRequest request) throws io.grpc.StatusException Retries to create a `ManagementDnsZoneBinding` resource that is in failed state.
- Throws:
io.grpc.StatusException
-
createVmwareEngineNetwork
public Operation createVmwareEngineNetwork(CreateVmwareEngineNetworkRequest request) throws io.grpc.StatusException Creates a new VMware Engine network that can be used by a private cloud.
- Throws:
io.grpc.StatusException
-
updateVmwareEngineNetwork
public Operation updateVmwareEngineNetwork(UpdateVmwareEngineNetworkRequest request) throws io.grpc.StatusException Modifies a VMware Engine network resource. Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied.
- Throws:
io.grpc.StatusException
-
deleteVmwareEngineNetwork
public Operation deleteVmwareEngineNetwork(DeleteVmwareEngineNetworkRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
getVmwareEngineNetwork
public VmwareEngineNetwork getVmwareEngineNetwork(GetVmwareEngineNetworkRequest request) throws io.grpc.StatusException 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`).
- Throws:
io.grpc.StatusException
-
listVmwareEngineNetworks
public ListVmwareEngineNetworksResponse listVmwareEngineNetworks(ListVmwareEngineNetworksRequest request) throws io.grpc.StatusException Lists `VmwareEngineNetwork` resources in a given project and location.
- Throws:
io.grpc.StatusException
-
createPrivateConnection
public Operation createPrivateConnection(CreatePrivateConnectionRequest request) throws io.grpc.StatusException Creates a new private connection that can be used for accessing private Clouds.
- Throws:
io.grpc.StatusException
-
getPrivateConnection
public PrivateConnection getPrivateConnection(GetPrivateConnectionRequest request) throws io.grpc.StatusException Retrieves a `PrivateConnection` resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state.
- Throws:
io.grpc.StatusException
-
listPrivateConnections
public ListPrivateConnectionsResponse listPrivateConnections(ListPrivateConnectionsRequest request) throws io.grpc.StatusException Lists `PrivateConnection` resources in a given project and location.
- Throws:
io.grpc.StatusException
-
updatePrivateConnection
public Operation updatePrivateConnection(UpdatePrivateConnectionRequest request) throws io.grpc.StatusException Modifies a `PrivateConnection` resource. Only `description` and `routing_mode` fields can be updated. Only fields specified in `updateMask` are applied.
- Throws:
io.grpc.StatusException
-
deletePrivateConnection
public Operation deletePrivateConnection(DeletePrivateConnectionRequest request) throws io.grpc.StatusException 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.
- Throws:
io.grpc.StatusException
-
listPrivateConnectionPeeringRoutes
public ListPrivateConnectionPeeringRoutesResponse listPrivateConnectionPeeringRoutes(ListPrivateConnectionPeeringRoutesRequest request) throws io.grpc.StatusException Lists the private connection routes exchanged over a peering connection.
- Throws:
io.grpc.StatusException
-
grantDnsBindPermission
public Operation grantDnsBindPermission(GrantDnsBindPermissionRequest request) throws io.grpc.StatusException Grants the bind permission to the customer provided principal(user / service account) to bind their DNS zone with the intranet VPC associated with the project. DnsBindPermission is a global resource and location can only be global.
- Throws:
io.grpc.StatusException
-
getDnsBindPermission
public DnsBindPermission getDnsBindPermission(GetDnsBindPermissionRequest request) throws io.grpc.StatusException Gets all the principals having bind permission on the intranet VPC associated with the consumer project granted by the Grant API. DnsBindPermission is a global resource and location can only be global.
- Throws:
io.grpc.StatusException
-
revokeDnsBindPermission
public Operation revokeDnsBindPermission(RevokeDnsBindPermissionRequest request) throws io.grpc.StatusException Revokes the bind permission from the customer provided principal(user / service account) on the intranet VPC associated with the consumer project. DnsBindPermission is a global resource and location can only be global.
- Throws:
io.grpc.StatusException
-