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.47.1 published on Monday, Jun 24, 2024 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.47.1 published on Monday, Jun 24, 2024 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.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:network:getIpAllocation
arguments:
# arguments dictionary
The following arguments are supported:
- Ip
Allocation stringName - The name of the IpAllocation.
- Resource
Group stringName - The name of the resource group.
- Expand string
- Expands referenced resources.
- Ip
Allocation stringName - The name of the IpAllocation.
- Resource
Group stringName - The name of the resource group.
- Expand string
- Expands referenced resources.
- ip
Allocation StringName - The name of the IpAllocation.
- resource
Group StringName - The name of the resource group.
- expand String
- Expands referenced resources.
- ip
Allocation stringName - The name of the IpAllocation.
- resource
Group 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.
- ip
Allocation StringName - The name of the IpAllocation.
- resource
Group 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.
- Virtual
Network 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.
- Ipam
Allocation stringId - The IPAM allocation ID.
- Location string
- Resource location.
- Prefix string
- The address prefix for the IpAllocation.
- Prefix
Length int - The address prefix length for the IpAllocation.
- Prefix
Type 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
Sub
Resource Response - The Subnet that using the prefix of this IpAllocation resource.
- Type string
- Resource type.
- Virtual
Network SubResource Response - The VirtualNetwork that using the prefix of this IpAllocation resource.
- map[string]string
- IpAllocation tags.
- Id string
- Resource ID.
- Ipam
Allocation stringId - The IPAM allocation ID.
- Location string
- Resource location.
- Prefix string
- The address prefix for the IpAllocation.
- Prefix
Length int - The address prefix length for the IpAllocation.
- Prefix
Type 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
Sub
Resource Response - The Subnet that using the prefix of this IpAllocation resource.
- type String
- Resource type.
- virtual
Network SubResource Response - The VirtualNetwork that using the prefix of this IpAllocation resource.
- Map<String,String>
- IpAllocation tags.
- id String
- Resource ID.
- ipam
Allocation StringId - The IPAM allocation ID.
- location String
- Resource location.
- prefix String
- The address prefix for the IpAllocation.
- prefix
Length Integer - The address prefix length for the IpAllocation.
- prefix
Type 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
Sub
Resource Response - The Subnet that using the prefix of this IpAllocation resource.
- type string
- Resource type.
- virtual
Network SubResource Response - The VirtualNetwork that using the prefix of this IpAllocation resource.
- {[key: string]: string}
- IpAllocation tags.
- id string
- Resource ID.
- ipam
Allocation stringId - The IPAM allocation ID.
- location string
- Resource location.
- prefix string
- The address prefix for the IpAllocation.
- prefix
Length number - The address prefix length for the IpAllocation.
- prefix
Type 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
Sub
Resource 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.
- virtual
Network Property Map - The VirtualNetwork that using the prefix of this IpAllocation resource.
- Map<String>
- IpAllocation tags.
- id String
- Resource ID.
- ipam
Allocation StringId - The IPAM allocation ID.
- location String
- Resource location.
- prefix String
- The address prefix for the IpAllocation.
- prefix
Length Number - The address prefix length for the IpAllocation.
- prefix
Type 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.47.1 published on Monday, Jun 24, 2024 by Pulumi