Package namespace.cloud.network.v1beta
Class EgressPolicyServiceGrpc.EgressPolicyServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<EgressPolicyServiceGrpc.EgressPolicyServiceBlockingStub>
io.grpc.stub.AbstractBlockingStub<EgressPolicyServiceGrpc.EgressPolicyServiceBlockingStub>
namespace.cloud.network.v1beta.EgressPolicyServiceGrpc.EgressPolicyServiceBlockingStub
- Enclosing class:
EgressPolicyServiceGrpc
public static final class EgressPolicyServiceGrpc.EgressPolicyServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<EgressPolicyServiceGrpc.EgressPolicyServiceBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service EgressPolicyService.
EgressPolicyService manages workspace-wide egress policies that can be applied to compute instances and other workloads by tag. ## Access This service is available at the global endpoint: ``` https://global.namespaceapis.com:443 ``` ## Authentication Calls require a tenant token passed as a Bearer token.
-
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) Creates a new egress policy.Returns an egress policy by tag.Lists all egress policies in the workspace.Replaces an existing egress policy.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 EgressPolicyServiceGrpc.EgressPolicyServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EgressPolicyServiceGrpc.EgressPolicyServiceBlockingStub>
-
createEgressPolicy
public Egress.CreateEgressPolicyResponse createEgressPolicy(Egress.CreateEgressPolicyRequest request) Creates a new egress policy. The policy tag must be unique within the workspace.
-
updateEgressPolicy
public Egress.UpdateEgressPolicyResponse updateEgressPolicy(Egress.UpdateEgressPolicyRequest request) Replaces an existing egress policy.
-
getEgressPolicy
Returns an egress policy by tag.
-
listEgressPolicies
public Egress.ListEgressPoliciesResponse listEgressPolicies(Egress.ListEgressPoliciesRequest request) Lists all egress policies in the workspace.
-