1. Packages
  2. Ibm Provider
  3. API Docs
  4. DlGatewayAction
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.DlGatewayAction

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Create DlGatewayAction Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DlGatewayAction(name: string, args: DlGatewayActionArgs, opts?: CustomResourceOptions);
    @overload
    def DlGatewayAction(resource_name: str,
                        args: DlGatewayActionArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def DlGatewayAction(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        action: Optional[str] = None,
                        gateway: Optional[str] = None,
                        default_import_route_filter: Optional[str] = None,
                        resource_group: Optional[str] = None,
                        bfd_multiplier: Optional[float] = None,
                        bgp_asn: Optional[float] = None,
                        export_route_filters: Optional[Sequence[DlGatewayActionExportRouteFilterArgs]] = None,
                        bgp_cer_cidr: Optional[str] = None,
                        bgp_ibm_cidr: Optional[str] = None,
                        carrier_name: Optional[str] = None,
                        connection_mode: Optional[str] = None,
                        cross_connect_router: Optional[str] = None,
                        customer_name: Optional[str] = None,
                        default_export_route_filter: Optional[str] = None,
                        bfd_interval: Optional[float] = None,
                        authentication_key: Optional[str] = None,
                        bgp_base_cidr: Optional[str] = None,
                        as_prepends: Optional[Sequence[DlGatewayActionAsPrependArgs]] = None,
                        global_: Optional[bool] = None,
                        import_route_filters: Optional[Sequence[DlGatewayActionImportRouteFilterArgs]] = None,
                        loa_reject_reason: Optional[str] = None,
                        location_name: Optional[str] = None,
                        metered: Optional[bool] = None,
                        name: Optional[str] = None,
                        port: Optional[str] = None,
                        dl_gateway_action_id: Optional[str] = None,
                        speed_mbps: Optional[float] = None,
                        tags: Optional[Sequence[str]] = None,
                        timeouts: Optional[DlGatewayActionTimeoutsArgs] = None,
                        type: Optional[str] = None)
    func NewDlGatewayAction(ctx *Context, name string, args DlGatewayActionArgs, opts ...ResourceOption) (*DlGatewayAction, error)
    public DlGatewayAction(string name, DlGatewayActionArgs args, CustomResourceOptions? opts = null)
    public DlGatewayAction(String name, DlGatewayActionArgs args)
    public DlGatewayAction(String name, DlGatewayActionArgs args, CustomResourceOptions options)
    
    type: ibm:DlGatewayAction
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DlGatewayActionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args DlGatewayActionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args DlGatewayActionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DlGatewayActionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DlGatewayActionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var dlGatewayActionResource = new Ibm.DlGatewayAction("dlGatewayActionResource", new()
    {
        Action = "string",
        Gateway = "string",
        DefaultImportRouteFilter = "string",
        ResourceGroup = "string",
        BfdMultiplier = 0,
        BgpAsn = 0,
        ExportRouteFilters = new[]
        {
            new Ibm.Inputs.DlGatewayActionExportRouteFilterArgs
            {
                Action = "string",
                Prefix = "string",
                Before = "string",
                CreatedAt = "string",
                ExFilterId = "string",
                Ge = 0,
                Le = 0,
                UpdatedAt = "string",
            },
        },
        BgpCerCidr = "string",
        BgpIbmCidr = "string",
        CarrierName = "string",
        ConnectionMode = "string",
        CrossConnectRouter = "string",
        CustomerName = "string",
        DefaultExportRouteFilter = "string",
        BfdInterval = 0,
        AuthenticationKey = "string",
        BgpBaseCidr = "string",
        AsPrepends = new[]
        {
            new Ibm.Inputs.DlGatewayActionAsPrependArgs
            {
                Length = 0,
                Policy = "string",
                CreatedAt = "string",
                Id = "string",
                SpecificPrefixes = new[]
                {
                    "string",
                },
                UpdatedAt = "string",
            },
        },
        Global = false,
        ImportRouteFilters = new[]
        {
            new Ibm.Inputs.DlGatewayActionImportRouteFilterArgs
            {
                Action = "string",
                Prefix = "string",
                Before = "string",
                CreatedAt = "string",
                Ge = 0,
                ImFilterId = "string",
                Le = 0,
                UpdatedAt = "string",
            },
        },
        LoaRejectReason = "string",
        LocationName = "string",
        Metered = false,
        Name = "string",
        Port = "string",
        DlGatewayActionId = "string",
        SpeedMbps = 0,
        Tags = new[]
        {
            "string",
        },
        Timeouts = new Ibm.Inputs.DlGatewayActionTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        Type = "string",
    });
    
    example, err := ibm.NewDlGatewayAction(ctx, "dlGatewayActionResource", &ibm.DlGatewayActionArgs{
    	Action:                   pulumi.String("string"),
    	Gateway:                  pulumi.String("string"),
    	DefaultImportRouteFilter: pulumi.String("string"),
    	ResourceGroup:            pulumi.String("string"),
    	BfdMultiplier:            pulumi.Float64(0),
    	BgpAsn:                   pulumi.Float64(0),
    	ExportRouteFilters: ibm.DlGatewayActionExportRouteFilterArray{
    		&ibm.DlGatewayActionExportRouteFilterArgs{
    			Action:     pulumi.String("string"),
    			Prefix:     pulumi.String("string"),
    			Before:     pulumi.String("string"),
    			CreatedAt:  pulumi.String("string"),
    			ExFilterId: pulumi.String("string"),
    			Ge:         pulumi.Float64(0),
    			Le:         pulumi.Float64(0),
    			UpdatedAt:  pulumi.String("string"),
    		},
    	},
    	BgpCerCidr:               pulumi.String("string"),
    	BgpIbmCidr:               pulumi.String("string"),
    	CarrierName:              pulumi.String("string"),
    	ConnectionMode:           pulumi.String("string"),
    	CrossConnectRouter:       pulumi.String("string"),
    	CustomerName:             pulumi.String("string"),
    	DefaultExportRouteFilter: pulumi.String("string"),
    	BfdInterval:              pulumi.Float64(0),
    	AuthenticationKey:        pulumi.String("string"),
    	BgpBaseCidr:              pulumi.String("string"),
    	AsPrepends: ibm.DlGatewayActionAsPrependArray{
    		&ibm.DlGatewayActionAsPrependArgs{
    			Length:    pulumi.Float64(0),
    			Policy:    pulumi.String("string"),
    			CreatedAt: pulumi.String("string"),
    			Id:        pulumi.String("string"),
    			SpecificPrefixes: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			UpdatedAt: pulumi.String("string"),
    		},
    	},
    	Global: pulumi.Bool(false),
    	ImportRouteFilters: ibm.DlGatewayActionImportRouteFilterArray{
    		&ibm.DlGatewayActionImportRouteFilterArgs{
    			Action:     pulumi.String("string"),
    			Prefix:     pulumi.String("string"),
    			Before:     pulumi.String("string"),
    			CreatedAt:  pulumi.String("string"),
    			Ge:         pulumi.Float64(0),
    			ImFilterId: pulumi.String("string"),
    			Le:         pulumi.Float64(0),
    			UpdatedAt:  pulumi.String("string"),
    		},
    	},
    	LoaRejectReason:   pulumi.String("string"),
    	LocationName:      pulumi.String("string"),
    	Metered:           pulumi.Bool(false),
    	Name:              pulumi.String("string"),
    	Port:              pulumi.String("string"),
    	DlGatewayActionId: pulumi.String("string"),
    	SpeedMbps:         pulumi.Float64(0),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Timeouts: &ibm.DlGatewayActionTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	Type: pulumi.String("string"),
    })
    
    var dlGatewayActionResource = new DlGatewayAction("dlGatewayActionResource", DlGatewayActionArgs.builder()
        .action("string")
        .gateway("string")
        .defaultImportRouteFilter("string")
        .resourceGroup("string")
        .bfdMultiplier(0)
        .bgpAsn(0)
        .exportRouteFilters(DlGatewayActionExportRouteFilterArgs.builder()
            .action("string")
            .prefix("string")
            .before("string")
            .createdAt("string")
            .exFilterId("string")
            .ge(0)
            .le(0)
            .updatedAt("string")
            .build())
        .bgpCerCidr("string")
        .bgpIbmCidr("string")
        .carrierName("string")
        .connectionMode("string")
        .crossConnectRouter("string")
        .customerName("string")
        .defaultExportRouteFilter("string")
        .bfdInterval(0)
        .authenticationKey("string")
        .bgpBaseCidr("string")
        .asPrepends(DlGatewayActionAsPrependArgs.builder()
            .length(0)
            .policy("string")
            .createdAt("string")
            .id("string")
            .specificPrefixes("string")
            .updatedAt("string")
            .build())
        .global(false)
        .importRouteFilters(DlGatewayActionImportRouteFilterArgs.builder()
            .action("string")
            .prefix("string")
            .before("string")
            .createdAt("string")
            .ge(0)
            .imFilterId("string")
            .le(0)
            .updatedAt("string")
            .build())
        .loaRejectReason("string")
        .locationName("string")
        .metered(false)
        .name("string")
        .port("string")
        .dlGatewayActionId("string")
        .speedMbps(0)
        .tags("string")
        .timeouts(DlGatewayActionTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .type("string")
        .build());
    
    dl_gateway_action_resource = ibm.DlGatewayAction("dlGatewayActionResource",
        action="string",
        gateway="string",
        default_import_route_filter="string",
        resource_group="string",
        bfd_multiplier=0,
        bgp_asn=0,
        export_route_filters=[{
            "action": "string",
            "prefix": "string",
            "before": "string",
            "created_at": "string",
            "ex_filter_id": "string",
            "ge": 0,
            "le": 0,
            "updated_at": "string",
        }],
        bgp_cer_cidr="string",
        bgp_ibm_cidr="string",
        carrier_name="string",
        connection_mode="string",
        cross_connect_router="string",
        customer_name="string",
        default_export_route_filter="string",
        bfd_interval=0,
        authentication_key="string",
        bgp_base_cidr="string",
        as_prepends=[{
            "length": 0,
            "policy": "string",
            "created_at": "string",
            "id": "string",
            "specific_prefixes": ["string"],
            "updated_at": "string",
        }],
        global_=False,
        import_route_filters=[{
            "action": "string",
            "prefix": "string",
            "before": "string",
            "created_at": "string",
            "ge": 0,
            "im_filter_id": "string",
            "le": 0,
            "updated_at": "string",
        }],
        loa_reject_reason="string",
        location_name="string",
        metered=False,
        name="string",
        port="string",
        dl_gateway_action_id="string",
        speed_mbps=0,
        tags=["string"],
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        type="string")
    
    const dlGatewayActionResource = new ibm.DlGatewayAction("dlGatewayActionResource", {
        action: "string",
        gateway: "string",
        defaultImportRouteFilter: "string",
        resourceGroup: "string",
        bfdMultiplier: 0,
        bgpAsn: 0,
        exportRouteFilters: [{
            action: "string",
            prefix: "string",
            before: "string",
            createdAt: "string",
            exFilterId: "string",
            ge: 0,
            le: 0,
            updatedAt: "string",
        }],
        bgpCerCidr: "string",
        bgpIbmCidr: "string",
        carrierName: "string",
        connectionMode: "string",
        crossConnectRouter: "string",
        customerName: "string",
        defaultExportRouteFilter: "string",
        bfdInterval: 0,
        authenticationKey: "string",
        bgpBaseCidr: "string",
        asPrepends: [{
            length: 0,
            policy: "string",
            createdAt: "string",
            id: "string",
            specificPrefixes: ["string"],
            updatedAt: "string",
        }],
        global: false,
        importRouteFilters: [{
            action: "string",
            prefix: "string",
            before: "string",
            createdAt: "string",
            ge: 0,
            imFilterId: "string",
            le: 0,
            updatedAt: "string",
        }],
        loaRejectReason: "string",
        locationName: "string",
        metered: false,
        name: "string",
        port: "string",
        dlGatewayActionId: "string",
        speedMbps: 0,
        tags: ["string"],
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        type: "string",
    });
    
    type: ibm:DlGatewayAction
    properties:
        action: string
        asPrepends:
            - createdAt: string
              id: string
              length: 0
              policy: string
              specificPrefixes:
                - string
              updatedAt: string
        authenticationKey: string
        bfdInterval: 0
        bfdMultiplier: 0
        bgpAsn: 0
        bgpBaseCidr: string
        bgpCerCidr: string
        bgpIbmCidr: string
        carrierName: string
        connectionMode: string
        crossConnectRouter: string
        customerName: string
        defaultExportRouteFilter: string
        defaultImportRouteFilter: string
        dlGatewayActionId: string
        exportRouteFilters:
            - action: string
              before: string
              createdAt: string
              exFilterId: string
              ge: 0
              le: 0
              prefix: string
              updatedAt: string
        gateway: string
        global: false
        importRouteFilters:
            - action: string
              before: string
              createdAt: string
              ge: 0
              imFilterId: string
              le: 0
              prefix: string
              updatedAt: string
        loaRejectReason: string
        locationName: string
        metered: false
        name: string
        port: string
        resourceGroup: string
        speedMbps: 0
        tags:
            - string
        timeouts:
            create: string
            delete: string
            update: string
        type: string
    

    DlGatewayAction Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The DlGatewayAction resource accepts the following input properties:

    Action string
    Approve/reject a pending change request.
    Gateway string
    The Direct Link gateway identifier
    AsPrepends List<DlGatewayActionAsPrepend>

    List of AS Prepend configuration information.Applicable only for create_gateway_approve requests.

    Nested scheme for as_prepend:

    AuthenticationKey string
    BGP MD5 authentication key.Applicable only create_gateway_approve for requests.
    BfdInterval double
    Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.Applicable only for create_gateway_approve requests.
    BfdMultiplier double
    The number of hello packets not received by a neighbor that causes the originating interface to be declared down.Applicable only for create_gateway_approve requests.
    BgpAsn double
    (Required, Integer) The BGP ASN of the gateway to be created. For example, 64999.
    BgpBaseCidr string
    (Optional, String) (Deprecated) The BGP base CIDR of the gateway to be created. See bgp_ibm_cidr and bgp_cer_cidr for details on how to create a gateway by using automatic or explicit IP assignment. Any bgp_base_cidr value set will be ignored.
    BgpCerCidr string
    (Optional, String) The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    BgpIbmCidr string
    (Optional, String) The BGP IBM CIDR. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    CarrierName string
    (Required, Forces new resource, String) The carrier name is required for dedicated type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example, myCarrierName.
    ConnectionMode string
    Type of network connection that you want to bind to your direct link. Allowed values are direct and transit. Applicable only for create_gateway_approve requests.
    CrossConnectRouter string
    Cross connect router
    CustomerName string
    Customer name
    DefaultExportRouteFilter string
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    DefaultImportRouteFilter string
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    DlGatewayActionId string
    (String) The unique ID of the gateway.
    ExportRouteFilters List<DlGatewayActionExportRouteFilter>

    List of Export Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for export_route_filter:

    Global bool
    Required-Gateway with global routing as true can connect networks outside your associated region.Applicable only for create_gateway_approve requests.
    ImportRouteFilters List<DlGatewayActionImportRouteFilter>

    List of Import Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for import_route_filter:

    LoaRejectReason string
    Loa reject reason
    LocationName string
    Gateway location
    Metered bool
    Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway. Applicable only for create_gateway_approve requests.
    Name string
    The unique user-defined name for this gateway
    Port string
    (Required, Forces new resource, String) The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
    ResourceGroup string
    The resource group id. If unspecified, the account's default resource group is used.Applicable only for create_gateway_approve requests.
    SpeedMbps double
    Gateway speed in megabits per second
    Tags List<string>
    Tags for the direct link gateway
    Timeouts DlGatewayActionTimeouts
    Type string
    Gateway type
    Action string
    Approve/reject a pending change request.
    Gateway string
    The Direct Link gateway identifier
    AsPrepends []DlGatewayActionAsPrependArgs

    List of AS Prepend configuration information.Applicable only for create_gateway_approve requests.

    Nested scheme for as_prepend:

    AuthenticationKey string
    BGP MD5 authentication key.Applicable only create_gateway_approve for requests.
    BfdInterval float64
    Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.Applicable only for create_gateway_approve requests.
    BfdMultiplier float64
    The number of hello packets not received by a neighbor that causes the originating interface to be declared down.Applicable only for create_gateway_approve requests.
    BgpAsn float64
    (Required, Integer) The BGP ASN of the gateway to be created. For example, 64999.
    BgpBaseCidr string
    (Optional, String) (Deprecated) The BGP base CIDR of the gateway to be created. See bgp_ibm_cidr and bgp_cer_cidr for details on how to create a gateway by using automatic or explicit IP assignment. Any bgp_base_cidr value set will be ignored.
    BgpCerCidr string
    (Optional, String) The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    BgpIbmCidr string
    (Optional, String) The BGP IBM CIDR. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    CarrierName string
    (Required, Forces new resource, String) The carrier name is required for dedicated type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example, myCarrierName.
    ConnectionMode string
    Type of network connection that you want to bind to your direct link. Allowed values are direct and transit. Applicable only for create_gateway_approve requests.
    CrossConnectRouter string
    Cross connect router
    CustomerName string
    Customer name
    DefaultExportRouteFilter string
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    DefaultImportRouteFilter string
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    DlGatewayActionId string
    (String) The unique ID of the gateway.
    ExportRouteFilters []DlGatewayActionExportRouteFilterArgs

    List of Export Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for export_route_filter:

    Global bool
    Required-Gateway with global routing as true can connect networks outside your associated region.Applicable only for create_gateway_approve requests.
    ImportRouteFilters []DlGatewayActionImportRouteFilterArgs

    List of Import Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for import_route_filter:

    LoaRejectReason string
    Loa reject reason
    LocationName string
    Gateway location
    Metered bool
    Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway. Applicable only for create_gateway_approve requests.
    Name string
    The unique user-defined name for this gateway
    Port string
    (Required, Forces new resource, String) The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
    ResourceGroup string
    The resource group id. If unspecified, the account's default resource group is used.Applicable only for create_gateway_approve requests.
    SpeedMbps float64
    Gateway speed in megabits per second
    Tags []string
    Tags for the direct link gateway
    Timeouts DlGatewayActionTimeoutsArgs
    Type string
    Gateway type
    action String
    Approve/reject a pending change request.
    gateway String
    The Direct Link gateway identifier
    asPrepends List<DlGatewayActionAsPrepend>

    List of AS Prepend configuration information.Applicable only for create_gateway_approve requests.

    Nested scheme for as_prepend:

    authenticationKey String
    BGP MD5 authentication key.Applicable only create_gateway_approve for requests.
    bfdInterval Double
    Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.Applicable only for create_gateway_approve requests.
    bfdMultiplier Double
    The number of hello packets not received by a neighbor that causes the originating interface to be declared down.Applicable only for create_gateway_approve requests.
    bgpAsn Double
    (Required, Integer) The BGP ASN of the gateway to be created. For example, 64999.
    bgpBaseCidr String
    (Optional, String) (Deprecated) The BGP base CIDR of the gateway to be created. See bgp_ibm_cidr and bgp_cer_cidr for details on how to create a gateway by using automatic or explicit IP assignment. Any bgp_base_cidr value set will be ignored.
    bgpCerCidr String
    (Optional, String) The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    bgpIbmCidr String
    (Optional, String) The BGP IBM CIDR. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    carrierName String
    (Required, Forces new resource, String) The carrier name is required for dedicated type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example, myCarrierName.
    connectionMode String
    Type of network connection that you want to bind to your direct link. Allowed values are direct and transit. Applicable only for create_gateway_approve requests.
    crossConnectRouter String
    Cross connect router
    customerName String
    Customer name
    defaultExportRouteFilter String
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    defaultImportRouteFilter String
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    dlGatewayActionId String
    (String) The unique ID of the gateway.
    exportRouteFilters List<DlGatewayActionExportRouteFilter>

    List of Export Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for export_route_filter:

    global Boolean
    Required-Gateway with global routing as true can connect networks outside your associated region.Applicable only for create_gateway_approve requests.
    importRouteFilters List<DlGatewayActionImportRouteFilter>

    List of Import Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for import_route_filter:

    loaRejectReason String
    Loa reject reason
    locationName String
    Gateway location
    metered Boolean
    Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway. Applicable only for create_gateway_approve requests.
    name String
    The unique user-defined name for this gateway
    port String
    (Required, Forces new resource, String) The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
    resourceGroup String
    The resource group id. If unspecified, the account's default resource group is used.Applicable only for create_gateway_approve requests.
    speedMbps Double
    Gateway speed in megabits per second
    tags List<String>
    Tags for the direct link gateway
    timeouts DlGatewayActionTimeouts
    type String
    Gateway type
    action string
    Approve/reject a pending change request.
    gateway string
    The Direct Link gateway identifier
    asPrepends DlGatewayActionAsPrepend[]

    List of AS Prepend configuration information.Applicable only for create_gateway_approve requests.

    Nested scheme for as_prepend:

    authenticationKey string
    BGP MD5 authentication key.Applicable only create_gateway_approve for requests.
    bfdInterval number
    Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.Applicable only for create_gateway_approve requests.
    bfdMultiplier number
    The number of hello packets not received by a neighbor that causes the originating interface to be declared down.Applicable only for create_gateway_approve requests.
    bgpAsn number
    (Required, Integer) The BGP ASN of the gateway to be created. For example, 64999.
    bgpBaseCidr string
    (Optional, String) (Deprecated) The BGP base CIDR of the gateway to be created. See bgp_ibm_cidr and bgp_cer_cidr for details on how to create a gateway by using automatic or explicit IP assignment. Any bgp_base_cidr value set will be ignored.
    bgpCerCidr string
    (Optional, String) The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    bgpIbmCidr string
    (Optional, String) The BGP IBM CIDR. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    carrierName string
    (Required, Forces new resource, String) The carrier name is required for dedicated type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example, myCarrierName.
    connectionMode string
    Type of network connection that you want to bind to your direct link. Allowed values are direct and transit. Applicable only for create_gateway_approve requests.
    crossConnectRouter string
    Cross connect router
    customerName string
    Customer name
    defaultExportRouteFilter string
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    defaultImportRouteFilter string
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    dlGatewayActionId string
    (String) The unique ID of the gateway.
    exportRouteFilters DlGatewayActionExportRouteFilter[]

    List of Export Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for export_route_filter:

    global boolean
    Required-Gateway with global routing as true can connect networks outside your associated region.Applicable only for create_gateway_approve requests.
    importRouteFilters DlGatewayActionImportRouteFilter[]

    List of Import Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for import_route_filter:

    loaRejectReason string
    Loa reject reason
    locationName string
    Gateway location
    metered boolean
    Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway. Applicable only for create_gateway_approve requests.
    name string
    The unique user-defined name for this gateway
    port string
    (Required, Forces new resource, String) The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
    resourceGroup string
    The resource group id. If unspecified, the account's default resource group is used.Applicable only for create_gateway_approve requests.
    speedMbps number
    Gateway speed in megabits per second
    tags string[]
    Tags for the direct link gateway
    timeouts DlGatewayActionTimeouts
    type string
    Gateway type
    action str
    Approve/reject a pending change request.
    gateway str
    The Direct Link gateway identifier
    as_prepends Sequence[DlGatewayActionAsPrependArgs]

    List of AS Prepend configuration information.Applicable only for create_gateway_approve requests.

    Nested scheme for as_prepend:

    authentication_key str
    BGP MD5 authentication key.Applicable only create_gateway_approve for requests.
    bfd_interval float
    Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.Applicable only for create_gateway_approve requests.
    bfd_multiplier float
    The number of hello packets not received by a neighbor that causes the originating interface to be declared down.Applicable only for create_gateway_approve requests.
    bgp_asn float
    (Required, Integer) The BGP ASN of the gateway to be created. For example, 64999.
    bgp_base_cidr str
    (Optional, String) (Deprecated) The BGP base CIDR of the gateway to be created. See bgp_ibm_cidr and bgp_cer_cidr for details on how to create a gateway by using automatic or explicit IP assignment. Any bgp_base_cidr value set will be ignored.
    bgp_cer_cidr str
    (Optional, String) The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    bgp_ibm_cidr str
    (Optional, String) The BGP IBM CIDR. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    carrier_name str
    (Required, Forces new resource, String) The carrier name is required for dedicated type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example, myCarrierName.
    connection_mode str
    Type of network connection that you want to bind to your direct link. Allowed values are direct and transit. Applicable only for create_gateway_approve requests.
    cross_connect_router str
    Cross connect router
    customer_name str
    Customer name
    default_export_route_filter str
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    default_import_route_filter str
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    dl_gateway_action_id str
    (String) The unique ID of the gateway.
    export_route_filters Sequence[DlGatewayActionExportRouteFilterArgs]

    List of Export Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for export_route_filter:

    global_ bool
    Required-Gateway with global routing as true can connect networks outside your associated region.Applicable only for create_gateway_approve requests.
    import_route_filters Sequence[DlGatewayActionImportRouteFilterArgs]

    List of Import Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for import_route_filter:

    loa_reject_reason str
    Loa reject reason
    location_name str
    Gateway location
    metered bool
    Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway. Applicable only for create_gateway_approve requests.
    name str
    The unique user-defined name for this gateway
    port str
    (Required, Forces new resource, String) The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
    resource_group str
    The resource group id. If unspecified, the account's default resource group is used.Applicable only for create_gateway_approve requests.
    speed_mbps float
    Gateway speed in megabits per second
    tags Sequence[str]
    Tags for the direct link gateway
    timeouts DlGatewayActionTimeoutsArgs
    type str
    Gateway type
    action String
    Approve/reject a pending change request.
    gateway String
    The Direct Link gateway identifier
    asPrepends List<Property Map>

    List of AS Prepend configuration information.Applicable only for create_gateway_approve requests.

    Nested scheme for as_prepend:

    authenticationKey String
    BGP MD5 authentication key.Applicable only create_gateway_approve for requests.
    bfdInterval Number
    Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.Applicable only for create_gateway_approve requests.
    bfdMultiplier Number
    The number of hello packets not received by a neighbor that causes the originating interface to be declared down.Applicable only for create_gateway_approve requests.
    bgpAsn Number
    (Required, Integer) The BGP ASN of the gateway to be created. For example, 64999.
    bgpBaseCidr String
    (Optional, String) (Deprecated) The BGP base CIDR of the gateway to be created. See bgp_ibm_cidr and bgp_cer_cidr for details on how to create a gateway by using automatic or explicit IP assignment. Any bgp_base_cidr value set will be ignored.
    bgpCerCidr String
    (Optional, String) The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    bgpIbmCidr String
    (Optional, String) The BGP IBM CIDR. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    carrierName String
    (Required, Forces new resource, String) The carrier name is required for dedicated type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example, myCarrierName.
    connectionMode String
    Type of network connection that you want to bind to your direct link. Allowed values are direct and transit. Applicable only for create_gateway_approve requests.
    crossConnectRouter String
    Cross connect router
    customerName String
    Customer name
    defaultExportRouteFilter String
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    defaultImportRouteFilter String
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    dlGatewayActionId String
    (String) The unique ID of the gateway.
    exportRouteFilters List<Property Map>

    List of Export Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for export_route_filter:

    global Boolean
    Required-Gateway with global routing as true can connect networks outside your associated region.Applicable only for create_gateway_approve requests.
    importRouteFilters List<Property Map>

    List of Import Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for import_route_filter:

    loaRejectReason String
    Loa reject reason
    locationName String
    Gateway location
    metered Boolean
    Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway. Applicable only for create_gateway_approve requests.
    name String
    The unique user-defined name for this gateway
    port String
    (Required, Forces new resource, String) The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
    resourceGroup String
    The resource group id. If unspecified, the account's default resource group is used.Applicable only for create_gateway_approve requests.
    speedMbps Number
    Gateway speed in megabits per second
    tags List<String>
    Tags for the direct link gateway
    timeouts Property Map
    type String
    Gateway type

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DlGatewayAction resource produces the following output properties:

    BfdStatus string
    (String) Gateway BFD status
    BfdStatusUpdatedAt string
    (String) Date and time BFD status was updated at
    BgpIbmAsn double
    (Required, Integer) The IBM BGP ASN.
    BgpStatus string
    (String) The gateway BGP status.
    BgpStatusUpdatedAt string
    (String) Date and time bgp status was updated.
    ChangeRequest string
    Changes pending approval for provider managed Direct Link Connect gateways
    CompletionNoticeRejectReason string
    (String) The reason for completion notice rejection.
    CreatedAt string
    (String) The date and time resource created.
    Crn string
    (String) The CRN of the gateway.
    Id string
    The provider-assigned unique ID for this managed resource.
    LinkStatus string
    (String) The gateway link status. You can include only on type=dedicated gateways. For example, down, up.
    LinkStatusUpdatedAt string
    (String) Date and time link status was updated.
    LocationDisplayName string
    (String) The gateway location long name.
    OperationalStatus string
    (String) The gateway operational status. For gateways pending LOA approval, patch operational_status to the appropriate value to approve or reject its LOA. For example, loa_accepted.
    ProviderApiManaged bool
    (String) Indicates whether gateway changes need to be made via a provider portal.
    ResourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    ResourceCrn string
    The crn of the resource
    ResourceGroupName string
    The resource group name in which resource is provisioned
    ResourceName string
    The name of the resource
    ResourceStatus string
    The status of the resource
    Vlan double
    (String) The VLAN allocated for the gateway. You can set only for type=connect gateways created directly through the IBM portal.
    BfdStatus string
    (String) Gateway BFD status
    BfdStatusUpdatedAt string
    (String) Date and time BFD status was updated at
    BgpIbmAsn float64
    (Required, Integer) The IBM BGP ASN.
    BgpStatus string
    (String) The gateway BGP status.
    BgpStatusUpdatedAt string
    (String) Date and time bgp status was updated.
    ChangeRequest string
    Changes pending approval for provider managed Direct Link Connect gateways
    CompletionNoticeRejectReason string
    (String) The reason for completion notice rejection.
    CreatedAt string
    (String) The date and time resource created.
    Crn string
    (String) The CRN of the gateway.
    Id string
    The provider-assigned unique ID for this managed resource.
    LinkStatus string
    (String) The gateway link status. You can include only on type=dedicated gateways. For example, down, up.
    LinkStatusUpdatedAt string
    (String) Date and time link status was updated.
    LocationDisplayName string
    (String) The gateway location long name.
    OperationalStatus string
    (String) The gateway operational status. For gateways pending LOA approval, patch operational_status to the appropriate value to approve or reject its LOA. For example, loa_accepted.
    ProviderApiManaged bool
    (String) Indicates whether gateway changes need to be made via a provider portal.
    ResourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    ResourceCrn string
    The crn of the resource
    ResourceGroupName string
    The resource group name in which resource is provisioned
    ResourceName string
    The name of the resource
    ResourceStatus string
    The status of the resource
    Vlan float64
    (String) The VLAN allocated for the gateway. You can set only for type=connect gateways created directly through the IBM portal.
    bfdStatus String
    (String) Gateway BFD status
    bfdStatusUpdatedAt String
    (String) Date and time BFD status was updated at
    bgpIbmAsn Double
    (Required, Integer) The IBM BGP ASN.
    bgpStatus String
    (String) The gateway BGP status.
    bgpStatusUpdatedAt String
    (String) Date and time bgp status was updated.
    changeRequest String
    Changes pending approval for provider managed Direct Link Connect gateways
    completionNoticeRejectReason String
    (String) The reason for completion notice rejection.
    createdAt String
    (String) The date and time resource created.
    crn String
    (String) The CRN of the gateway.
    id String
    The provider-assigned unique ID for this managed resource.
    linkStatus String
    (String) The gateway link status. You can include only on type=dedicated gateways. For example, down, up.
    linkStatusUpdatedAt String
    (String) Date and time link status was updated.
    locationDisplayName String
    (String) The gateway location long name.
    operationalStatus String
    (String) The gateway operational status. For gateways pending LOA approval, patch operational_status to the appropriate value to approve or reject its LOA. For example, loa_accepted.
    providerApiManaged Boolean
    (String) Indicates whether gateway changes need to be made via a provider portal.
    resourceControllerUrl String
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceCrn String
    The crn of the resource
    resourceGroupName String
    The resource group name in which resource is provisioned
    resourceName String
    The name of the resource
    resourceStatus String
    The status of the resource
    vlan Double
    (String) The VLAN allocated for the gateway. You can set only for type=connect gateways created directly through the IBM portal.
    bfdStatus string
    (String) Gateway BFD status
    bfdStatusUpdatedAt string
    (String) Date and time BFD status was updated at
    bgpIbmAsn number
    (Required, Integer) The IBM BGP ASN.
    bgpStatus string
    (String) The gateway BGP status.
    bgpStatusUpdatedAt string
    (String) Date and time bgp status was updated.
    changeRequest string
    Changes pending approval for provider managed Direct Link Connect gateways
    completionNoticeRejectReason string
    (String) The reason for completion notice rejection.
    createdAt string
    (String) The date and time resource created.
    crn string
    (String) The CRN of the gateway.
    id string
    The provider-assigned unique ID for this managed resource.
    linkStatus string
    (String) The gateway link status. You can include only on type=dedicated gateways. For example, down, up.
    linkStatusUpdatedAt string
    (String) Date and time link status was updated.
    locationDisplayName string
    (String) The gateway location long name.
    operationalStatus string
    (String) The gateway operational status. For gateways pending LOA approval, patch operational_status to the appropriate value to approve or reject its LOA. For example, loa_accepted.
    providerApiManaged boolean
    (String) Indicates whether gateway changes need to be made via a provider portal.
    resourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceCrn string
    The crn of the resource
    resourceGroupName string
    The resource group name in which resource is provisioned
    resourceName string
    The name of the resource
    resourceStatus string
    The status of the resource
    vlan number
    (String) The VLAN allocated for the gateway. You can set only for type=connect gateways created directly through the IBM portal.
    bfd_status str
    (String) Gateway BFD status
    bfd_status_updated_at str
    (String) Date and time BFD status was updated at
    bgp_ibm_asn float
    (Required, Integer) The IBM BGP ASN.
    bgp_status str
    (String) The gateway BGP status.
    bgp_status_updated_at str
    (String) Date and time bgp status was updated.
    change_request str
    Changes pending approval for provider managed Direct Link Connect gateways
    completion_notice_reject_reason str
    (String) The reason for completion notice rejection.
    created_at str
    (String) The date and time resource created.
    crn str
    (String) The CRN of the gateway.
    id str
    The provider-assigned unique ID for this managed resource.
    link_status str
    (String) The gateway link status. You can include only on type=dedicated gateways. For example, down, up.
    link_status_updated_at str
    (String) Date and time link status was updated.
    location_display_name str
    (String) The gateway location long name.
    operational_status str
    (String) The gateway operational status. For gateways pending LOA approval, patch operational_status to the appropriate value to approve or reject its LOA. For example, loa_accepted.
    provider_api_managed bool
    (String) Indicates whether gateway changes need to be made via a provider portal.
    resource_controller_url str
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resource_crn str
    The crn of the resource
    resource_group_name str
    The resource group name in which resource is provisioned
    resource_name str
    The name of the resource
    resource_status str
    The status of the resource
    vlan float
    (String) The VLAN allocated for the gateway. You can set only for type=connect gateways created directly through the IBM portal.
    bfdStatus String
    (String) Gateway BFD status
    bfdStatusUpdatedAt String
    (String) Date and time BFD status was updated at
    bgpIbmAsn Number
    (Required, Integer) The IBM BGP ASN.
    bgpStatus String
    (String) The gateway BGP status.
    bgpStatusUpdatedAt String
    (String) Date and time bgp status was updated.
    changeRequest String
    Changes pending approval for provider managed Direct Link Connect gateways
    completionNoticeRejectReason String
    (String) The reason for completion notice rejection.
    createdAt String
    (String) The date and time resource created.
    crn String
    (String) The CRN of the gateway.
    id String
    The provider-assigned unique ID for this managed resource.
    linkStatus String
    (String) The gateway link status. You can include only on type=dedicated gateways. For example, down, up.
    linkStatusUpdatedAt String
    (String) Date and time link status was updated.
    locationDisplayName String
    (String) The gateway location long name.
    operationalStatus String
    (String) The gateway operational status. For gateways pending LOA approval, patch operational_status to the appropriate value to approve or reject its LOA. For example, loa_accepted.
    providerApiManaged Boolean
    (String) Indicates whether gateway changes need to be made via a provider portal.
    resourceControllerUrl String
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceCrn String
    The crn of the resource
    resourceGroupName String
    The resource group name in which resource is provisioned
    resourceName String
    The name of the resource
    resourceStatus String
    The status of the resource
    vlan Number
    (String) The VLAN allocated for the gateway. You can set only for type=connect gateways created directly through the IBM portal.

    Look up Existing DlGatewayAction Resource

    Get an existing DlGatewayAction resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: DlGatewayActionState, opts?: CustomResourceOptions): DlGatewayAction
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            action: Optional[str] = None,
            as_prepends: Optional[Sequence[DlGatewayActionAsPrependArgs]] = None,
            authentication_key: Optional[str] = None,
            bfd_interval: Optional[float] = None,
            bfd_multiplier: Optional[float] = None,
            bfd_status: Optional[str] = None,
            bfd_status_updated_at: Optional[str] = None,
            bgp_asn: Optional[float] = None,
            bgp_base_cidr: Optional[str] = None,
            bgp_cer_cidr: Optional[str] = None,
            bgp_ibm_asn: Optional[float] = None,
            bgp_ibm_cidr: Optional[str] = None,
            bgp_status: Optional[str] = None,
            bgp_status_updated_at: Optional[str] = None,
            carrier_name: Optional[str] = None,
            change_request: Optional[str] = None,
            completion_notice_reject_reason: Optional[str] = None,
            connection_mode: Optional[str] = None,
            created_at: Optional[str] = None,
            crn: Optional[str] = None,
            cross_connect_router: Optional[str] = None,
            customer_name: Optional[str] = None,
            default_export_route_filter: Optional[str] = None,
            default_import_route_filter: Optional[str] = None,
            dl_gateway_action_id: Optional[str] = None,
            export_route_filters: Optional[Sequence[DlGatewayActionExportRouteFilterArgs]] = None,
            gateway: Optional[str] = None,
            global_: Optional[bool] = None,
            import_route_filters: Optional[Sequence[DlGatewayActionImportRouteFilterArgs]] = None,
            link_status: Optional[str] = None,
            link_status_updated_at: Optional[str] = None,
            loa_reject_reason: Optional[str] = None,
            location_display_name: Optional[str] = None,
            location_name: Optional[str] = None,
            metered: Optional[bool] = None,
            name: Optional[str] = None,
            operational_status: Optional[str] = None,
            port: Optional[str] = None,
            provider_api_managed: Optional[bool] = None,
            resource_controller_url: Optional[str] = None,
            resource_crn: Optional[str] = None,
            resource_group: Optional[str] = None,
            resource_group_name: Optional[str] = None,
            resource_name: Optional[str] = None,
            resource_status: Optional[str] = None,
            speed_mbps: Optional[float] = None,
            tags: Optional[Sequence[str]] = None,
            timeouts: Optional[DlGatewayActionTimeoutsArgs] = None,
            type: Optional[str] = None,
            vlan: Optional[float] = None) -> DlGatewayAction
    func GetDlGatewayAction(ctx *Context, name string, id IDInput, state *DlGatewayActionState, opts ...ResourceOption) (*DlGatewayAction, error)
    public static DlGatewayAction Get(string name, Input<string> id, DlGatewayActionState? state, CustomResourceOptions? opts = null)
    public static DlGatewayAction get(String name, Output<String> id, DlGatewayActionState state, CustomResourceOptions options)
    resources:  _:    type: ibm:DlGatewayAction    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Action string
    Approve/reject a pending change request.
    AsPrepends List<DlGatewayActionAsPrepend>

    List of AS Prepend configuration information.Applicable only for create_gateway_approve requests.

    Nested scheme for as_prepend:

    AuthenticationKey string
    BGP MD5 authentication key.Applicable only create_gateway_approve for requests.
    BfdInterval double
    Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.Applicable only for create_gateway_approve requests.
    BfdMultiplier double
    The number of hello packets not received by a neighbor that causes the originating interface to be declared down.Applicable only for create_gateway_approve requests.
    BfdStatus string
    (String) Gateway BFD status
    BfdStatusUpdatedAt string
    (String) Date and time BFD status was updated at
    BgpAsn double
    (Required, Integer) The BGP ASN of the gateway to be created. For example, 64999.
    BgpBaseCidr string
    (Optional, String) (Deprecated) The BGP base CIDR of the gateway to be created. See bgp_ibm_cidr and bgp_cer_cidr for details on how to create a gateway by using automatic or explicit IP assignment. Any bgp_base_cidr value set will be ignored.
    BgpCerCidr string
    (Optional, String) The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    BgpIbmAsn double
    (Required, Integer) The IBM BGP ASN.
    BgpIbmCidr string
    (Optional, String) The BGP IBM CIDR. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    BgpStatus string
    (String) The gateway BGP status.
    BgpStatusUpdatedAt string
    (String) Date and time bgp status was updated.
    CarrierName string
    (Required, Forces new resource, String) The carrier name is required for dedicated type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example, myCarrierName.
    ChangeRequest string
    Changes pending approval for provider managed Direct Link Connect gateways
    CompletionNoticeRejectReason string
    (String) The reason for completion notice rejection.
    ConnectionMode string
    Type of network connection that you want to bind to your direct link. Allowed values are direct and transit. Applicable only for create_gateway_approve requests.
    CreatedAt string
    (String) The date and time resource created.
    Crn string
    (String) The CRN of the gateway.
    CrossConnectRouter string
    Cross connect router
    CustomerName string
    Customer name
    DefaultExportRouteFilter string
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    DefaultImportRouteFilter string
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    DlGatewayActionId string
    (String) The unique ID of the gateway.
    ExportRouteFilters List<DlGatewayActionExportRouteFilter>

    List of Export Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for export_route_filter:

    Gateway string
    The Direct Link gateway identifier
    Global bool
    Required-Gateway with global routing as true can connect networks outside your associated region.Applicable only for create_gateway_approve requests.
    ImportRouteFilters List<DlGatewayActionImportRouteFilter>

    List of Import Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for import_route_filter:

    LinkStatus string
    (String) The gateway link status. You can include only on type=dedicated gateways. For example, down, up.
    LinkStatusUpdatedAt string
    (String) Date and time link status was updated.
    LoaRejectReason string
    Loa reject reason
    LocationDisplayName string
    (String) The gateway location long name.
    LocationName string
    Gateway location
    Metered bool
    Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway. Applicable only for create_gateway_approve requests.
    Name string
    The unique user-defined name for this gateway
    OperationalStatus string
    (String) The gateway operational status. For gateways pending LOA approval, patch operational_status to the appropriate value to approve or reject its LOA. For example, loa_accepted.
    Port string
    (Required, Forces new resource, String) The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
    ProviderApiManaged bool
    (String) Indicates whether gateway changes need to be made via a provider portal.
    ResourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    ResourceCrn string
    The crn of the resource
    ResourceGroup string
    The resource group id. If unspecified, the account's default resource group is used.Applicable only for create_gateway_approve requests.
    ResourceGroupName string
    The resource group name in which resource is provisioned
    ResourceName string
    The name of the resource
    ResourceStatus string
    The status of the resource
    SpeedMbps double
    Gateway speed in megabits per second
    Tags List<string>
    Tags for the direct link gateway
    Timeouts DlGatewayActionTimeouts
    Type string
    Gateway type
    Vlan double
    (String) The VLAN allocated for the gateway. You can set only for type=connect gateways created directly through the IBM portal.
    Action string
    Approve/reject a pending change request.
    AsPrepends []DlGatewayActionAsPrependArgs

    List of AS Prepend configuration information.Applicable only for create_gateway_approve requests.

    Nested scheme for as_prepend:

    AuthenticationKey string
    BGP MD5 authentication key.Applicable only create_gateway_approve for requests.
    BfdInterval float64
    Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.Applicable only for create_gateway_approve requests.
    BfdMultiplier float64
    The number of hello packets not received by a neighbor that causes the originating interface to be declared down.Applicable only for create_gateway_approve requests.
    BfdStatus string
    (String) Gateway BFD status
    BfdStatusUpdatedAt string
    (String) Date and time BFD status was updated at
    BgpAsn float64
    (Required, Integer) The BGP ASN of the gateway to be created. For example, 64999.
    BgpBaseCidr string
    (Optional, String) (Deprecated) The BGP base CIDR of the gateway to be created. See bgp_ibm_cidr and bgp_cer_cidr for details on how to create a gateway by using automatic or explicit IP assignment. Any bgp_base_cidr value set will be ignored.
    BgpCerCidr string
    (Optional, String) The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    BgpIbmAsn float64
    (Required, Integer) The IBM BGP ASN.
    BgpIbmCidr string
    (Optional, String) The BGP IBM CIDR. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    BgpStatus string
    (String) The gateway BGP status.
    BgpStatusUpdatedAt string
    (String) Date and time bgp status was updated.
    CarrierName string
    (Required, Forces new resource, String) The carrier name is required for dedicated type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example, myCarrierName.
    ChangeRequest string
    Changes pending approval for provider managed Direct Link Connect gateways
    CompletionNoticeRejectReason string
    (String) The reason for completion notice rejection.
    ConnectionMode string
    Type of network connection that you want to bind to your direct link. Allowed values are direct and transit. Applicable only for create_gateway_approve requests.
    CreatedAt string
    (String) The date and time resource created.
    Crn string
    (String) The CRN of the gateway.
    CrossConnectRouter string
    Cross connect router
    CustomerName string
    Customer name
    DefaultExportRouteFilter string
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    DefaultImportRouteFilter string
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    DlGatewayActionId string
    (String) The unique ID of the gateway.
    ExportRouteFilters []DlGatewayActionExportRouteFilterArgs

    List of Export Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for export_route_filter:

    Gateway string
    The Direct Link gateway identifier
    Global bool
    Required-Gateway with global routing as true can connect networks outside your associated region.Applicable only for create_gateway_approve requests.
    ImportRouteFilters []DlGatewayActionImportRouteFilterArgs

    List of Import Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for import_route_filter:

    LinkStatus string
    (String) The gateway link status. You can include only on type=dedicated gateways. For example, down, up.
    LinkStatusUpdatedAt string
    (String) Date and time link status was updated.
    LoaRejectReason string
    Loa reject reason
    LocationDisplayName string
    (String) The gateway location long name.
    LocationName string
    Gateway location
    Metered bool
    Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway. Applicable only for create_gateway_approve requests.
    Name string
    The unique user-defined name for this gateway
    OperationalStatus string
    (String) The gateway operational status. For gateways pending LOA approval, patch operational_status to the appropriate value to approve or reject its LOA. For example, loa_accepted.
    Port string
    (Required, Forces new resource, String) The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
    ProviderApiManaged bool
    (String) Indicates whether gateway changes need to be made via a provider portal.
    ResourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    ResourceCrn string
    The crn of the resource
    ResourceGroup string
    The resource group id. If unspecified, the account's default resource group is used.Applicable only for create_gateway_approve requests.
    ResourceGroupName string
    The resource group name in which resource is provisioned
    ResourceName string
    The name of the resource
    ResourceStatus string
    The status of the resource
    SpeedMbps float64
    Gateway speed in megabits per second
    Tags []string
    Tags for the direct link gateway
    Timeouts DlGatewayActionTimeoutsArgs
    Type string
    Gateway type
    Vlan float64
    (String) The VLAN allocated for the gateway. You can set only for type=connect gateways created directly through the IBM portal.
    action String
    Approve/reject a pending change request.
    asPrepends List<DlGatewayActionAsPrepend>

    List of AS Prepend configuration information.Applicable only for create_gateway_approve requests.

    Nested scheme for as_prepend:

    authenticationKey String
    BGP MD5 authentication key.Applicable only create_gateway_approve for requests.
    bfdInterval Double
    Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.Applicable only for create_gateway_approve requests.
    bfdMultiplier Double
    The number of hello packets not received by a neighbor that causes the originating interface to be declared down.Applicable only for create_gateway_approve requests.
    bfdStatus String
    (String) Gateway BFD status
    bfdStatusUpdatedAt String
    (String) Date and time BFD status was updated at
    bgpAsn Double
    (Required, Integer) The BGP ASN of the gateway to be created. For example, 64999.
    bgpBaseCidr String
    (Optional, String) (Deprecated) The BGP base CIDR of the gateway to be created. See bgp_ibm_cidr and bgp_cer_cidr for details on how to create a gateway by using automatic or explicit IP assignment. Any bgp_base_cidr value set will be ignored.
    bgpCerCidr String
    (Optional, String) The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    bgpIbmAsn Double
    (Required, Integer) The IBM BGP ASN.
    bgpIbmCidr String
    (Optional, String) The BGP IBM CIDR. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    bgpStatus String
    (String) The gateway BGP status.
    bgpStatusUpdatedAt String
    (String) Date and time bgp status was updated.
    carrierName String
    (Required, Forces new resource, String) The carrier name is required for dedicated type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example, myCarrierName.
    changeRequest String
    Changes pending approval for provider managed Direct Link Connect gateways
    completionNoticeRejectReason String
    (String) The reason for completion notice rejection.
    connectionMode String
    Type of network connection that you want to bind to your direct link. Allowed values are direct and transit. Applicable only for create_gateway_approve requests.
    createdAt String
    (String) The date and time resource created.
    crn String
    (String) The CRN of the gateway.
    crossConnectRouter String
    Cross connect router
    customerName String
    Customer name
    defaultExportRouteFilter String
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    defaultImportRouteFilter String
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    dlGatewayActionId String
    (String) The unique ID of the gateway.
    exportRouteFilters List<DlGatewayActionExportRouteFilter>

    List of Export Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for export_route_filter:

    gateway String
    The Direct Link gateway identifier
    global Boolean
    Required-Gateway with global routing as true can connect networks outside your associated region.Applicable only for create_gateway_approve requests.
    importRouteFilters List<DlGatewayActionImportRouteFilter>

    List of Import Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for import_route_filter:

    linkStatus String
    (String) The gateway link status. You can include only on type=dedicated gateways. For example, down, up.
    linkStatusUpdatedAt String
    (String) Date and time link status was updated.
    loaRejectReason String
    Loa reject reason
    locationDisplayName String
    (String) The gateway location long name.
    locationName String
    Gateway location
    metered Boolean
    Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway. Applicable only for create_gateway_approve requests.
    name String
    The unique user-defined name for this gateway
    operationalStatus String
    (String) The gateway operational status. For gateways pending LOA approval, patch operational_status to the appropriate value to approve or reject its LOA. For example, loa_accepted.
    port String
    (Required, Forces new resource, String) The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
    providerApiManaged Boolean
    (String) Indicates whether gateway changes need to be made via a provider portal.
    resourceControllerUrl String
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceCrn String
    The crn of the resource
    resourceGroup String
    The resource group id. If unspecified, the account's default resource group is used.Applicable only for create_gateway_approve requests.
    resourceGroupName String
    The resource group name in which resource is provisioned
    resourceName String
    The name of the resource
    resourceStatus String
    The status of the resource
    speedMbps Double
    Gateway speed in megabits per second
    tags List<String>
    Tags for the direct link gateway
    timeouts DlGatewayActionTimeouts
    type String
    Gateway type
    vlan Double
    (String) The VLAN allocated for the gateway. You can set only for type=connect gateways created directly through the IBM portal.
    action string
    Approve/reject a pending change request.
    asPrepends DlGatewayActionAsPrepend[]

    List of AS Prepend configuration information.Applicable only for create_gateway_approve requests.

    Nested scheme for as_prepend:

    authenticationKey string
    BGP MD5 authentication key.Applicable only create_gateway_approve for requests.
    bfdInterval number
    Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.Applicable only for create_gateway_approve requests.
    bfdMultiplier number
    The number of hello packets not received by a neighbor that causes the originating interface to be declared down.Applicable only for create_gateway_approve requests.
    bfdStatus string
    (String) Gateway BFD status
    bfdStatusUpdatedAt string
    (String) Date and time BFD status was updated at
    bgpAsn number
    (Required, Integer) The BGP ASN of the gateway to be created. For example, 64999.
    bgpBaseCidr string
    (Optional, String) (Deprecated) The BGP base CIDR of the gateway to be created. See bgp_ibm_cidr and bgp_cer_cidr for details on how to create a gateway by using automatic or explicit IP assignment. Any bgp_base_cidr value set will be ignored.
    bgpCerCidr string
    (Optional, String) The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    bgpIbmAsn number
    (Required, Integer) The IBM BGP ASN.
    bgpIbmCidr string
    (Optional, String) The BGP IBM CIDR. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    bgpStatus string
    (String) The gateway BGP status.
    bgpStatusUpdatedAt string
    (String) Date and time bgp status was updated.
    carrierName string
    (Required, Forces new resource, String) The carrier name is required for dedicated type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example, myCarrierName.
    changeRequest string
    Changes pending approval for provider managed Direct Link Connect gateways
    completionNoticeRejectReason string
    (String) The reason for completion notice rejection.
    connectionMode string
    Type of network connection that you want to bind to your direct link. Allowed values are direct and transit. Applicable only for create_gateway_approve requests.
    createdAt string
    (String) The date and time resource created.
    crn string
    (String) The CRN of the gateway.
    crossConnectRouter string
    Cross connect router
    customerName string
    Customer name
    defaultExportRouteFilter string
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    defaultImportRouteFilter string
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    dlGatewayActionId string
    (String) The unique ID of the gateway.
    exportRouteFilters DlGatewayActionExportRouteFilter[]

    List of Export Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for export_route_filter:

    gateway string
    The Direct Link gateway identifier
    global boolean
    Required-Gateway with global routing as true can connect networks outside your associated region.Applicable only for create_gateway_approve requests.
    importRouteFilters DlGatewayActionImportRouteFilter[]

    List of Import Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for import_route_filter:

    linkStatus string
    (String) The gateway link status. You can include only on type=dedicated gateways. For example, down, up.
    linkStatusUpdatedAt string
    (String) Date and time link status was updated.
    loaRejectReason string
    Loa reject reason
    locationDisplayName string
    (String) The gateway location long name.
    locationName string
    Gateway location
    metered boolean
    Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway. Applicable only for create_gateway_approve requests.
    name string
    The unique user-defined name for this gateway
    operationalStatus string
    (String) The gateway operational status. For gateways pending LOA approval, patch operational_status to the appropriate value to approve or reject its LOA. For example, loa_accepted.
    port string
    (Required, Forces new resource, String) The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
    providerApiManaged boolean
    (String) Indicates whether gateway changes need to be made via a provider portal.
    resourceControllerUrl string
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceCrn string
    The crn of the resource
    resourceGroup string
    The resource group id. If unspecified, the account's default resource group is used.Applicable only for create_gateway_approve requests.
    resourceGroupName string
    The resource group name in which resource is provisioned
    resourceName string
    The name of the resource
    resourceStatus string
    The status of the resource
    speedMbps number
    Gateway speed in megabits per second
    tags string[]
    Tags for the direct link gateway
    timeouts DlGatewayActionTimeouts
    type string
    Gateway type
    vlan number
    (String) The VLAN allocated for the gateway. You can set only for type=connect gateways created directly through the IBM portal.
    action str
    Approve/reject a pending change request.
    as_prepends Sequence[DlGatewayActionAsPrependArgs]

    List of AS Prepend configuration information.Applicable only for create_gateway_approve requests.

    Nested scheme for as_prepend:

    authentication_key str
    BGP MD5 authentication key.Applicable only create_gateway_approve for requests.
    bfd_interval float
    Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.Applicable only for create_gateway_approve requests.
    bfd_multiplier float
    The number of hello packets not received by a neighbor that causes the originating interface to be declared down.Applicable only for create_gateway_approve requests.
    bfd_status str
    (String) Gateway BFD status
    bfd_status_updated_at str
    (String) Date and time BFD status was updated at
    bgp_asn float
    (Required, Integer) The BGP ASN of the gateway to be created. For example, 64999.
    bgp_base_cidr str
    (Optional, String) (Deprecated) The BGP base CIDR of the gateway to be created. See bgp_ibm_cidr and bgp_cer_cidr for details on how to create a gateway by using automatic or explicit IP assignment. Any bgp_base_cidr value set will be ignored.
    bgp_cer_cidr str
    (Optional, String) The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    bgp_ibm_asn float
    (Required, Integer) The IBM BGP ASN.
    bgp_ibm_cidr str
    (Optional, String) The BGP IBM CIDR. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    bgp_status str
    (String) The gateway BGP status.
    bgp_status_updated_at str
    (String) Date and time bgp status was updated.
    carrier_name str
    (Required, Forces new resource, String) The carrier name is required for dedicated type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example, myCarrierName.
    change_request str
    Changes pending approval for provider managed Direct Link Connect gateways
    completion_notice_reject_reason str
    (String) The reason for completion notice rejection.
    connection_mode str
    Type of network connection that you want to bind to your direct link. Allowed values are direct and transit. Applicable only for create_gateway_approve requests.
    created_at str
    (String) The date and time resource created.
    crn str
    (String) The CRN of the gateway.
    cross_connect_router str
    Cross connect router
    customer_name str
    Customer name
    default_export_route_filter str
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    default_import_route_filter str
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    dl_gateway_action_id str
    (String) The unique ID of the gateway.
    export_route_filters Sequence[DlGatewayActionExportRouteFilterArgs]

    List of Export Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for export_route_filter:

    gateway str
    The Direct Link gateway identifier
    global_ bool
    Required-Gateway with global routing as true can connect networks outside your associated region.Applicable only for create_gateway_approve requests.
    import_route_filters Sequence[DlGatewayActionImportRouteFilterArgs]

    List of Import Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for import_route_filter:

    link_status str
    (String) The gateway link status. You can include only on type=dedicated gateways. For example, down, up.
    link_status_updated_at str
    (String) Date and time link status was updated.
    loa_reject_reason str
    Loa reject reason
    location_display_name str
    (String) The gateway location long name.
    location_name str
    Gateway location
    metered bool
    Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway. Applicable only for create_gateway_approve requests.
    name str
    The unique user-defined name for this gateway
    operational_status str
    (String) The gateway operational status. For gateways pending LOA approval, patch operational_status to the appropriate value to approve or reject its LOA. For example, loa_accepted.
    port str
    (Required, Forces new resource, String) The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
    provider_api_managed bool
    (String) Indicates whether gateway changes need to be made via a provider portal.
    resource_controller_url str
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resource_crn str
    The crn of the resource
    resource_group str
    The resource group id. If unspecified, the account's default resource group is used.Applicable only for create_gateway_approve requests.
    resource_group_name str
    The resource group name in which resource is provisioned
    resource_name str
    The name of the resource
    resource_status str
    The status of the resource
    speed_mbps float
    Gateway speed in megabits per second
    tags Sequence[str]
    Tags for the direct link gateway
    timeouts DlGatewayActionTimeoutsArgs
    type str
    Gateway type
    vlan float
    (String) The VLAN allocated for the gateway. You can set only for type=connect gateways created directly through the IBM portal.
    action String
    Approve/reject a pending change request.
    asPrepends List<Property Map>

    List of AS Prepend configuration information.Applicable only for create_gateway_approve requests.

    Nested scheme for as_prepend:

    authenticationKey String
    BGP MD5 authentication key.Applicable only create_gateway_approve for requests.
    bfdInterval Number
    Minimum interval in milliseconds at which the local routing device transmits hello packets and then expects to receive a reply from a neighbor with which it has established a BFD session.Applicable only for create_gateway_approve requests.
    bfdMultiplier Number
    The number of hello packets not received by a neighbor that causes the originating interface to be declared down.Applicable only for create_gateway_approve requests.
    bfdStatus String
    (String) Gateway BFD status
    bfdStatusUpdatedAt String
    (String) Date and time BFD status was updated at
    bgpAsn Number
    (Required, Integer) The BGP ASN of the gateway to be created. For example, 64999.
    bgpBaseCidr String
    (Optional, String) (Deprecated) The BGP base CIDR of the gateway to be created. See bgp_ibm_cidr and bgp_cer_cidr for details on how to create a gateway by using automatic or explicit IP assignment. Any bgp_base_cidr value set will be ignored.
    bgpCerCidr String
    (Optional, String) The BGP customer edge router CIDR. Specify a value within bgp_base_cidr. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    bgpIbmAsn Number
    (Required, Integer) The IBM BGP ASN.
    bgpIbmCidr String
    (Optional, String) The BGP IBM CIDR. For auto IP assignment, omit bgp_cer_cidr and bgp_ibm_cidr. IBM will automatically select values for bgp_cer_cidr and bgp_ibm_cidr.
    bgpStatus String
    (String) The gateway BGP status.
    bgpStatusUpdatedAt String
    (String) Date and time bgp status was updated.
    carrierName String
    (Required, Forces new resource, String) The carrier name is required for dedicated type. Constraints are 1 ≤ length ≤ 128, Value must match regular expression ^[a-z][A-Z][0-9][ -_]$. For example, myCarrierName.
    changeRequest String
    Changes pending approval for provider managed Direct Link Connect gateways
    completionNoticeRejectReason String
    (String) The reason for completion notice rejection.
    connectionMode String
    Type of network connection that you want to bind to your direct link. Allowed values are direct and transit. Applicable only for create_gateway_approve requests.
    createdAt String
    (String) The date and time resource created.
    crn String
    (String) The CRN of the gateway.
    crossConnectRouter String
    Cross connect router
    customerName String
    Customer name
    defaultExportRouteFilter String
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    defaultImportRouteFilter String
    The default directional route filter action that applies to routes that do not match any directional route filters. Applicable only for create_gateway_approve requests.
    dlGatewayActionId String
    (String) The unique ID of the gateway.
    exportRouteFilters List<Property Map>

    List of Export Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for export_route_filter:

    gateway String
    The Direct Link gateway identifier
    global Boolean
    Required-Gateway with global routing as true can connect networks outside your associated region.Applicable only for create_gateway_approve requests.
    importRouteFilters List<Property Map>

    List of Import Route Filter configuration information. Applicable only for create_gateway_approve requests.

    Nested scheme for import_route_filter:

    linkStatus String
    (String) The gateway link status. You can include only on type=dedicated gateways. For example, down, up.
    linkStatusUpdatedAt String
    (String) Date and time link status was updated.
    loaRejectReason String
    Loa reject reason
    locationDisplayName String
    (String) The gateway location long name.
    locationName String
    Gateway location
    metered Boolean
    Metered billing option. If set true gateway usage is billed per GB. Otherwise, flat rate is charged for the gateway. Applicable only for create_gateway_approve requests.
    name String
    The unique user-defined name for this gateway
    operationalStatus String
    (String) The gateway operational status. For gateways pending LOA approval, patch operational_status to the appropriate value to approve or reject its LOA. For example, loa_accepted.
    port String
    (Required, Forces new resource, String) The gateway port for type is connect gateways. This parameter is required for Direct Link connect type.
    providerApiManaged Boolean
    (String) Indicates whether gateway changes need to be made via a provider portal.
    resourceControllerUrl String
    The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
    resourceCrn String
    The crn of the resource
    resourceGroup String
    The resource group id. If unspecified, the account's default resource group is used.Applicable only for create_gateway_approve requests.
    resourceGroupName String
    The resource group name in which resource is provisioned
    resourceName String
    The name of the resource
    resourceStatus String
    The status of the resource
    speedMbps Number
    Gateway speed in megabits per second
    tags List<String>
    Tags for the direct link gateway
    timeouts Property Map
    type String
    Gateway type
    vlan Number
    (String) The VLAN allocated for the gateway. You can set only for type=connect gateways created directly through the IBM portal.

    Supporting Types

    DlGatewayActionAsPrepend, DlGatewayActionAsPrependArgs

    Length double
    Number of times the ASN to appended to the AS Path.
    Policy string
    Route type this AS Prepend applies to. Possible values are import and export.
    CreatedAt string
    (String) The date and time resource created.
    Id string
    (String) The unique ID of the gateway.
    Prefix string
    Comma separated list of prefixes this AS Prepend applies to. Maximum of 10 prefixes. If not specified, this AS Prepend applies to all prefixes. prefix will be deprecated and support will be removed. Use specific_prefixes instead

    Deprecated: Deprecated

    SpecificPrefixes List<string>
    Array of prefixes this AS Prepend applies to. If this property is absent, the AS Prepend applies to all prefixes.
    UpdatedAt string
    (String) The date and time AS Prepend was updated.
    Length float64
    Number of times the ASN to appended to the AS Path.
    Policy string
    Route type this AS Prepend applies to. Possible values are import and export.
    CreatedAt string
    (String) The date and time resource created.
    Id string
    (String) The unique ID of the gateway.
    Prefix string
    Comma separated list of prefixes this AS Prepend applies to. Maximum of 10 prefixes. If not specified, this AS Prepend applies to all prefixes. prefix will be deprecated and support will be removed. Use specific_prefixes instead

    Deprecated: Deprecated

    SpecificPrefixes []string
    Array of prefixes this AS Prepend applies to. If this property is absent, the AS Prepend applies to all prefixes.
    UpdatedAt string
    (String) The date and time AS Prepend was updated.
    length Double
    Number of times the ASN to appended to the AS Path.
    policy String
    Route type this AS Prepend applies to. Possible values are import and export.
    createdAt String
    (String) The date and time resource created.
    id String
    (String) The unique ID of the gateway.
    prefix String
    Comma separated list of prefixes this AS Prepend applies to. Maximum of 10 prefixes. If not specified, this AS Prepend applies to all prefixes. prefix will be deprecated and support will be removed. Use specific_prefixes instead

    Deprecated: Deprecated

    specificPrefixes List<String>
    Array of prefixes this AS Prepend applies to. If this property is absent, the AS Prepend applies to all prefixes.
    updatedAt String
    (String) The date and time AS Prepend was updated.
    length number
    Number of times the ASN to appended to the AS Path.
    policy string
    Route type this AS Prepend applies to. Possible values are import and export.
    createdAt string
    (String) The date and time resource created.
    id string
    (String) The unique ID of the gateway.
    prefix string
    Comma separated list of prefixes this AS Prepend applies to. Maximum of 10 prefixes. If not specified, this AS Prepend applies to all prefixes. prefix will be deprecated and support will be removed. Use specific_prefixes instead

    Deprecated: Deprecated

    specificPrefixes string[]
    Array of prefixes this AS Prepend applies to. If this property is absent, the AS Prepend applies to all prefixes.
    updatedAt string
    (String) The date and time AS Prepend was updated.
    length float
    Number of times the ASN to appended to the AS Path.
    policy str
    Route type this AS Prepend applies to. Possible values are import and export.
    created_at str
    (String) The date and time resource created.
    id str
    (String) The unique ID of the gateway.
    prefix str
    Comma separated list of prefixes this AS Prepend applies to. Maximum of 10 prefixes. If not specified, this AS Prepend applies to all prefixes. prefix will be deprecated and support will be removed. Use specific_prefixes instead

    Deprecated: Deprecated

    specific_prefixes Sequence[str]
    Array of prefixes this AS Prepend applies to. If this property is absent, the AS Prepend applies to all prefixes.
    updated_at str
    (String) The date and time AS Prepend was updated.
    length Number
    Number of times the ASN to appended to the AS Path.
    policy String
    Route type this AS Prepend applies to. Possible values are import and export.
    createdAt String
    (String) The date and time resource created.
    id String
    (String) The unique ID of the gateway.
    prefix String
    Comma separated list of prefixes this AS Prepend applies to. Maximum of 10 prefixes. If not specified, this AS Prepend applies to all prefixes. prefix will be deprecated and support will be removed. Use specific_prefixes instead

    Deprecated: Deprecated

    specificPrefixes List<String>
    Array of prefixes this AS Prepend applies to. If this property is absent, the AS Prepend applies to all prefixes.
    updatedAt String
    (String) The date and time AS Prepend was updated.

    DlGatewayActionExportRouteFilter, DlGatewayActionExportRouteFilterArgs

    Action string
    Determines whether the routes that match the prefix-set will be permit or deny
    Prefix string
    IP prefix representing an address and mask length of the prefix-set
    Before string
    Identifier of the next route filter to be considered
    CreatedAt string
    (String) The date and time resource created.
    ExFilterId string
    Export route Filter identifier
    Ge double
    The minimum matching length of the prefix-set
    Le double
    The maximum matching length of the prefix-set
    UpdatedAt string
    (String) The date and time AS Prepend was updated.
    Action string
    Determines whether the routes that match the prefix-set will be permit or deny
    Prefix string
    IP prefix representing an address and mask length of the prefix-set
    Before string
    Identifier of the next route filter to be considered
    CreatedAt string
    (String) The date and time resource created.
    ExFilterId string
    Export route Filter identifier
    Ge float64
    The minimum matching length of the prefix-set
    Le float64
    The maximum matching length of the prefix-set
    UpdatedAt string
    (String) The date and time AS Prepend was updated.
    action String
    Determines whether the routes that match the prefix-set will be permit or deny
    prefix String
    IP prefix representing an address and mask length of the prefix-set
    before String
    Identifier of the next route filter to be considered
    createdAt String
    (String) The date and time resource created.
    exFilterId String
    Export route Filter identifier
    ge Double
    The minimum matching length of the prefix-set
    le Double
    The maximum matching length of the prefix-set
    updatedAt String
    (String) The date and time AS Prepend was updated.
    action string
    Determines whether the routes that match the prefix-set will be permit or deny
    prefix string
    IP prefix representing an address and mask length of the prefix-set
    before string
    Identifier of the next route filter to be considered
    createdAt string
    (String) The date and time resource created.
    exFilterId string
    Export route Filter identifier
    ge number
    The minimum matching length of the prefix-set
    le number
    The maximum matching length of the prefix-set
    updatedAt string
    (String) The date and time AS Prepend was updated.
    action str
    Determines whether the routes that match the prefix-set will be permit or deny
    prefix str
    IP prefix representing an address and mask length of the prefix-set
    before str
    Identifier of the next route filter to be considered
    created_at str
    (String) The date and time resource created.
    ex_filter_id str
    Export route Filter identifier
    ge float
    The minimum matching length of the prefix-set
    le float
    The maximum matching length of the prefix-set
    updated_at str
    (String) The date and time AS Prepend was updated.
    action String
    Determines whether the routes that match the prefix-set will be permit or deny
    prefix String
    IP prefix representing an address and mask length of the prefix-set
    before String
    Identifier of the next route filter to be considered
    createdAt String
    (String) The date and time resource created.
    exFilterId String
    Export route Filter identifier
    ge Number
    The minimum matching length of the prefix-set
    le Number
    The maximum matching length of the prefix-set
    updatedAt String
    (String) The date and time AS Prepend was updated.

    DlGatewayActionImportRouteFilter, DlGatewayActionImportRouteFilterArgs

    Action string
    Determines whether the routes that match the prefix-set will be permit or deny
    Prefix string
    IP prefix representing an address and mask length of the prefix-set
    Before string
    Identifier of the next route filter to be considered
    CreatedAt string
    (String) The date and time resource created.
    Ge double
    The minimum matching length of the prefix-set
    ImFilterId string
    Import route Filter identifier
    Le double
    The maximum matching length of the prefix-set
    UpdatedAt string
    (String) The date and time AS Prepend was updated.
    Action string
    Determines whether the routes that match the prefix-set will be permit or deny
    Prefix string
    IP prefix representing an address and mask length of the prefix-set
    Before string
    Identifier of the next route filter to be considered
    CreatedAt string
    (String) The date and time resource created.
    Ge float64
    The minimum matching length of the prefix-set
    ImFilterId string
    Import route Filter identifier
    Le float64
    The maximum matching length of the prefix-set
    UpdatedAt string
    (String) The date and time AS Prepend was updated.
    action String
    Determines whether the routes that match the prefix-set will be permit or deny
    prefix String
    IP prefix representing an address and mask length of the prefix-set
    before String
    Identifier of the next route filter to be considered
    createdAt String
    (String) The date and time resource created.
    ge Double
    The minimum matching length of the prefix-set
    imFilterId String
    Import route Filter identifier
    le Double
    The maximum matching length of the prefix-set
    updatedAt String
    (String) The date and time AS Prepend was updated.
    action string
    Determines whether the routes that match the prefix-set will be permit or deny
    prefix string
    IP prefix representing an address and mask length of the prefix-set
    before string
    Identifier of the next route filter to be considered
    createdAt string
    (String) The date and time resource created.
    ge number
    The minimum matching length of the prefix-set
    imFilterId string
    Import route Filter identifier
    le number
    The maximum matching length of the prefix-set
    updatedAt string
    (String) The date and time AS Prepend was updated.
    action str
    Determines whether the routes that match the prefix-set will be permit or deny
    prefix str
    IP prefix representing an address and mask length of the prefix-set
    before str
    Identifier of the next route filter to be considered
    created_at str
    (String) The date and time resource created.
    ge float
    The minimum matching length of the prefix-set
    im_filter_id str
    Import route Filter identifier
    le float
    The maximum matching length of the prefix-set
    updated_at str
    (String) The date and time AS Prepend was updated.
    action String
    Determines whether the routes that match the prefix-set will be permit or deny
    prefix String
    IP prefix representing an address and mask length of the prefix-set
    before String
    Identifier of the next route filter to be considered
    createdAt String
    (String) The date and time resource created.
    ge Number
    The minimum matching length of the prefix-set
    imFilterId String
    Import route Filter identifier
    le Number
    The maximum matching length of the prefix-set
    updatedAt String
    (String) The date and time AS Prepend was updated.

    DlGatewayActionTimeouts, DlGatewayActionTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud