This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.network.getCustomIPPrefix
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Gets the specified custom IP prefix in a specified resource group. Azure REST API version: 2023-02-01.
Other available API versions: 2021-03-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01, 2024-05-01.
Using getCustomIPPrefix
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 getCustomIPPrefix(args: GetCustomIPPrefixArgs, opts?: InvokeOptions): Promise<GetCustomIPPrefixResult>
function getCustomIPPrefixOutput(args: GetCustomIPPrefixOutputArgs, opts?: InvokeOptions): Output<GetCustomIPPrefixResult>def get_custom_ip_prefix(custom_ip_prefix_name: Optional[str] = None,
                         expand: Optional[str] = None,
                         resource_group_name: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetCustomIPPrefixResult
def get_custom_ip_prefix_output(custom_ip_prefix_name: Optional[pulumi.Input[str]] = None,
                         expand: Optional[pulumi.Input[str]] = None,
                         resource_group_name: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetCustomIPPrefixResult]func LookupCustomIPPrefix(ctx *Context, args *LookupCustomIPPrefixArgs, opts ...InvokeOption) (*LookupCustomIPPrefixResult, error)
func LookupCustomIPPrefixOutput(ctx *Context, args *LookupCustomIPPrefixOutputArgs, opts ...InvokeOption) LookupCustomIPPrefixResultOutput> Note: This function is named LookupCustomIPPrefix in the Go SDK.
public static class GetCustomIPPrefix 
{
    public static Task<GetCustomIPPrefixResult> InvokeAsync(GetCustomIPPrefixArgs args, InvokeOptions? opts = null)
    public static Output<GetCustomIPPrefixResult> Invoke(GetCustomIPPrefixInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCustomIPPrefixResult> getCustomIPPrefix(GetCustomIPPrefixArgs args, InvokeOptions options)
public static Output<GetCustomIPPrefixResult> getCustomIPPrefix(GetCustomIPPrefixArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getCustomIPPrefix
  arguments:
    # arguments dictionaryThe following arguments are supported:
- CustomIp stringPrefix Name 
- The name of the custom IP prefix.
- ResourceGroup stringName 
- The name of the resource group.
- Expand string
- Expands referenced resources.
- CustomIp stringPrefix Name 
- The name of the custom IP prefix.
- ResourceGroup stringName 
- The name of the resource group.
- Expand string
- Expands referenced resources.
- customIp StringPrefix Name 
- The name of the custom IP prefix.
- resourceGroup StringName 
- The name of the resource group.
- expand String
- Expands referenced resources.
- customIp stringPrefix Name 
- The name of the custom IP prefix.
- resourceGroup stringName 
- The name of the resource group.
- expand string
- Expands referenced resources.
- custom_ip_ strprefix_ name 
- The name of the custom IP prefix.
- resource_group_ strname 
- The name of the resource group.
- expand str
- Expands referenced resources.
- customIp StringPrefix Name 
- The name of the custom IP prefix.
- resourceGroup StringName 
- The name of the resource group.
- expand String
- Expands referenced resources.
getCustomIPPrefix Result
The following output properties are available:
- ChildCustom List<Pulumi.Ip Prefixes Azure Native. Network. Outputs. Sub Resource Response> 
- The list of all Children for IPv6 /48 CustomIpPrefix.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- FailedReason string
- The reason why resource is in failed state.
- Name string
- Resource name.
- ProvisioningState string
- The provisioning state of the custom IP prefix resource.
- PublicIp List<Pulumi.Prefixes Azure Native. Network. Outputs. Sub Resource Response> 
- The list of all referenced PublicIpPrefixes.
- ResourceGuid string
- The resource GUID property of the custom IP prefix resource.
- Type string
- Resource type.
- Asn string
- The ASN for CIDR advertising. Should be an integer as string.
- string
- Authorization message for WAN validation.
- Cidr string
- The prefix range in CIDR notation. Should include the start address and the prefix length.
- CommissionedState string
- The commissioned state of the Custom IP Prefix.
- CustomIp Pulumi.Prefix Parent Azure Native. Network. Outputs. Sub Resource Response 
- The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.
- ExpressRoute boolAdvertise 
- Whether to do express route advertise.
- ExtendedLocation Pulumi.Azure Native. Network. Outputs. Extended Location Response 
- The extended location of the custom IP prefix.
- Geo string
- The Geo for CIDR advertising. Should be an Geo code.
- Id string
- Resource ID.
- Location string
- Resource location.
- NoInternet boolAdvertise 
- Whether to Advertise the range to Internet.
- PrefixType string
- Type of custom IP prefix. Should be Singular, Parent, or Child.
- SignedMessage string
- Signed message for WAN validation.
- Dictionary<string, string>
- Resource tags.
- Zones List<string>
- A list of availability zones denoting the IP allocated for the resource needs to come from.
- ChildCustom []SubIp Prefixes Resource Response 
- The list of all Children for IPv6 /48 CustomIpPrefix.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- FailedReason string
- The reason why resource is in failed state.
- Name string
- Resource name.
- ProvisioningState string
- The provisioning state of the custom IP prefix resource.
- PublicIp []SubPrefixes Resource Response 
- The list of all referenced PublicIpPrefixes.
- ResourceGuid string
- The resource GUID property of the custom IP prefix resource.
- Type string
- Resource type.
- Asn string
- The ASN for CIDR advertising. Should be an integer as string.
- string
- Authorization message for WAN validation.
- Cidr string
- The prefix range in CIDR notation. Should include the start address and the prefix length.
- CommissionedState string
- The commissioned state of the Custom IP Prefix.
- CustomIp SubPrefix Parent Resource Response 
- The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.
- ExpressRoute boolAdvertise 
- Whether to do express route advertise.
- ExtendedLocation ExtendedLocation Response 
- The extended location of the custom IP prefix.
- Geo string
- The Geo for CIDR advertising. Should be an Geo code.
- Id string
- Resource ID.
- Location string
- Resource location.
- NoInternet boolAdvertise 
- Whether to Advertise the range to Internet.
- PrefixType string
- Type of custom IP prefix. Should be Singular, Parent, or Child.
- SignedMessage string
- Signed message for WAN validation.
- map[string]string
- Resource tags.
- Zones []string
- A list of availability zones denoting the IP allocated for the resource needs to come from.
- childCustom List<SubIp Prefixes Resource Response> 
- The list of all Children for IPv6 /48 CustomIpPrefix.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- failedReason String
- The reason why resource is in failed state.
- name String
- Resource name.
- provisioningState String
- The provisioning state of the custom IP prefix resource.
- publicIp List<SubPrefixes Resource Response> 
- The list of all referenced PublicIpPrefixes.
- resourceGuid String
- The resource GUID property of the custom IP prefix resource.
- type String
- Resource type.
- asn String
- The ASN for CIDR advertising. Should be an integer as string.
- String
- Authorization message for WAN validation.
- cidr String
- The prefix range in CIDR notation. Should include the start address and the prefix length.
- commissionedState String
- The commissioned state of the Custom IP Prefix.
- customIp SubPrefix Parent Resource Response 
- The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.
- expressRoute BooleanAdvertise 
- Whether to do express route advertise.
- extendedLocation ExtendedLocation Response 
- The extended location of the custom IP prefix.
- geo String
- The Geo for CIDR advertising. Should be an Geo code.
- id String
- Resource ID.
- location String
- Resource location.
- noInternet BooleanAdvertise 
- Whether to Advertise the range to Internet.
- prefixType String
- Type of custom IP prefix. Should be Singular, Parent, or Child.
- signedMessage String
- Signed message for WAN validation.
- Map<String,String>
- Resource tags.
- zones List<String>
- A list of availability zones denoting the IP allocated for the resource needs to come from.
- childCustom SubIp Prefixes Resource Response[] 
- The list of all Children for IPv6 /48 CustomIpPrefix.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- failedReason string
- The reason why resource is in failed state.
- name string
- Resource name.
- provisioningState string
- The provisioning state of the custom IP prefix resource.
- publicIp SubPrefixes Resource Response[] 
- The list of all referenced PublicIpPrefixes.
- resourceGuid string
- The resource GUID property of the custom IP prefix resource.
- type string
- Resource type.
- asn string
- The ASN for CIDR advertising. Should be an integer as string.
- string
- Authorization message for WAN validation.
- cidr string
- The prefix range in CIDR notation. Should include the start address and the prefix length.
- commissionedState string
- The commissioned state of the Custom IP Prefix.
- customIp SubPrefix Parent Resource Response 
- The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.
- expressRoute booleanAdvertise 
- Whether to do express route advertise.
- extendedLocation ExtendedLocation Response 
- The extended location of the custom IP prefix.
- geo string
- The Geo for CIDR advertising. Should be an Geo code.
- id string
- Resource ID.
- location string
- Resource location.
- noInternet booleanAdvertise 
- Whether to Advertise the range to Internet.
- prefixType string
- Type of custom IP prefix. Should be Singular, Parent, or Child.
- signedMessage string
- Signed message for WAN validation.
- {[key: string]: string}
- Resource tags.
- zones string[]
- A list of availability zones denoting the IP allocated for the resource needs to come from.
- child_custom_ Sequence[Subip_ prefixes Resource Response] 
- The list of all Children for IPv6 /48 CustomIpPrefix.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- failed_reason str
- The reason why resource is in failed state.
- name str
- Resource name.
- provisioning_state str
- The provisioning state of the custom IP prefix resource.
- public_ip_ Sequence[Subprefixes Resource Response] 
- The list of all referenced PublicIpPrefixes.
- resource_guid str
- The resource GUID property of the custom IP prefix resource.
- type str
- Resource type.
- asn str
- The ASN for CIDR advertising. Should be an integer as string.
- str
- Authorization message for WAN validation.
- cidr str
- The prefix range in CIDR notation. Should include the start address and the prefix length.
- commissioned_state str
- The commissioned state of the Custom IP Prefix.
- custom_ip_ Subprefix_ parent Resource Response 
- The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.
- express_route_ booladvertise 
- Whether to do express route advertise.
- extended_location ExtendedLocation Response 
- The extended location of the custom IP prefix.
- geo str
- The Geo for CIDR advertising. Should be an Geo code.
- id str
- Resource ID.
- location str
- Resource location.
- no_internet_ booladvertise 
- Whether to Advertise the range to Internet.
- prefix_type str
- Type of custom IP prefix. Should be Singular, Parent, or Child.
- signed_message str
- Signed message for WAN validation.
- Mapping[str, str]
- Resource tags.
- zones Sequence[str]
- A list of availability zones denoting the IP allocated for the resource needs to come from.
- childCustom List<Property Map>Ip Prefixes 
- The list of all Children for IPv6 /48 CustomIpPrefix.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- failedReason String
- The reason why resource is in failed state.
- name String
- Resource name.
- provisioningState String
- The provisioning state of the custom IP prefix resource.
- publicIp List<Property Map>Prefixes 
- The list of all referenced PublicIpPrefixes.
- resourceGuid String
- The resource GUID property of the custom IP prefix resource.
- type String
- Resource type.
- asn String
- The ASN for CIDR advertising. Should be an integer as string.
- String
- Authorization message for WAN validation.
- cidr String
- The prefix range in CIDR notation. Should include the start address and the prefix length.
- commissionedState String
- The commissioned state of the Custom IP Prefix.
- customIp Property MapPrefix Parent 
- The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix.
- expressRoute BooleanAdvertise 
- Whether to do express route advertise.
- extendedLocation Property Map
- The extended location of the custom IP prefix.
- geo String
- The Geo for CIDR advertising. Should be an Geo code.
- id String
- Resource ID.
- location String
- Resource location.
- noInternet BooleanAdvertise 
- Whether to Advertise the range to Internet.
- prefixType String
- Type of custom IP prefix. Should be Singular, Parent, or Child.
- signedMessage String
- Signed message for WAN validation.
- 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  
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
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi