Class VirtualNetworkAsyncClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseAsyncClient
-
- com.oracle.bmc.core.VirtualNetworkAsyncClient
-
- All Implemented Interfaces:
VirtualNetworkAsync,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class VirtualNetworkAsyncClient extends BaseAsyncClient implements VirtualNetworkAsyncAsync client implementation for VirtualNetwork service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response to the call is anInputStream, like getObject Api in object storage service, developers need to process the stream in AsyncHandler, and not anywhere else, because the stream will be closed right after the AsyncHandler is invoked.
2. Use Java Future: using Java Future, developers need to close the stream after they are done with the Java Future.
Accessing the result should be done in a mutually exclusive manner, either through the Future or the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine whether or not the request was completed via Future.isDone/isCancelled.
Please refer to https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVirtualNetworkAsyncClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for VirtualNetwork.
-
Constructor Summary
Constructors Constructor Description VirtualNetworkAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.VirtualNetworkAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.VirtualNetworkAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.VirtualNetworkAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.VirtualNetworkAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.VirtualNetworkAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.VirtualNetworkAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.core.VirtualNetworkAsync
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
VirtualNetworkAsyncClient
@Deprecated public VirtualNetworkAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeVirtualNetworkAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
VirtualNetworkAsyncClient
@Deprecated public VirtualNetworkAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeVirtualNetworkAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
VirtualNetworkAsyncClient
@Deprecated public VirtualNetworkAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeVirtualNetworkAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
VirtualNetworkAsyncClient
@Deprecated public VirtualNetworkAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeVirtualNetworkAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
VirtualNetworkAsyncClient
@Deprecated public VirtualNetworkAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeVirtualNetworkAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
VirtualNetworkAsyncClient
@Deprecated public VirtualNetworkAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeVirtualNetworkAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
VirtualNetworkAsyncClient
@Deprecated public VirtualNetworkAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeVirtualNetworkAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
-
Method Detail
-
builder
public static VirtualNetworkAsyncClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:VirtualNetworkAsyncSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this region, however, an IllegalArgumentException will be raised.- Specified by:
setRegionin interfaceVirtualNetworkAsync- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:VirtualNetworkAsyncSets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Specified by:
setRegionin interfaceVirtualNetworkAsync- Parameters:
regionId- The public region ID.
-
addDrgRouteDistributionStatements
public Future<AddDrgRouteDistributionStatementsResponse> addDrgRouteDistributionStatements(AddDrgRouteDistributionStatementsRequest request, AsyncHandler<AddDrgRouteDistributionStatementsRequest,AddDrgRouteDistributionStatementsResponse> handler)
Description copied from interface:VirtualNetworkAsyncAdds one or more route distribution statements to the specified route distribution.- Specified by:
addDrgRouteDistributionStatementsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addDrgRouteRules
public Future<AddDrgRouteRulesResponse> addDrgRouteRules(AddDrgRouteRulesRequest request, AsyncHandler<AddDrgRouteRulesRequest,AddDrgRouteRulesResponse> handler)
Description copied from interface:VirtualNetworkAsyncAdds one or more static route rules to the specified DRG route table.- Specified by:
addDrgRouteRulesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addIpv6SubnetCidr
public Future<AddIpv6SubnetCidrResponse> addIpv6SubnetCidr(AddIpv6SubnetCidrRequest request, AsyncHandler<AddIpv6SubnetCidrRequest,AddIpv6SubnetCidrResponse> handler)
Description copied from interface:VirtualNetworkAsyncAdd an IPv6 prefix to a subnet.- Specified by:
addIpv6SubnetCidrin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addIpv6VcnCidr
public Future<AddIpv6VcnCidrResponse> addIpv6VcnCidr(AddIpv6VcnCidrRequest request, AsyncHandler<AddIpv6VcnCidrRequest,AddIpv6VcnCidrResponse> handler)
Description copied from interface:VirtualNetworkAsyncAdd an IPv6 prefix to a VCN.The VCN size is always /56 and assigned by Oracle. Once added the IPv6 prefix cannot be removed or modified.
- Specified by:
addIpv6VcnCidrin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addNetworkSecurityGroupSecurityRules
public Future<AddNetworkSecurityGroupSecurityRulesResponse> addNetworkSecurityGroupSecurityRules(AddNetworkSecurityGroupSecurityRulesRequest request, AsyncHandler<AddNetworkSecurityGroupSecurityRulesRequest,AddNetworkSecurityGroupSecurityRulesResponse> handler)
Description copied from interface:VirtualNetworkAsyncAdds up to 25 security rules to the specified network security group.Adding more than 25 rules requires multiple operations.
- Specified by:
addNetworkSecurityGroupSecurityRulesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addPublicIpPoolCapacity
public Future<AddPublicIpPoolCapacityResponse> addPublicIpPoolCapacity(AddPublicIpPoolCapacityRequest request, AsyncHandler<AddPublicIpPoolCapacityRequest,AddPublicIpPoolCapacityResponse> handler)
Description copied from interface:VirtualNetworkAsyncAdds some or all of a CIDR block to a public IP pool.The CIDR block (or subrange) must not overlap with any other CIDR block already added to this or any other public IP pool.
- Specified by:
addPublicIpPoolCapacityin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
addVcnCidr
public Future<AddVcnCidrResponse> addVcnCidr(AddVcnCidrRequest request, AsyncHandler<AddVcnCidrRequest,AddVcnCidrResponse> handler)
Description copied from interface:VirtualNetworkAsyncAdds a CIDR block to a VCN.The CIDR block you add:
- Must be valid. - Must not overlap with another CIDR block in the VCN, a CIDR block of a peered VCN, or the on-premises network CIDR block. - Must not exceed the limit of CIDR blocks allowed per VCN.
*Note:** Adding a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can take a few minutes. You can use the `GetWorkRequest` operation to check the status of the update.
- Specified by:
addVcnCidrin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
advertiseByoipRange
public Future<AdvertiseByoipRangeResponse> advertiseByoipRange(AdvertiseByoipRangeRequest request, AsyncHandler<AdvertiseByoipRangeRequest,AdvertiseByoipRangeResponse> handler)
Description copied from interface:VirtualNetworkAsyncBegins BGP route advertisements for the BYOIP CIDR block you imported to the Oracle Cloud.The
ByoipRangeresource must be in the PROVISIONED state before the BYOIP CIDR block routes can be advertised with BGP.- Specified by:
advertiseByoipRangein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
attachServiceId
public Future<AttachServiceIdResponse> attachServiceId(AttachServiceIdRequest request, AsyncHandler<AttachServiceIdRequest,AttachServiceIdResponse> handler)
Description copied from interface:VirtualNetworkAsyncAdds the specifiedServiceto the list of enabledServiceobjects for the specified gateway.You must also set up a route rule with the
cidrBlockof theServiceas the rule’s destination and the service gateway as the rule’s target. SeeRouteTable.*Note:** The `AttachServiceId` operation is an easy way to add an individual `Service` to the service gateway. Compare it with
updateServiceGateway, which replaces the entire existing list of enabled `Service` objects with the list that you provide in the `Update` call.- Specified by:
attachServiceIdin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
bulkAddVirtualCircuitPublicPrefixes
public Future<BulkAddVirtualCircuitPublicPrefixesResponse> bulkAddVirtualCircuitPublicPrefixes(BulkAddVirtualCircuitPublicPrefixesRequest request, AsyncHandler<BulkAddVirtualCircuitPublicPrefixesRequest,BulkAddVirtualCircuitPublicPrefixesResponse> handler)
Description copied from interface:VirtualNetworkAsyncAdds one or more customer public IP prefixes to the specified public virtual circuit.Use this operation (and not
updateVirtualCircuit) to add prefixes to the virtual circuit. Oracle must verify the customer’s ownership of each prefix before traffic for that prefix will flow across the virtual circuit.- Specified by:
bulkAddVirtualCircuitPublicPrefixesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
bulkDeleteVirtualCircuitPublicPrefixes
public Future<BulkDeleteVirtualCircuitPublicPrefixesResponse> bulkDeleteVirtualCircuitPublicPrefixes(BulkDeleteVirtualCircuitPublicPrefixesRequest request, AsyncHandler<BulkDeleteVirtualCircuitPublicPrefixesRequest,BulkDeleteVirtualCircuitPublicPrefixesResponse> handler)
Description copied from interface:VirtualNetworkAsyncRemoves one or more customer public IP prefixes from the specified public virtual circuit.Use this operation (and not
updateVirtualCircuit) to remove prefixes from the virtual circuit. When the virtual circuit’s state switches back to PROVISIONED, Oracle stops advertising the specified prefixes across the connection.- Specified by:
bulkDeleteVirtualCircuitPublicPrefixesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeByoasnCompartment
public Future<ChangeByoasnCompartmentResponse> changeByoasnCompartment(ChangeByoasnCompartmentRequest request, AsyncHandler<ChangeByoasnCompartmentRequest,ChangeByoasnCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a BYOASN Resource to a different compartment.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeByoasnCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeByoipRangeCompartment
public Future<ChangeByoipRangeCompartmentResponse> changeByoipRangeCompartment(ChangeByoipRangeCompartmentRequest request, AsyncHandler<ChangeByoipRangeCompartmentRequest,ChangeByoipRangeCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a BYOIP CIDR block to a different compartment.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeByoipRangeCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeCaptureFilterCompartment
public Future<ChangeCaptureFilterCompartmentResponse> changeCaptureFilterCompartment(ChangeCaptureFilterCompartmentRequest request, AsyncHandler<ChangeCaptureFilterCompartmentRequest,ChangeCaptureFilterCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a capture filter to a new compartment in the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeCaptureFilterCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeCpeCompartment
public Future<ChangeCpeCompartmentResponse> changeCpeCompartment(ChangeCpeCompartmentRequest request, AsyncHandler<ChangeCpeCompartmentRequest,ChangeCpeCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a CPE object into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeCpeCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeCrossConnectCompartment
public Future<ChangeCrossConnectCompartmentResponse> changeCrossConnectCompartment(ChangeCrossConnectCompartmentRequest request, AsyncHandler<ChangeCrossConnectCompartmentRequest,ChangeCrossConnectCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a cross-connect into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeCrossConnectCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeCrossConnectGroupCompartment
public Future<ChangeCrossConnectGroupCompartmentResponse> changeCrossConnectGroupCompartment(ChangeCrossConnectGroupCompartmentRequest request, AsyncHandler<ChangeCrossConnectGroupCompartmentRequest,ChangeCrossConnectGroupCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a cross-connect group into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeCrossConnectGroupCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeDhcpOptionsCompartment
public Future<ChangeDhcpOptionsCompartmentResponse> changeDhcpOptionsCompartment(ChangeDhcpOptionsCompartmentRequest request, AsyncHandler<ChangeDhcpOptionsCompartmentRequest,ChangeDhcpOptionsCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a set of DHCP options into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeDhcpOptionsCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeDrgCompartment
public Future<ChangeDrgCompartmentResponse> changeDrgCompartment(ChangeDrgCompartmentRequest request, AsyncHandler<ChangeDrgCompartmentRequest,ChangeDrgCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a DRG into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeDrgCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeIPSecConnectionCompartment
public Future<ChangeIPSecConnectionCompartmentResponse> changeIPSecConnectionCompartment(ChangeIPSecConnectionCompartmentRequest request, AsyncHandler<ChangeIPSecConnectionCompartmentRequest,ChangeIPSecConnectionCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves an IPSec connection into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeIPSecConnectionCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeInternetGatewayCompartment
public Future<ChangeInternetGatewayCompartmentResponse> changeInternetGatewayCompartment(ChangeInternetGatewayCompartmentRequest request, AsyncHandler<ChangeInternetGatewayCompartmentRequest,ChangeInternetGatewayCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves an internet gateway into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeInternetGatewayCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeLocalPeeringGatewayCompartment
public Future<ChangeLocalPeeringGatewayCompartmentResponse> changeLocalPeeringGatewayCompartment(ChangeLocalPeeringGatewayCompartmentRequest request, AsyncHandler<ChangeLocalPeeringGatewayCompartmentRequest,ChangeLocalPeeringGatewayCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a local peering gateway into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeLocalPeeringGatewayCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeNatGatewayCompartment
public Future<ChangeNatGatewayCompartmentResponse> changeNatGatewayCompartment(ChangeNatGatewayCompartmentRequest request, AsyncHandler<ChangeNatGatewayCompartmentRequest,ChangeNatGatewayCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a NAT gateway into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeNatGatewayCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeNetworkSecurityGroupCompartment
public Future<ChangeNetworkSecurityGroupCompartmentResponse> changeNetworkSecurityGroupCompartment(ChangeNetworkSecurityGroupCompartmentRequest request, AsyncHandler<ChangeNetworkSecurityGroupCompartmentRequest,ChangeNetworkSecurityGroupCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a network security group into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeNetworkSecurityGroupCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changePublicIpCompartment
public Future<ChangePublicIpCompartmentResponse> changePublicIpCompartment(ChangePublicIpCompartmentRequest request, AsyncHandler<ChangePublicIpCompartmentRequest,ChangePublicIpCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a public IP into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
This operation applies only to reserved public IPs. Ephemeral public IPs always belong to the same compartment as their VNIC and move accordingly.
- Specified by:
changePublicIpCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changePublicIpPoolCompartment
public Future<ChangePublicIpPoolCompartmentResponse> changePublicIpPoolCompartment(ChangePublicIpPoolCompartmentRequest request, AsyncHandler<ChangePublicIpPoolCompartmentRequest,ChangePublicIpPoolCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a public IP pool to a different compartment.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changePublicIpPoolCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeRemotePeeringConnectionCompartment
public Future<ChangeRemotePeeringConnectionCompartmentResponse> changeRemotePeeringConnectionCompartment(ChangeRemotePeeringConnectionCompartmentRequest request, AsyncHandler<ChangeRemotePeeringConnectionCompartmentRequest,ChangeRemotePeeringConnectionCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a remote peering connection (RPC) into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeRemotePeeringConnectionCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeRouteTableCompartment
public Future<ChangeRouteTableCompartmentResponse> changeRouteTableCompartment(ChangeRouteTableCompartmentRequest request, AsyncHandler<ChangeRouteTableCompartmentRequest,ChangeRouteTableCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a route table into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeRouteTableCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeSecurityListCompartment
public Future<ChangeSecurityListCompartmentResponse> changeSecurityListCompartment(ChangeSecurityListCompartmentRequest request, AsyncHandler<ChangeSecurityListCompartmentRequest,ChangeSecurityListCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a security list into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeSecurityListCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeServiceGatewayCompartment
public Future<ChangeServiceGatewayCompartmentResponse> changeServiceGatewayCompartment(ChangeServiceGatewayCompartmentRequest request, AsyncHandler<ChangeServiceGatewayCompartmentRequest,ChangeServiceGatewayCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a service gateway into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeServiceGatewayCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeSubnetCompartment
public Future<ChangeSubnetCompartmentResponse> changeSubnetCompartment(ChangeSubnetCompartmentRequest request, AsyncHandler<ChangeSubnetCompartmentRequest,ChangeSubnetCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a subnet into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeSubnetCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeVcnCompartment
public Future<ChangeVcnCompartmentResponse> changeVcnCompartment(ChangeVcnCompartmentRequest request, AsyncHandler<ChangeVcnCompartmentRequest,ChangeVcnCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a VCN into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeVcnCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeVirtualCircuitCompartment
public Future<ChangeVirtualCircuitCompartmentResponse> changeVirtualCircuitCompartment(ChangeVirtualCircuitCompartmentRequest request, AsyncHandler<ChangeVirtualCircuitCompartmentRequest,ChangeVirtualCircuitCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a virtual circuit into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeVirtualCircuitCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeVlanCompartment
public Future<ChangeVlanCompartmentResponse> changeVlanCompartment(ChangeVlanCompartmentRequest request, AsyncHandler<ChangeVlanCompartmentRequest,ChangeVlanCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a VLAN into a different compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeVlanCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
changeVtapCompartment
public Future<ChangeVtapCompartmentResponse> changeVtapCompartment(ChangeVtapCompartmentRequest request, AsyncHandler<ChangeVtapCompartmentRequest,ChangeVtapCompartmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncMoves a VTAP to a new compartment within the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeVtapCompartmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
connectLocalPeeringGateways
public Future<ConnectLocalPeeringGatewaysResponse> connectLocalPeeringGateways(ConnectLocalPeeringGatewaysRequest request, AsyncHandler<ConnectLocalPeeringGatewaysRequest,ConnectLocalPeeringGatewaysResponse> handler)
Description copied from interface:VirtualNetworkAsyncConnects this local peering gateway (LPG) to another one in the same region.This operation must be called by the VCN administrator who is designated as the *requestor* in the peering relationship. The *acceptor* must implement an Identity and Access Management (IAM) policy that gives the requestor permission to connect to LPGs in the acceptor's compartment. Without that permission, this operation will fail. For more information, see [VCN Peering](https://docs.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm).
- Specified by:
connectLocalPeeringGatewaysin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
connectRemotePeeringConnections
public Future<ConnectRemotePeeringConnectionsResponse> connectRemotePeeringConnections(ConnectRemotePeeringConnectionsRequest request, AsyncHandler<ConnectRemotePeeringConnectionsRequest,ConnectRemotePeeringConnectionsResponse> handler)
Description copied from interface:VirtualNetworkAsyncConnects this RPC to another one in a different region.This operation must be called by the VCN administrator who is designated as the *requestor* in the peering relationship. The *acceptor* must implement an Identity and Access Management (IAM) policy that gives the requestor permission to connect to RPCs in the acceptor's compartment. Without that permission, this operation will fail. For more information, see [VCN Peering](https://docs.oracle.com/iaas/Content/Network/Tasks/VCNpeering.htm).
- Specified by:
connectRemotePeeringConnectionsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createByoasn
public Future<CreateByoasnResponse> createByoasn(CreateByoasnRequest request, AsyncHandler<CreateByoasnRequest,CreateByoasnResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a BYOASN Resource- Specified by:
createByoasnin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createByoipRange
public Future<CreateByoipRangeResponse> createByoipRange(CreateByoipRangeRequest request, AsyncHandler<CreateByoipRangeRequest,CreateByoipRangeResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a subrange of the BYOIP CIDR block.- Specified by:
createByoipRangein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createCaptureFilter
public Future<CreateCaptureFilterResponse> createCaptureFilter(CreateCaptureFilterRequest request, AsyncHandler<CreateCaptureFilterRequest,CreateCaptureFilterResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a virtual test access point (VTAP) capture filter in the specified compartment.For the purposes of access control, you must provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the VTAP. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see [Resource Identifiers](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
You may optionally specify a *display name* for the VTAP, otherwise a default is provided. It does not have to be unique, and you can change it.
- Specified by:
createCaptureFilterin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createCpe
public Future<CreateCpeResponse> createCpe(CreateCpeRequest request, AsyncHandler<CreateCpeRequest,CreateCpeResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new virtual customer-premises equipment (CPE) object in the specified compartment.For more information, see Site-to-Site VPN Overview.
For the purposes of access control, you must provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the CPE to reside. Notice that the CPE doesn't have to be in the same compartment as the IPSec connection or other Networking Service components. If you're not sure which compartment to use, put the CPE in the same compartment as the DRG. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see [Resource Identifiers](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
You must provide the public IP address of your on-premises router. See [CPE Configuration](https://docs.oracle.com/iaas/Content/Network/Tasks/configuringCPE.htm).
You may optionally specify a *display name* for the CPE, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.
- Specified by:
createCpein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createCrossConnect
public Future<CreateCrossConnectResponse> createCrossConnect(CreateCrossConnectRequest request, AsyncHandler<CreateCrossConnectRequest,CreateCrossConnectResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new cross-connect.Oracle recommends you create each cross-connect in a
CrossConnectGroupso you can use link aggregation with the connection.After creating the `CrossConnect` object, you need to go the FastConnect location and request to have the physical cable installed. For more information, see [FastConnect Overview](https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).
For the purposes of access control, you must provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the cross-connect to reside. If you're not sure which compartment to use, put the cross-connect in the same compartment with your VCN. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see [Resource Identifiers](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
You may optionally specify a *display name* for the cross-connect. It does not have to be unique, and you can change it. Avoid entering confidential information.
- Specified by:
createCrossConnectin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createCrossConnectGroup
public Future<CreateCrossConnectGroupResponse> createCrossConnectGroup(CreateCrossConnectGroupRequest request, AsyncHandler<CreateCrossConnectGroupRequest,CreateCrossConnectGroupResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new cross-connect group to use with Oracle Cloud Infrastructure FastConnect.For more information, see FastConnect Overview.
For the purposes of access control, you must provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the cross-connect group to reside. If you're not sure which compartment to use, put the cross-connect group in the same compartment with your VCN. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see [Resource Identifiers](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
You may optionally specify a *display name* for the cross-connect group. It does not have to be unique, and you can change it. Avoid entering confidential information.
- Specified by:
createCrossConnectGroupin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createDhcpOptions
public Future<CreateDhcpOptionsResponse> createDhcpOptions(CreateDhcpOptionsRequest request, AsyncHandler<CreateDhcpOptionsRequest,CreateDhcpOptionsResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new set of DHCP options for the specified VCN.For more information, see
DhcpOptions.For the purposes of access control, you must provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the set of DHCP options to reside. Notice that the set of options doesn't have to be in the same compartment as the VCN, subnets, or other Networking Service components. If you're not sure which compartment to use, put the set of DHCP options in the same compartment as the VCN. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see [Resource Identifiers](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
You may optionally specify a *display name* for the set of DHCP options, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.
- Specified by:
createDhcpOptionsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createDrg
public Future<CreateDrgResponse> createDrg(CreateDrgRequest request, AsyncHandler<CreateDrgRequest,CreateDrgResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new dynamic routing gateway (DRG) in the specified compartment.For more information, see Dynamic Routing Gateways (DRGs).
For the purposes of access control, you must provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the DRG to reside. Notice that the DRG doesn't have to be in the same compartment as the VCN, the DRG attachment, or other Networking Service components. If you're not sure which compartment to use, put the DRG in the same compartment as the VCN. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see [Resource Identifiers](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
You may optionally specify a *display name* for the DRG, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.
- Specified by:
createDrgin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createDrgAttachment
public Future<CreateDrgAttachmentResponse> createDrgAttachment(CreateDrgAttachmentRequest request, AsyncHandler<CreateDrgAttachmentRequest,CreateDrgAttachmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncAttaches the specified DRG to the specified network resource.A VCN can be attached to only one DRG at a time, but a DRG can be attached to more than one VCN. The response includes a
DrgAttachmentobject with its own OCID. For more information about DRGs, see Dynamic Routing Gateways (DRGs).You may optionally specify a *display name* for the attachment, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.
For the purposes of access control, the DRG attachment is automatically placed into the currently selected compartment. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
- Specified by:
createDrgAttachmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createDrgRouteDistribution
public Future<CreateDrgRouteDistributionResponse> createDrgRouteDistribution(CreateDrgRouteDistributionRequest request, AsyncHandler<CreateDrgRouteDistributionRequest,CreateDrgRouteDistributionResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new route distribution for the specified DRG.Assign the route distribution as an import distribution to a DRG route table using the
UpdateDrgRouteTableorCreateDrgRouteTableoperations. Assign the route distribution as an export distribution to a DRG attachment using theUpdateDrgAttachmentorCreateDrgAttachmentoperations.- Specified by:
createDrgRouteDistributionin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createDrgRouteTable
public Future<CreateDrgRouteTableResponse> createDrgRouteTable(CreateDrgRouteTableRequest request, AsyncHandler<CreateDrgRouteTableRequest,CreateDrgRouteTableResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new DRG route table for the specified DRG.Assign the DRG route table to a DRG attachment using the
UpdateDrgAttachmentorCreateDrgAttachmentoperations.- Specified by:
createDrgRouteTablein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createIPSecConnection
public Future<CreateIPSecConnectionResponse> createIPSecConnection(CreateIPSecConnectionRequest request, AsyncHandler<CreateIPSecConnectionRequest,CreateIPSecConnectionResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new IPSec connection between the specified DRG and CPE.For more information, see Site-to-Site VPN Overview.
If you configure at least one tunnel to use static routing, then in the request you must provide at least one valid static route (you're allowed a maximum of 10). For example: 10.0.0.0/16. If you configure both tunnels to use BGP dynamic routing, you can provide an empty list for the static routes. For more information, see the important note in
IPSecConnection.For the purposes of access control, you must provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the IPSec connection to reside. Notice that the IPSec connection doesn't have to be in the same compartment as the DRG, CPE, or other Networking Service components. If you're not sure which compartment to use, put the IPSec connection in the same compartment as the DRG. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
You may optionally specify a *display name* for the IPSec connection, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.
After creating the IPSec connection, you need to configure your on-premises router with tunnel-specific information. For tunnel status and the required configuration information, see:
IPSecConnectionTunnel*IPSecConnectionTunnelSharedSecretFor each tunnel, you need the IP address of Oracle's VPN headend and the shared secret (that is, the pre-shared key). For more information, see [CPE Configuration](https://docs.oracle.com/iaas/Content/Network/Tasks/configuringCPE.htm).
- Specified by:
createIPSecConnectionin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createInternetGateway
public Future<CreateInternetGatewayResponse> createInternetGateway(CreateInternetGatewayRequest request, AsyncHandler<CreateInternetGatewayRequest,CreateInternetGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new internet gateway for the specified VCN.For more information, see Access to the Internet.
For the purposes of access control, you must provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the Internet Gateway to reside. Notice that the internet gateway doesn't have to be in the same compartment as the VCN or other Networking Service components. If you're not sure which compartment to use, put the Internet Gateway in the same compartment with the VCN. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm).
You may optionally specify a *display name* for the internet gateway, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.
For traffic to flow between a subnet and an internet gateway, you must create a route rule accordingly in the subnet's route table (for example, 0.0.0.0/0 > internet gateway). See
updateRouteTable.You must specify whether the internet gateway is enabled when you create it. If it's disabled, that means no traffic will flow to/from the internet even if there's a route rule that enables that traffic. You can later use
updateInternetGatewayto easily disable/enable the gateway without changing the route rule.- Specified by:
createInternetGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createIpv6
public Future<CreateIpv6Response> createIpv6(CreateIpv6Request request, AsyncHandler<CreateIpv6Request,CreateIpv6Response> handler)
Description copied from interface:VirtualNetworkAsyncCreates an IPv6 for the specified VNIC.- Specified by:
createIpv6in interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createLocalPeeringGateway
public Future<CreateLocalPeeringGatewayResponse> createLocalPeeringGateway(CreateLocalPeeringGatewayRequest request, AsyncHandler<CreateLocalPeeringGatewayRequest,CreateLocalPeeringGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new local peering gateway (LPG) for the specified VCN.- Specified by:
createLocalPeeringGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createNatGateway
public Future<CreateNatGatewayResponse> createNatGateway(CreateNatGatewayRequest request, AsyncHandler<CreateNatGatewayRequest,CreateNatGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new NAT gateway for the specified VCN.You must also set up a route rule with the NAT gateway as the rule’s target. See
RouteTable.- Specified by:
createNatGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createNetworkSecurityGroup
public Future<CreateNetworkSecurityGroupResponse> createNetworkSecurityGroup(CreateNetworkSecurityGroupRequest request, AsyncHandler<CreateNetworkSecurityGroupRequest,CreateNetworkSecurityGroupResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new network security group for the specified VCN.- Specified by:
createNetworkSecurityGroupin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createPrivateIp
public Future<CreatePrivateIpResponse> createPrivateIp(CreatePrivateIpRequest request, AsyncHandler<CreatePrivateIpRequest,CreatePrivateIpResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a private IP.For more information about private IPs, see IP Addresses.
- Specified by:
createPrivateIpin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createPublicIp
public Future<CreatePublicIpResponse> createPublicIp(CreatePublicIpRequest request, AsyncHandler<CreatePublicIpRequest,CreatePublicIpResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a public IP.Use the
lifetimeproperty to specify whether it’s an ephemeral or reserved public IP. For information about limits on how many you can create, see Public IP Addresses.**For an ephemeral public IP assigned to a private IP:** You must also specify a `privateIpId` with the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the primary private IP you want to assign the public IP to. The public IP is created in the same availability domain as the private IP. An ephemeral public IP must always be assigned to a private IP, and only to the *primary* private IP on a VNIC, not a secondary private IP. Exception: If you create a
NatGateway, Oracle automatically assigns the NAT gateway a regional ephemeral public IP that you cannot remove.**For a reserved public IP:** You may also optionally assign the public IP to a private IP by specifying `privateIpId`. Or you can later assign the public IP with
updatePublicIp.*Note:** When assigning a public IP to a private IP, the private IP must not already have a public IP with `lifecycleState` = ASSIGNING or ASSIGNED. If it does, an error is returned.
Also, for reserved public IPs, the optional assignment part of this operation is asynchronous. Poll the public IP's `lifecycleState` to determine if the assignment succeeded.
- Specified by:
createPublicIpin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createPublicIpPool
public Future<CreatePublicIpPoolResponse> createPublicIpPool(CreatePublicIpPoolRequest request, AsyncHandler<CreatePublicIpPoolRequest,CreatePublicIpPoolResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a public IP pool.- Specified by:
createPublicIpPoolin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createRemotePeeringConnection
public Future<CreateRemotePeeringConnectionResponse> createRemotePeeringConnection(CreateRemotePeeringConnectionRequest request, AsyncHandler<CreateRemotePeeringConnectionRequest,CreateRemotePeeringConnectionResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new remote peering connection (RPC) for the specified DRG.- Specified by:
createRemotePeeringConnectionin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createRouteTable
public Future<CreateRouteTableResponse> createRouteTable(CreateRouteTableRequest request, AsyncHandler<CreateRouteTableRequest,CreateRouteTableResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new route table for the specified VCN.In the request you must also include at least one route rule for the new route table. For information on the number of rules you can have in a route table, see Service Limits. For general information about route tables in your VCN and the types of targets you can use in route rules, see Route Tables.
For the purposes of access control, you must provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the route table to reside. Notice that the route table doesn't have to be in the same compartment as the VCN, subnets, or other Networking Service components. If you're not sure which compartment to use, put the route table in the same compartment as the VCN. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see [Resource Identifiers](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
You may optionally specify a *display name* for the route table, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.
- Specified by:
createRouteTablein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createSecurityList
public Future<CreateSecurityListResponse> createSecurityList(CreateSecurityListRequest request, AsyncHandler<CreateSecurityListRequest,CreateSecurityListResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new security list for the specified VCN.For more information about security lists, see Security Lists. For information on the number of rules you can have in a security list, see Service Limits.
For the purposes of access control, you must provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the security list to reside. Notice that the security list doesn't have to be in the same compartment as the VCN, subnets, or other Networking Service components. If you're not sure which compartment to use, put the security list in the same compartment as the VCN. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see [Resource Identifiers](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
You may optionally specify a *display name* for the security list, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.
- Specified by:
createSecurityListin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createServiceGateway
public Future<CreateServiceGatewayResponse> createServiceGateway(CreateServiceGatewayRequest request, AsyncHandler<CreateServiceGatewayRequest,CreateServiceGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new service gateway in the specified compartment.For the purposes of access control, you must provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the service gateway to reside. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see [Resource Identifiers](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
You may optionally specify a *display name* for the service gateway, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.
Use the
listServicesoperation to find service CIDR labels available in the region.- Specified by:
createServiceGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createSubnet
public Future<CreateSubnetResponse> createSubnet(CreateSubnetRequest request, AsyncHandler<CreateSubnetRequest,CreateSubnetResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new subnet in the specified VCN.You can’t change the size of the subnet after creation, so it’s important to think about the size of subnets you need before creating them. For more information, see VCNs and Subnets. For information on the number of subnets you can have in a VCN, see Service Limits.
For the purposes of access control, you must provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the subnet to reside. Notice that the subnet doesn't have to be in the same compartment as the VCN, route tables, or other Networking Service components. If you're not sure which compartment to use, put the subnet in the same compartment as the VCN. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see [Resource Identifiers](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
You may optionally associate a route table with the subnet. If you don't, the subnet will use the VCN's default route table. For more information about route tables, see [Route Tables](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm).
You may optionally associate a security list with the subnet. If you don't, the subnet will use the VCN's default security list. For more information about security lists, see [Security Lists](https://docs.oracle.com/iaas/Content/Network/Concepts/securitylists.htm).
You may optionally associate a set of DHCP options with the subnet. If you don't, the subnet will use the VCN's default set. For more information about DHCP options, see [DHCP Options](https://docs.oracle.com/iaas/Content/Network/Tasks/managingDHCP.htm).
You may optionally specify a *display name* for the subnet, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.
You can also add a DNS label for the subnet, which is required if you want the Internet and VCN Resolver to resolve hostnames for instances in the subnet. For more information, see [DNS in Your Virtual Cloud Network](https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm).
- Specified by:
createSubnetin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createVcn
public Future<CreateVcnResponse> createVcn(CreateVcnRequest request, AsyncHandler<CreateVcnRequest,CreateVcnResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new virtual cloud network (VCN).For more information, see VCNs and Subnets.
For the VCN, you specify a list of one or more IPv4 CIDR blocks that meet the following criteria:
- The CIDR blocks must be valid. - They must not overlap with each other or with the on-premises network CIDR block. - The number of CIDR blocks does not exceed the limit of CIDR blocks allowed per VCN.
For a CIDR block, Oracle recommends that you use one of the private IP address ranges specified in [RFC 1918](https://tools.ietf.org/html/rfc1918) (10.0.0.0/8, 172.16/12, and 192.168/16). Example: 172.16.0.0/16. The CIDR blocks can range from /16 to /30.
For the purposes of access control, you must provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the VCN to reside. Consult an Oracle Cloud Infrastructure administrator in your organization if you're not sure which compartment to use. Notice that the VCN doesn't have to be in the same compartment as the subnets or other Networking Service components. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see [Resource Identifiers](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
You may optionally specify a *display name* for the VCN, otherwise a default is provided. It does not have to be unique, and you can change it. Avoid entering confidential information.
You can also add a DNS label for the VCN, which is required if you want the instances to use the Interent and VCN Resolver option for DNS in the VCN. For more information, see [DNS in Your Virtual Cloud Network](https://docs.oracle.com/iaas/Content/Network/Concepts/dns.htm).
The VCN automatically comes with a default route table, default security list, and default set of DHCP options. The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for each is returned in the response. You can't delete these default objects, but you can change their contents (that is, change the route rules, security list rules, and so on).
The VCN and subnets you create are not accessible until you attach an internet gateway or set up a Site-to-Site VPN or FastConnect. For more information, see [Overview of the Networking Service](https://docs.oracle.com/iaas/Content/Network/Concepts/overview.htm).
- Specified by:
createVcnin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createVirtualCircuit
public Future<CreateVirtualCircuitResponse> createVirtualCircuit(CreateVirtualCircuitRequest request, AsyncHandler<CreateVirtualCircuitRequest,CreateVirtualCircuitResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a new virtual circuit to use with Oracle Cloud Infrastructure FastConnect.For more information, see FastConnect Overview.
For the purposes of access control, you must provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want the virtual circuit to reside. If you're not sure which compartment to use, put the virtual circuit in the same compartment with the DRG it's using. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see [Resource Identifiers](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
You may optionally specify a *display name* for the virtual circuit. It does not have to be unique, and you can change it. Avoid entering confidential information.
*Important:** When creating a virtual circuit, you specify a DRG for the traffic to flow through. Make sure you attach the DRG to your VCN and confirm the VCN's routing sends traffic to the DRG. Otherwise traffic will not flow. For more information, see [Route Tables](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm).
- Specified by:
createVirtualCircuitin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createVlan
public Future<CreateVlanResponse> createVlan(CreateVlanRequest request, AsyncHandler<CreateVlanRequest,CreateVlanResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a VLAN in the specified VCN and the specified compartment.- Specified by:
createVlanin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
createVtap
public Future<CreateVtapResponse> createVtap(CreateVtapRequest request, AsyncHandler<CreateVtapRequest,CreateVtapResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates a virtual test access point (VTAP) in the specified compartment.For the purposes of access control, you must provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the VTAP. For more information about compartments and access control, see [Overview of the IAM Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm). For information about OCIDs, see [Resource Identifiers](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
You may optionally specify a *display name* for the VTAP, otherwise a default is provided. It does not have to be unique, and you can change it.
- Specified by:
createVtapin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteByoasn
public Future<DeleteByoasnResponse> deleteByoasn(DeleteByoasnRequest request, AsyncHandler<DeleteByoasnRequest,DeleteByoasnResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specifiedByoasnresource.The resource must be in one of the following states: CREATING, ACTIVE or FAILED. It must not be in use by any of the byoipRanges or deletion will fail. You must specify the OCID.
- Specified by:
deleteByoasnin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteByoipRange
public Future<DeleteByoipRangeResponse> deleteByoipRange(DeleteByoipRangeRequest request, AsyncHandler<DeleteByoipRangeRequest,DeleteByoipRangeResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specifiedByoipRangeresource.The resource must be in one of the following states: CREATING, PROVISIONED, ACTIVE, or FAILED. It must not have any subranges currently allocated to a PublicIpPool object or the deletion will fail. You must specify the OCID. If the
ByoipRangeresource is currently in the PROVISIONED or ACTIVE state, it will be de-provisioned and then deleted.- Specified by:
deleteByoipRangein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteCaptureFilter
public Future<DeleteCaptureFilterResponse> deleteCaptureFilter(DeleteCaptureFilterRequest request, AsyncHandler<DeleteCaptureFilterRequest,DeleteCaptureFilterResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified VTAP capture filter.This is an asynchronous operation. The VTAP capture filter’s
lifecycleStatewill change to TERMINATING temporarily until the VTAP capture filter is completely removed.- Specified by:
deleteCaptureFilterin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteCpe
public Future<DeleteCpeResponse> deleteCpe(DeleteCpeRequest request, AsyncHandler<DeleteCpeRequest,DeleteCpeResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified CPE object.The CPE must not be connected to a DRG. This is an asynchronous operation. The CPE’s
lifecycleStatewill change to TERMINATING temporarily until the CPE is completely removed.- Specified by:
deleteCpein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteCrossConnect
public Future<DeleteCrossConnectResponse> deleteCrossConnect(DeleteCrossConnectRequest request, AsyncHandler<DeleteCrossConnectRequest,DeleteCrossConnectResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified cross-connect.It must not be mapped to a
VirtualCircuit.- Specified by:
deleteCrossConnectin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteCrossConnectGroup
public Future<DeleteCrossConnectGroupResponse> deleteCrossConnectGroup(DeleteCrossConnectGroupRequest request, AsyncHandler<DeleteCrossConnectGroupRequest,DeleteCrossConnectGroupResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified cross-connect group.It must not contain any cross-connects, and it cannot be mapped to a
VirtualCircuit.- Specified by:
deleteCrossConnectGroupin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteDhcpOptions
public Future<DeleteDhcpOptionsResponse> deleteDhcpOptions(DeleteDhcpOptionsRequest request, AsyncHandler<DeleteDhcpOptionsRequest,DeleteDhcpOptionsResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified set of DHCP options, but only if it’s not associated with a subnet.You can’t delete a VCN’s default set of DHCP options.
This is an asynchronous operation. The state of the set of options will switch to TERMINATING temporarily until the set is completely removed.
- Specified by:
deleteDhcpOptionsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteDrg
public Future<DeleteDrgResponse> deleteDrg(DeleteDrgRequest request, AsyncHandler<DeleteDrgRequest,DeleteDrgResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified DRG.The DRG must not be attached to a VCN or be connected to your on-premise network. Also, there must not be a route table that lists the DRG as a target. This is an asynchronous operation. The DRG’s
lifecycleStatewill change to TERMINATING temporarily until the DRG is completely removed.- Specified by:
deleteDrgin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteDrgAttachment
public Future<DeleteDrgAttachmentResponse> deleteDrgAttachment(DeleteDrgAttachmentRequest request, AsyncHandler<DeleteDrgAttachmentRequest,DeleteDrgAttachmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncDetaches a DRG from a network resource by deleting the correspondingDrgAttachmentresource.This is an asynchronous operation. The attachment’s
lifecycleStatewill temporarily change to DETACHING until the attachment is completely removed.- Specified by:
deleteDrgAttachmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteDrgRouteDistribution
public Future<DeleteDrgRouteDistributionResponse> deleteDrgRouteDistribution(DeleteDrgRouteDistributionRequest request, AsyncHandler<DeleteDrgRouteDistributionRequest,DeleteDrgRouteDistributionResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified route distribution.You can’t delete a route distribution currently in use by a DRG attachment or DRG route table.
Remove the DRG route distribution from a DRG attachment or DRG route table by using the \"RemoveExportDrgRouteDistribution\" or \"RemoveImportDrgRouteDistribution' operations.
- Specified by:
deleteDrgRouteDistributionin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteDrgRouteTable
public Future<DeleteDrgRouteTableResponse> deleteDrgRouteTable(DeleteDrgRouteTableRequest request, AsyncHandler<DeleteDrgRouteTableRequest,DeleteDrgRouteTableResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified DRG route table.There must not be any DRG attachments assigned.
- Specified by:
deleteDrgRouteTablein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteIPSecConnection
public Future<DeleteIPSecConnectionResponse> deleteIPSecConnection(DeleteIPSecConnectionRequest request, AsyncHandler<DeleteIPSecConnectionRequest,DeleteIPSecConnectionResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified IPSec connection.If your goal is to disable the Site-to-Site VPN between your VCN and on-premises network, it’s easiest to simply detach the DRG but keep all the Site-to-Site VPN components intact. If you were to delete all the components and then later need to create an Site-to-Site VPN again, you would need to configure your on-premises router again with the new information returned from
createIPSecConnection.This is an asynchronous operation. The connection's `lifecycleState` will change to TERMINATING temporarily until the connection is completely removed.
- Specified by:
deleteIPSecConnectionin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteInternetGateway
public Future<DeleteInternetGatewayResponse> deleteInternetGateway(DeleteInternetGatewayRequest request, AsyncHandler<DeleteInternetGatewayRequest,DeleteInternetGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified internet gateway.The internet gateway does not have to be disabled, but there must not be a route table that lists it as a target.
This is an asynchronous operation. The gateway's `lifecycleState` will change to TERMINATING temporarily until the gateway is completely removed.
- Specified by:
deleteInternetGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteIpv6
public Future<DeleteIpv6Response> deleteIpv6(DeleteIpv6Request request, AsyncHandler<DeleteIpv6Request,DeleteIpv6Response> handler)
Description copied from interface:VirtualNetworkAsyncUnassigns and deletes the specified IPv6.You must specify the object’s OCID. The IPv6 address is returned to the subnet’s pool of available addresses.
- Specified by:
deleteIpv6in interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteLocalPeeringGateway
public Future<DeleteLocalPeeringGatewayResponse> deleteLocalPeeringGateway(DeleteLocalPeeringGatewayRequest request, AsyncHandler<DeleteLocalPeeringGatewayRequest,DeleteLocalPeeringGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified local peering gateway (LPG).This is an asynchronous operation; the local peering gateway's `lifecycleState` changes to TERMINATING temporarily until the local peering gateway is completely removed.
- Specified by:
deleteLocalPeeringGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteNatGateway
public Future<DeleteNatGatewayResponse> deleteNatGateway(DeleteNatGatewayRequest request, AsyncHandler<DeleteNatGatewayRequest,DeleteNatGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified NAT gateway.The NAT gateway does not have to be disabled, but there must not be a route rule that lists the NAT gateway as a target.
This is an asynchronous operation. The NAT gateway's `lifecycleState` will change to TERMINATING temporarily until the NAT gateway is completely removed.
- Specified by:
deleteNatGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteNetworkSecurityGroup
public Future<DeleteNetworkSecurityGroupResponse> deleteNetworkSecurityGroup(DeleteNetworkSecurityGroupRequest request, AsyncHandler<DeleteNetworkSecurityGroupRequest,DeleteNetworkSecurityGroupResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified network security group.The group must not contain any VNICs.
To get a list of the VNICs in a network security group, use
listNetworkSecurityGroupVnics. Each returnedNetworkSecurityGroupVnicobject contains both the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC and the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC's parent resource (for example, the Compute instance that the VNIC is attached to).- Specified by:
deleteNetworkSecurityGroupin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deletePrivateIp
public Future<DeletePrivateIpResponse> deletePrivateIp(DeletePrivateIpRequest request, AsyncHandler<DeletePrivateIpRequest,DeletePrivateIpResponse> handler)
Description copied from interface:VirtualNetworkAsyncUnassigns and deletes the specified private IP.You must specify the object’s OCID. The private IP address is returned to the subnet’s pool of available addresses.
This operation cannot be used with primary private IPs, which are automatically unassigned and deleted when the VNIC is terminated.
*Important:** If a secondary private IP is the [target of a route rule](https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#privateip), unassigning it from the VNIC causes that route rule to blackhole and the traffic will be dropped.
- Specified by:
deletePrivateIpin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deletePublicIp
public Future<DeletePublicIpResponse> deletePublicIp(DeletePublicIpRequest request, AsyncHandler<DeletePublicIpRequest,DeletePublicIpResponse> handler)
Description copied from interface:VirtualNetworkAsyncUnassigns and deletes the specified public IP (either ephemeral or reserved).You must specify the object’s OCID. The public IP address is returned to the Oracle Cloud Infrastructure public IP pool.
*Note:** You cannot update, unassign, or delete the public IP that Oracle automatically assigned to an entity for you (such as a load balancer or NAT gateway). The public IP is automatically deleted if the assigned entity is terminated.
For an assigned reserved public IP, the initial unassignment portion of this operation is asynchronous. Poll the public IP's `lifecycleState` to determine if the operation succeeded.
If you want to simply unassign a reserved public IP and return it to your pool of reserved public IPs, instead use
updatePublicIp.- Specified by:
deletePublicIpin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deletePublicIpPool
public Future<DeletePublicIpPoolResponse> deletePublicIpPool(DeletePublicIpPoolRequest request, AsyncHandler<DeletePublicIpPoolRequest,DeletePublicIpPoolResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified public IP pool.To delete a public IP pool it must not have any active IP address allocations. You must specify the object’s OCID when deleting an IP pool.
- Specified by:
deletePublicIpPoolin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteRemotePeeringConnection
public Future<DeleteRemotePeeringConnectionResponse> deleteRemotePeeringConnection(DeleteRemotePeeringConnectionRequest request, AsyncHandler<DeleteRemotePeeringConnectionRequest,DeleteRemotePeeringConnectionResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the remote peering connection (RPC).This is an asynchronous operation; the RPC's `lifecycleState` changes to TERMINATING temporarily until the RPC is completely removed.
- Specified by:
deleteRemotePeeringConnectionin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteRouteTable
public Future<DeleteRouteTableResponse> deleteRouteTable(DeleteRouteTableRequest request, AsyncHandler<DeleteRouteTableRequest,DeleteRouteTableResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified route table, but only if it’s not associated with a subnet.You can’t delete a VCN’s default route table.
This is an asynchronous operation. The route table's `lifecycleState` will change to TERMINATING temporarily until the route table is completely removed.
- Specified by:
deleteRouteTablein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteSecurityList
public Future<DeleteSecurityListResponse> deleteSecurityList(DeleteSecurityListRequest request, AsyncHandler<DeleteSecurityListRequest,DeleteSecurityListResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified security list, but only if it’s not associated with a subnet.You can’t delete a VCN’s default security list.
This is an asynchronous operation. The security list's `lifecycleState` will change to TERMINATING temporarily until the security list is completely removed.
- Specified by:
deleteSecurityListin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteServiceGateway
public Future<DeleteServiceGatewayResponse> deleteServiceGateway(DeleteServiceGatewayRequest request, AsyncHandler<DeleteServiceGatewayRequest,DeleteServiceGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified service gateway.There must not be a route table that lists the service gateway as a target.
- Specified by:
deleteServiceGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteSubnet
public Future<DeleteSubnetResponse> deleteSubnet(DeleteSubnetRequest request, AsyncHandler<DeleteSubnetRequest,DeleteSubnetResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified subnet, but only if there are no instances in the subnet.This is an asynchronous operation. The subnet’s
lifecycleStatewill change to TERMINATING temporarily. If there are any instances in the subnet, the state will instead change back to AVAILABLE.- Specified by:
deleteSubnetin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteVcn
public Future<DeleteVcnResponse> deleteVcn(DeleteVcnRequest request, AsyncHandler<DeleteVcnRequest,DeleteVcnResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified VCN.The VCN must be completely empty and have no attached gateways. This is an asynchronous operation.
A deleted VCN's `lifecycleState` changes to TERMINATING and then TERMINATED temporarily until the VCN is completely removed. A completely removed VCN does not appear in the results of a `ListVcns` operation and can't be used in a `GetVcn` operation.
- Specified by:
deleteVcnin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteVirtualCircuit
public Future<DeleteVirtualCircuitResponse> deleteVirtualCircuit(DeleteVirtualCircuitRequest request, AsyncHandler<DeleteVirtualCircuitRequest,DeleteVirtualCircuitResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified virtual circuit.*Important:** If you're using FastConnect via a provider, make sure to also terminate the connection with the provider, or else the provider may continue to bill you.
- Specified by:
deleteVirtualCircuitin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteVlan
public Future<DeleteVlanResponse> deleteVlan(DeleteVlanRequest request, AsyncHandler<DeleteVlanRequest,DeleteVlanResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified VLAN, but only if there are no VNICs in the VLAN.- Specified by:
deleteVlanin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
deleteVtap
public Future<DeleteVtapResponse> deleteVtap(DeleteVtapRequest request, AsyncHandler<DeleteVtapRequest,DeleteVtapResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeletes the specified VTAP.This is an asynchronous operation. The VTAP’s
lifecycleStatewill change to TERMINATING temporarily until the VTAP is completely removed.- Specified by:
deleteVtapin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
detachServiceId
public Future<DetachServiceIdResponse> detachServiceId(DetachServiceIdRequest request, AsyncHandler<DetachServiceIdRequest,DetachServiceIdResponse> handler)
Description copied from interface:VirtualNetworkAsyncRemoves the specifiedServicefrom the list of enabledServiceobjects for the specified gateway.You do not need to remove any route rules that specify this
Serviceobject’scidrBlockas the destination CIDR. However, consider removing the rules if your intent is to permanently disable use of theServicethrough this service gateway.*Note:** The `DetachServiceId` operation is an easy way to remove an individual `Service` from the service gateway. Compare it with
updateServiceGateway, which replaces the entire existing list of enabled `Service` objects with the list that you provide in the `Update` call. `UpdateServiceGateway` also lets you block all traffic through the service gateway without having to remove each of the individual `Service` objects.- Specified by:
detachServiceIdin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getAllDrgAttachments
public Future<GetAllDrgAttachmentsResponse> getAllDrgAttachments(GetAllDrgAttachmentsRequest request, AsyncHandler<GetAllDrgAttachmentsRequest,GetAllDrgAttachmentsResponse> handler)
Description copied from interface:VirtualNetworkAsyncReturns a complete list of DRG attachments that belong to a particular DRG.- Specified by:
getAllDrgAttachmentsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getAllowedIkeIPSecParameters
public Future<GetAllowedIkeIPSecParametersResponse> getAllowedIkeIPSecParameters(GetAllowedIkeIPSecParametersRequest request, AsyncHandler<GetAllowedIkeIPSecParametersRequest,GetAllowedIkeIPSecParametersResponse> handler)
Description copied from interface:VirtualNetworkAsyncThe parameters allowed for IKE IPSec tunnels.- Specified by:
getAllowedIkeIPSecParametersin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getByoasn
public Future<GetByoasnResponse> getByoasn(GetByoasnRequest request, AsyncHandler<GetByoasnRequest,GetByoasnResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets theByoasnresource.You must specify the OCID.
- Specified by:
getByoasnin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getByoipRange
public Future<GetByoipRangeResponse> getByoipRange(GetByoipRangeRequest request, AsyncHandler<GetByoipRangeRequest,GetByoipRangeResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets theByoipRangeresource.You must specify the OCID.
- Specified by:
getByoipRangein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getCaptureFilter
public Future<GetCaptureFilterResponse> getCaptureFilter(GetCaptureFilterRequest request, AsyncHandler<GetCaptureFilterRequest,GetCaptureFilterResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets information about the specified VTAP capture filter.- Specified by:
getCaptureFilterin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getCpe
public Future<GetCpeResponse> getCpe(GetCpeRequest request, AsyncHandler<GetCpeRequest,GetCpeResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified CPE’s information.- Specified by:
getCpein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getCpeDeviceConfigContent
public Future<GetCpeDeviceConfigContentResponse> getCpeDeviceConfigContent(GetCpeDeviceConfigContentRequest request, AsyncHandler<GetCpeDeviceConfigContentRequest,GetCpeDeviceConfigContentResponse> handler)
Description copied from interface:VirtualNetworkAsyncRenders a set of CPE configuration content that can help a network engineer configure the actual CPE device (for example, a hardware router) represented by the specifiedCpeobject.The rendered content is specific to the type of CPE device (for example, Cisco ASA). Therefore the
Cpemust have the CPE's device type specified by the `cpeDeviceShapeId` attribute. The content optionally includes answers that the customer provides (seeupdateTunnelCpeDeviceConfig), merged with a template of other information specific to the CPE device type.The operation returns configuration information for *all* of the
IPSecConnectionobjects that use the specified CPE. Here are similar operations:getIpsecCpeDeviceConfigContentreturns CPE configuration content for all IPSec tunnels in a single IPSec connection. *getTunnelCpeDeviceConfigContentreturns CPE configuration content for a specific IPSec tunnel in an IPSec connection.- Specified by:
getCpeDeviceConfigContentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getCpeDeviceShape
public Future<GetCpeDeviceShapeResponse> getCpeDeviceShape(GetCpeDeviceShapeRequest request, AsyncHandler<GetCpeDeviceShapeRequest,GetCpeDeviceShapeResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the detailed information about the specified CPE device type.This might include a set of questions that are specific to the particular CPE device type. The customer must supply answers to those questions (see
updateTunnelCpeDeviceConfig). The service merges the answers with a template of other information for the CPE device type. The following operations return the merged content:getCpeDeviceConfigContent*getIpsecCpeDeviceConfigContent*getTunnelCpeDeviceConfigContent- Specified by:
getCpeDeviceShapein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getCrossConnect
public Future<GetCrossConnectResponse> getCrossConnect(GetCrossConnectRequest request, AsyncHandler<GetCrossConnectRequest,GetCrossConnectResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified cross-connect’s information.- Specified by:
getCrossConnectin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getCrossConnectGroup
public Future<GetCrossConnectGroupResponse> getCrossConnectGroup(GetCrossConnectGroupRequest request, AsyncHandler<GetCrossConnectGroupRequest,GetCrossConnectGroupResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified cross-connect group’s information.- Specified by:
getCrossConnectGroupin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getCrossConnectLetterOfAuthority
public Future<GetCrossConnectLetterOfAuthorityResponse> getCrossConnectLetterOfAuthority(GetCrossConnectLetterOfAuthorityRequest request, AsyncHandler<GetCrossConnectLetterOfAuthorityRequest,GetCrossConnectLetterOfAuthorityResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the Letter of Authority for the specified cross-connect.- Specified by:
getCrossConnectLetterOfAuthorityin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getCrossConnectStatus
public Future<GetCrossConnectStatusResponse> getCrossConnectStatus(GetCrossConnectStatusRequest request, AsyncHandler<GetCrossConnectStatusRequest,GetCrossConnectStatusResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the status of the specified cross-connect.- Specified by:
getCrossConnectStatusin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDhcpOptions
public Future<GetDhcpOptionsResponse> getDhcpOptions(GetDhcpOptionsRequest request, AsyncHandler<GetDhcpOptionsRequest,GetDhcpOptionsResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified set of DHCP options.- Specified by:
getDhcpOptionsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDrg
public Future<GetDrgResponse> getDrg(GetDrgRequest request, AsyncHandler<GetDrgRequest,GetDrgResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified DRG’s information.- Specified by:
getDrgin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDrgAttachment
public Future<GetDrgAttachmentResponse> getDrgAttachment(GetDrgAttachmentRequest request, AsyncHandler<GetDrgAttachmentRequest,GetDrgAttachmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets theDrgAttachmentresource.- Specified by:
getDrgAttachmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDrgRedundancyStatus
public Future<GetDrgRedundancyStatusResponse> getDrgRedundancyStatus(GetDrgRedundancyStatusRequest request, AsyncHandler<GetDrgRedundancyStatusRequest,GetDrgRedundancyStatusResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the redundancy status for the specified DRG.For more information, see Redundancy Remedies.
- Specified by:
getDrgRedundancyStatusin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDrgRouteDistribution
public Future<GetDrgRouteDistributionResponse> getDrgRouteDistribution(GetDrgRouteDistributionRequest request, AsyncHandler<GetDrgRouteDistributionRequest,GetDrgRouteDistributionResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified route distribution’s information.- Specified by:
getDrgRouteDistributionin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDrgRouteTable
public Future<GetDrgRouteTableResponse> getDrgRouteTable(GetDrgRouteTableRequest request, AsyncHandler<GetDrgRouteTableRequest,GetDrgRouteTableResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified DRG route table’s information.- Specified by:
getDrgRouteTablein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getFastConnectProviderService
public Future<GetFastConnectProviderServiceResponse> getFastConnectProviderService(GetFastConnectProviderServiceRequest request, AsyncHandler<GetFastConnectProviderServiceRequest,GetFastConnectProviderServiceResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified provider service.For more information, see FastConnect Overview.
- Specified by:
getFastConnectProviderServicein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getFastConnectProviderServiceKey
public Future<GetFastConnectProviderServiceKeyResponse> getFastConnectProviderServiceKey(GetFastConnectProviderServiceKeyRequest request, AsyncHandler<GetFastConnectProviderServiceKeyRequest,GetFastConnectProviderServiceKeyResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified provider service key’s information.Use this operation to validate a provider service key. An invalid key returns a 404 error.
- Specified by:
getFastConnectProviderServiceKeyin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getIPSecConnection
public Future<GetIPSecConnectionResponse> getIPSecConnection(GetIPSecConnectionRequest request, AsyncHandler<GetIPSecConnectionRequest,GetIPSecConnectionResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified IPSec connection’s basic information, including the static routes for the on-premises router.If you want the status of the connection (whether it’s up or down), use
getIPSecConnectionTunnel.- Specified by:
getIPSecConnectionin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getIPSecConnectionDeviceConfig
public Future<GetIPSecConnectionDeviceConfigResponse> getIPSecConnectionDeviceConfig(GetIPSecConnectionDeviceConfigRequest request, AsyncHandler<GetIPSecConnectionDeviceConfigRequest,GetIPSecConnectionDeviceConfigResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeprecated.To get tunnel information, instead use:
getIPSecConnectionTunnel*getIPSecConnectionTunnelSharedSecret- Specified by:
getIPSecConnectionDeviceConfigin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getIPSecConnectionDeviceStatus
public Future<GetIPSecConnectionDeviceStatusResponse> getIPSecConnectionDeviceStatus(GetIPSecConnectionDeviceStatusRequest request, AsyncHandler<GetIPSecConnectionDeviceStatusRequest,GetIPSecConnectionDeviceStatusResponse> handler)
Description copied from interface:VirtualNetworkAsyncDeprecated.To get the tunnel status, instead use
getIPSecConnectionTunnel.- Specified by:
getIPSecConnectionDeviceStatusin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getIPSecConnectionTunnel
public Future<GetIPSecConnectionTunnelResponse> getIPSecConnectionTunnel(GetIPSecConnectionTunnelRequest request, AsyncHandler<GetIPSecConnectionTunnelRequest,GetIPSecConnectionTunnelResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified tunnel’s information.The resulting object does not include the tunnel’s shared secret (pre-shared key). To retrieve that, use
getIPSecConnectionTunnelSharedSecret.- Specified by:
getIPSecConnectionTunnelin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getIPSecConnectionTunnelError
public Future<GetIPSecConnectionTunnelErrorResponse> getIPSecConnectionTunnelError(GetIPSecConnectionTunnelErrorRequest request, AsyncHandler<GetIPSecConnectionTunnelErrorRequest,GetIPSecConnectionTunnelErrorResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the identified error for the specified IPSec tunnel ID.- Specified by:
getIPSecConnectionTunnelErrorin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getIPSecConnectionTunnelSharedSecret
public Future<GetIPSecConnectionTunnelSharedSecretResponse> getIPSecConnectionTunnelSharedSecret(GetIPSecConnectionTunnelSharedSecretRequest request, AsyncHandler<GetIPSecConnectionTunnelSharedSecretRequest,GetIPSecConnectionTunnelSharedSecretResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified tunnel’s shared secret (pre-shared key).To get other information about the tunnel, use
getIPSecConnectionTunnel.- Specified by:
getIPSecConnectionTunnelSharedSecretin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getInternetGateway
public Future<GetInternetGatewayResponse> getInternetGateway(GetInternetGatewayRequest request, AsyncHandler<GetInternetGatewayRequest,GetInternetGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified internet gateway’s information.- Specified by:
getInternetGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getIpsecCpeDeviceConfigContent
public Future<GetIpsecCpeDeviceConfigContentResponse> getIpsecCpeDeviceConfigContent(GetIpsecCpeDeviceConfigContentRequest request, AsyncHandler<GetIpsecCpeDeviceConfigContentRequest,GetIpsecCpeDeviceConfigContentResponse> handler)
Description copied from interface:VirtualNetworkAsyncRenders a set of CPE configuration content for the specified IPSec connection (for all the tunnels in the connection).The content helps a network engineer configure the actual CPE device (for example, a hardware router) that the specified IPSec connection terminates on.
The rendered content is specific to the type of CPE device (for example, Cisco ASA). Therefore the
Cpeused by the specifiedIPSecConnectionmust have the CPE's device type specified by the `cpeDeviceShapeId` attribute. The content optionally includes answers that the customer provides (seeupdateTunnelCpeDeviceConfig), merged with a template of other information specific to the CPE device type.The operation returns configuration information for all tunnels in the single specified
IPSecConnectionobject. Here are other similar operations:getTunnelCpeDeviceConfigContentreturns CPE configuration content for a specific tunnel within an IPSec connection. *getCpeDeviceConfigContentreturns CPE configuration content for *all* IPSec connections that use a specific CPE.- Specified by:
getIpsecCpeDeviceConfigContentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getIpv6
public Future<GetIpv6Response> getIpv6(GetIpv6Request request, AsyncHandler<GetIpv6Request,GetIpv6Response> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified IPv6.You must specify the object’s OCID. Alternatively, you can get the object by using
listIpv6swith the IPv6 address (for example, 2001:0db8:0123:1111:98fe:dcba:9876:4321) and subnet OCID.- Specified by:
getIpv6in interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getLocalPeeringGateway
public Future<GetLocalPeeringGatewayResponse> getLocalPeeringGateway(GetLocalPeeringGatewayRequest request, AsyncHandler<GetLocalPeeringGatewayRequest,GetLocalPeeringGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified local peering gateway’s information.- Specified by:
getLocalPeeringGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getNatGateway
public Future<GetNatGatewayResponse> getNatGateway(GetNatGatewayRequest request, AsyncHandler<GetNatGatewayRequest,GetNatGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified NAT gateway’s information.- Specified by:
getNatGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getNetworkSecurityGroup
public Future<GetNetworkSecurityGroupResponse> getNetworkSecurityGroup(GetNetworkSecurityGroupRequest request, AsyncHandler<GetNetworkSecurityGroupRequest,GetNetworkSecurityGroupResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified network security group’s information.To list the VNICs in an NSG, see
listNetworkSecurityGroupVnics.To list the security rules in an NSG, see
listNetworkSecurityGroupSecurityRules.- Specified by:
getNetworkSecurityGroupin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getNetworkingTopology
public Future<GetNetworkingTopologyResponse> getNetworkingTopology(GetNetworkingTopologyRequest request, AsyncHandler<GetNetworkingTopologyRequest,GetNetworkingTopologyResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets a virtual networking topology for the current region.- Specified by:
getNetworkingTopologyin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPrivateIp
public Future<GetPrivateIpResponse> getPrivateIp(GetPrivateIpRequest request, AsyncHandler<GetPrivateIpRequest,GetPrivateIpResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified private IP.You must specify the object’s OCID. Alternatively, you can get the object by using
listPrivateIpswith the private IP address (for example, 10.0.3.3) and subnet OCID.- Specified by:
getPrivateIpin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPublicIp
public Future<GetPublicIpResponse> getPublicIp(GetPublicIpRequest request, AsyncHandler<GetPublicIpRequest,GetPublicIpResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified public IP.You must specify the object’s OCID.
Alternatively, you can get the object by using
getPublicIpByIpAddresswith the public IP address (for example, 203.0.113.2).Or you can use
getPublicIpByPrivateIpIdwith the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the private IP that the public IP is assigned to.*Note:** If you're fetching a reserved public IP that is in the process of being moved to a different private IP, the service returns the public IP object with `lifecycleState` = ASSIGNING and `assignedEntityId` = [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP.
- Specified by:
getPublicIpin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPublicIpByIpAddress
public Future<GetPublicIpByIpAddressResponse> getPublicIpByIpAddress(GetPublicIpByIpAddressRequest request, AsyncHandler<GetPublicIpByIpAddressRequest,GetPublicIpByIpAddressResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the public IP based on the public IP address (for example, 203.0.113.2).*Note:** If you're fetching a reserved public IP that is in the process of being moved to a different private IP, the service returns the public IP object with `lifecycleState` = ASSIGNING and `assignedEntityId` = [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP.
- Specified by:
getPublicIpByIpAddressin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPublicIpByPrivateIpId
public Future<GetPublicIpByPrivateIpIdResponse> getPublicIpByPrivateIpId(GetPublicIpByPrivateIpIdRequest request, AsyncHandler<GetPublicIpByPrivateIpIdRequest,GetPublicIpByPrivateIpIdResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the public IP assigned to the specified private IP.You must specify the OCID of the private IP. If no public IP is assigned, a 404 is returned.
*Note:** If you're fetching a reserved public IP that is in the process of being moved to a different private IP, and you provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the original private IP, this operation returns a 404. If you instead provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP, or if you instead call
getPublicIporgetPublicIpByIpAddress, the service returns the public IP object with `lifecycleState` = ASSIGNING and `assignedEntityId` = [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target private IP.- Specified by:
getPublicIpByPrivateIpIdin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getPublicIpPool
public Future<GetPublicIpPoolResponse> getPublicIpPool(GetPublicIpPoolRequest request, AsyncHandler<GetPublicIpPoolRequest,GetPublicIpPoolResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specifiedPublicIpPoolobject.You must specify the object’s OCID.
- Specified by:
getPublicIpPoolin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getRemotePeeringConnection
public Future<GetRemotePeeringConnectionResponse> getRemotePeeringConnection(GetRemotePeeringConnectionRequest request, AsyncHandler<GetRemotePeeringConnectionRequest,GetRemotePeeringConnectionResponse> handler)
Description copied from interface:VirtualNetworkAsyncGet the specified remote peering connection’s information.- Specified by:
getRemotePeeringConnectionin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getResourceIpInventory
public Future<GetResourceIpInventoryResponse> getResourceIpInventory(GetResourceIpInventoryRequest request, AsyncHandler<GetResourceIpInventoryRequest,GetResourceIpInventoryResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets theIpInventoryresource.- Specified by:
getResourceIpInventoryin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getRouteTable
public Future<GetRouteTableResponse> getRouteTable(GetRouteTableRequest request, AsyncHandler<GetRouteTableRequest,GetRouteTableResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified route table’s information.- Specified by:
getRouteTablein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getSecurityList
public Future<GetSecurityListResponse> getSecurityList(GetSecurityListRequest request, AsyncHandler<GetSecurityListRequest,GetSecurityListResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified security list’s information.- Specified by:
getSecurityListin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getService
public Future<GetServiceResponse> getService(GetServiceRequest request, AsyncHandler<GetServiceRequest,GetServiceResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specifiedServiceobject.- Specified by:
getServicein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getServiceGateway
public Future<GetServiceGatewayResponse> getServiceGateway(GetServiceGatewayRequest request, AsyncHandler<GetServiceGatewayRequest,GetServiceGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified service gateway’s information.- Specified by:
getServiceGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getSubnet
public Future<GetSubnetResponse> getSubnet(GetSubnetRequest request, AsyncHandler<GetSubnetRequest,GetSubnetResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified subnet’s information.- Specified by:
getSubnetin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getSubnetCidrUtilization
public Future<GetSubnetCidrUtilizationResponse> getSubnetCidrUtilization(GetSubnetCidrUtilizationRequest request, AsyncHandler<GetSubnetCidrUtilizationRequest,GetSubnetCidrUtilizationResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the CIDR utilization data of the specified subnet.Specify the OCID.
- Specified by:
getSubnetCidrUtilizationin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getSubnetIpInventory
public Future<GetSubnetIpInventoryResponse> getSubnetIpInventory(GetSubnetIpInventoryRequest request, AsyncHandler<GetSubnetIpInventoryRequest,GetSubnetIpInventoryResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the IP Inventory data of the specified subnet.Specify the OCID.
- Specified by:
getSubnetIpInventoryin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getSubnetTopology
public Future<GetSubnetTopologyResponse> getSubnetTopology(GetSubnetTopologyRequest request, AsyncHandler<GetSubnetTopologyRequest,GetSubnetTopologyResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets a topology for a given subnet.- Specified by:
getSubnetTopologyin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getTunnelCpeDeviceConfig
public Future<GetTunnelCpeDeviceConfigResponse> getTunnelCpeDeviceConfig(GetTunnelCpeDeviceConfigRequest request, AsyncHandler<GetTunnelCpeDeviceConfigRequest,GetTunnelCpeDeviceConfigResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the set of CPE configuration answers for the tunnel, which the customer provided inupdateTunnelCpeDeviceConfig.To get the full set of content for the tunnel (any answers merged with the template of other information specific to the CPE device type), use
getTunnelCpeDeviceConfigContent.- Specified by:
getTunnelCpeDeviceConfigin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getTunnelCpeDeviceConfigContent
public Future<GetTunnelCpeDeviceConfigContentResponse> getTunnelCpeDeviceConfigContent(GetTunnelCpeDeviceConfigContentRequest request, AsyncHandler<GetTunnelCpeDeviceConfigContentRequest,GetTunnelCpeDeviceConfigContentResponse> handler)
Description copied from interface:VirtualNetworkAsyncRenders a set of CPE configuration content for the specified IPSec tunnel.The content helps a network engineer configure the actual CPE device (for example, a hardware router) that the specified IPSec tunnel terminates on.
The rendered content is specific to the type of CPE device (for example, Cisco ASA). Therefore the
Cpeused by the specifiedIPSecConnectionmust have the CPE's device type specified by the `cpeDeviceShapeId` attribute. The content optionally includes answers that the customer provides (seeupdateTunnelCpeDeviceConfig), merged with a template of other information specific to the CPE device type.The operation returns configuration information for only the specified IPSec tunnel. Here are other similar operations:
getIpsecCpeDeviceConfigContentreturns CPE configuration content for all tunnels in a single IPSec connection. *getCpeDeviceConfigContentreturns CPE configuration content for *all* IPSec connections that use a specific CPE.- Specified by:
getTunnelCpeDeviceConfigContentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getUpgradeStatus
public Future<GetUpgradeStatusResponse> getUpgradeStatus(GetUpgradeStatusRequest request, AsyncHandler<GetUpgradeStatusRequest,GetUpgradeStatusResponse> handler)
Description copied from interface:VirtualNetworkAsyncReturns the DRG upgrade status.The status can be not updated, in progress, or updated. Also indicates how much of the upgrade is completed.
- Specified by:
getUpgradeStatusin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getVcn
public Future<GetVcnResponse> getVcn(GetVcnRequest request, AsyncHandler<GetVcnRequest,GetVcnResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified VCN’s information.- Specified by:
getVcnin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getVcnDnsResolverAssociation
public Future<GetVcnDnsResolverAssociationResponse> getVcnDnsResolverAssociation(GetVcnDnsResolverAssociationRequest request, AsyncHandler<GetVcnDnsResolverAssociationRequest,GetVcnDnsResolverAssociationResponse> handler)
Description copied from interface:VirtualNetworkAsyncGet the associated DNS resolver information with a vcn- Specified by:
getVcnDnsResolverAssociationin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getVcnOverlap
public Future<GetVcnOverlapResponse> getVcnOverlap(GetVcnOverlapRequest request, AsyncHandler<GetVcnOverlapRequest,GetVcnOverlapResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the CIDR overlap information of the specified VCN in selected compartments.Specify the OCID.
- Specified by:
getVcnOverlapin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getVcnTopology
public Future<GetVcnTopologyResponse> getVcnTopology(GetVcnTopologyRequest request, AsyncHandler<GetVcnTopologyRequest,GetVcnTopologyResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets a virtual network topology for a given VCN.- Specified by:
getVcnTopologyin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getVirtualCircuit
public Future<GetVirtualCircuitResponse> getVirtualCircuit(GetVirtualCircuitRequest request, AsyncHandler<GetVirtualCircuitRequest,GetVirtualCircuitResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified virtual circuit’s information.- Specified by:
getVirtualCircuitin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getVlan
public Future<GetVlanResponse> getVlan(GetVlanRequest request, AsyncHandler<GetVlanRequest,GetVlanResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified VLAN’s information.- Specified by:
getVlanin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getVnic
public Future<GetVnicResponse> getVnic(GetVnicRequest request, AsyncHandler<GetVnicRequest,GetVnicResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the information for the specified virtual network interface card (VNIC).You can get the VNIC OCID from the
listVnicAttachmentsoperation.- Specified by:
getVnicin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getVtap
public Future<GetVtapResponse> getVtap(GetVtapRequest request, AsyncHandler<GetVtapRequest,GetVtapResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specifiedVtapresource.- Specified by:
getVtapin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
ipv6VnicDetach
public Future<Ipv6VnicDetachResponse> ipv6VnicDetach(Ipv6VnicDetachRequest request, AsyncHandler<Ipv6VnicDetachRequest,Ipv6VnicDetachResponse> handler)
Description copied from interface:VirtualNetworkAsyncUnassign the specified IPv6 address from Virtual Network Interface Card (VNIC).You must specify the IPv6 OCID.
- Specified by:
ipv6VnicDetachin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listAllowedPeerRegionsForRemotePeering
public Future<ListAllowedPeerRegionsForRemotePeeringResponse> listAllowedPeerRegionsForRemotePeering(ListAllowedPeerRegionsForRemotePeeringRequest request, AsyncHandler<ListAllowedPeerRegionsForRemotePeeringRequest,ListAllowedPeerRegionsForRemotePeeringResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the regions that support remote VCN peering (which is peering across regions).For more information, see VCN Peering.
- Specified by:
listAllowedPeerRegionsForRemotePeeringin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listByoasns
public Future<ListByoasnsResponse> listByoasns(ListByoasnsRequest request, AsyncHandler<ListByoasnsRequest,ListByoasnsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists theByoasnresources in the specified compartment.You can filter the list using query parameters.
- Specified by:
listByoasnsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listByoipAllocatedRanges
public Future<ListByoipAllocatedRangesResponse> listByoipAllocatedRanges(ListByoipAllocatedRangesRequest request, AsyncHandler<ListByoipAllocatedRangesRequest,ListByoipAllocatedRangesResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the subranges of a BYOIP CIDR block currently allocated to an IP pool.Each
ByoipAllocatedRangeobject also lists the IP pool where it is allocated.- Specified by:
listByoipAllocatedRangesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listByoipRanges
public Future<ListByoipRangesResponse> listByoipRanges(ListByoipRangesRequest request, AsyncHandler<ListByoipRangesRequest,ListByoipRangesResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists theByoipRangeresources in the specified compartment.You can filter the list using query parameters.
- Specified by:
listByoipRangesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listCaptureFilters
public Future<ListCaptureFiltersResponse> listCaptureFilters(ListCaptureFiltersRequest request, AsyncHandler<ListCaptureFiltersRequest,ListCaptureFiltersResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the capture filters in the specified compartment.- Specified by:
listCaptureFiltersin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listCpeDeviceShapes
public Future<ListCpeDeviceShapesResponse> listCpeDeviceShapes(ListCpeDeviceShapesRequest request, AsyncHandler<ListCpeDeviceShapesRequest,ListCpeDeviceShapesResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the CPE device types that the Networking service provides CPE configuration content for (example: Cisco ASA).The content helps a network engineer configure the actual CPE device represented by a
Cpeobject.If you want to generate CPE configuration content for one of the returned CPE device types, ensure that the
Cpeobject's `cpeDeviceShapeId` attribute is set to the CPE device type's [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) (returned by this operation).For information about generating CPE configuration content, see these operations:
getCpeDeviceConfigContent*getIpsecCpeDeviceConfigContent*getTunnelCpeDeviceConfigContent- Specified by:
listCpeDeviceShapesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listCpes
public Future<ListCpesResponse> listCpes(ListCpesRequest request, AsyncHandler<ListCpesRequest,ListCpesResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the customer-premises equipment objects (CPEs) in the specified compartment.- Specified by:
listCpesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listCrossConnectGroups
public Future<ListCrossConnectGroupsResponse> listCrossConnectGroups(ListCrossConnectGroupsRequest request, AsyncHandler<ListCrossConnectGroupsRequest,ListCrossConnectGroupsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the cross-connect groups in the specified compartment.- Specified by:
listCrossConnectGroupsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listCrossConnectLocations
public Future<ListCrossConnectLocationsResponse> listCrossConnectLocations(ListCrossConnectLocationsRequest request, AsyncHandler<ListCrossConnectLocationsRequest,ListCrossConnectLocationsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the available FastConnect locations for cross-connect installation.You need this information so you can specify your desired location when you create a cross-connect.
- Specified by:
listCrossConnectLocationsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listCrossConnectMappings
public Future<ListCrossConnectMappingsResponse> listCrossConnectMappings(ListCrossConnectMappingsRequest request, AsyncHandler<ListCrossConnectMappingsRequest,ListCrossConnectMappingsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the Cross Connect mapping Details for the specified virtual circuit.- Specified by:
listCrossConnectMappingsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listCrossConnects
public Future<ListCrossConnectsResponse> listCrossConnects(ListCrossConnectsRequest request, AsyncHandler<ListCrossConnectsRequest,ListCrossConnectsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the cross-connects in the specified compartment.You can filter the list by specifying the OCID of a cross-connect group.
- Specified by:
listCrossConnectsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listCrossconnectPortSpeedShapes
public Future<ListCrossconnectPortSpeedShapesResponse> listCrossconnectPortSpeedShapes(ListCrossconnectPortSpeedShapesRequest request, AsyncHandler<ListCrossconnectPortSpeedShapesRequest,ListCrossconnectPortSpeedShapesResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the available port speeds for cross-connects.You need this information so you can specify your desired port speed (that is, shape) when you create a cross-connect.
- Specified by:
listCrossconnectPortSpeedShapesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listDhcpOptions
public Future<ListDhcpOptionsResponse> listDhcpOptions(ListDhcpOptionsRequest request, AsyncHandler<ListDhcpOptionsRequest,ListDhcpOptionsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the sets of DHCP options in the specified VCN and specified compartment.If the VCN ID is not provided, then the list includes the sets of DHCP options from all VCNs in the specified compartment. The response includes the default set of options that automatically comes with each VCN, plus any other sets you’ve created.
- Specified by:
listDhcpOptionsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listDrgAttachments
public Future<ListDrgAttachmentsResponse> listDrgAttachments(ListDrgAttachmentsRequest request, AsyncHandler<ListDrgAttachmentsRequest,ListDrgAttachmentsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists theDrgAttachmentresource for the specified compartment.You can filter the results by DRG, attached network, attachment type, DRG route table or VCN route table.
The LIST API lists DRG attachments by attachment type. It will default to list VCN attachments, but you may request to list ALL attachments of ALL types.
- Specified by:
listDrgAttachmentsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listDrgRouteDistributionStatements
public Future<ListDrgRouteDistributionStatementsResponse> listDrgRouteDistributionStatements(ListDrgRouteDistributionStatementsRequest request, AsyncHandler<ListDrgRouteDistributionStatementsRequest,ListDrgRouteDistributionStatementsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the statements for the specified route distribution.- Specified by:
listDrgRouteDistributionStatementsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listDrgRouteDistributions
public Future<ListDrgRouteDistributionsResponse> listDrgRouteDistributions(ListDrgRouteDistributionsRequest request, AsyncHandler<ListDrgRouteDistributionsRequest,ListDrgRouteDistributionsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the route distributions in the specified DRG.To retrieve the statements in a distribution, use the ListDrgRouteDistributionStatements operation.
- Specified by:
listDrgRouteDistributionsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listDrgRouteRules
public Future<ListDrgRouteRulesResponse> listDrgRouteRules(ListDrgRouteRulesRequest request, AsyncHandler<ListDrgRouteRulesRequest,ListDrgRouteRulesResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the route rules in the specified DRG route table.- Specified by:
listDrgRouteRulesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listDrgRouteTables
public Future<ListDrgRouteTablesResponse> listDrgRouteTables(ListDrgRouteTablesRequest request, AsyncHandler<ListDrgRouteTablesRequest,ListDrgRouteTablesResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the DRG route tables for the specified DRG.Use the `ListDrgRouteRules` operation to retrieve the route rules in a table.
- Specified by:
listDrgRouteTablesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listDrgs
public Future<ListDrgsResponse> listDrgs(ListDrgsRequest request, AsyncHandler<ListDrgsRequest,ListDrgsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the DRGs in the specified compartment.- Specified by:
listDrgsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listFastConnectProviderServices
public Future<ListFastConnectProviderServicesResponse> listFastConnectProviderServices(ListFastConnectProviderServicesRequest request, AsyncHandler<ListFastConnectProviderServicesRequest,ListFastConnectProviderServicesResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the service offerings from supported providers.You need this information so you can specify your desired provider and service offering when you create a virtual circuit.
For the compartment ID, provide the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of your tenancy (the root compartment).
For more information, see [FastConnect Overview](https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).
- Specified by:
listFastConnectProviderServicesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listFastConnectProviderVirtualCircuitBandwidthShapes
public Future<ListFastConnectProviderVirtualCircuitBandwidthShapesResponse> listFastConnectProviderVirtualCircuitBandwidthShapes(ListFastConnectProviderVirtualCircuitBandwidthShapesRequest request, AsyncHandler<ListFastConnectProviderVirtualCircuitBandwidthShapesRequest,ListFastConnectProviderVirtualCircuitBandwidthShapesResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the list of available virtual circuit bandwidth levels for a provider.You need this information so you can specify your desired bandwidth level (shape) when you create a virtual circuit.
For more information about virtual circuits, see [FastConnect Overview](https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).
- Specified by:
listFastConnectProviderVirtualCircuitBandwidthShapesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listIPSecConnectionTunnelRoutes
public Future<ListIPSecConnectionTunnelRoutesResponse> listIPSecConnectionTunnelRoutes(ListIPSecConnectionTunnelRoutesRequest request, AsyncHandler<ListIPSecConnectionTunnelRoutesRequest,ListIPSecConnectionTunnelRoutesResponse> handler)
Description copied from interface:VirtualNetworkAsyncThe routes advertised to the on-premises network and the routes received from the on-premises network.- Specified by:
listIPSecConnectionTunnelRoutesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listIPSecConnectionTunnelSecurityAssociations
public Future<ListIPSecConnectionTunnelSecurityAssociationsResponse> listIPSecConnectionTunnelSecurityAssociations(ListIPSecConnectionTunnelSecurityAssociationsRequest request, AsyncHandler<ListIPSecConnectionTunnelSecurityAssociationsRequest,ListIPSecConnectionTunnelSecurityAssociationsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the tunnel security associations information for the specified IPSec tunnel ID.- Specified by:
listIPSecConnectionTunnelSecurityAssociationsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listIPSecConnectionTunnels
public Future<ListIPSecConnectionTunnelsResponse> listIPSecConnectionTunnels(ListIPSecConnectionTunnelsRequest request, AsyncHandler<ListIPSecConnectionTunnelsRequest,ListIPSecConnectionTunnelsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the tunnel information for the specified IPSec connection.- Specified by:
listIPSecConnectionTunnelsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listIPSecConnections
public Future<ListIPSecConnectionsResponse> listIPSecConnections(ListIPSecConnectionsRequest request, AsyncHandler<ListIPSecConnectionsRequest,ListIPSecConnectionsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the IPSec connections for the specified compartment.You can filter the results by DRG or CPE.
- Specified by:
listIPSecConnectionsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listInternetGateways
public Future<ListInternetGatewaysResponse> listInternetGateways(ListInternetGatewaysRequest request, AsyncHandler<ListInternetGatewaysRequest,ListInternetGatewaysResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the internet gateways in the specified VCN and the specified compartment.If the VCN ID is not provided, then the list includes the internet gateways from all VCNs in the specified compartment.
- Specified by:
listInternetGatewaysin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listIpInventory
public Future<ListIpInventoryResponse> listIpInventory(ListIpInventoryRequest request, AsyncHandler<ListIpInventoryRequest,ListIpInventoryResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the IP Inventory information in the selected compartments.- Specified by:
listIpInventoryin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listIpv6s
public Future<ListIpv6sResponse> listIpv6s(ListIpv6sRequest request, AsyncHandler<ListIpv6sRequest,ListIpv6sResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists theIpv6objects based on one of these filters:Subnet [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * VNIC [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * Both IPv6 address and subnet OCID: This lets you get an `Ipv6` object based on its private IPv6 address (for example, 2001:0db8:0123:1111:abcd:ef01:2345:6789) and not its [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For comparison,
getIpv6requires the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).- Specified by:
listIpv6sin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listLocalPeeringGateways
public Future<ListLocalPeeringGatewaysResponse> listLocalPeeringGateways(ListLocalPeeringGatewaysRequest request, AsyncHandler<ListLocalPeeringGatewaysRequest,ListLocalPeeringGatewaysResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the local peering gateways (LPGs) for the specified VCN and specified compartment.If the VCN ID is not provided, then the list includes the LPGs from all VCNs in the specified compartment.
- Specified by:
listLocalPeeringGatewaysin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listNatGateways
public Future<ListNatGatewaysResponse> listNatGateways(ListNatGatewaysRequest request, AsyncHandler<ListNatGatewaysRequest,ListNatGatewaysResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the NAT gateways in the specified compartment.You may optionally specify a VCN OCID to filter the results by VCN.
- Specified by:
listNatGatewaysin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listNetworkSecurityGroupSecurityRules
public Future<ListNetworkSecurityGroupSecurityRulesResponse> listNetworkSecurityGroupSecurityRules(ListNetworkSecurityGroupSecurityRulesRequest request, AsyncHandler<ListNetworkSecurityGroupSecurityRulesRequest,ListNetworkSecurityGroupSecurityRulesResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the security rules in the specified network security group.- Specified by:
listNetworkSecurityGroupSecurityRulesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listNetworkSecurityGroupVnics
public Future<ListNetworkSecurityGroupVnicsResponse> listNetworkSecurityGroupVnics(ListNetworkSecurityGroupVnicsRequest request, AsyncHandler<ListNetworkSecurityGroupVnicsRequest,ListNetworkSecurityGroupVnicsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the VNICs in the specified network security group.- Specified by:
listNetworkSecurityGroupVnicsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listNetworkSecurityGroups
public Future<ListNetworkSecurityGroupsResponse> listNetworkSecurityGroups(ListNetworkSecurityGroupsRequest request, AsyncHandler<ListNetworkSecurityGroupsRequest,ListNetworkSecurityGroupsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists either the network security groups in the specified compartment, or those associated with the specified VLAN.You must specify either a
vlanIdor acompartmentId, but not both. If you specify avlanId, all other parameters are ignored.- Specified by:
listNetworkSecurityGroupsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPrivateIps
public Future<ListPrivateIpsResponse> listPrivateIps(ListPrivateIpsRequest request, AsyncHandler<ListPrivateIpsRequest,ListPrivateIpsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists thePrivateIpobjects based on one of these filters:- Subnet [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - VNIC [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - Both private IP address and subnet OCID: This lets you get a `privateIP` object based on its private IP address (for example, 10.0.3.3) and not its [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). For comparison,
getPrivateIprequires the [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).If you're listing all the private IPs associated with a given subnet or VNIC, the response includes both primary and secondary private IPs.
If you are an Oracle Cloud VMware Solution customer and have VLANs in your VCN, you can filter the list by VLAN [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm). See
Vlan.- Specified by:
listPrivateIpsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPublicIpPools
public Future<ListPublicIpPoolsResponse> listPublicIpPools(ListPublicIpPoolsRequest request, AsyncHandler<ListPublicIpPoolsRequest,ListPublicIpPoolsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the public IP pools in the specified compartment.You can filter the list using query parameters.
- Specified by:
listPublicIpPoolsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listPublicIps
public Future<ListPublicIpsResponse> listPublicIps(ListPublicIpsRequest request, AsyncHandler<ListPublicIpsRequest,ListPublicIpsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists thePublicIpobjects in the specified compartment.You can filter the list by using query parameters.
To list your reserved public IPs: * Set `scope` = `REGION` (required) * Leave the `availabilityDomain` parameter empty * Set `lifetime` = `RESERVED`
To list the ephemeral public IPs assigned to a regional entity such as a NAT gateway: * Set `scope` = `REGION` (required) * Leave the `availabilityDomain` parameter empty * Set `lifetime` = `EPHEMERAL`
To list the ephemeral public IPs assigned to private IPs: * Set `scope` = `AVAILABILITY_DOMAIN` (required) * Set the `availabilityDomain` parameter to the desired availability domain (required) * Set `lifetime` = `EPHEMERAL`
*Note:** An ephemeral public IP assigned to a private IP is always in the same availability domain and compartment as the private IP.
- Specified by:
listPublicIpsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listRemotePeeringConnections
public Future<ListRemotePeeringConnectionsResponse> listRemotePeeringConnections(ListRemotePeeringConnectionsRequest request, AsyncHandler<ListRemotePeeringConnectionsRequest,ListRemotePeeringConnectionsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the remote peering connections (RPCs) for the specified DRG and compartment (the RPC’s compartment).- Specified by:
listRemotePeeringConnectionsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listRouteTables
public Future<ListRouteTablesResponse> listRouteTables(ListRouteTablesRequest request, AsyncHandler<ListRouteTablesRequest,ListRouteTablesResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the route tables in the specified VCN and specified compartment.If the VCN ID is not provided, then the list includes the route tables from all VCNs in the specified compartment. The response includes the default route table that automatically comes with each VCN in the specified compartment, plus any route tables you’ve created.
- Specified by:
listRouteTablesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSecurityLists
public Future<ListSecurityListsResponse> listSecurityLists(ListSecurityListsRequest request, AsyncHandler<ListSecurityListsRequest,ListSecurityListsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the security lists in the specified VCN and compartment.If the VCN ID is not provided, then the list includes the security lists from all VCNs in the specified compartment.
- Specified by:
listSecurityListsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listServiceGateways
public Future<ListServiceGatewaysResponse> listServiceGateways(ListServiceGatewaysRequest request, AsyncHandler<ListServiceGatewaysRequest,ListServiceGatewaysResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the service gateways in the specified compartment.You may optionally specify a VCN OCID to filter the results by VCN.
- Specified by:
listServiceGatewaysin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listServices
public Future<ListServicesResponse> listServices(ListServicesRequest request, AsyncHandler<ListServicesRequest,ListServicesResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the availableServiceobjects that you can enable for a service gateway in this region.- Specified by:
listServicesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listSubnets
public Future<ListSubnetsResponse> listSubnets(ListSubnetsRequest request, AsyncHandler<ListSubnetsRequest,ListSubnetsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the subnets in the specified VCN and the specified compartment.If the VCN ID is not provided, then the list includes the subnets from all VCNs in the specified compartment.
- Specified by:
listSubnetsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listVcns
public Future<ListVcnsResponse> listVcns(ListVcnsRequest request, AsyncHandler<ListVcnsRequest,ListVcnsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the virtual cloud networks (VCNs) in the specified compartment.- Specified by:
listVcnsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listVirtualCircuitAssociatedTunnels
public Future<ListVirtualCircuitAssociatedTunnelsResponse> listVirtualCircuitAssociatedTunnels(ListVirtualCircuitAssociatedTunnelsRequest request, AsyncHandler<ListVirtualCircuitAssociatedTunnelsRequest,ListVirtualCircuitAssociatedTunnelsResponse> handler)
Description copied from interface:VirtualNetworkAsyncGets the specified virtual circuit’s associatedTunnelsInfo.- Specified by:
listVirtualCircuitAssociatedTunnelsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listVirtualCircuitBandwidthShapes
public Future<ListVirtualCircuitBandwidthShapesResponse> listVirtualCircuitBandwidthShapes(ListVirtualCircuitBandwidthShapesRequest request, AsyncHandler<ListVirtualCircuitBandwidthShapesRequest,ListVirtualCircuitBandwidthShapesResponse> handler)
Description copied from interface:VirtualNetworkAsyncThe operation lists available bandwidth levels for virtual circuits.For the compartment ID, provide the OCID of your tenancy (the root compartment).
- Specified by:
listVirtualCircuitBandwidthShapesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listVirtualCircuitPublicPrefixes
public Future<ListVirtualCircuitPublicPrefixesResponse> listVirtualCircuitPublicPrefixes(ListVirtualCircuitPublicPrefixesRequest request, AsyncHandler<ListVirtualCircuitPublicPrefixesRequest,ListVirtualCircuitPublicPrefixesResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the public IP prefixes and their details for the specified public virtual circuit.- Specified by:
listVirtualCircuitPublicPrefixesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listVirtualCircuits
public Future<ListVirtualCircuitsResponse> listVirtualCircuits(ListVirtualCircuitsRequest request, AsyncHandler<ListVirtualCircuitsRequest,ListVirtualCircuitsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the virtual circuits in the specified compartment.- Specified by:
listVirtualCircuitsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listVlans
public Future<ListVlansResponse> listVlans(ListVlansRequest request, AsyncHandler<ListVlansRequest,ListVlansResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the VLANs in the specified VCN and the specified compartment.- Specified by:
listVlansin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
listVtaps
public Future<ListVtapsResponse> listVtaps(ListVtapsRequest request, AsyncHandler<ListVtapsRequest,ListVtapsResponse> handler)
Description copied from interface:VirtualNetworkAsyncLists the virtual test access points (VTAPs) in the specified compartment.- Specified by:
listVtapsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
modifyVcnCidr
public Future<ModifyVcnCidrResponse> modifyVcnCidr(ModifyVcnCidrRequest request, AsyncHandler<ModifyVcnCidrRequest,ModifyVcnCidrResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified CIDR block of a VCN.The new CIDR IP range must meet the following criteria:
- Must be valid. - Must not overlap with another CIDR block in the VCN, a CIDR block of a peered VCN, or the on-premises network CIDR block. - Must not exceed the limit of CIDR blocks allowed per VCN. - Must include IP addresses from the original CIDR block that are used in the VCN's existing route rules. - No IP address in an existing subnet should be outside of the new CIDR block range.
*Note:** Modifying a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can vary depending on the size of your network. Updating a small network could take about a minute, and updating a large network could take up to an hour. You can use the `GetWorkRequest` operation to check the status of the update.
- Specified by:
modifyVcnCidrin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
privateIpVnicDetach
public Future<PrivateIpVnicDetachResponse> privateIpVnicDetach(PrivateIpVnicDetachRequest request, AsyncHandler<PrivateIpVnicDetachRequest,PrivateIpVnicDetachResponse> handler)
Description copied from interface:VirtualNetworkAsyncUnassign the specified PrivateIP address from Virtual Network Interface Card (VNIC).You must specify the PrivateIP OCID.
- Specified by:
privateIpVnicDetachin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeDrgRouteDistributionStatements
public Future<RemoveDrgRouteDistributionStatementsResponse> removeDrgRouteDistributionStatements(RemoveDrgRouteDistributionStatementsRequest request, AsyncHandler<RemoveDrgRouteDistributionStatementsRequest,RemoveDrgRouteDistributionStatementsResponse> handler)
Description copied from interface:VirtualNetworkAsyncRemoves one or more route distribution statements from the specified route distribution’s map.- Specified by:
removeDrgRouteDistributionStatementsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeDrgRouteRules
public Future<RemoveDrgRouteRulesResponse> removeDrgRouteRules(RemoveDrgRouteRulesRequest request, AsyncHandler<RemoveDrgRouteRulesRequest,RemoveDrgRouteRulesResponse> handler)
Description copied from interface:VirtualNetworkAsyncRemoves one or more route rules from the specified DRG route table.- Specified by:
removeDrgRouteRulesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeExportDrgRouteDistribution
public Future<RemoveExportDrgRouteDistributionResponse> removeExportDrgRouteDistribution(RemoveExportDrgRouteDistributionRequest request, AsyncHandler<RemoveExportDrgRouteDistributionRequest,RemoveExportDrgRouteDistributionResponse> handler)
Description copied from interface:VirtualNetworkAsyncRemoves the export route distribution from the DRG attachment so no routes are advertised to it.- Specified by:
removeExportDrgRouteDistributionin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeImportDrgRouteDistribution
public Future<RemoveImportDrgRouteDistributionResponse> removeImportDrgRouteDistribution(RemoveImportDrgRouteDistributionRequest request, AsyncHandler<RemoveImportDrgRouteDistributionRequest,RemoveImportDrgRouteDistributionResponse> handler)
Description copied from interface:VirtualNetworkAsyncRemoves the import route distribution from the DRG route table so no routes are imported into it.- Specified by:
removeImportDrgRouteDistributionin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeIpv6SubnetCidr
public Future<RemoveIpv6SubnetCidrResponse> removeIpv6SubnetCidr(RemoveIpv6SubnetCidrRequest request, AsyncHandler<RemoveIpv6SubnetCidrRequest,RemoveIpv6SubnetCidrResponse> handler)
Description copied from interface:VirtualNetworkAsyncRemove an IPv6 prefix from a subnet.At least one IPv6 CIDR should remain.
- Specified by:
removeIpv6SubnetCidrin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeIpv6VcnCidr
public Future<RemoveIpv6VcnCidrResponse> removeIpv6VcnCidr(RemoveIpv6VcnCidrRequest request, AsyncHandler<RemoveIpv6VcnCidrRequest,RemoveIpv6VcnCidrResponse> handler)
Description copied from interface:VirtualNetworkAsyncRemoving an existing IPv6 prefix from a VCN.- Specified by:
removeIpv6VcnCidrin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeNetworkSecurityGroupSecurityRules
public Future<RemoveNetworkSecurityGroupSecurityRulesResponse> removeNetworkSecurityGroupSecurityRules(RemoveNetworkSecurityGroupSecurityRulesRequest request, AsyncHandler<RemoveNetworkSecurityGroupSecurityRulesRequest,RemoveNetworkSecurityGroupSecurityRulesResponse> handler)
Description copied from interface:VirtualNetworkAsyncRemoves one or more security rules from the specified network security group.- Specified by:
removeNetworkSecurityGroupSecurityRulesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removePublicIpPoolCapacity
public Future<RemovePublicIpPoolCapacityResponse> removePublicIpPoolCapacity(RemovePublicIpPoolCapacityRequest request, AsyncHandler<RemovePublicIpPoolCapacityRequest,RemovePublicIpPoolCapacityResponse> handler)
Description copied from interface:VirtualNetworkAsyncRemoves a CIDR block from the referenced public IP pool.- Specified by:
removePublicIpPoolCapacityin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
removeVcnCidr
public Future<RemoveVcnCidrResponse> removeVcnCidr(RemoveVcnCidrRequest request, AsyncHandler<RemoveVcnCidrRequest,RemoveVcnCidrResponse> handler)
Description copied from interface:VirtualNetworkAsyncRemoves a specified CIDR block from a VCN.*Notes:** - You cannot remove a CIDR block if an IP address in its range is in use. - Removing a CIDR block places your VCN in an updating state until the changes are complete. You cannot create or update the VCN's subnets, VLANs, LPGs, or route tables during this operation. The time to completion can take a few minutes. You can use the `GetWorkRequest` operation to check the status of the update.
- Specified by:
removeVcnCidrin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
setOriginAsn
public Future<SetOriginAsnResponse> setOriginAsn(SetOriginAsnRequest request, AsyncHandler<SetOriginAsnRequest,SetOriginAsnResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdate BYOIP’s origin ASN to byoasn.- Specified by:
setOriginAsnin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
setOriginAsnToOracle
public Future<SetOriginAsnToOracleResponse> setOriginAsnToOracle(SetOriginAsnToOracleRequest request, AsyncHandler<SetOriginAsnToOracleRequest,SetOriginAsnToOracleResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdate prefix’s origin ASN to OCI- Specified by:
setOriginAsnToOraclein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateByoasn
public Future<UpdateByoasnResponse> updateByoasn(UpdateByoasnRequest request, AsyncHandler<UpdateByoasnRequest,UpdateByoasnResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the tags or display name associated with the specified BYOASN Resource.- Specified by:
updateByoasnin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateByoipRange
public Future<UpdateByoipRangeResponse> updateByoipRange(UpdateByoipRangeRequest request, AsyncHandler<UpdateByoipRangeRequest,UpdateByoipRangeResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the tags or display name associated to the specified BYOIP CIDR block.- Specified by:
updateByoipRangein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateCaptureFilter
public Future<UpdateCaptureFilterResponse> updateCaptureFilter(UpdateCaptureFilterRequest request, AsyncHandler<UpdateCaptureFilterRequest,UpdateCaptureFilterResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified VTAP capture filter’s display name or tags.- Specified by:
updateCaptureFilterin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateCpe
public Future<UpdateCpeResponse> updateCpe(UpdateCpeRequest request, AsyncHandler<UpdateCpeRequest,UpdateCpeResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified CPE’s display name or tags.Avoid entering confidential information.
- Specified by:
updateCpein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateCrossConnect
public Future<UpdateCrossConnectResponse> updateCrossConnect(UpdateCrossConnectRequest request, AsyncHandler<UpdateCrossConnectRequest,UpdateCrossConnectResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified cross-connect.- Specified by:
updateCrossConnectin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateCrossConnectGroup
public Future<UpdateCrossConnectGroupResponse> updateCrossConnectGroup(UpdateCrossConnectGroupRequest request, AsyncHandler<UpdateCrossConnectGroupRequest,UpdateCrossConnectGroupResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified cross-connect group’s display name.Avoid entering confidential information.
- Specified by:
updateCrossConnectGroupin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateDhcpOptions
public Future<UpdateDhcpOptionsResponse> updateDhcpOptions(UpdateDhcpOptionsRequest request, AsyncHandler<UpdateDhcpOptionsRequest,UpdateDhcpOptionsResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified set of DHCP options.You can update the display name or the options themselves. Avoid entering confidential information.
Note that the `options` object you provide replaces the entire existing set of options.
- Specified by:
updateDhcpOptionsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateDrg
public Future<UpdateDrgResponse> updateDrg(UpdateDrgRequest request, AsyncHandler<UpdateDrgRequest,UpdateDrgResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified DRG’s display name or tags.Avoid entering confidential information.
- Specified by:
updateDrgin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateDrgAttachment
public Future<UpdateDrgAttachmentResponse> updateDrgAttachment(UpdateDrgAttachmentRequest request, AsyncHandler<UpdateDrgAttachmentRequest,UpdateDrgAttachmentResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the display name and routing information for the specifiedDrgAttachment.Avoid entering confidential information.
- Specified by:
updateDrgAttachmentin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateDrgRouteDistribution
public Future<UpdateDrgRouteDistributionResponse> updateDrgRouteDistribution(UpdateDrgRouteDistributionRequest request, AsyncHandler<UpdateDrgRouteDistributionRequest,UpdateDrgRouteDistributionResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified route distribution- Specified by:
updateDrgRouteDistributionin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateDrgRouteDistributionStatements
public Future<UpdateDrgRouteDistributionStatementsResponse> updateDrgRouteDistributionStatements(UpdateDrgRouteDistributionStatementsRequest request, AsyncHandler<UpdateDrgRouteDistributionStatementsRequest,UpdateDrgRouteDistributionStatementsResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates one or more route distribution statements in the specified route distribution.- Specified by:
updateDrgRouteDistributionStatementsin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateDrgRouteRules
public Future<UpdateDrgRouteRulesResponse> updateDrgRouteRules(UpdateDrgRouteRulesRequest request, AsyncHandler<UpdateDrgRouteRulesRequest,UpdateDrgRouteRulesResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates one or more route rules in the specified DRG route table.- Specified by:
updateDrgRouteRulesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateDrgRouteTable
public Future<UpdateDrgRouteTableResponse> updateDrgRouteTable(UpdateDrgRouteTableRequest request, AsyncHandler<UpdateDrgRouteTableRequest,UpdateDrgRouteTableResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified DRG route table.- Specified by:
updateDrgRouteTablein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateIPSecConnection
public Future<UpdateIPSecConnectionResponse> updateIPSecConnection(UpdateIPSecConnectionRequest request, AsyncHandler<UpdateIPSecConnectionRequest,UpdateIPSecConnectionResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified IPSec connection.To update an individual IPSec tunnel's attributes, use
updateIPSecConnectionTunnel.- Specified by:
updateIPSecConnectionin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateIPSecConnectionTunnel
public Future<UpdateIPSecConnectionTunnelResponse> updateIPSecConnectionTunnel(UpdateIPSecConnectionTunnelRequest request, AsyncHandler<UpdateIPSecConnectionTunnelRequest,UpdateIPSecConnectionTunnelResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified tunnel.This operation lets you change tunnel attributes such as the routing type (BGP dynamic routing or static routing). Here are some important notes:
If you change the tunnel's routing type or BGP session configuration, the tunnel will go down while it's reprovisioned.
If you want to switch the tunnel's `routing` from `STATIC` to `BGP`, make sure the tunnel's BGP session configuration attributes have been set (
bgpSessionInfo).If you want to switch the tunnel's `routing` from `BGP` to `STATIC`, make sure the
IPSecConnectionalready has at least one valid CIDR static route.- Specified by:
updateIPSecConnectionTunnelin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateIPSecConnectionTunnelSharedSecret
public Future<UpdateIPSecConnectionTunnelSharedSecretResponse> updateIPSecConnectionTunnelSharedSecret(UpdateIPSecConnectionTunnelSharedSecretRequest request, AsyncHandler<UpdateIPSecConnectionTunnelSharedSecretRequest,UpdateIPSecConnectionTunnelSharedSecretResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the shared secret (pre-shared key) for the specified tunnel.*Important:** If you change the shared secret, the tunnel will go down while it's reprovisioned.
- Specified by:
updateIPSecConnectionTunnelSharedSecretin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateInternetGateway
public Future<UpdateInternetGatewayResponse> updateInternetGateway(UpdateInternetGatewayRequest request, AsyncHandler<UpdateInternetGatewayRequest,UpdateInternetGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified internet gateway.You can disable/enable it, or change its display name or tags. Avoid entering confidential information.
If the gateway is disabled, that means no traffic will flow to/from the internet even if there's a route rule that enables that traffic.
- Specified by:
updateInternetGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateIpv6
public Future<UpdateIpv6Response> updateIpv6(UpdateIpv6Request request, AsyncHandler<UpdateIpv6Request,UpdateIpv6Response> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified IPv6.You must specify the object’s OCID. Use this operation if you want to:
Move an IPv6 to a different VNIC in the same subnet. * Enable/disable internet access for an IPv6. * Change the display name for an IPv6. * Update resource tags for an IPv6.
- Specified by:
updateIpv6in interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateLocalPeeringGateway
public Future<UpdateLocalPeeringGatewayResponse> updateLocalPeeringGateway(UpdateLocalPeeringGatewayRequest request, AsyncHandler<UpdateLocalPeeringGatewayRequest,UpdateLocalPeeringGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified local peering gateway (LPG).- Specified by:
updateLocalPeeringGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateNatGateway
public Future<UpdateNatGatewayResponse> updateNatGateway(UpdateNatGatewayRequest request, AsyncHandler<UpdateNatGatewayRequest,UpdateNatGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified NAT gateway.- Specified by:
updateNatGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateNetworkSecurityGroup
public Future<UpdateNetworkSecurityGroupResponse> updateNetworkSecurityGroup(UpdateNetworkSecurityGroupRequest request, AsyncHandler<UpdateNetworkSecurityGroupRequest,UpdateNetworkSecurityGroupResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified network security group.To add or remove an existing VNIC from the group, use
updateVnic.To add a VNIC to the group *when you create the VNIC*, specify the NSG's [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) during creation. For example, see the `nsgIds` attribute in
createVnicDetails.To add or remove security rules from the group, use
addNetworkSecurityGroupSecurityRulesorremoveNetworkSecurityGroupSecurityRules.To edit the contents of existing security rules in the group, use
updateNetworkSecurityGroupSecurityRules.- Specified by:
updateNetworkSecurityGroupin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateNetworkSecurityGroupSecurityRules
public Future<UpdateNetworkSecurityGroupSecurityRulesResponse> updateNetworkSecurityGroupSecurityRules(UpdateNetworkSecurityGroupSecurityRulesRequest request, AsyncHandler<UpdateNetworkSecurityGroupSecurityRulesRequest,UpdateNetworkSecurityGroupSecurityRulesResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates one or more security rules in the specified network security group.- Specified by:
updateNetworkSecurityGroupSecurityRulesin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updatePrivateIp
public Future<UpdatePrivateIpResponse> updatePrivateIp(UpdatePrivateIpRequest request, AsyncHandler<UpdatePrivateIpRequest,UpdatePrivateIpResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified private IP.You must specify the object’s OCID. Use this operation if you want to:
- Move a secondary private IP to a different VNIC in the same subnet. - Change the display name for a secondary private IP. - Change the hostname for a secondary private IP.
This operation cannot be used with primary private IPs. To update the hostname for the primary IP on a VNIC, use
updateVnic.- Specified by:
updatePrivateIpin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updatePublicIp
public Future<UpdatePublicIpResponse> updatePublicIp(UpdatePublicIpRequest request, AsyncHandler<UpdatePublicIpRequest,UpdatePublicIpResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified public IP.You must specify the object’s OCID. Use this operation if you want to:
Assign a reserved public IP in your pool to a private IP. * Move a reserved public IP to a different private IP. * Unassign a reserved public IP from a private IP (which returns it to your pool of reserved public IPs). * Change the display name or tags for a public IP.
Assigning, moving, and unassigning a reserved public IP are asynchronous operations. Poll the public IP's `lifecycleState` to determine if the operation succeeded.
*Note:** When moving a reserved public IP, the target private IP must not already have a public IP with `lifecycleState` = ASSIGNING or ASSIGNED. If it does, an error is returned. Also, the initial unassignment from the original private IP always succeeds, but the assignment to the target private IP is asynchronous and could fail silently (for example, if the target private IP is deleted or has a different public IP assigned to it in the interim). If that occurs, the public IP remains unassigned and its `lifecycleState` switches to AVAILABLE (it is not reassigned to its original private IP). You must poll the public IP's `lifecycleState` to determine if the move succeeded.
Regarding ephemeral public IPs:
If you want to assign an ephemeral public IP to a primary private IP, use
createPublicIp. * You can't move an ephemeral public IP to a different private IP. * If you want to unassign an ephemeral public IP from its private IP, usedeletePublicIp, which unassigns and deletes the ephemeral public IP.*Note:** If a public IP is assigned to a secondary private IP (see
PrivateIp), and you move that secondary private IP to another VNIC, the public IP moves with it.*Note:** There's a limit to the number of
PublicIpa VNIC or instance can have. If you try to move a reserved public IP to a VNIC or instance that has already reached its public IP limit, an error is returned. For information about the public IP limits, see [Public IP Addresses](https://docs.oracle.com/iaas/Content/Network/Tasks/managingpublicIPs.htm).- Specified by:
updatePublicIpin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updatePublicIpPool
public Future<UpdatePublicIpPoolResponse> updatePublicIpPool(UpdatePublicIpPoolRequest request, AsyncHandler<UpdatePublicIpPoolRequest,UpdatePublicIpPoolResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified public IP pool.- Specified by:
updatePublicIpPoolin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateRemotePeeringConnection
public Future<UpdateRemotePeeringConnectionResponse> updateRemotePeeringConnection(UpdateRemotePeeringConnectionRequest request, AsyncHandler<UpdateRemotePeeringConnectionRequest,UpdateRemotePeeringConnectionResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified remote peering connection (RPC).- Specified by:
updateRemotePeeringConnectionin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateRouteTable
public Future<UpdateRouteTableResponse> updateRouteTable(UpdateRouteTableRequest request, AsyncHandler<UpdateRouteTableRequest,UpdateRouteTableResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified route table’s display name or route rules.Avoid entering confidential information.
Note that the `routeRules` object you provide replaces the entire existing set of rules.
- Specified by:
updateRouteTablein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateSecurityList
public Future<UpdateSecurityListResponse> updateSecurityList(UpdateSecurityListRequest request, AsyncHandler<UpdateSecurityListRequest,UpdateSecurityListResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified security list’s display name or rules.Avoid entering confidential information.
Note that the `egressSecurityRules` or `ingressSecurityRules` objects you provide replace the entire existing objects.
- Specified by:
updateSecurityListin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateServiceGateway
public Future<UpdateServiceGatewayResponse> updateServiceGateway(UpdateServiceGatewayRequest request, AsyncHandler<UpdateServiceGatewayRequest,UpdateServiceGatewayResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified service gateway.The information you provide overwrites the existing attributes of the gateway.
- Specified by:
updateServiceGatewayin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateSubnet
public Future<UpdateSubnetResponse> updateSubnet(UpdateSubnetRequest request, AsyncHandler<UpdateSubnetRequest,UpdateSubnetResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified subnet.- Specified by:
updateSubnetin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateTunnelCpeDeviceConfig
public Future<UpdateTunnelCpeDeviceConfigResponse> updateTunnelCpeDeviceConfig(UpdateTunnelCpeDeviceConfigRequest request, AsyncHandler<UpdateTunnelCpeDeviceConfigRequest,UpdateTunnelCpeDeviceConfigResponse> handler)
Description copied from interface:VirtualNetworkAsyncCreates or updates the set of CPE configuration answers for the specified tunnel.The answers correlate to the questions that are specific to the CPE device type (see the
parametersattribute ofCpeDeviceShapeDetail).- Specified by:
updateTunnelCpeDeviceConfigin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateVcn
public Future<UpdateVcnResponse> updateVcn(UpdateVcnRequest request, AsyncHandler<UpdateVcnRequest,UpdateVcnResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified VCN.- Specified by:
updateVcnin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateVirtualCircuit
public Future<UpdateVirtualCircuitResponse> updateVirtualCircuit(UpdateVirtualCircuitRequest request, AsyncHandler<UpdateVirtualCircuitRequest,UpdateVirtualCircuitResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified virtual circuit.This can be called by either the customer who owns the virtual circuit, or the provider (when provisioning or de-provisioning the virtual circuit from their end). The documentation for
updateVirtualCircuitDetailsindicates who can update each property of the virtual circuit.*Important:** If the virtual circuit is working and in the PROVISIONED state, updating any of the network-related properties (such as the DRG being used, the BGP ASN, and so on) will cause the virtual circuit's state to switch to PROVISIONING and the related BGP session to go down. After Oracle re-provisions the virtual circuit, its state will return to PROVISIONED. Make sure you confirm that the associated BGP session is back up. For more information about the various states and how to test connectivity, see [FastConnect Overview](https://docs.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm).
To change the list of public IP prefixes for a public virtual circuit, use
bulkAddVirtualCircuitPublicPrefixesandbulkDeleteVirtualCircuitPublicPrefixes. Updating the list of prefixes does NOT cause the BGP session to go down. However, Oracle must verify the customer's ownership of each added prefix before traffic for that prefix will flow across the virtual circuit.- Specified by:
updateVirtualCircuitin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateVlan
public Future<UpdateVlanResponse> updateVlan(UpdateVlanRequest request, AsyncHandler<UpdateVlanRequest,UpdateVlanResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified VLAN.Note that this operation might require changes to all the VNICs in the VLAN, which can take a while. The VLAN will be in the UPDATING state until the changes are complete.
- Specified by:
updateVlanin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateVnic
public Future<UpdateVnicResponse> updateVnic(UpdateVnicRequest request, AsyncHandler<UpdateVnicRequest,UpdateVnicResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified VNIC.- Specified by:
updateVnicin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
updateVtap
public Future<UpdateVtapResponse> updateVtap(UpdateVtapRequest request, AsyncHandler<UpdateVtapRequest,UpdateVtapResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpdates the specified VTAP’s display name or tags.- Specified by:
updateVtapin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
upgradeDrg
public Future<UpgradeDrgResponse> upgradeDrg(UpgradeDrgRequest request, AsyncHandler<UpgradeDrgRequest,UpgradeDrgResponse> handler)
Description copied from interface:VirtualNetworkAsyncUpgrades the DRG.After upgrade, you can control routing inside your DRG via DRG attachments, route distributions, and DRG route tables.
- Specified by:
upgradeDrgin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
validateByoasn
public Future<ValidateByoasnResponse> validateByoasn(ValidateByoasnRequest request, AsyncHandler<ValidateByoasnRequest,ValidateByoasnResponse> handler)
Description copied from interface:VirtualNetworkAsyncSubmits the BYOASN for validation.Please do not submit to Oracle for validation if the information for the BYOASN is not already modified in the Regional Internet Registry. See To import a BYOASN for details.
- Specified by:
validateByoasnin interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
validateByoipRange
public Future<ValidateByoipRangeResponse> validateByoipRange(ValidateByoipRangeRequest request, AsyncHandler<ValidateByoipRangeRequest,ValidateByoipRangeResponse> handler)
Description copied from interface:VirtualNetworkAsyncSubmits the BYOIP CIDR block you are importing for validation.Do not submit to Oracle for validation if you have not already modified the information for the BYOIP CIDR block with your Regional Internet Registry. See To import a CIDR block for details.
- Specified by:
validateByoipRangein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
withdrawByoipRange
public Future<WithdrawByoipRangeResponse> withdrawByoipRange(WithdrawByoipRangeRequest request, AsyncHandler<WithdrawByoipRangeRequest,WithdrawByoipRangeResponse> handler)
Description copied from interface:VirtualNetworkAsyncWithdraws BGP route advertisement for the BYOIP CIDR block.- Specified by:
withdrawByoipRangein interfaceVirtualNetworkAsync- Parameters:
request- The request object containing the details to sendhandler- The request handler to invoke upon completion, may be null.- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint- The endpoint template in userequiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
getMinimumClientCommonLibraryVersionFromClient
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
-
clientCall
protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)
-
-