Package namespace.cloud.network.v1beta
Class EgressPolicyServiceGrpc.EgressPolicyServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<EgressPolicyServiceGrpc.EgressPolicyServiceBlockingV2Stub>
io.grpc.stub.AbstractBlockingStub<EgressPolicyServiceGrpc.EgressPolicyServiceBlockingV2Stub>
namespace.cloud.network.v1beta.EgressPolicyServiceGrpc.EgressPolicyServiceBlockingV2Stub
- Enclosing class:
EgressPolicyServiceGrpc
public static final class EgressPolicyServiceGrpc.EgressPolicyServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<EgressPolicyServiceGrpc.EgressPolicyServiceBlockingV2Stub>
A stub to allow clients to do 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.EgressPolicyServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<EgressPolicyServiceGrpc.EgressPolicyServiceBlockingV2Stub>
-
createEgressPolicy
public Egress.CreateEgressPolicyResponse createEgressPolicy(Egress.CreateEgressPolicyRequest request) throws io.grpc.StatusException Creates a new egress policy. The policy tag must be unique within the workspace.
- Throws:
io.grpc.StatusException
-
updateEgressPolicy
public Egress.UpdateEgressPolicyResponse updateEgressPolicy(Egress.UpdateEgressPolicyRequest request) throws io.grpc.StatusException Replaces an existing egress policy.
- Throws:
io.grpc.StatusException
-
getEgressPolicy
public Egress.GetEgressPolicyResponse getEgressPolicy(Egress.GetEgressPolicyRequest request) throws io.grpc.StatusException Returns an egress policy by tag.
- Throws:
io.grpc.StatusException
-
listEgressPolicies
public Egress.ListEgressPoliciesResponse listEgressPolicies(Egress.ListEgressPoliciesRequest request) throws io.grpc.StatusException Lists all egress policies in the workspace.
- Throws:
io.grpc.StatusException
-