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";
import pulumi
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
return await Deployment.RunAsync(() =>
{
});
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) {
}
}
{}
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());
}
}
resources:
exampleIsVpc:
type: ibm:IsVpc
exampleIsPublicGateway:
type: ibm:IsPublicGateway
properties:
vpc: ${exampleIsVpc.isVpcId}
zone: us-south-1
# User can configure timeouts
timeouts:
- create: 90m
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 string
- The unique name of the resource.
- args IsPublicGatewayArgs
- 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 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 string
- The unique name of the resource.
- args IsPublicGatewayArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IsPublicGatewayArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
},
});
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"),
},
})
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());
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",
})
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",
},
});
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
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 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
. - 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 formatkey:value
.- Floating
Ip Dictionary<string, string> - A map of floating IP addresses that you want to assign to the public gateway.
- Is
Public stringGateway Id - (String) The unique identifier that was assigned to your public gateway.
- Name string
- Enter a name for your public gateway.
- Resource
Group 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 thedefault
resource group. - 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
Is
Public Gateway Timeouts
- 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
. - []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 formatkey:value
.- Floating
Ip map[string]string - A map of floating IP addresses that you want to assign to the public gateway.
- Is
Public stringGateway Id - (String) The unique identifier that was assigned to your public gateway.
- Name string
- Enter a name for your public gateway.
- Resource
Group 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 thedefault
resource group. - []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
Is
Public Gateway Timeouts Args
- 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
. - 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 formatkey:value
.- floating
Ip Map<String,String> - A map of floating IP addresses that you want to assign to the public gateway.
- is
Public StringGateway Id - (String) The unique identifier that was assigned to your public gateway.
- name String
- Enter a name for your public gateway.
- resource
Group 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 thedefault
resource group. - 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
Is
Public Gateway Timeouts
- 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
. - 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 formatkey:value
.- floating
Ip {[key: string]: string} - A map of floating IP addresses that you want to assign to the public gateway.
- is
Public stringGateway Id - (String) The unique identifier that was assigned to your public gateway.
- name string
- Enter a name for your public gateway.
- resource
Group 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 thedefault
resource group. - 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
Is
Public Gateway Timeouts
- 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
. - 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 formatkey:value
.- floating_
ip Mapping[str, str] - A map of floating IP addresses that you want to assign to the public gateway.
- is_
public_ strgateway_ id - (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 thedefault
resource group. - 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
Is
Public Gateway Timeouts Args
- 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
. - 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 formatkey:value
.- floating
Ip Map<String> - A map of floating IP addresses that you want to assign to the public gateway.
- is
Public StringGateway Id - (String) The unique identifier that was assigned to your public gateway.
- name String
- Enter a name for your public gateway.
- resource
Group 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 thedefault
resource group. - 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.
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Crn string - The crn of the resource
- Resource
Group stringName - The resource group name in which resource is provisioned
- Resource
Name string - The name of the resource
- Resource
Status 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.
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Crn string - The crn of the resource
- Resource
Group stringName - The resource group name in which resource is provisioned
- Resource
Name string - The name of the resource
- Resource
Status 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.
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn String - The crn of the resource
- resource
Group StringName - The resource group name in which resource is provisioned
- resource
Name String - The name of the resource
- resource
Status 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.
- resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn string - The crn of the resource
- resource
Group stringName - The resource group name in which resource is provisioned
- resource
Name string - The name of the resource
- resource
Status 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_ strurl - 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_ strname - 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.
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn String - The crn of the resource
- resource
Group StringName - The resource group name in which resource is provisioned
- resource
Name String - The name of the resource
- resource
Status 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
- 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.
- 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 formatkey:value
.- Crn string
- (String) The crn for the public gateway.
- Floating
Ip Dictionary<string, string> - A map of floating IP addresses that you want to assign to the public gateway.
- Is
Public stringGateway Id - (String) The unique identifier that was assigned to your public gateway.
- Name string
- Enter a name for your public gateway.
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Crn string - The crn of the resource
- Resource
Group 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 thedefault
resource group. - Resource
Group stringName - The resource group name in which resource is provisioned
- Resource
Name string - The name of the resource
- Resource
Status string - The status of the resource
- Status string
- (String) The provisioning status of your public gateway.
- 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
Is
Public Gateway Timeouts - 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
.
- []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 formatkey:value
.- Crn string
- (String) The crn for the public gateway.
- Floating
Ip map[string]string - A map of floating IP addresses that you want to assign to the public gateway.
- Is
Public stringGateway Id - (String) The unique identifier that was assigned to your public gateway.
- Name string
- Enter a name for your public gateway.
- Resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- Resource
Crn string - The crn of the resource
- Resource
Group 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 thedefault
resource group. - Resource
Group stringName - The resource group name in which resource is provisioned
- Resource
Name string - The name of the resource
- Resource
Status string - The status of the resource
- Status string
- (String) The provisioning status of your public gateway.
- []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
Is
Public Gateway Timeouts Args - 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
.
- 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 formatkey:value
.- crn String
- (String) The crn for the public gateway.
- floating
Ip Map<String,String> - A map of floating IP addresses that you want to assign to the public gateway.
- is
Public StringGateway Id - (String) The unique identifier that was assigned to your public gateway.
- name String
- Enter a name for your public gateway.
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn String - The crn of the resource
- resource
Group 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 thedefault
resource group. - resource
Group StringName - The resource group name in which resource is provisioned
- resource
Name String - The name of the resource
- resource
Status String - The status of the resource
- status String
- (String) The provisioning status of your public gateway.
- 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
Is
Public Gateway Timeouts - 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
.
- 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 formatkey:value
.- crn string
- (String) The crn for the public gateway.
- floating
Ip {[key: string]: string} - A map of floating IP addresses that you want to assign to the public gateway.
- is
Public stringGateway Id - (String) The unique identifier that was assigned to your public gateway.
- name string
- Enter a name for your public gateway.
- resource
Controller stringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn string - The crn of the resource
- resource
Group 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 thedefault
resource group. - resource
Group stringName - The resource group name in which resource is provisioned
- resource
Name string - The name of the resource
- resource
Status string - The status of the resource
- status string
- (String) The provisioning status of your public gateway.
- 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
Is
Public Gateway Timeouts - 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
.
- 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 formatkey: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_ strgateway_ id - (String) The unique identifier that was assigned to your public gateway.
- name str
- Enter a name for your public gateway.
- resource_
controller_ strurl - 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 thedefault
resource group. - resource_
group_ strname - 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.
- 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
Is
Public Gateway Timeouts Args - 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
.
- 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 formatkey:value
.- crn String
- (String) The crn for the public gateway.
- floating
Ip Map<String> - A map of floating IP addresses that you want to assign to the public gateway.
- is
Public StringGateway Id - (String) The unique identifier that was assigned to your public gateway.
- name String
- Enter a name for your public gateway.
- resource
Controller StringUrl - The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
- resource
Crn String - The crn of the resource
- resource
Group 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 thedefault
resource group. - resource
Group StringName - The resource group name in which resource is provisioned
- resource
Name String - The name of the resource
- resource
Status String - The status of the resource
- status String
- (String) The provisioning status of your public gateway.
- 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
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
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.