IpamPool

class IpamPool : KotlinCustomResource

Instance of Pool resource. Uses Azure REST API version 2024-05-01. In version 2.x of the Azure Native provider, it used API version 2024-01-01-preview. Other available API versions: 2024-01-01-preview. 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/#accessing-any-api-version-via-local-packages for details.

Example Usage

IpamPools_Create

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var ipamPool = new AzureNative.Network.IpamPool("ipamPool", new()
{
Location = "eastus",
NetworkManagerName = "TestNetworkManager",
PoolName = "TestPool",
Properties = new AzureNative.Network.Inputs.IpamPoolPropertiesArgs
{
AddressPrefixes = new[]
{
"10.0.0.0/24",
},
Description = "Test description.",
ParentPoolName = "",
},
ResourceGroupName = "rg1",
});
});
package main
import (
network "github.com/pulumi/pulumi-azure-native-sdk/network/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := network.NewIpamPool(ctx, "ipamPool", &network.IpamPoolArgs{
Location: pulumi.String("eastus"),
NetworkManagerName: pulumi.String("TestNetworkManager"),
PoolName: pulumi.String("TestPool"),
Properties: &network.IpamPoolPropertiesArgs{
AddressPrefixes: pulumi.StringArray{
pulumi.String("10.0.0.0/24"),
},
Description: pulumi.String("Test description."),
ParentPoolName: pulumi.String(""),
},
ResourceGroupName: pulumi.String("rg1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.network.IpamPool;
import com.pulumi.azurenative.network.IpamPoolArgs;
import com.pulumi.azurenative.network.inputs.IpamPoolPropertiesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var ipamPool = new IpamPool("ipamPool", IpamPoolArgs.builder()
.location("eastus")
.networkManagerName("TestNetworkManager")
.poolName("TestPool")
.properties(IpamPoolPropertiesArgs.builder()
.addressPrefixes("10.0.0.0/24")
.description("Test description.")
.parentPoolName("")
.build())
.resourceGroupName("rg1")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:network:IpamPool TestPool /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}

Properties

Link copied to clipboard
val azureApiVersion: Output<String>

The Azure API version of the resource.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

Properties of IpamPool resource properties which are specific to the Pool resource.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>