UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

88 lines (87 loc) 3.02 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * IpamPool usage information. * * Uses Azure REST API version 2024-05-01. * * Other available API versions: 2024-01-01-preview, 2024-07-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getIpamPoolUsage(args: GetIpamPoolUsageArgs, opts?: pulumi.InvokeOptions): Promise<GetIpamPoolUsageResult>; export interface GetIpamPoolUsageArgs { /** * The name of the network manager. */ networkManagerName: string; /** * Pool resource name. */ poolName: string; /** * The name of the resource group. */ resourceGroupName: string; } /** * IpamPool usage information. */ export interface GetIpamPoolUsageResult { /** * List of IP address prefixes of the resource. */ readonly addressPrefixes: string[]; /** * List of assigned IP address prefixes. */ readonly allocatedAddressPrefixes: string[]; /** * List of available IP address prefixes. */ readonly availableAddressPrefixes: string[]; /** * List of IpamPool that are children of this IpamPool. */ readonly childPools: outputs.network.ResourceBasicsResponse[]; /** * Total number of assigned IP addresses in the IpamPool. */ readonly numberOfAllocatedIPAddresses: string; /** * Total number of available IP addresses in the IpamPool. */ readonly numberOfAvailableIPAddresses: string; /** * Total number of reserved IP addresses in the IpamPool. */ readonly numberOfReservedIPAddresses: string; /** * List of reserved IP address prefixes. These IP addresses could be reclaimed if not assigned in the given time. */ readonly reservedAddressPrefixes: string[]; /** * Total number of IP addresses managed in the IpamPool. */ readonly totalNumberOfIPAddresses: string; } /** * IpamPool usage information. * * Uses Azure REST API version 2024-05-01. * * Other available API versions: 2024-01-01-preview, 2024-07-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](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getIpamPoolUsageOutput(args: GetIpamPoolUsageOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetIpamPoolUsageResult>; export interface GetIpamPoolUsageOutputArgs { /** * The name of the network manager. */ networkManagerName: pulumi.Input<string>; /** * Pool resource name. */ poolName: pulumi.Input<string>; /** * The name of the resource group. */ resourceGroupName: pulumi.Input<string>; }