oci.Core.getVirtualCircuitBandwidthShapes
Explore with Pulumi AI
This data source provides the list of Virtual Circuit Bandwidth Shapes in Oracle Cloud Infrastructure Core service.
Gets 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.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testVirtualCircuitBandwidthShapes = oci.Core.getVirtualCircuitBandwidthShapes({
providerServiceId: testFastConnectProviderServices.fastConnectProviderServices[0].id,
});
import pulumi
import pulumi_oci as oci
test_virtual_circuit_bandwidth_shapes = oci.Core.get_virtual_circuit_bandwidth_shapes(provider_service_id=test_fast_connect_provider_services["fastConnectProviderServices"][0]["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/Core"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Core.GetVirtualCircuitBandwidthShapes(ctx, &core.GetVirtualCircuitBandwidthShapesArgs{
ProviderServiceId: testFastConnectProviderServices.FastConnectProviderServices[0].Id,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testVirtualCircuitBandwidthShapes = Oci.Core.GetVirtualCircuitBandwidthShapes.Invoke(new()
{
ProviderServiceId = testFastConnectProviderServices.FastConnectProviderServices[0].Id,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.CoreFunctions;
import com.pulumi.oci.Core.inputs.GetVirtualCircuitBandwidthShapesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testVirtualCircuitBandwidthShapes = CoreFunctions.getVirtualCircuitBandwidthShapes(GetVirtualCircuitBandwidthShapesArgs.builder()
.providerServiceId(testFastConnectProviderServices.fastConnectProviderServices()[0].id())
.build());
}
}
variables:
testVirtualCircuitBandwidthShapes:
fn::invoke:
Function: oci:Core:getVirtualCircuitBandwidthShapes
Arguments:
providerServiceId: ${testFastConnectProviderServices.fastConnectProviderServices[0].id}
Using getVirtualCircuitBandwidthShapes
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getVirtualCircuitBandwidthShapes(args: GetVirtualCircuitBandwidthShapesArgs, opts?: InvokeOptions): Promise<GetVirtualCircuitBandwidthShapesResult>
function getVirtualCircuitBandwidthShapesOutput(args: GetVirtualCircuitBandwidthShapesOutputArgs, opts?: InvokeOptions): Output<GetVirtualCircuitBandwidthShapesResult>
def get_virtual_circuit_bandwidth_shapes(filters: Optional[Sequence[_core.GetVirtualCircuitBandwidthShapesFilter]] = None,
provider_service_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetVirtualCircuitBandwidthShapesResult
def get_virtual_circuit_bandwidth_shapes_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[_core.GetVirtualCircuitBandwidthShapesFilterArgs]]]] = None,
provider_service_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetVirtualCircuitBandwidthShapesResult]
func GetVirtualCircuitBandwidthShapes(ctx *Context, args *GetVirtualCircuitBandwidthShapesArgs, opts ...InvokeOption) (*GetVirtualCircuitBandwidthShapesResult, error)
func GetVirtualCircuitBandwidthShapesOutput(ctx *Context, args *GetVirtualCircuitBandwidthShapesOutputArgs, opts ...InvokeOption) GetVirtualCircuitBandwidthShapesResultOutput
> Note: This function is named GetVirtualCircuitBandwidthShapes
in the Go SDK.
public static class GetVirtualCircuitBandwidthShapes
{
public static Task<GetVirtualCircuitBandwidthShapesResult> InvokeAsync(GetVirtualCircuitBandwidthShapesArgs args, InvokeOptions? opts = null)
public static Output<GetVirtualCircuitBandwidthShapesResult> Invoke(GetVirtualCircuitBandwidthShapesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVirtualCircuitBandwidthShapesResult> getVirtualCircuitBandwidthShapes(GetVirtualCircuitBandwidthShapesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: oci:Core/getVirtualCircuitBandwidthShapes:getVirtualCircuitBandwidthShapes
arguments:
# arguments dictionary
The following arguments are supported:
- Provider
Service stringId - The OCID of the provider service.
- Filters
List<Get
Virtual Circuit Bandwidth Shapes Filter>
- Provider
Service stringId - The OCID of the provider service.
- Filters
[]Get
Virtual Circuit Bandwidth Shapes Filter
- provider
Service StringId - The OCID of the provider service.
- filters
List<Get
Virtual Circuit Bandwidth Shapes Filter>
- provider
Service stringId - The OCID of the provider service.
- filters
Get
Virtual Circuit Bandwidth Shapes Filter[]
- provider_
service_ strid - The OCID of the provider service.
- filters
Sequence[core.
Get Virtual Circuit Bandwidth Shapes Filter]
- provider
Service StringId - The OCID of the provider service.
- filters List<Property Map>
getVirtualCircuitBandwidthShapes Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Provider
Service stringId - Virtual
Circuit List<GetBandwidth Shapes Virtual Circuit Bandwidth Shapes Virtual Circuit Bandwidth Shape> - The list of virtual_circuit_bandwidth_shapes.
- Filters
List<Get
Virtual Circuit Bandwidth Shapes Filter>
- Id string
- The provider-assigned unique ID for this managed resource.
- Provider
Service stringId - Virtual
Circuit []GetBandwidth Shapes Virtual Circuit Bandwidth Shapes Virtual Circuit Bandwidth Shape - The list of virtual_circuit_bandwidth_shapes.
- Filters
[]Get
Virtual Circuit Bandwidth Shapes Filter
- id String
- The provider-assigned unique ID for this managed resource.
- provider
Service StringId - virtual
Circuit List<GetBandwidth Shapes Virtual Circuit Bandwidth Shapes Virtual Circuit Bandwidth Shape> - The list of virtual_circuit_bandwidth_shapes.
- filters
List<Get
Virtual Circuit Bandwidth Shapes Filter>
- id string
- The provider-assigned unique ID for this managed resource.
- provider
Service stringId - virtual
Circuit GetBandwidth Shapes Virtual Circuit Bandwidth Shapes Virtual Circuit Bandwidth Shape[] - The list of virtual_circuit_bandwidth_shapes.
- filters
Get
Virtual Circuit Bandwidth Shapes Filter[]
- id str
- The provider-assigned unique ID for this managed resource.
- provider_
service_ strid - virtual_
circuit_ Sequence[core.bandwidth_ shapes Get Virtual Circuit Bandwidth Shapes Virtual Circuit Bandwidth Shape] - The list of virtual_circuit_bandwidth_shapes.
- filters
Sequence[core.
Get Virtual Circuit Bandwidth Shapes Filter]
- id String
- The provider-assigned unique ID for this managed resource.
- provider
Service StringId - virtual
Circuit List<Property Map>Bandwidth Shapes - The list of virtual_circuit_bandwidth_shapes.
- filters List<Property Map>
Supporting Types
GetVirtualCircuitBandwidthShapesFilter
GetVirtualCircuitBandwidthShapesVirtualCircuitBandwidthShape
- Bandwidth
In intMbps - The bandwidth in Mbps. Example:
10000
- Name string
- The name of the bandwidth shape. Example:
10 Gbps
- Bandwidth
In intMbps - The bandwidth in Mbps. Example:
10000
- Name string
- The name of the bandwidth shape. Example:
10 Gbps
- bandwidth
In IntegerMbps - The bandwidth in Mbps. Example:
10000
- name String
- The name of the bandwidth shape. Example:
10 Gbps
- bandwidth
In numberMbps - The bandwidth in Mbps. Example:
10000
- name string
- The name of the bandwidth shape. Example:
10 Gbps
- bandwidth_
in_ intmbps - The bandwidth in Mbps. Example:
10000
- name str
- The name of the bandwidth shape. Example:
10 Gbps
- bandwidth
In NumberMbps - The bandwidth in Mbps. Example:
10000
- name String
- The name of the bandwidth shape. Example:
10 Gbps
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.