azure-native.network.PublicIPPrefix
Explore with Pulumi AI
Public IP prefix resource. Azure REST API version: 2023-02-01. Prior API version in Azure Native 1.x: 2020-11-01.
Other available API versions: 2019-06-01, 2019-08-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01.
Example Usage
Create public IP prefix allocation method
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var publicIPPrefix = new AzureNative.Network.PublicIPPrefix("publicIPPrefix", new()
{
Location = "westus",
PrefixLength = 30,
PublicIPAddressVersion = AzureNative.Network.IPVersion.IPv4,
PublicIpPrefixName = "test-ipprefix",
ResourceGroupName = "rg1",
Sku = new AzureNative.Network.Inputs.PublicIPPrefixSkuArgs
{
Name = AzureNative.Network.PublicIPPrefixSkuName.Standard,
Tier = AzureNative.Network.PublicIPPrefixSkuTier.Regional,
},
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewPublicIPPrefix(ctx, "publicIPPrefix", &network.PublicIPPrefixArgs{
Location: pulumi.String("westus"),
PrefixLength: pulumi.Int(30),
PublicIPAddressVersion: pulumi.String(network.IPVersionIPv4),
PublicIpPrefixName: pulumi.String("test-ipprefix"),
ResourceGroupName: pulumi.String("rg1"),
Sku: &network.PublicIPPrefixSkuArgs{
Name: pulumi.String(network.PublicIPPrefixSkuNameStandard),
Tier: pulumi.String(network.PublicIPPrefixSkuTierRegional),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.PublicIPPrefix;
import com.pulumi.azurenative.network.PublicIPPrefixArgs;
import com.pulumi.azurenative.network.inputs.PublicIPPrefixSkuArgs;
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 publicIPPrefix = new PublicIPPrefix("publicIPPrefix", PublicIPPrefixArgs.builder()
.location("westus")
.prefixLength(30)
.publicIPAddressVersion("IPv4")
.publicIpPrefixName("test-ipprefix")
.resourceGroupName("rg1")
.sku(PublicIPPrefixSkuArgs.builder()
.name("Standard")
.tier("Regional")
.build())
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
public_ip_prefix = azure_native.network.PublicIPPrefix("publicIPPrefix",
location="westus",
prefix_length=30,
public_ip_address_version=azure_native.network.IPVersion.I_PV4,
public_ip_prefix_name="test-ipprefix",
resource_group_name="rg1",
sku={
"name": azure_native.network.PublicIPPrefixSkuName.STANDARD,
"tier": azure_native.network.PublicIPPrefixSkuTier.REGIONAL,
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const publicIPPrefix = new azure_native.network.PublicIPPrefix("publicIPPrefix", {
location: "westus",
prefixLength: 30,
publicIPAddressVersion: azure_native.network.IPVersion.IPv4,
publicIpPrefixName: "test-ipprefix",
resourceGroupName: "rg1",
sku: {
name: azure_native.network.PublicIPPrefixSkuName.Standard,
tier: azure_native.network.PublicIPPrefixSkuTier.Regional,
},
});
resources:
publicIPPrefix:
type: azure-native:network:PublicIPPrefix
properties:
location: westus
prefixLength: 30
publicIPAddressVersion: IPv4
publicIpPrefixName: test-ipprefix
resourceGroupName: rg1
sku:
name: Standard
tier: Regional
Create public IP prefix defaults
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var publicIPPrefix = new AzureNative.Network.PublicIPPrefix("publicIPPrefix", new()
{
Location = "westus",
PrefixLength = 30,
PublicIpPrefixName = "test-ipprefix",
ResourceGroupName = "rg1",
Sku = new AzureNative.Network.Inputs.PublicIPPrefixSkuArgs
{
Name = AzureNative.Network.PublicIPPrefixSkuName.Standard,
},
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewPublicIPPrefix(ctx, "publicIPPrefix", &network.PublicIPPrefixArgs{
Location: pulumi.String("westus"),
PrefixLength: pulumi.Int(30),
PublicIpPrefixName: pulumi.String("test-ipprefix"),
ResourceGroupName: pulumi.String("rg1"),
Sku: &network.PublicIPPrefixSkuArgs{
Name: pulumi.String(network.PublicIPPrefixSkuNameStandard),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.PublicIPPrefix;
import com.pulumi.azurenative.network.PublicIPPrefixArgs;
import com.pulumi.azurenative.network.inputs.PublicIPPrefixSkuArgs;
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 publicIPPrefix = new PublicIPPrefix("publicIPPrefix", PublicIPPrefixArgs.builder()
.location("westus")
.prefixLength(30)
.publicIpPrefixName("test-ipprefix")
.resourceGroupName("rg1")
.sku(PublicIPPrefixSkuArgs.builder()
.name("Standard")
.build())
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
public_ip_prefix = azure_native.network.PublicIPPrefix("publicIPPrefix",
location="westus",
prefix_length=30,
public_ip_prefix_name="test-ipprefix",
resource_group_name="rg1",
sku={
"name": azure_native.network.PublicIPPrefixSkuName.STANDARD,
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const publicIPPrefix = new azure_native.network.PublicIPPrefix("publicIPPrefix", {
location: "westus",
prefixLength: 30,
publicIpPrefixName: "test-ipprefix",
resourceGroupName: "rg1",
sku: {
name: azure_native.network.PublicIPPrefixSkuName.Standard,
},
});
resources:
publicIPPrefix:
type: azure-native:network:PublicIPPrefix
properties:
location: westus
prefixLength: 30
publicIpPrefixName: test-ipprefix
resourceGroupName: rg1
sku:
name: Standard
Create PublicIPPrefix Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PublicIPPrefix(name: string, args: PublicIPPrefixArgs, opts?: CustomResourceOptions);
@overload
def PublicIPPrefix(resource_name: str,
args: PublicIPPrefixArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PublicIPPrefix(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
ip_tags: Optional[Sequence[IpTagArgs]] = None,
id: Optional[str] = None,
custom_ip_prefix: Optional[SubResourceArgs] = None,
location: Optional[str] = None,
nat_gateway: Optional[NatGatewayArgs] = None,
prefix_length: Optional[int] = None,
public_ip_address_version: Optional[Union[str, IPVersion]] = None,
public_ip_prefix_name: Optional[str] = None,
extended_location: Optional[ExtendedLocationArgs] = None,
sku: Optional[PublicIPPrefixSkuArgs] = None,
tags: Optional[Mapping[str, str]] = None,
zones: Optional[Sequence[str]] = None)
func NewPublicIPPrefix(ctx *Context, name string, args PublicIPPrefixArgs, opts ...ResourceOption) (*PublicIPPrefix, error)
public PublicIPPrefix(string name, PublicIPPrefixArgs args, CustomResourceOptions? opts = null)
public PublicIPPrefix(String name, PublicIPPrefixArgs args)
public PublicIPPrefix(String name, PublicIPPrefixArgs args, CustomResourceOptions options)
type: azure-native:network:PublicIPPrefix
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 PublicIPPrefixArgs
- 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 PublicIPPrefixArgs
- 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 PublicIPPrefixArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PublicIPPrefixArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PublicIPPrefixArgs
- 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 publicIPPrefixResource = new AzureNative.Network.PublicIPPrefix("publicIPPrefixResource", new()
{
ResourceGroupName = "string",
IpTags = new[]
{
new AzureNative.Network.Inputs.IpTagArgs
{
IpTagType = "string",
Tag = "string",
},
},
Id = "string",
CustomIPPrefix = new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
Location = "string",
NatGateway = new AzureNative.Network.Inputs.NatGatewayArgs
{
Id = "string",
IdleTimeoutInMinutes = 0,
Location = "string",
PublicIpAddresses = new[]
{
new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
},
PublicIpPrefixes = new[]
{
new AzureNative.Network.Inputs.SubResourceArgs
{
Id = "string",
},
},
Sku = new AzureNative.Network.Inputs.NatGatewaySkuArgs
{
Name = "string",
},
Tags =
{
{ "string", "string" },
},
Zones = new[]
{
"string",
},
},
PrefixLength = 0,
PublicIPAddressVersion = "string",
PublicIpPrefixName = "string",
ExtendedLocation = new AzureNative.Network.Inputs.ExtendedLocationArgs
{
Name = "string",
Type = "string",
},
Sku = new AzureNative.Network.Inputs.PublicIPPrefixSkuArgs
{
Name = "string",
Tier = "string",
},
Tags =
{
{ "string", "string" },
},
Zones = new[]
{
"string",
},
});
example, err := network.NewPublicIPPrefix(ctx, "publicIPPrefixResource", &network.PublicIPPrefixArgs{
ResourceGroupName: pulumi.String("string"),
IpTags: network.IpTagArray{
&network.IpTagArgs{
IpTagType: pulumi.String("string"),
Tag: pulumi.String("string"),
},
},
Id: pulumi.String("string"),
CustomIPPrefix: &network.SubResourceArgs{
Id: pulumi.String("string"),
},
Location: pulumi.String("string"),
NatGateway: &network.NatGatewayTypeArgs{
Id: pulumi.String("string"),
IdleTimeoutInMinutes: pulumi.Int(0),
Location: pulumi.String("string"),
PublicIpAddresses: network.SubResourceArray{
&network.SubResourceArgs{
Id: pulumi.String("string"),
},
},
PublicIpPrefixes: network.SubResourceArray{
&network.SubResourceArgs{
Id: pulumi.String("string"),
},
},
Sku: &network.NatGatewaySkuArgs{
Name: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Zones: pulumi.StringArray{
pulumi.String("string"),
},
},
PrefixLength: pulumi.Int(0),
PublicIPAddressVersion: pulumi.String("string"),
PublicIpPrefixName: pulumi.String("string"),
ExtendedLocation: &network.ExtendedLocationArgs{
Name: pulumi.String("string"),
Type: pulumi.String("string"),
},
Sku: &network.PublicIPPrefixSkuArgs{
Name: pulumi.String("string"),
Tier: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Zones: pulumi.StringArray{
pulumi.String("string"),
},
})
var publicIPPrefixResource = new PublicIPPrefix("publicIPPrefixResource", PublicIPPrefixArgs.builder()
.resourceGroupName("string")
.ipTags(IpTagArgs.builder()
.ipTagType("string")
.tag("string")
.build())
.id("string")
.customIPPrefix(SubResourceArgs.builder()
.id("string")
.build())
.location("string")
.natGateway(NatGatewayArgs.builder()
.id("string")
.idleTimeoutInMinutes(0)
.location("string")
.publicIpAddresses(SubResourceArgs.builder()
.id("string")
.build())
.publicIpPrefixes(SubResourceArgs.builder()
.id("string")
.build())
.sku(NatGatewaySkuArgs.builder()
.name("string")
.build())
.tags(Map.of("string", "string"))
.zones("string")
.build())
.prefixLength(0)
.publicIPAddressVersion("string")
.publicIpPrefixName("string")
.extendedLocation(ExtendedLocationArgs.builder()
.name("string")
.type("string")
.build())
.sku(PublicIPPrefixSkuArgs.builder()
.name("string")
.tier("string")
.build())
.tags(Map.of("string", "string"))
.zones("string")
.build());
public_ip_prefix_resource = azure_native.network.PublicIPPrefix("publicIPPrefixResource",
resource_group_name="string",
ip_tags=[{
"ipTagType": "string",
"tag": "string",
}],
id="string",
custom_ip_prefix={
"id": "string",
},
location="string",
nat_gateway={
"id": "string",
"idleTimeoutInMinutes": 0,
"location": "string",
"publicIpAddresses": [{
"id": "string",
}],
"publicIpPrefixes": [{
"id": "string",
}],
"sku": {
"name": "string",
},
"tags": {
"string": "string",
},
"zones": ["string"],
},
prefix_length=0,
public_ip_address_version="string",
public_ip_prefix_name="string",
extended_location={
"name": "string",
"type": "string",
},
sku={
"name": "string",
"tier": "string",
},
tags={
"string": "string",
},
zones=["string"])
const publicIPPrefixResource = new azure_native.network.PublicIPPrefix("publicIPPrefixResource", {
resourceGroupName: "string",
ipTags: [{
ipTagType: "string",
tag: "string",
}],
id: "string",
customIPPrefix: {
id: "string",
},
location: "string",
natGateway: {
id: "string",
idleTimeoutInMinutes: 0,
location: "string",
publicIpAddresses: [{
id: "string",
}],
publicIpPrefixes: [{
id: "string",
}],
sku: {
name: "string",
},
tags: {
string: "string",
},
zones: ["string"],
},
prefixLength: 0,
publicIPAddressVersion: "string",
publicIpPrefixName: "string",
extendedLocation: {
name: "string",
type: "string",
},
sku: {
name: "string",
tier: "string",
},
tags: {
string: "string",
},
zones: ["string"],
});
type: azure-native:network:PublicIPPrefix
properties:
customIPPrefix:
id: string
extendedLocation:
name: string
type: string
id: string
ipTags:
- ipTagType: string
tag: string
location: string
natGateway:
id: string
idleTimeoutInMinutes: 0
location: string
publicIpAddresses:
- id: string
publicIpPrefixes:
- id: string
sku:
name: string
tags:
string: string
zones:
- string
prefixLength: 0
publicIPAddressVersion: string
publicIpPrefixName: string
resourceGroupName: string
sku:
name: string
tier: string
tags:
string: string
zones:
- string
PublicIPPrefix Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The PublicIPPrefix resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group.
- Custom
IPPrefix Pulumi.Azure Native. Network. Inputs. Sub Resource - The customIpPrefix that this prefix is associated with.
- Extended
Location Pulumi.Azure Native. Network. Inputs. Extended Location - The extended location of the public ip address.
- Id string
- Resource ID.
- List<Pulumi.
Azure Native. Network. Inputs. Ip Tag> - The list of tags associated with the public IP prefix.
- Location string
- Resource location.
- Nat
Gateway Pulumi.Azure Native. Network. Inputs. Nat Gateway - NatGateway of Public IP Prefix.
- Prefix
Length int - The Length of the Public IP Prefix.
- Public
IPAddress string | Pulumi.Version Azure Native. Network. IPVersion - The public IP address version.
- Public
Ip stringPrefix Name - The name of the public IP prefix.
- Sku
Pulumi.
Azure Native. Network. Inputs. Public IPPrefix Sku - The public IP prefix SKU.
- Dictionary<string, string>
- Resource tags.
- Zones List<string>
- A list of availability zones denoting the IP allocated for the resource needs to come from.
- Resource
Group stringName - The name of the resource group.
- Custom
IPPrefix SubResource Args - The customIpPrefix that this prefix is associated with.
- Extended
Location ExtendedLocation Args - The extended location of the public ip address.
- Id string
- Resource ID.
- []Ip
Tag Args - The list of tags associated with the public IP prefix.
- Location string
- Resource location.
- Nat
Gateway NatGateway Type Args - NatGateway of Public IP Prefix.
- Prefix
Length int - The Length of the Public IP Prefix.
- Public
IPAddress string | IPVersionVersion - The public IP address version.
- Public
Ip stringPrefix Name - The name of the public IP prefix.
- Sku
Public
IPPrefix Sku Args - The public IP prefix SKU.
- map[string]string
- Resource tags.
- Zones []string
- A list of availability zones denoting the IP allocated for the resource needs to come from.
- resource
Group StringName - The name of the resource group.
- custom
IPPrefix SubResource - The customIpPrefix that this prefix is associated with.
- extended
Location ExtendedLocation - The extended location of the public ip address.
- id String
- Resource ID.
- List<Ip
Tag> - The list of tags associated with the public IP prefix.
- location String
- Resource location.
- nat
Gateway NatGateway - NatGateway of Public IP Prefix.
- prefix
Length Integer - The Length of the Public IP Prefix.
- public
IPAddress String | IPVersionVersion - The public IP address version.
- public
Ip StringPrefix Name - The name of the public IP prefix.
- sku
Public
IPPrefix Sku - The public IP prefix SKU.
- Map<String,String>
- Resource tags.
- zones List<String>
- A list of availability zones denoting the IP allocated for the resource needs to come from.
- resource
Group stringName - The name of the resource group.
- custom
IPPrefix SubResource - The customIpPrefix that this prefix is associated with.
- extended
Location ExtendedLocation - The extended location of the public ip address.
- id string
- Resource ID.
- Ip
Tag[] - The list of tags associated with the public IP prefix.
- location string
- Resource location.
- nat
Gateway NatGateway - NatGateway of Public IP Prefix.
- prefix
Length number - The Length of the Public IP Prefix.
- public
IPAddress string | IPVersionVersion - The public IP address version.
- public
Ip stringPrefix Name - The name of the public IP prefix.
- sku
Public
IPPrefix Sku - The public IP prefix SKU.
- {[key: string]: string}
- Resource tags.
- zones string[]
- A list of availability zones denoting the IP allocated for the resource needs to come from.
- resource_
group_ strname - The name of the resource group.
- custom_
ip_ Subprefix Resource Args - The customIpPrefix that this prefix is associated with.
- extended_
location ExtendedLocation Args - The extended location of the public ip address.
- id str
- Resource ID.
- Sequence[Ip
Tag Args] - The list of tags associated with the public IP prefix.
- location str
- Resource location.
- nat_
gateway NatGateway Args - NatGateway of Public IP Prefix.
- prefix_
length int - The Length of the Public IP Prefix.
- public_
ip_ str | IPVersionaddress_ version - The public IP address version.
- public_
ip_ strprefix_ name - The name of the public IP prefix.
- sku
Public
IPPrefix Sku Args - The public IP prefix SKU.
- Mapping[str, str]
- Resource tags.
- zones Sequence[str]
- A list of availability zones denoting the IP allocated for the resource needs to come from.
- resource
Group StringName - The name of the resource group.
- custom
IPPrefix Property Map - The customIpPrefix that this prefix is associated with.
- extended
Location Property Map - The extended location of the public ip address.
- id String
- Resource ID.
- List<Property Map>
- The list of tags associated with the public IP prefix.
- location String
- Resource location.
- nat
Gateway Property Map - NatGateway of Public IP Prefix.
- prefix
Length Number - The Length of the Public IP Prefix.
- public
IPAddress String | "IPv4" | "IPv6"Version - The public IP address version.
- public
Ip StringPrefix Name - The name of the public IP prefix.
- sku Property Map
- The public IP prefix SKU.
- Map<String>
- Resource tags.
- zones List<String>
- A list of availability zones denoting the IP allocated for the resource needs to come from.
Outputs
All input properties are implicitly available as output properties. Additionally, the PublicIPPrefix resource produces the following output properties:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Prefix string - The allocated Prefix.
- Load
Balancer Pulumi.Frontend Ip Configuration Azure Native. Network. Outputs. Sub Resource Response - The reference to load balancer frontend IP configuration associated with the public IP prefix.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the public IP prefix resource.
- Public
IPAddresses List<Pulumi.Azure Native. Network. Outputs. Referenced Public Ip Address Response> - The list of all referenced PublicIPAddresses.
- Resource
Guid string - The resource GUID property of the public IP prefix resource.
- Type string
- Resource type.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Prefix string - The allocated Prefix.
- Load
Balancer SubFrontend Ip Configuration Resource Response - The reference to load balancer frontend IP configuration associated with the public IP prefix.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the public IP prefix resource.
- Public
IPAddresses []ReferencedPublic Ip Address Response - The list of all referenced PublicIPAddresses.
- Resource
Guid string - The resource GUID property of the public IP prefix resource.
- Type string
- Resource type.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Prefix String - The allocated Prefix.
- load
Balancer SubFrontend Ip Configuration Resource Response - The reference to load balancer frontend IP configuration associated with the public IP prefix.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the public IP prefix resource.
- public
IPAddresses List<ReferencedPublic Ip Address Response> - The list of all referenced PublicIPAddresses.
- resource
Guid String - The resource GUID property of the public IP prefix resource.
- type String
- Resource type.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Prefix string - The allocated Prefix.
- load
Balancer SubFrontend Ip Configuration Resource Response - The reference to load balancer frontend IP configuration associated with the public IP prefix.
- name string
- Resource name.
- provisioning
State string - The provisioning state of the public IP prefix resource.
- public
IPAddresses ReferencedPublic Ip Address Response[] - The list of all referenced PublicIPAddresses.
- resource
Guid string - The resource GUID property of the public IP prefix resource.
- type string
- Resource type.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
prefix str - The allocated Prefix.
- load_
balancer_ Subfrontend_ ip_ configuration Resource Response - The reference to load balancer frontend IP configuration associated with the public IP prefix.
- name str
- Resource name.
- provisioning_
state str - The provisioning state of the public IP prefix resource.
- public_
ip_ Sequence[Referencedaddresses Public Ip Address Response] - The list of all referenced PublicIPAddresses.
- resource_
guid str - The resource GUID property of the public IP prefix resource.
- type str
- Resource type.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Prefix String - The allocated Prefix.
- load
Balancer Property MapFrontend Ip Configuration - The reference to load balancer frontend IP configuration associated with the public IP prefix.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the public IP prefix resource.
- public
IPAddresses List<Property Map> - The list of all referenced PublicIPAddresses.
- resource
Guid String - The resource GUID property of the public IP prefix resource.
- type String
- Resource type.
Supporting Types
ExtendedLocation, ExtendedLocationArgs
- Name string
- The name of the extended location.
- Type
string | Pulumi.
Azure Native. Network. Extended Location Types - The type of the extended location.
- Name string
- The name of the extended location.
- Type
string | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | Extended
Location Types - The type of the extended location.
- name string
- The name of the extended location.
- type
string | Extended
Location Types - The type of the extended location.
- name str
- The name of the extended location.
- type
str | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | "Edge
Zone" - The type of the extended location.
ExtendedLocationResponse, ExtendedLocationResponseArgs
ExtendedLocationTypes, ExtendedLocationTypesArgs
- Edge
Zone - EdgeZone
- Extended
Location Types Edge Zone - EdgeZone
- Edge
Zone - EdgeZone
- Edge
Zone - EdgeZone
- EDGE_ZONE
- EdgeZone
- "Edge
Zone" - EdgeZone
IPVersion, IPVersionArgs
- IPv4
- IPv4
- IPv6
- IPv6
- IPVersion
IPv4 - IPv4
- IPVersion
IPv6 - IPv6
- IPv4
- IPv4
- IPv6
- IPv6
- IPv4
- IPv4
- IPv6
- IPv6
- I_PV4
- IPv4
- I_PV6
- IPv6
- "IPv4"
- IPv4
- "IPv6"
- IPv6
IpTag, IpTagArgs
- ip_
tag_ strtype - The IP tag type. Example: FirstPartyUsage.
- tag str
- The value of the IP tag associated with the public IP. Example: SQL.
IpTagResponse, IpTagResponseArgs
- ip_
tag_ strtype - The IP tag type. Example: FirstPartyUsage.
- tag str
- The value of the IP tag associated with the public IP. Example: SQL.
NatGateway, NatGatewayArgs
- Id string
- Resource ID.
- Idle
Timeout intIn Minutes - The idle timeout of the nat gateway.
- Location string
- Resource location.
- Public
Ip List<Pulumi.Addresses Azure Native. Network. Inputs. Sub Resource> - An array of public ip addresses associated with the nat gateway resource.
- Public
Ip List<Pulumi.Prefixes Azure Native. Network. Inputs. Sub Resource> - An array of public ip prefixes associated with the nat gateway resource.
- Sku
Pulumi.
Azure Native. Network. Inputs. Nat Gateway Sku - The nat gateway SKU.
- Dictionary<string, string>
- Resource tags.
- Zones List<string>
- A list of availability zones denoting the zone in which Nat Gateway should be deployed.
- Id string
- Resource ID.
- Idle
Timeout intIn Minutes - The idle timeout of the nat gateway.
- Location string
- Resource location.
- Public
Ip []SubAddresses Resource - An array of public ip addresses associated with the nat gateway resource.
- Public
Ip []SubPrefixes Resource - An array of public ip prefixes associated with the nat gateway resource.
- Sku
Nat
Gateway Sku - The nat gateway SKU.
- map[string]string
- Resource tags.
- Zones []string
- A list of availability zones denoting the zone in which Nat Gateway should be deployed.
- id String
- Resource ID.
- idle
Timeout IntegerIn Minutes - The idle timeout of the nat gateway.
- location String
- Resource location.
- public
Ip List<SubAddresses Resource> - An array of public ip addresses associated with the nat gateway resource.
- public
Ip List<SubPrefixes Resource> - An array of public ip prefixes associated with the nat gateway resource.
- sku
Nat
Gateway Sku - The nat gateway SKU.
- Map<String,String>
- Resource tags.
- zones List<String>
- A list of availability zones denoting the zone in which Nat Gateway should be deployed.
- id string
- Resource ID.
- idle
Timeout numberIn Minutes - The idle timeout of the nat gateway.
- location string
- Resource location.
- public
Ip SubAddresses Resource[] - An array of public ip addresses associated with the nat gateway resource.
- public
Ip SubPrefixes Resource[] - An array of public ip prefixes associated with the nat gateway resource.
- sku
Nat
Gateway Sku - The nat gateway SKU.
- {[key: string]: string}
- Resource tags.
- zones string[]
- A list of availability zones denoting the zone in which Nat Gateway should be deployed.
- id str
- Resource ID.
- idle_
timeout_ intin_ minutes - The idle timeout of the nat gateway.
- location str
- Resource location.
- public_
ip_ Sequence[Subaddresses Resource] - An array of public ip addresses associated with the nat gateway resource.
- public_
ip_ Sequence[Subprefixes Resource] - An array of public ip prefixes associated with the nat gateway resource.
- sku
Nat
Gateway Sku - The nat gateway SKU.
- Mapping[str, str]
- Resource tags.
- zones Sequence[str]
- A list of availability zones denoting the zone in which Nat Gateway should be deployed.
- id String
- Resource ID.
- idle
Timeout NumberIn Minutes - The idle timeout of the nat gateway.
- location String
- Resource location.
- public
Ip List<Property Map>Addresses - An array of public ip addresses associated with the nat gateway resource.
- public
Ip List<Property Map>Prefixes - An array of public ip prefixes associated with the nat gateway resource.
- sku Property Map
- The nat gateway SKU.
- Map<String>
- Resource tags.
- zones List<String>
- A list of availability zones denoting the zone in which Nat Gateway should be deployed.
NatGatewayResponse, NatGatewayResponseArgs
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the NAT gateway resource.
- Resource
Guid string - The resource GUID property of the NAT gateway resource.
- Subnets
List<Pulumi.
Azure Native. Network. Inputs. Sub Resource Response> - An array of references to the subnets using this nat gateway resource.
- Type string
- Resource type.
- Id string
- Resource ID.
- Idle
Timeout intIn Minutes - The idle timeout of the nat gateway.
- Location string
- Resource location.
- Public
Ip List<Pulumi.Addresses Azure Native. Network. Inputs. Sub Resource Response> - An array of public ip addresses associated with the nat gateway resource.
- Public
Ip List<Pulumi.Prefixes Azure Native. Network. Inputs. Sub Resource Response> - An array of public ip prefixes associated with the nat gateway resource.
- Sku
Pulumi.
Azure Native. Network. Inputs. Nat Gateway Sku Response - The nat gateway SKU.
- Dictionary<string, string>
- Resource tags.
- Zones List<string>
- A list of availability zones denoting the zone in which Nat Gateway should be deployed.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Name string
- Resource name.
- Provisioning
State string - The provisioning state of the NAT gateway resource.
- Resource
Guid string - The resource GUID property of the NAT gateway resource.
- Subnets
[]Sub
Resource Response - An array of references to the subnets using this nat gateway resource.
- Type string
- Resource type.
- Id string
- Resource ID.
- Idle
Timeout intIn Minutes - The idle timeout of the nat gateway.
- Location string
- Resource location.
- Public
Ip []SubAddresses Resource Response - An array of public ip addresses associated with the nat gateway resource.
- Public
Ip []SubPrefixes Resource Response - An array of public ip prefixes associated with the nat gateway resource.
- Sku
Nat
Gateway Sku Response - The nat gateway SKU.
- map[string]string
- Resource tags.
- Zones []string
- A list of availability zones denoting the zone in which Nat Gateway should be deployed.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the NAT gateway resource.
- resource
Guid String - The resource GUID property of the NAT gateway resource.
- subnets
List<Sub
Resource Response> - An array of references to the subnets using this nat gateway resource.
- type String
- Resource type.
- id String
- Resource ID.
- idle
Timeout IntegerIn Minutes - The idle timeout of the nat gateway.
- location String
- Resource location.
- public
Ip List<SubAddresses Resource Response> - An array of public ip addresses associated with the nat gateway resource.
- public
Ip List<SubPrefixes Resource Response> - An array of public ip prefixes associated with the nat gateway resource.
- sku
Nat
Gateway Sku Response - The nat gateway SKU.
- Map<String,String>
- Resource tags.
- zones List<String>
- A list of availability zones denoting the zone in which Nat Gateway should be deployed.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- name string
- Resource name.
- provisioning
State string - The provisioning state of the NAT gateway resource.
- resource
Guid string - The resource GUID property of the NAT gateway resource.
- subnets
Sub
Resource Response[] - An array of references to the subnets using this nat gateway resource.
- type string
- Resource type.
- id string
- Resource ID.
- idle
Timeout numberIn Minutes - The idle timeout of the nat gateway.
- location string
- Resource location.
- public
Ip SubAddresses Resource Response[] - An array of public ip addresses associated with the nat gateway resource.
- public
Ip SubPrefixes Resource Response[] - An array of public ip prefixes associated with the nat gateway resource.
- sku
Nat
Gateway Sku Response - The nat gateway SKU.
- {[key: string]: string}
- Resource tags.
- zones string[]
- A list of availability zones denoting the zone in which Nat Gateway should be deployed.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- name str
- Resource name.
- provisioning_
state str - The provisioning state of the NAT gateway resource.
- resource_
guid str - The resource GUID property of the NAT gateway resource.
- subnets
Sequence[Sub
Resource Response] - An array of references to the subnets using this nat gateway resource.
- type str
- Resource type.
- id str
- Resource ID.
- idle_
timeout_ intin_ minutes - The idle timeout of the nat gateway.
- location str
- Resource location.
- public_
ip_ Sequence[Subaddresses Resource Response] - An array of public ip addresses associated with the nat gateway resource.
- public_
ip_ Sequence[Subprefixes Resource Response] - An array of public ip prefixes associated with the nat gateway resource.
- sku
Nat
Gateway Sku Response - The nat gateway SKU.
- Mapping[str, str]
- Resource tags.
- zones Sequence[str]
- A list of availability zones denoting the zone in which Nat Gateway should be deployed.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- name String
- Resource name.
- provisioning
State String - The provisioning state of the NAT gateway resource.
- resource
Guid String - The resource GUID property of the NAT gateway resource.
- subnets List<Property Map>
- An array of references to the subnets using this nat gateway resource.
- type String
- Resource type.
- id String
- Resource ID.
- idle
Timeout NumberIn Minutes - The idle timeout of the nat gateway.
- location String
- Resource location.
- public
Ip List<Property Map>Addresses - An array of public ip addresses associated with the nat gateway resource.
- public
Ip List<Property Map>Prefixes - An array of public ip prefixes associated with the nat gateway resource.
- sku Property Map
- The nat gateway SKU.
- Map<String>
- Resource tags.
- zones List<String>
- A list of availability zones denoting the zone in which Nat Gateway should be deployed.
NatGatewaySku, NatGatewaySkuArgs
- Name
string | Pulumi.
Azure Native. Network. Nat Gateway Sku Name - Name of Nat Gateway SKU.
- Name
string | Nat
Gateway Sku Name - Name of Nat Gateway SKU.
- name
String | Nat
Gateway Sku Name - Name of Nat Gateway SKU.
- name
string | Nat
Gateway Sku Name - Name of Nat Gateway SKU.
- name
str | Nat
Gateway Sku Name - Name of Nat Gateway SKU.
- name String | "Standard"
- Name of Nat Gateway SKU.
NatGatewaySkuName, NatGatewaySkuNameArgs
- Standard
- Standard
- Nat
Gateway Sku Name Standard - Standard
- Standard
- Standard
- Standard
- Standard
- STANDARD
- Standard
- "Standard"
- Standard
NatGatewaySkuResponse, NatGatewaySkuResponseArgs
- Name string
- Name of Nat Gateway SKU.
- Name string
- Name of Nat Gateway SKU.
- name String
- Name of Nat Gateway SKU.
- name string
- Name of Nat Gateway SKU.
- name str
- Name of Nat Gateway SKU.
- name String
- Name of Nat Gateway SKU.
PublicIPPrefixSku, PublicIPPrefixSkuArgs
- Name
string | Pulumi.
Azure Native. Network. Public IPPrefix Sku Name - Name of a public IP prefix SKU.
- Tier
string | Pulumi.
Azure Native. Network. Public IPPrefix Sku Tier - Tier of a public IP prefix SKU.
- Name
string | Public
IPPrefix Sku Name - Name of a public IP prefix SKU.
- Tier
string | Public
IPPrefix Sku Tier - Tier of a public IP prefix SKU.
- name
String | Public
IPPrefix Sku Name - Name of a public IP prefix SKU.
- tier
String | Public
IPPrefix Sku Tier - Tier of a public IP prefix SKU.
- name
string | Public
IPPrefix Sku Name - Name of a public IP prefix SKU.
- tier
string | Public
IPPrefix Sku Tier - Tier of a public IP prefix SKU.
- name
str | Public
IPPrefix Sku Name - Name of a public IP prefix SKU.
- tier
str | Public
IPPrefix Sku Tier - Tier of a public IP prefix SKU.
- name String | "Standard"
- Name of a public IP prefix SKU.
- tier String | "Regional" | "Global"
- Tier of a public IP prefix SKU.
PublicIPPrefixSkuName, PublicIPPrefixSkuNameArgs
- Standard
- Standard
- Public
IPPrefix Sku Name Standard - Standard
- Standard
- Standard
- Standard
- Standard
- STANDARD
- Standard
- "Standard"
- Standard
PublicIPPrefixSkuResponse, PublicIPPrefixSkuResponseArgs
PublicIPPrefixSkuTier, PublicIPPrefixSkuTierArgs
- Regional
- Regional
- Global
- Global
- Public
IPPrefix Sku Tier Regional - Regional
- Public
IPPrefix Sku Tier Global - Global
- Regional
- Regional
- Global
- Global
- Regional
- Regional
- Global
- Global
- REGIONAL
- Regional
- GLOBAL_
- Global
- "Regional"
- Regional
- "Global"
- Global
ReferencedPublicIpAddressResponse, ReferencedPublicIpAddressResponseArgs
- Id string
- The PublicIPAddress Reference.
- Id string
- The PublicIPAddress Reference.
- id String
- The PublicIPAddress Reference.
- id string
- The PublicIPAddress Reference.
- id str
- The PublicIPAddress Reference.
- id String
- The PublicIPAddress Reference.
SubResource, SubResourceArgs
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- Id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id string
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id str
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
- id String
- Sub-resource ID. Both absolute resource ID and a relative resource ID are accepted. An absolute ID starts with /subscriptions/ and contains the entire ID of the parent resource and the ID of the sub-resource in the end. A relative ID replaces the ID of the parent resource with a token '$self', followed by the sub-resource ID itself. Example of a relative ID: $self/frontEndConfigurations/my-frontend.
SubResourceResponse, SubResourceResponseArgs
- Id string
- Resource ID.
- Id string
- Resource ID.
- id String
- Resource ID.
- id string
- Resource ID.
- id str
- Resource ID.
- id String
- Resource ID.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:network:PublicIPPrefix test-ipprefix /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0