azure-native.network.getPublicIPPrefix
Explore with Pulumi AI
Gets the specified public IP prefix in a specified resource group. API Version: 2020-11-01.
Using getPublicIPPrefix
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPublicIPPrefix(args: GetPublicIPPrefixArgs, opts?: InvokeOptions): Promise<GetPublicIPPrefixResult>
function getPublicIPPrefixOutput(args: GetPublicIPPrefixOutputArgs, opts?: InvokeOptions): Output<GetPublicIPPrefixResult>
def get_public_ip_prefix(expand: Optional[str] = None,
public_ip_prefix_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPublicIPPrefixResult
def get_public_ip_prefix_output(expand: Optional[pulumi.Input[str]] = None,
public_ip_prefix_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPublicIPPrefixResult]
func LookupPublicIPPrefix(ctx *Context, args *LookupPublicIPPrefixArgs, opts ...InvokeOption) (*LookupPublicIPPrefixResult, error)
func LookupPublicIPPrefixOutput(ctx *Context, args *LookupPublicIPPrefixOutputArgs, opts ...InvokeOption) LookupPublicIPPrefixResultOutput
> Note: This function is named LookupPublicIPPrefix
in the Go SDK.
public static class GetPublicIPPrefix
{
public static Task<GetPublicIPPrefixResult> InvokeAsync(GetPublicIPPrefixArgs args, InvokeOptions? opts = null)
public static Output<GetPublicIPPrefixResult> Invoke(GetPublicIPPrefixInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPublicIPPrefixResult> getPublicIPPrefix(GetPublicIPPrefixArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:getPublicIPPrefix
arguments:
# arguments dictionary
The following arguments are supported:
- Public
Ip stringPrefix Name The name of the public IP prefix.
- Resource
Group stringName The name of the resource group.
- Expand string
Expands referenced resources.
- Public
Ip stringPrefix Name The name of the public IP prefix.
- Resource
Group stringName The name of the resource group.
- Expand string
Expands referenced resources.
- public
Ip StringPrefix Name The name of the public IP prefix.
- resource
Group StringName The name of the resource group.
- expand String
Expands referenced resources.
- public
Ip stringPrefix Name The name of the public IP prefix.
- resource
Group stringName The name of the resource group.
- expand string
Expands referenced resources.
- public_
ip_ strprefix_ name The name of the public IP prefix.
- resource_
group_ strname The name of the resource group.
- expand str
Expands referenced resources.
- public
Ip StringPrefix Name The name of the public IP prefix.
- resource
Group StringName The name of the resource group.
- expand String
Expands referenced resources.
getPublicIPPrefix Result
The following output properties are available:
- Etag string
A unique read-only string that changes whenever the resource is updated.
- 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.
- Custom
IPPrefix Pulumi.Azure Native. Network. Outputs. Sub Resource Response The customIpPrefix that this prefix is associated with.
- Extended
Location Pulumi.Azure Native. Network. Outputs. Extended Location Response The extended location of the public ip address.
- Id string
Resource ID.
- List<Pulumi.
Azure Native. Network. Outputs. Ip Tag Response> The list of tags associated with the public IP prefix.
- Location string
Resource location.
- Nat
Gateway Pulumi.Azure Native. Network. Outputs. Nat Gateway Response NatGateway of Public IP Prefix.
- Prefix
Length int The Length of the Public IP Prefix.
- Public
IPAddress stringVersion The public IP address version.
- Sku
Pulumi.
Azure Native. Network. Outputs. Public IPPrefix Sku Response 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.
- Etag string
A unique read-only string that changes whenever the resource is updated.
- 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.
- Custom
IPPrefix SubResource Response The customIpPrefix that this prefix is associated with.
- Extended
Location ExtendedLocation Response The extended location of the public ip address.
- Id string
Resource ID.
- []Ip
Tag Response The list of tags associated with the public IP prefix.
- Location string
Resource location.
- Nat
Gateway NatGateway Response NatGateway of Public IP Prefix.
- Prefix
Length int The Length of the Public IP Prefix.
- Public
IPAddress stringVersion The public IP address version.
- Sku
Public
IPPrefix Sku Response 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.
- etag String
A unique read-only string that changes whenever the resource is updated.
- 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.
- custom
IPPrefix SubResource Response The customIpPrefix that this prefix is associated with.
- extended
Location ExtendedLocation Response The extended location of the public ip address.
- id String
Resource ID.
- List<Ip
Tag Response> The list of tags associated with the public IP prefix.
- location String
Resource location.
- nat
Gateway NatGateway Response NatGateway of Public IP Prefix.
- prefix
Length Integer The Length of the Public IP Prefix.
- public
IPAddress StringVersion The public IP address version.
- sku
Public
IPPrefix Sku Response 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.
- etag string
A unique read-only string that changes whenever the resource is updated.
- 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.
- custom
IPPrefix SubResource Response The customIpPrefix that this prefix is associated with.
- extended
Location ExtendedLocation Response The extended location of the public ip address.
- id string
Resource ID.
- Ip
Tag Response[] The list of tags associated with the public IP prefix.
- location string
Resource location.
- nat
Gateway NatGateway Response NatGateway of Public IP Prefix.
- prefix
Length number The Length of the Public IP Prefix.
- public
IPAddress stringVersion The public IP address version.
- sku
Public
IPPrefix Sku Response 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.
- etag str
A unique read-only string that changes whenever the resource is updated.
- 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.
- custom_
ip_ Subprefix Resource Response The customIpPrefix that this prefix is associated with.
- extended_
location ExtendedLocation Response The extended location of the public ip address.
- id str
Resource ID.
- Sequence[Ip
Tag Response] The list of tags associated with the public IP prefix.
- location str
Resource location.
- nat_
gateway NatGateway Response NatGateway of Public IP Prefix.
- prefix_
length int The Length of the Public IP Prefix.
- public_
ip_ straddress_ version The public IP address version.
- sku
Public
IPPrefix Sku Response 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.
- etag String
A unique read-only string that changes whenever the resource is updated.
- 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.
- 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 StringVersion The public IP address version.
- 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.
Supporting Types
ExtendedLocationResponse
IpTagResponse
- ip_
tag_ strtype The IP tag type. Example: FirstPartyUsage.
- tag str
The value of the IP tag associated with the public IP. Example: SQL.
NatGatewayResponse
- 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.
NatGatewaySkuResponse
- 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.
PublicIPPrefixSkuResponse
ReferencedPublicIpAddressResponse
- 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.
SubResourceResponse
- Id string
Resource ID.
- Id string
Resource ID.
- id String
Resource ID.
- id string
Resource ID.
- id str
Resource ID.
- id String
Resource ID.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0