1. Packages
  2. Ibm Provider
  3. API Docs
  4. IsPublicGateway
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.IsPublicGateway

Explore with Pulumi AI

Create, update, or delete a public gateway for a VPC subnet. Public gateways enable a VPC subnet and all the instances that are connected to the subnet to connect to the internet. For more information, see use a Public Gateway for external connectivity of a subnet.

Note: VPC infrastructure services are a regional specific based endpoint, by default targets to us-south. Please make sure to target right region in the provider block as shown in the provider.tf file, if VPC service is created in region other than us-south.

provider.tf

import * as pulumi from "@pulumi/pulumi";
Copy
import pulumi
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => 
{
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
    }
}
Copy
{}
Copy

Example Usage

The following example shows how you can create a public gateway for all the subnets that are located in a specific zone.

Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IsVpc;
import com.pulumi.ibm.IsPublicGateway;
import com.pulumi.ibm.IsPublicGatewayArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var exampleIsVpc = new IsVpc("exampleIsVpc");

        var exampleIsPublicGateway = new IsPublicGateway("exampleIsPublicGateway", IsPublicGatewayArgs.builder()
            .vpc(exampleIsVpc.isVpcId())
            .zone("us-south-1")
            .timeouts(IsPublicGatewayTimeoutsArgs.builder()
                .create("90m")
                .build())
            .build());

    }
}
Copy
resources:
  exampleIsVpc:
    type: ibm:IsVpc
  exampleIsPublicGateway:
    type: ibm:IsPublicGateway
    properties:
      vpc: ${exampleIsVpc.isVpcId}
      zone: us-south-1
      # User can configure timeouts
      timeouts:
        - create: 90m
Copy

Create IsPublicGateway Resource

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

Constructor syntax

new IsPublicGateway(name: string, args: IsPublicGatewayArgs, opts?: CustomResourceOptions);
@overload
def IsPublicGateway(resource_name: str,
                    args: IsPublicGatewayArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def IsPublicGateway(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    vpc: Optional[str] = None,
                    zone: Optional[str] = None,
                    access_tags: Optional[Sequence[str]] = None,
                    floating_ip: Optional[Mapping[str, str]] = None,
                    is_public_gateway_id: Optional[str] = None,
                    name: Optional[str] = None,
                    resource_group: Optional[str] = None,
                    tags: Optional[Sequence[str]] = None,
                    timeouts: Optional[IsPublicGatewayTimeoutsArgs] = None)
func NewIsPublicGateway(ctx *Context, name string, args IsPublicGatewayArgs, opts ...ResourceOption) (*IsPublicGateway, error)
public IsPublicGateway(string name, IsPublicGatewayArgs args, CustomResourceOptions? opts = null)
public IsPublicGateway(String name, IsPublicGatewayArgs args)
public IsPublicGateway(String name, IsPublicGatewayArgs args, CustomResourceOptions options)
type: ibm:IsPublicGateway
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. IsPublicGatewayArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. IsPublicGatewayArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. IsPublicGatewayArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. IsPublicGatewayArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IsPublicGatewayArgs
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 isPublicGatewayResource = new Ibm.IsPublicGateway("isPublicGatewayResource", new()
{
    Vpc = "string",
    Zone = "string",
    AccessTags = new[]
    {
        "string",
    },
    FloatingIp = 
    {
        { "string", "string" },
    },
    IsPublicGatewayId = "string",
    Name = "string",
    ResourceGroup = "string",
    Tags = new[]
    {
        "string",
    },
    Timeouts = new Ibm.Inputs.IsPublicGatewayTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
    },
});
Copy
example, err := ibm.NewIsPublicGateway(ctx, "isPublicGatewayResource", &ibm.IsPublicGatewayArgs{
	Vpc:  pulumi.String("string"),
	Zone: pulumi.String("string"),
	AccessTags: pulumi.StringArray{
		pulumi.String("string"),
	},
	FloatingIp: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	IsPublicGatewayId: pulumi.String("string"),
	Name:              pulumi.String("string"),
	ResourceGroup:     pulumi.String("string"),
	Tags: pulumi.StringArray{
		pulumi.String("string"),
	},
	Timeouts: &ibm.IsPublicGatewayTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
	},
})
Copy
var isPublicGatewayResource = new IsPublicGateway("isPublicGatewayResource", IsPublicGatewayArgs.builder()
    .vpc("string")
    .zone("string")
    .accessTags("string")
    .floatingIp(Map.of("string", "string"))
    .isPublicGatewayId("string")
    .name("string")
    .resourceGroup("string")
    .tags("string")
    .timeouts(IsPublicGatewayTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .build())
    .build());
Copy
is_public_gateway_resource = ibm.IsPublicGateway("isPublicGatewayResource",
    vpc="string",
    zone="string",
    access_tags=["string"],
    floating_ip={
        "string": "string",
    },
    is_public_gateway_id="string",
    name="string",
    resource_group="string",
    tags=["string"],
    timeouts={
        "create": "string",
        "delete": "string",
    })
Copy
const isPublicGatewayResource = new ibm.IsPublicGateway("isPublicGatewayResource", {
    vpc: "string",
    zone: "string",
    accessTags: ["string"],
    floatingIp: {
        string: "string",
    },
    isPublicGatewayId: "string",
    name: "string",
    resourceGroup: "string",
    tags: ["string"],
    timeouts: {
        create: "string",
        "delete": "string",
    },
});
Copy
type: ibm:IsPublicGateway
properties:
    accessTags:
        - string
    floatingIp:
        string: string
    isPublicGatewayId: string
    name: string
    resourceGroup: string
    tags:
        - string
    timeouts:
        create: string
        delete: string
    vpc: string
    zone: string
Copy

IsPublicGateway 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 IsPublicGateway resource accepts the following input properties:

Vpc This property is required. string
Enter the ID of the VPC, for which you want to create a public gateway. To list available VPCs, run ibmcloud is vpcs.
Zone This property is required. string
Enter the zone where you want to create the public gateway. To list available zones, run ibmcloud is zones.
AccessTags List<string>

A list of access management tags to attach to the public gatewayr.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

FloatingIp Dictionary<string, string>
A map of floating IP addresses that you want to assign to the public gateway.
IsPublicGatewayId string
(String) The unique identifier that was assigned to your public gateway.
Name string
Enter a name for your public gateway.
ResourceGroup string
Enter the ID of the resource group where you want to create the public gateway. To list available resource groups, run ibmcloud resource groups. If you do not specify a resource group, the public gateway is created in the default resource group.
Tags List<string>
Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (,).
Timeouts IsPublicGatewayTimeouts
Vpc This property is required. string
Enter the ID of the VPC, for which you want to create a public gateway. To list available VPCs, run ibmcloud is vpcs.
Zone This property is required. string
Enter the zone where you want to create the public gateway. To list available zones, run ibmcloud is zones.
AccessTags []string

A list of access management tags to attach to the public gatewayr.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

FloatingIp map[string]string
A map of floating IP addresses that you want to assign to the public gateway.
IsPublicGatewayId string
(String) The unique identifier that was assigned to your public gateway.
Name string
Enter a name for your public gateway.
ResourceGroup string
Enter the ID of the resource group where you want to create the public gateway. To list available resource groups, run ibmcloud resource groups. If you do not specify a resource group, the public gateway is created in the default resource group.
Tags []string
Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (,).
Timeouts IsPublicGatewayTimeoutsArgs
vpc This property is required. String
Enter the ID of the VPC, for which you want to create a public gateway. To list available VPCs, run ibmcloud is vpcs.
zone This property is required. String
Enter the zone where you want to create the public gateway. To list available zones, run ibmcloud is zones.
accessTags List<String>

A list of access management tags to attach to the public gatewayr.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

floatingIp Map<String,String>
A map of floating IP addresses that you want to assign to the public gateway.
isPublicGatewayId String
(String) The unique identifier that was assigned to your public gateway.
name String
Enter a name for your public gateway.
resourceGroup String
Enter the ID of the resource group where you want to create the public gateway. To list available resource groups, run ibmcloud resource groups. If you do not specify a resource group, the public gateway is created in the default resource group.
tags List<String>
Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (,).
timeouts IsPublicGatewayTimeouts
vpc This property is required. string
Enter the ID of the VPC, for which you want to create a public gateway. To list available VPCs, run ibmcloud is vpcs.
zone This property is required. string
Enter the zone where you want to create the public gateway. To list available zones, run ibmcloud is zones.
accessTags string[]

A list of access management tags to attach to the public gatewayr.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

floatingIp {[key: string]: string}
A map of floating IP addresses that you want to assign to the public gateway.
isPublicGatewayId string
(String) The unique identifier that was assigned to your public gateway.
name string
Enter a name for your public gateway.
resourceGroup string
Enter the ID of the resource group where you want to create the public gateway. To list available resource groups, run ibmcloud resource groups. If you do not specify a resource group, the public gateway is created in the default resource group.
tags string[]
Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (,).
timeouts IsPublicGatewayTimeouts
vpc This property is required. str
Enter the ID of the VPC, for which you want to create a public gateway. To list available VPCs, run ibmcloud is vpcs.
zone This property is required. str
Enter the zone where you want to create the public gateway. To list available zones, run ibmcloud is zones.
access_tags Sequence[str]

A list of access management tags to attach to the public gatewayr.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

floating_ip Mapping[str, str]
A map of floating IP addresses that you want to assign to the public gateway.
is_public_gateway_id str
(String) The unique identifier that was assigned to your public gateway.
name str
Enter a name for your public gateway.
resource_group str
Enter the ID of the resource group where you want to create the public gateway. To list available resource groups, run ibmcloud resource groups. If you do not specify a resource group, the public gateway is created in the default resource group.
tags Sequence[str]
Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (,).
timeouts IsPublicGatewayTimeoutsArgs
vpc This property is required. String
Enter the ID of the VPC, for which you want to create a public gateway. To list available VPCs, run ibmcloud is vpcs.
zone This property is required. String
Enter the zone where you want to create the public gateway. To list available zones, run ibmcloud is zones.
accessTags List<String>

A list of access management tags to attach to the public gatewayr.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

floatingIp Map<String>
A map of floating IP addresses that you want to assign to the public gateway.
isPublicGatewayId String
(String) The unique identifier that was assigned to your public gateway.
name String
Enter a name for your public gateway.
resourceGroup String
Enter the ID of the resource group where you want to create the public gateway. To list available resource groups, run ibmcloud resource groups. If you do not specify a resource group, the public gateway is created in the default resource group.
tags List<String>
Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (,).
timeouts Property Map

Outputs

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

Crn string
(String) The crn for the public gateway.
Id string
The provider-assigned unique ID for this managed resource.
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
Status string
(String) The provisioning status of your public gateway.
Crn string
(String) The crn for the public gateway.
Id string
The provider-assigned unique ID for this managed resource.
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
Status string
(String) The provisioning status of your public gateway.
crn String
(String) The crn for the public gateway.
id String
The provider-assigned unique ID for this managed resource.
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
status String
(String) The provisioning status of your public gateway.
crn string
(String) The crn for the public gateway.
id string
The provider-assigned unique ID for this managed resource.
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
status string
(String) The provisioning status of your public gateway.
crn str
(String) The crn for the public gateway.
id str
The provider-assigned unique ID for this managed resource.
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
status str
(String) The provisioning status of your public gateway.
crn String
(String) The crn for the public gateway.
id String
The provider-assigned unique ID for this managed resource.
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
status String
(String) The provisioning status of your public gateway.

Look up Existing IsPublicGateway Resource

Get an existing IsPublicGateway 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?: IsPublicGatewayState, opts?: CustomResourceOptions): IsPublicGateway
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        access_tags: Optional[Sequence[str]] = None,
        crn: Optional[str] = None,
        floating_ip: Optional[Mapping[str, str]] = None,
        is_public_gateway_id: Optional[str] = None,
        name: Optional[str] = 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,
        status: Optional[str] = None,
        tags: Optional[Sequence[str]] = None,
        timeouts: Optional[IsPublicGatewayTimeoutsArgs] = None,
        vpc: Optional[str] = None,
        zone: Optional[str] = None) -> IsPublicGateway
func GetIsPublicGateway(ctx *Context, name string, id IDInput, state *IsPublicGatewayState, opts ...ResourceOption) (*IsPublicGateway, error)
public static IsPublicGateway Get(string name, Input<string> id, IsPublicGatewayState? state, CustomResourceOptions? opts = null)
public static IsPublicGateway get(String name, Output<String> id, IsPublicGatewayState state, CustomResourceOptions options)
resources:  _:    type: ibm:IsPublicGateway    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
AccessTags List<string>

A list of access management tags to attach to the public gatewayr.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

Crn string
(String) The crn for the public gateway.
FloatingIp Dictionary<string, string>
A map of floating IP addresses that you want to assign to the public gateway.
IsPublicGatewayId string
(String) The unique identifier that was assigned to your public gateway.
Name string
Enter a name for your public gateway.
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
Enter the ID of the resource group where you want to create the public gateway. To list available resource groups, run ibmcloud resource groups. If you do not specify a resource group, the public gateway is created in the default resource group.
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
Status string
(String) The provisioning status of your public gateway.
Tags List<string>
Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (,).
Timeouts IsPublicGatewayTimeouts
Vpc string
Enter the ID of the VPC, for which you want to create a public gateway. To list available VPCs, run ibmcloud is vpcs.
Zone string
Enter the zone where you want to create the public gateway. To list available zones, run ibmcloud is zones.
AccessTags []string

A list of access management tags to attach to the public gatewayr.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

Crn string
(String) The crn for the public gateway.
FloatingIp map[string]string
A map of floating IP addresses that you want to assign to the public gateway.
IsPublicGatewayId string
(String) The unique identifier that was assigned to your public gateway.
Name string
Enter a name for your public gateway.
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
Enter the ID of the resource group where you want to create the public gateway. To list available resource groups, run ibmcloud resource groups. If you do not specify a resource group, the public gateway is created in the default resource group.
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
Status string
(String) The provisioning status of your public gateway.
Tags []string
Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (,).
Timeouts IsPublicGatewayTimeoutsArgs
Vpc string
Enter the ID of the VPC, for which you want to create a public gateway. To list available VPCs, run ibmcloud is vpcs.
Zone string
Enter the zone where you want to create the public gateway. To list available zones, run ibmcloud is zones.
accessTags List<String>

A list of access management tags to attach to the public gatewayr.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

crn String
(String) The crn for the public gateway.
floatingIp Map<String,String>
A map of floating IP addresses that you want to assign to the public gateway.
isPublicGatewayId String
(String) The unique identifier that was assigned to your public gateway.
name String
Enter a name for your public gateway.
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
Enter the ID of the resource group where you want to create the public gateway. To list available resource groups, run ibmcloud resource groups. If you do not specify a resource group, the public gateway is created in the default resource group.
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
status String
(String) The provisioning status of your public gateway.
tags List<String>
Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (,).
timeouts IsPublicGatewayTimeouts
vpc String
Enter the ID of the VPC, for which you want to create a public gateway. To list available VPCs, run ibmcloud is vpcs.
zone String
Enter the zone where you want to create the public gateway. To list available zones, run ibmcloud is zones.
accessTags string[]

A list of access management tags to attach to the public gatewayr.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

crn string
(String) The crn for the public gateway.
floatingIp {[key: string]: string}
A map of floating IP addresses that you want to assign to the public gateway.
isPublicGatewayId string
(String) The unique identifier that was assigned to your public gateway.
name string
Enter a name for your public gateway.
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
Enter the ID of the resource group where you want to create the public gateway. To list available resource groups, run ibmcloud resource groups. If you do not specify a resource group, the public gateway is created in the default resource group.
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
status string
(String) The provisioning status of your public gateway.
tags string[]
Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (,).
timeouts IsPublicGatewayTimeouts
vpc string
Enter the ID of the VPC, for which you want to create a public gateway. To list available VPCs, run ibmcloud is vpcs.
zone string
Enter the zone where you want to create the public gateway. To list available zones, run ibmcloud is zones.
access_tags Sequence[str]

A list of access management tags to attach to the public gatewayr.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

crn str
(String) The crn for the public gateway.
floating_ip Mapping[str, str]
A map of floating IP addresses that you want to assign to the public gateway.
is_public_gateway_id str
(String) The unique identifier that was assigned to your public gateway.
name str
Enter a name for your public gateway.
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
Enter the ID of the resource group where you want to create the public gateway. To list available resource groups, run ibmcloud resource groups. If you do not specify a resource group, the public gateway is created in the default resource group.
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
status str
(String) The provisioning status of your public gateway.
tags Sequence[str]
Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (,).
timeouts IsPublicGatewayTimeoutsArgs
vpc str
Enter the ID of the VPC, for which you want to create a public gateway. To list available VPCs, run ibmcloud is vpcs.
zone str
Enter the zone where you want to create the public gateway. To list available zones, run ibmcloud is zones.
accessTags List<String>

A list of access management tags to attach to the public gatewayr.

Note: You can attach only those access tags that already exists. For more information, about creating access tags, see working with tags. You must have the access listed in the Granting users access to tag resources for access_tags access_tags must be in the format key:value.

crn String
(String) The crn for the public gateway.
floatingIp Map<String>
A map of floating IP addresses that you want to assign to the public gateway.
isPublicGatewayId String
(String) The unique identifier that was assigned to your public gateway.
name String
Enter a name for your public gateway.
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
Enter the ID of the resource group where you want to create the public gateway. To list available resource groups, run ibmcloud resource groups. If you do not specify a resource group, the public gateway is created in the default resource group.
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
status String
(String) The provisioning status of your public gateway.
tags List<String>
Enter any tags that you want to associate with your VPC. Tags might help you find your VPC more easily after it is created. Separate multiple tags with a comma (,).
timeouts Property Map
vpc String
Enter the ID of the VPC, for which you want to create a public gateway. To list available VPCs, run ibmcloud is vpcs.
zone String
Enter the zone where you want to create the public gateway. To list available zones, run ibmcloud is zones.

Supporting Types

IsPublicGatewayTimeouts
, IsPublicGatewayTimeoutsArgs

Create string
Delete string
Create string
Delete string
create String
delete String
create string
delete string
create str
delete str
create String
delete String

Import

The ibm_is_public_gateway resource can be imported by using ID.

Example

$ pulumi import ibm:index/isPublicGateway:IsPublicGateway example d7bec597-4726-451f-8a63-e62e6f19c32c
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
ibm ibm-cloud/terraform-provider-ibm
License
Notes
This Pulumi package is based on the ibm Terraform Provider.