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.getIpAllocation
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 IpAllocation by resource group. Azure REST API version: 2023-02-01.
Other available API versions: 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 getIpAllocation
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 getIpAllocation(args: GetIpAllocationArgs, opts?: InvokeOptions): Promise<GetIpAllocationResult>
function getIpAllocationOutput(args: GetIpAllocationOutputArgs, opts?: InvokeOptions): Output<GetIpAllocationResult>def get_ip_allocation(expand: Optional[str] = None,
                      ip_allocation_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetIpAllocationResult
def get_ip_allocation_output(expand: Optional[pulumi.Input[str]] = None,
                      ip_allocation_name: Optional[pulumi.Input[str]] = None,
                      resource_group_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetIpAllocationResult]func LookupIpAllocation(ctx *Context, args *LookupIpAllocationArgs, opts ...InvokeOption) (*LookupIpAllocationResult, error)
func LookupIpAllocationOutput(ctx *Context, args *LookupIpAllocationOutputArgs, opts ...InvokeOption) LookupIpAllocationResultOutput> Note: This function is named LookupIpAllocation in the Go SDK.
public static class GetIpAllocation 
{
    public static Task<GetIpAllocationResult> InvokeAsync(GetIpAllocationArgs args, InvokeOptions? opts = null)
    public static Output<GetIpAllocationResult> Invoke(GetIpAllocationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIpAllocationResult> getIpAllocation(GetIpAllocationArgs args, InvokeOptions options)
public static Output<GetIpAllocationResult> getIpAllocation(GetIpAllocationArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:network:getIpAllocation
  arguments:
    # arguments dictionaryThe following arguments are supported:
- IpAllocation stringName 
- The name of the IpAllocation.
- ResourceGroup stringName 
- The name of the resource group.
- Expand string
- Expands referenced resources.
- IpAllocation stringName 
- The name of the IpAllocation.
- ResourceGroup stringName 
- The name of the resource group.
- Expand string
- Expands referenced resources.
- ipAllocation StringName 
- The name of the IpAllocation.
- resourceGroup StringName 
- The name of the resource group.
- expand String
- Expands referenced resources.
- ipAllocation stringName 
- The name of the IpAllocation.
- resourceGroup stringName 
- The name of the resource group.
- expand string
- Expands referenced resources.
- ip_allocation_ strname 
- The name of the IpAllocation.
- resource_group_ strname 
- The name of the resource group.
- expand str
- Expands referenced resources.
- ipAllocation StringName 
- The name of the IpAllocation.
- resourceGroup StringName 
- The name of the resource group.
- expand String
- Expands referenced resources.
getIpAllocation Result
The following output properties are available:
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Name string
- Resource name.
- Subnet
Pulumi.Azure Native. Network. Outputs. Sub Resource Response 
- The Subnet that using the prefix of this IpAllocation resource.
- Type string
- Resource type.
- VirtualNetwork Pulumi.Azure Native. Network. Outputs. Sub Resource Response 
- The VirtualNetwork that using the prefix of this IpAllocation resource.
- Dictionary<string, string>
- IpAllocation tags.
- Id string
- Resource ID.
- IpamAllocation stringId 
- The IPAM allocation ID.
- Location string
- Resource location.
- Prefix string
- The address prefix for the IpAllocation.
- PrefixLength int
- The address prefix length for the IpAllocation.
- PrefixType string
- The address prefix Type for the IpAllocation.
- Dictionary<string, string>
- Resource tags.
- Etag string
- A unique read-only string that changes whenever the resource is updated.
- Name string
- Resource name.
- Subnet
SubResource Response 
- The Subnet that using the prefix of this IpAllocation resource.
- Type string
- Resource type.
- VirtualNetwork SubResource Response 
- The VirtualNetwork that using the prefix of this IpAllocation resource.
- map[string]string
- IpAllocation tags.
- Id string
- Resource ID.
- IpamAllocation stringId 
- The IPAM allocation ID.
- Location string
- Resource location.
- Prefix string
- The address prefix for the IpAllocation.
- PrefixLength int
- The address prefix length for the IpAllocation.
- PrefixType string
- The address prefix Type for the IpAllocation.
- map[string]string
- Resource tags.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- name String
- Resource name.
- subnet
SubResource Response 
- The Subnet that using the prefix of this IpAllocation resource.
- type String
- Resource type.
- virtualNetwork SubResource Response 
- The VirtualNetwork that using the prefix of this IpAllocation resource.
- Map<String,String>
- IpAllocation tags.
- id String
- Resource ID.
- ipamAllocation StringId 
- The IPAM allocation ID.
- location String
- Resource location.
- prefix String
- The address prefix for the IpAllocation.
- prefixLength Integer
- The address prefix length for the IpAllocation.
- prefixType String
- The address prefix Type for the IpAllocation.
- Map<String,String>
- Resource tags.
- etag string
- A unique read-only string that changes whenever the resource is updated.
- name string
- Resource name.
- subnet
SubResource Response 
- The Subnet that using the prefix of this IpAllocation resource.
- type string
- Resource type.
- virtualNetwork SubResource Response 
- The VirtualNetwork that using the prefix of this IpAllocation resource.
- {[key: string]: string}
- IpAllocation tags.
- id string
- Resource ID.
- ipamAllocation stringId 
- The IPAM allocation ID.
- location string
- Resource location.
- prefix string
- The address prefix for the IpAllocation.
- prefixLength number
- The address prefix length for the IpAllocation.
- prefixType string
- The address prefix Type for the IpAllocation.
- {[key: string]: string}
- Resource tags.
- etag str
- A unique read-only string that changes whenever the resource is updated.
- name str
- Resource name.
- subnet
SubResource Response 
- The Subnet that using the prefix of this IpAllocation resource.
- type str
- Resource type.
- virtual_network SubResource Response 
- The VirtualNetwork that using the prefix of this IpAllocation resource.
- Mapping[str, str]
- IpAllocation tags.
- id str
- Resource ID.
- ipam_allocation_ strid 
- The IPAM allocation ID.
- location str
- Resource location.
- prefix str
- The address prefix for the IpAllocation.
- prefix_length int
- The address prefix length for the IpAllocation.
- prefix_type str
- The address prefix Type for the IpAllocation.
- Mapping[str, str]
- Resource tags.
- etag String
- A unique read-only string that changes whenever the resource is updated.
- name String
- Resource name.
- subnet Property Map
- The Subnet that using the prefix of this IpAllocation resource.
- type String
- Resource type.
- virtualNetwork Property Map
- The VirtualNetwork that using the prefix of this IpAllocation resource.
- Map<String>
- IpAllocation tags.
- id String
- Resource ID.
- ipamAllocation StringId 
- The IPAM allocation ID.
- location String
- Resource location.
- prefix String
- The address prefix for the IpAllocation.
- prefixLength Number
- The address prefix length for the IpAllocation.
- prefixType String
- The address prefix Type for the IpAllocation.
- Map<String>
- Resource tags.
Supporting Types
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