azure-native.managednetworkfabric.InternetGateway
Explore with Pulumi AI
The Internet Gateway resource definition.
Uses Azure REST API version 2023-06-15. In version 2.x of the Azure Native provider, it used API version 2023-06-15.
Create InternetGateway Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InternetGateway(name: string, args: InternetGatewayArgs, opts?: CustomResourceOptions);
@overload
def InternetGateway(resource_name: str,
args: InternetGatewayArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InternetGateway(resource_name: str,
opts: Optional[ResourceOptions] = None,
network_fabric_controller_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
type: Optional[Union[str, GatewayType]] = None,
annotation: Optional[str] = None,
internet_gateway_name: Optional[str] = None,
internet_gateway_rule_id: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewInternetGateway(ctx *Context, name string, args InternetGatewayArgs, opts ...ResourceOption) (*InternetGateway, error)
public InternetGateway(string name, InternetGatewayArgs args, CustomResourceOptions? opts = null)
public InternetGateway(String name, InternetGatewayArgs args)
public InternetGateway(String name, InternetGatewayArgs args, CustomResourceOptions options)
type: azure-native:managednetworkfabric:InternetGateway
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. InternetGatewayArgs - 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. InternetGatewayArgs - 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. InternetGatewayArgs - 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. InternetGatewayArgs - 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. InternetGatewayArgs - 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 internetGatewayResource = new AzureNative.ManagedNetworkFabric.InternetGateway("internetGatewayResource", new()
{
NetworkFabricControllerId = "string",
ResourceGroupName = "string",
Type = "string",
Annotation = "string",
InternetGatewayName = "string",
InternetGatewayRuleId = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := managednetworkfabric.NewInternetGateway(ctx, "internetGatewayResource", &managednetworkfabric.InternetGatewayArgs{
NetworkFabricControllerId: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
Type: pulumi.String("string"),
Annotation: pulumi.String("string"),
InternetGatewayName: pulumi.String("string"),
InternetGatewayRuleId: pulumi.String("string"),
Location: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var internetGatewayResource = new InternetGateway("internetGatewayResource", InternetGatewayArgs.builder()
.networkFabricControllerId("string")
.resourceGroupName("string")
.type("string")
.annotation("string")
.internetGatewayName("string")
.internetGatewayRuleId("string")
.location("string")
.tags(Map.of("string", "string"))
.build());
internet_gateway_resource = azure_native.managednetworkfabric.InternetGateway("internetGatewayResource",
network_fabric_controller_id="string",
resource_group_name="string",
type="string",
annotation="string",
internet_gateway_name="string",
internet_gateway_rule_id="string",
location="string",
tags={
"string": "string",
})
const internetGatewayResource = new azure_native.managednetworkfabric.InternetGateway("internetGatewayResource", {
networkFabricControllerId: "string",
resourceGroupName: "string",
type: "string",
annotation: "string",
internetGatewayName: "string",
internetGatewayRuleId: "string",
location: "string",
tags: {
string: "string",
},
});
type: azure-native:managednetworkfabric:InternetGateway
properties:
annotation: string
internetGatewayName: string
internetGatewayRuleId: string
location: string
networkFabricControllerId: string
resourceGroupName: string
tags:
string: string
type: string
InternetGateway 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 InternetGateway resource accepts the following input properties:
- Network
Fabric Controller Id This property is required. string - ARM Resource ID of the Network Fabric Controller.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Type
This property is required. string | Pulumi.Azure Native. Managed Network Fabric. Gateway Type - Gateway Type of the resource.
- Annotation string
- Switch configuration description.
- Internet
Gateway Name Changes to this property will trigger replacement.
- Name of the Internet Gateway.
- Internet
Gateway stringRule Id - ARM Resource ID of the Internet Gateway Rule.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Dictionary<string, string>
- Resource tags.
- Network
Fabric Controller Id This property is required. string - ARM Resource ID of the Network Fabric Controller.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Type
This property is required. string | GatewayType - Gateway Type of the resource.
- Annotation string
- Switch configuration description.
- Internet
Gateway Name Changes to this property will trigger replacement.
- Name of the Internet Gateway.
- Internet
Gateway stringRule Id - ARM Resource ID of the Internet Gateway Rule.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- map[string]string
- Resource tags.
- network
Fabric Controller Id This property is required. String - ARM Resource ID of the Network Fabric Controller.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- type
This property is required. String | GatewayType - Gateway Type of the resource.
- annotation String
- Switch configuration description.
- internet
Gateway Name Changes to this property will trigger replacement.
- Name of the Internet Gateway.
- internet
Gateway StringRule Id - ARM Resource ID of the Internet Gateway Rule.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Map<String,String>
- Resource tags.
- network
Fabric Controller Id This property is required. string - ARM Resource ID of the Network Fabric Controller.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- type
This property is required. string | GatewayType - Gateway Type of the resource.
- annotation string
- Switch configuration description.
- internet
Gateway Name Changes to this property will trigger replacement.
- Name of the Internet Gateway.
- internet
Gateway stringRule Id - ARM Resource ID of the Internet Gateway Rule.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- {[key: string]: string}
- Resource tags.
- network_
fabric_ controller_ id This property is required. str - ARM Resource ID of the Network Fabric Controller.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- type
This property is required. str | GatewayType - Gateway Type of the resource.
- annotation str
- Switch configuration description.
- internet_
gateway_ name Changes to this property will trigger replacement.
- Name of the Internet Gateway.
- internet_
gateway_ strrule_ id - ARM Resource ID of the Internet Gateway Rule.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Mapping[str, str]
- Resource tags.
- network
Fabric Controller Id This property is required. String - ARM Resource ID of the Network Fabric Controller.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- type
This property is required. String | "Infrastructure" | "Workload" - Gateway Type of the resource.
- annotation String
- Switch configuration description.
- internet
Gateway Name Changes to this property will trigger replacement.
- Name of the Internet Gateway.
- internet
Gateway StringRule Id - ARM Resource ID of the Internet Gateway Rule.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the InternetGateway resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4Address string
- IPv4 Address of Internet Gateway.
- Name string
- The name of the resource
- Port int
- Port number of Internet Gateway.
- Provisioning
State string - Provisioning state of resource.
- System
Data Pulumi.Azure Native. Managed Network Fabric. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ipv4Address string
- IPv4 Address of Internet Gateway.
- Name string
- The name of the resource
- Port int
- Port number of Internet Gateway.
- Provisioning
State string - Provisioning state of resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4Address String
- IPv4 Address of Internet Gateway.
- name String
- The name of the resource
- port Integer
- Port number of Internet Gateway.
- provisioning
State String - Provisioning state of resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- ipv4Address string
- IPv4 Address of Internet Gateway.
- name string
- The name of the resource
- port number
- Port number of Internet Gateway.
- provisioning
State string - Provisioning state of resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- ipv4_
address str - IPv4 Address of Internet Gateway.
- name str
- The name of the resource
- port int
- Port number of Internet Gateway.
- provisioning_
state str - Provisioning state of resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- ipv4Address String
- IPv4 Address of Internet Gateway.
- name String
- The name of the resource
- port Number
- Port number of Internet Gateway.
- provisioning
State String - Provisioning state of resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
Supporting Types
GatewayType, GatewayTypeArgs
- Infrastructure
- Infrastructure
- Workload
- Workload
- Gateway
Type Infrastructure - Infrastructure
- Gateway
Type Workload - Workload
- Infrastructure
- Infrastructure
- Workload
- Workload
- Infrastructure
- Infrastructure
- Workload
- Workload
- INFRASTRUCTURE
- Infrastructure
- WORKLOAD
- Workload
- "Infrastructure"
- Infrastructure
- "Workload"
- Workload
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:managednetworkfabric:InternetGateway example-internetGateway /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/internetGateways/{internetGatewayName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0