ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getDlOfferingSpeeds
Explore with Pulumi AI
Import the details of an existing IBM Cloud Infrastructure Direct Link offering speed options. For more information, about Direct Link Offering speed, see arranging for Direct Link connectivity.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const dsDlspeedoptions = ibm.getDlOfferingSpeeds({
offeringType: "dedicated",
});
import pulumi
import pulumi_ibm as ibm
ds_dlspeedoptions = ibm.get_dl_offering_speeds(offering_type="dedicated")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.GetDlOfferingSpeeds(ctx, &ibm.GetDlOfferingSpeedsArgs{
OfferingType: "dedicated",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var dsDlspeedoptions = Ibm.GetDlOfferingSpeeds.Invoke(new()
{
OfferingType = "dedicated",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetDlOfferingSpeedsArgs;
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 dsDlspeedoptions = IbmFunctions.getDlOfferingSpeeds(GetDlOfferingSpeedsArgs.builder()
.offeringType("dedicated")
.build());
}
}
variables:
dsDlspeedoptions:
fn::invoke:
function: ibm:getDlOfferingSpeeds
arguments:
offeringType: dedicated
Using getDlOfferingSpeeds
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 getDlOfferingSpeeds(args: GetDlOfferingSpeedsArgs, opts?: InvokeOptions): Promise<GetDlOfferingSpeedsResult>
function getDlOfferingSpeedsOutput(args: GetDlOfferingSpeedsOutputArgs, opts?: InvokeOptions): Output<GetDlOfferingSpeedsResult>
def get_dl_offering_speeds(id: Optional[str] = None,
offering_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDlOfferingSpeedsResult
def get_dl_offering_speeds_output(id: Optional[pulumi.Input[str]] = None,
offering_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDlOfferingSpeedsResult]
func GetDlOfferingSpeeds(ctx *Context, args *GetDlOfferingSpeedsArgs, opts ...InvokeOption) (*GetDlOfferingSpeedsResult, error)
func GetDlOfferingSpeedsOutput(ctx *Context, args *GetDlOfferingSpeedsOutputArgs, opts ...InvokeOption) GetDlOfferingSpeedsResultOutput
> Note: This function is named GetDlOfferingSpeeds
in the Go SDK.
public static class GetDlOfferingSpeeds
{
public static Task<GetDlOfferingSpeedsResult> InvokeAsync(GetDlOfferingSpeedsArgs args, InvokeOptions? opts = null)
public static Output<GetDlOfferingSpeedsResult> Invoke(GetDlOfferingSpeedsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDlOfferingSpeedsResult> getDlOfferingSpeeds(GetDlOfferingSpeedsArgs args, InvokeOptions options)
public static Output<GetDlOfferingSpeedsResult> getDlOfferingSpeeds(GetDlOfferingSpeedsArgs args, InvokeOptions options)
fn::invoke:
function: ibm:index/getDlOfferingSpeeds:getDlOfferingSpeeds
arguments:
# arguments dictionary
The following arguments are supported:
- Offering
Type string - The Direct Link offering type. Possible values are
dedicated
,connect
.| - Id string
- Offering
Type string - The Direct Link offering type. Possible values are
dedicated
,connect
.| - Id string
- offering
Type String - The Direct Link offering type. Possible values are
dedicated
,connect
.| - id String
- offering
Type string - The Direct Link offering type. Possible values are
dedicated
,connect
.| - id string
- offering_
type str - The Direct Link offering type. Possible values are
dedicated
,connect
.| - id str
- offering
Type String - The Direct Link offering type. Possible values are
dedicated
,connect
.| - id String
getDlOfferingSpeeds Result
The following output properties are available:
- Id string
- Offering
Speeds List<GetDl Offering Speeds Offering Speed> - (String) List of all the Direct Link offering speeds in the IBM Cloud infrastructure.
- Offering
Type string
- Id string
- Offering
Speeds []GetDl Offering Speeds Offering Speed - (String) List of all the Direct Link offering speeds in the IBM Cloud infrastructure.
- Offering
Type string
- id String
- offering
Speeds List<GetDl Offering Speeds Offering Speed> - (String) List of all the Direct Link offering speeds in the IBM Cloud infrastructure.
- offering
Type String
- id string
- offering
Speeds GetDl Offering Speeds Offering Speed[] - (String) List of all the Direct Link offering speeds in the IBM Cloud infrastructure.
- offering
Type string
- id str
- offering_
speeds Sequence[GetDl Offering Speeds Offering Speed] - (String) List of all the Direct Link offering speeds in the IBM Cloud infrastructure.
- offering_
type str
- id String
- offering
Speeds List<Property Map> - (String) List of all the Direct Link offering speeds in the IBM Cloud infrastructure.
- offering
Type String
Supporting Types
GetDlOfferingSpeedsOfferingSpeed
- Capabilities List<string>
- (String) The capabilities for billing option.
- Link
Speed double - (String) The link speed in megabits per second.
- Macsec
Enabled bool
- Capabilities []string
- (String) The capabilities for billing option.
- Link
Speed float64 - (String) The link speed in megabits per second.
- Macsec
Enabled bool
- capabilities List<String>
- (String) The capabilities for billing option.
- link
Speed Double - (String) The link speed in megabits per second.
- macsec
Enabled Boolean
- capabilities string[]
- (String) The capabilities for billing option.
- link
Speed number - (String) The link speed in megabits per second.
- macsec
Enabled boolean
- capabilities Sequence[str]
- (String) The capabilities for billing option.
- link_
speed float - (String) The link speed in megabits per second.
- macsec_
enabled bool
- capabilities List<String>
- (String) The capabilities for billing option.
- link
Speed Number - (String) The link speed in megabits per second.
- macsec
Enabled Boolean
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibm
Terraform Provider.