azure-native.network.getIpAllocation
Explore with Pulumi AI
Gets the specified IpAllocation by resource group.
Uses Azure REST API version 2024-05-01.
Other available API versions: 2020-03-01, 2020-04-01, 2020-05-01, 2020-06-01, 2020-07-01, 2020-08-01, 2020-11-01, 2021-02-01, 2021-03-01, 2021-05-01, 2021-08-01, 2022-01-01, 2022-05-01, 2022-07-01, 2022-09-01, 2022-11-01, 2023-02-01, 2023-04-01, 2023-05-01, 2023-06-01, 2023-09-01, 2023-11-01, 2024-01-01, 2024-03-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native network [ApiVersion]
. See the version guide for details.
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 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:
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- Azure
Api stringVersion - The Azure API version of the resource.
- 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.
- azure
Api StringVersion - The Azure API version of the resource.
- 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.
- azure
Api stringVersion - The Azure API version of the resource.
- 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.
- azure_
api_ strversion - The Azure API version of the resource.
- 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.
- azure
Api StringVersion - The Azure API version of the resource.
- 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