Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi
alicloud.vpc.getIpamIpamPoolAllocations
Explore with Pulumi AI
This data source provides Vpc Ipam Ipam Pool Allocation available to the user.What is Ipam Pool Allocation
NOTE: Available since v1.241.0.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const config = new pulumi.Config();
const name = config.get("name") || "terraform-example";
const _default = alicloud.resourcemanager.getResourceGroups({});
const defaultIpam = new alicloud.vpc.IpamIpam("defaultIpam", {operatingRegionLists: ["cn-hangzhou"]});
const defaultIpamPool = new alicloud.vpc.IpamIpamPool("defaultIpamPool", {
    ipamScopeId: defaultIpam.privateDefaultScopeId,
    poolRegionId: "cn-hangzhou",
});
const defaultIpamPoolCidr = new alicloud.vpc.IpamIpamPoolCidr("defaultIpamPoolCidr", {
    cidr: "10.0.0.0/8",
    ipamPoolId: defaultIpamPool.id,
});
const defaultIpamIpamPoolAllocation = new alicloud.vpc.IpamIpamPoolAllocation("default", {
    ipamPoolAllocationDescription: "init alloc desc",
    ipamPoolAllocationName: name,
    cidr: "10.0.0.0/20",
    ipamPoolId: defaultIpamPoolCidr.ipamPoolId,
});
const defaultGetIpamIpamPoolAllocations = alicloud.vpc.getIpamIpamPoolAllocationsOutput({
    ids: [defaultIpamIpamPoolAllocation.id],
});
export const alicloudVpcIpamIpamPoolAllocationExampleId = defaultGetIpamIpamPoolAllocations.apply(defaultGetIpamIpamPoolAllocations => defaultGetIpamIpamPoolAllocations.allocations?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "terraform-example"
default = alicloud.resourcemanager.get_resource_groups()
default_ipam = alicloud.vpc.IpamIpam("defaultIpam", operating_region_lists=["cn-hangzhou"])
default_ipam_pool = alicloud.vpc.IpamIpamPool("defaultIpamPool",
    ipam_scope_id=default_ipam.private_default_scope_id,
    pool_region_id="cn-hangzhou")
default_ipam_pool_cidr = alicloud.vpc.IpamIpamPoolCidr("defaultIpamPoolCidr",
    cidr="10.0.0.0/8",
    ipam_pool_id=default_ipam_pool.id)
default_ipam_ipam_pool_allocation = alicloud.vpc.IpamIpamPoolAllocation("default",
    ipam_pool_allocation_description="init alloc desc",
    ipam_pool_allocation_name=name,
    cidr="10.0.0.0/20",
    ipam_pool_id=default_ipam_pool_cidr.ipam_pool_id)
default_get_ipam_ipam_pool_allocations = alicloud.vpc.get_ipam_ipam_pool_allocations_output(ids=[default_ipam_ipam_pool_allocation.id])
pulumi.export("alicloudVpcIpamIpamPoolAllocationExampleId", default_get_ipam_ipam_pool_allocations.allocations[0].id)
package main
import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/resourcemanager"
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "terraform-example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		_, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{}, nil)
		if err != nil {
			return err
		}
		defaultIpam, err := vpc.NewIpamIpam(ctx, "defaultIpam", &vpc.IpamIpamArgs{
			OperatingRegionLists: pulumi.StringArray{
				pulumi.String("cn-hangzhou"),
			},
		})
		if err != nil {
			return err
		}
		defaultIpamPool, err := vpc.NewIpamIpamPool(ctx, "defaultIpamPool", &vpc.IpamIpamPoolArgs{
			IpamScopeId:  defaultIpam.PrivateDefaultScopeId,
			PoolRegionId: pulumi.String("cn-hangzhou"),
		})
		if err != nil {
			return err
		}
		defaultIpamPoolCidr, err := vpc.NewIpamIpamPoolCidr(ctx, "defaultIpamPoolCidr", &vpc.IpamIpamPoolCidrArgs{
			Cidr:       pulumi.String("10.0.0.0/8"),
			IpamPoolId: defaultIpamPool.ID(),
		})
		if err != nil {
			return err
		}
		defaultIpamIpamPoolAllocation, err := vpc.NewIpamIpamPoolAllocation(ctx, "default", &vpc.IpamIpamPoolAllocationArgs{
			IpamPoolAllocationDescription: pulumi.String("init alloc desc"),
			IpamPoolAllocationName:        pulumi.String(name),
			Cidr:                          pulumi.String("10.0.0.0/20"),
			IpamPoolId:                    defaultIpamPoolCidr.IpamPoolId,
		})
		if err != nil {
			return err
		}
		defaultGetIpamIpamPoolAllocations := vpc.GetIpamIpamPoolAllocationsOutput(ctx, vpc.GetIpamIpamPoolAllocationsOutputArgs{
			Ids: pulumi.StringArray{
				defaultIpamIpamPoolAllocation.ID(),
			},
		}, nil)
		ctx.Export("alicloudVpcIpamIpamPoolAllocationExampleId", defaultGetIpamIpamPoolAllocations.ApplyT(func(defaultGetIpamIpamPoolAllocations vpc.GetIpamIpamPoolAllocationsResult) (*string, error) {
			return &defaultGetIpamIpamPoolAllocations.Allocations[0].Id, nil
		}).(pulumi.StringPtrOutput))
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.Get("name") ?? "terraform-example";
    var @default = AliCloud.ResourceManager.GetResourceGroups.Invoke();
    var defaultIpam = new AliCloud.Vpc.IpamIpam("defaultIpam", new()
    {
        OperatingRegionLists = new[]
        {
            "cn-hangzhou",
        },
    });
    var defaultIpamPool = new AliCloud.Vpc.IpamIpamPool("defaultIpamPool", new()
    {
        IpamScopeId = defaultIpam.PrivateDefaultScopeId,
        PoolRegionId = "cn-hangzhou",
    });
    var defaultIpamPoolCidr = new AliCloud.Vpc.IpamIpamPoolCidr("defaultIpamPoolCidr", new()
    {
        Cidr = "10.0.0.0/8",
        IpamPoolId = defaultIpamPool.Id,
    });
    var defaultIpamIpamPoolAllocation = new AliCloud.Vpc.IpamIpamPoolAllocation("default", new()
    {
        IpamPoolAllocationDescription = "init alloc desc",
        IpamPoolAllocationName = name,
        Cidr = "10.0.0.0/20",
        IpamPoolId = defaultIpamPoolCidr.IpamPoolId,
    });
    var defaultGetIpamIpamPoolAllocations = AliCloud.Vpc.GetIpamIpamPoolAllocations.Invoke(new()
    {
        Ids = new[]
        {
            defaultIpamIpamPoolAllocation.Id,
        },
    });
    return new Dictionary<string, object?>
    {
        ["alicloudVpcIpamIpamPoolAllocationExampleId"] = defaultGetIpamIpamPoolAllocations.Apply(getIpamIpamPoolAllocationsResult => getIpamIpamPoolAllocationsResult.Allocations[0]?.Id),
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.resourcemanager.ResourcemanagerFunctions;
import com.pulumi.alicloud.resourcemanager.inputs.GetResourceGroupsArgs;
import com.pulumi.alicloud.vpc.IpamIpam;
import com.pulumi.alicloud.vpc.IpamIpamArgs;
import com.pulumi.alicloud.vpc.IpamIpamPool;
import com.pulumi.alicloud.vpc.IpamIpamPoolArgs;
import com.pulumi.alicloud.vpc.IpamIpamPoolCidr;
import com.pulumi.alicloud.vpc.IpamIpamPoolCidrArgs;
import com.pulumi.alicloud.vpc.IpamIpamPoolAllocation;
import com.pulumi.alicloud.vpc.IpamIpamPoolAllocationArgs;
import com.pulumi.alicloud.vpc.VpcFunctions;
import com.pulumi.alicloud.vpc.inputs.GetIpamIpamPoolAllocationsArgs;
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) {
        final var config = ctx.config();
        final var name = config.get("name").orElse("terraform-example");
        final var default = ResourcemanagerFunctions.getResourceGroups();
        var defaultIpam = new IpamIpam("defaultIpam", IpamIpamArgs.builder()
            .operatingRegionLists("cn-hangzhou")
            .build());
        var defaultIpamPool = new IpamIpamPool("defaultIpamPool", IpamIpamPoolArgs.builder()
            .ipamScopeId(defaultIpam.privateDefaultScopeId())
            .poolRegionId("cn-hangzhou")
            .build());
        var defaultIpamPoolCidr = new IpamIpamPoolCidr("defaultIpamPoolCidr", IpamIpamPoolCidrArgs.builder()
            .cidr("10.0.0.0/8")
            .ipamPoolId(defaultIpamPool.id())
            .build());
        var defaultIpamIpamPoolAllocation = new IpamIpamPoolAllocation("defaultIpamIpamPoolAllocation", IpamIpamPoolAllocationArgs.builder()
            .ipamPoolAllocationDescription("init alloc desc")
            .ipamPoolAllocationName(name)
            .cidr("10.0.0.0/20")
            .ipamPoolId(defaultIpamPoolCidr.ipamPoolId())
            .build());
        final var defaultGetIpamIpamPoolAllocations = VpcFunctions.getIpamIpamPoolAllocations(GetIpamIpamPoolAllocationsArgs.builder()
            .ids(defaultIpamIpamPoolAllocation.id())
            .build());
        ctx.export("alicloudVpcIpamIpamPoolAllocationExampleId", defaultGetIpamIpamPoolAllocations.applyValue(getIpamIpamPoolAllocationsResult -> getIpamIpamPoolAllocationsResult).applyValue(defaultGetIpamIpamPoolAllocations -> defaultGetIpamIpamPoolAllocations.applyValue(getIpamIpamPoolAllocationsResult -> getIpamIpamPoolAllocationsResult.allocations()[0].id())));
    }
}
configuration:
  name:
    type: string
    default: terraform-example
resources:
  defaultIpam:
    type: alicloud:vpc:IpamIpam
    properties:
      operatingRegionLists:
        - cn-hangzhou
  defaultIpamPool:
    type: alicloud:vpc:IpamIpamPool
    properties:
      ipamScopeId: ${defaultIpam.privateDefaultScopeId}
      poolRegionId: cn-hangzhou
  defaultIpamPoolCidr:
    type: alicloud:vpc:IpamIpamPoolCidr
    properties:
      cidr: 10.0.0.0/8
      ipamPoolId: ${defaultIpamPool.id}
  defaultIpamIpamPoolAllocation:
    type: alicloud:vpc:IpamIpamPoolAllocation
    name: default
    properties:
      ipamPoolAllocationDescription: init alloc desc
      ipamPoolAllocationName: ${name}
      cidr: 10.0.0.0/20
      ipamPoolId: ${defaultIpamPoolCidr.ipamPoolId}
variables:
  default:
    fn::invoke:
      function: alicloud:resourcemanager:getResourceGroups
      arguments: {}
  defaultGetIpamIpamPoolAllocations:
    fn::invoke:
      function: alicloud:vpc:getIpamIpamPoolAllocations
      arguments:
        ids:
          - ${defaultIpamIpamPoolAllocation.id}
outputs:
  alicloudVpcIpamIpamPoolAllocationExampleId: ${defaultGetIpamIpamPoolAllocations.allocations[0].id}
Using getIpamIpamPoolAllocations
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 getIpamIpamPoolAllocations(args: GetIpamIpamPoolAllocationsArgs, opts?: InvokeOptions): Promise<GetIpamIpamPoolAllocationsResult>
function getIpamIpamPoolAllocationsOutput(args: GetIpamIpamPoolAllocationsOutputArgs, opts?: InvokeOptions): Output<GetIpamIpamPoolAllocationsResult>def get_ipam_ipam_pool_allocations(cidr: Optional[str] = None,
                                   ids: Optional[Sequence[str]] = None,
                                   ipam_pool_allocation_id: Optional[str] = None,
                                   ipam_pool_allocation_name: Optional[str] = None,
                                   ipam_pool_id: Optional[str] = None,
                                   name_regex: Optional[str] = None,
                                   output_file: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetIpamIpamPoolAllocationsResult
def get_ipam_ipam_pool_allocations_output(cidr: Optional[pulumi.Input[str]] = None,
                                   ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                   ipam_pool_allocation_id: Optional[pulumi.Input[str]] = None,
                                   ipam_pool_allocation_name: Optional[pulumi.Input[str]] = None,
                                   ipam_pool_id: Optional[pulumi.Input[str]] = None,
                                   name_regex: Optional[pulumi.Input[str]] = None,
                                   output_file: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetIpamIpamPoolAllocationsResult]func GetIpamIpamPoolAllocations(ctx *Context, args *GetIpamIpamPoolAllocationsArgs, opts ...InvokeOption) (*GetIpamIpamPoolAllocationsResult, error)
func GetIpamIpamPoolAllocationsOutput(ctx *Context, args *GetIpamIpamPoolAllocationsOutputArgs, opts ...InvokeOption) GetIpamIpamPoolAllocationsResultOutput> Note: This function is named GetIpamIpamPoolAllocations in the Go SDK.
public static class GetIpamIpamPoolAllocations 
{
    public static Task<GetIpamIpamPoolAllocationsResult> InvokeAsync(GetIpamIpamPoolAllocationsArgs args, InvokeOptions? opts = null)
    public static Output<GetIpamIpamPoolAllocationsResult> Invoke(GetIpamIpamPoolAllocationsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIpamIpamPoolAllocationsResult> getIpamIpamPoolAllocations(GetIpamIpamPoolAllocationsArgs args, InvokeOptions options)
public static Output<GetIpamIpamPoolAllocationsResult> getIpamIpamPoolAllocations(GetIpamIpamPoolAllocationsArgs args, InvokeOptions options)
fn::invoke:
  function: alicloud:vpc/getIpamIpamPoolAllocations:getIpamIpamPoolAllocations
  arguments:
    # arguments dictionaryThe following arguments are supported:
- IpamPool stringId 
- The ID of the IPAM Pool.
- Cidr string
- The allocated address segment.
- Ids List<string>
- A list of Ipam Pool Allocation IDs.
- IpamPool stringAllocation Id 
- The instance ID of the ipam pool allocation.
- IpamPool stringAllocation Name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- NameRegex string
- A regex string to filter results by Group Metric Rule name.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- IpamPool stringId 
- The ID of the IPAM Pool.
- Cidr string
- The allocated address segment.
- Ids []string
- A list of Ipam Pool Allocation IDs.
- IpamPool stringAllocation Id 
- The instance ID of the ipam pool allocation.
- IpamPool stringAllocation Name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- NameRegex string
- A regex string to filter results by Group Metric Rule name.
- OutputFile string
- File name where to save data source results (after running pulumi preview).
- ipamPool StringId 
- The ID of the IPAM Pool.
- cidr String
- The allocated address segment.
- ids List<String>
- A list of Ipam Pool Allocation IDs.
- ipamPool StringAllocation Id 
- The instance ID of the ipam pool allocation.
- ipamPool StringAllocation Name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- nameRegex String
- A regex string to filter results by Group Metric Rule name.
- outputFile String
- File name where to save data source results (after running pulumi preview).
- ipamPool stringId 
- The ID of the IPAM Pool.
- cidr string
- The allocated address segment.
- ids string[]
- A list of Ipam Pool Allocation IDs.
- ipamPool stringAllocation Id 
- The instance ID of the ipam pool allocation.
- ipamPool stringAllocation Name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- nameRegex string
- A regex string to filter results by Group Metric Rule name.
- outputFile string
- File name where to save data source results (after running pulumi preview).
- ipam_pool_ strid 
- The ID of the IPAM Pool.
- cidr str
- The allocated address segment.
- ids Sequence[str]
- A list of Ipam Pool Allocation IDs.
- ipam_pool_ strallocation_ id 
- The instance ID of the ipam pool allocation.
- ipam_pool_ strallocation_ name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- name_regex str
- A regex string to filter results by Group Metric Rule name.
- output_file str
- File name where to save data source results (after running pulumi preview).
- ipamPool StringId 
- The ID of the IPAM Pool.
- cidr String
- The allocated address segment.
- ids List<String>
- A list of Ipam Pool Allocation IDs.
- ipamPool StringAllocation Id 
- The instance ID of the ipam pool allocation.
- ipamPool StringAllocation Name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- nameRegex String
- A regex string to filter results by Group Metric Rule name.
- outputFile String
- File name where to save data source results (after running pulumi preview).
getIpamIpamPoolAllocations Result
The following output properties are available:
- Allocations
List<Pulumi.Ali Cloud. Vpc. Outputs. Get Ipam Ipam Pool Allocations Allocation> 
- A list of Ipam Pool Allocation Entries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- A list of Ipam Pool Allocation IDs.
- IpamPool stringId 
- The ID of the IPAM Pool.
- Names List<string>
- A list of name of Ipam Pool Allocations.
- Cidr string
- The allocated address segment.
- IpamPool stringAllocation Id 
- The instance ID of the ipam pool allocation.
- IpamPool stringAllocation Name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- NameRegex string
- OutputFile string
- Allocations
[]GetIpam Ipam Pool Allocations Allocation 
- A list of Ipam Pool Allocation Entries. Each element contains the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- A list of Ipam Pool Allocation IDs.
- IpamPool stringId 
- The ID of the IPAM Pool.
- Names []string
- A list of name of Ipam Pool Allocations.
- Cidr string
- The allocated address segment.
- IpamPool stringAllocation Id 
- The instance ID of the ipam pool allocation.
- IpamPool stringAllocation Name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- NameRegex string
- OutputFile string
- allocations
List<GetIpam Ipam Pool Allocations Allocation> 
- A list of Ipam Pool Allocation Entries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Ipam Pool Allocation IDs.
- ipamPool StringId 
- The ID of the IPAM Pool.
- names List<String>
- A list of name of Ipam Pool Allocations.
- cidr String
- The allocated address segment.
- ipamPool StringAllocation Id 
- The instance ID of the ipam pool allocation.
- ipamPool StringAllocation Name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- nameRegex String
- outputFile String
- allocations
GetIpam Ipam Pool Allocations Allocation[] 
- A list of Ipam Pool Allocation Entries. Each element contains the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- A list of Ipam Pool Allocation IDs.
- ipamPool stringId 
- The ID of the IPAM Pool.
- names string[]
- A list of name of Ipam Pool Allocations.
- cidr string
- The allocated address segment.
- ipamPool stringAllocation Id 
- The instance ID of the ipam pool allocation.
- ipamPool stringAllocation Name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- nameRegex string
- outputFile string
- allocations
Sequence[GetIpam Ipam Pool Allocations Allocation] 
- A list of Ipam Pool Allocation Entries. Each element contains the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- A list of Ipam Pool Allocation IDs.
- ipam_pool_ strid 
- The ID of the IPAM Pool.
- names Sequence[str]
- A list of name of Ipam Pool Allocations.
- cidr str
- The allocated address segment.
- ipam_pool_ strallocation_ id 
- The instance ID of the ipam pool allocation.
- ipam_pool_ strallocation_ name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- name_regex str
- output_file str
- allocations List<Property Map>
- A list of Ipam Pool Allocation Entries. Each element contains the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- A list of Ipam Pool Allocation IDs.
- ipamPool StringId 
- The ID of the IPAM Pool.
- names List<String>
- A list of name of Ipam Pool Allocations.
- cidr String
- The allocated address segment.
- ipamPool StringAllocation Id 
- The instance ID of the ipam pool allocation.
- ipamPool StringAllocation Name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- nameRegex String
- outputFile String
Supporting Types
GetIpamIpamPoolAllocationsAllocation     
- Cidr string
- The allocated address segment.
- CreateTime string
- Instance creation time.
- Id string
- The ID of the resource supplied above.
- IpamPool stringAllocation Description 
- The description of the ipam pool alloctaion.It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
- IpamPool stringAllocation Id 
- The instance ID of the ipam pool allocation.
- IpamPool stringAllocation Name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- IpamPool stringId 
- The ID of the IPAM Pool.
- RegionId string
- When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region.When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
- ResourceId string
- The ID of the resource.
- ResourceOwner intId 
- The ID of the Alibaba Cloud account (primary account) to which the resource belongs.
- ResourceRegion stringId 
- The region of the resource.
- ResourceType string
- The type of resource. Value:-VPC: indicates that the resource type is VPC.-IpamPool: indicates that the resource type is a child address pool.-Custom: indicates that the resource type is a Custom reserved CIDR block.
- SourceCidr string
- The source address segment.
- Status string
- The status of the instance. Value:-Created: indicates that the creation is complete.
- TotalCount int
- Total number of records.
- Cidr string
- The allocated address segment.
- CreateTime string
- Instance creation time.
- Id string
- The ID of the resource supplied above.
- IpamPool stringAllocation Description 
- The description of the ipam pool alloctaion.It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
- IpamPool stringAllocation Id 
- The instance ID of the ipam pool allocation.
- IpamPool stringAllocation Name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- IpamPool stringId 
- The ID of the IPAM Pool.
- RegionId string
- When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region.When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
- ResourceId string
- The ID of the resource.
- ResourceOwner intId 
- The ID of the Alibaba Cloud account (primary account) to which the resource belongs.
- ResourceRegion stringId 
- The region of the resource.
- ResourceType string
- The type of resource. Value:-VPC: indicates that the resource type is VPC.-IpamPool: indicates that the resource type is a child address pool.-Custom: indicates that the resource type is a Custom reserved CIDR block.
- SourceCidr string
- The source address segment.
- Status string
- The status of the instance. Value:-Created: indicates that the creation is complete.
- TotalCount int
- Total number of records.
- cidr String
- The allocated address segment.
- createTime String
- Instance creation time.
- id String
- The ID of the resource supplied above.
- ipamPool StringAllocation Description 
- The description of the ipam pool alloctaion.It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
- ipamPool StringAllocation Id 
- The instance ID of the ipam pool allocation.
- ipamPool StringAllocation Name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- ipamPool StringId 
- The ID of the IPAM Pool.
- regionId String
- When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region.When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
- resourceId String
- The ID of the resource.
- resourceOwner IntegerId 
- The ID of the Alibaba Cloud account (primary account) to which the resource belongs.
- resourceRegion StringId 
- The region of the resource.
- resourceType String
- The type of resource. Value:-VPC: indicates that the resource type is VPC.-IpamPool: indicates that the resource type is a child address pool.-Custom: indicates that the resource type is a Custom reserved CIDR block.
- sourceCidr String
- The source address segment.
- status String
- The status of the instance. Value:-Created: indicates that the creation is complete.
- totalCount Integer
- Total number of records.
- cidr string
- The allocated address segment.
- createTime string
- Instance creation time.
- id string
- The ID of the resource supplied above.
- ipamPool stringAllocation Description 
- The description of the ipam pool alloctaion.It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
- ipamPool stringAllocation Id 
- The instance ID of the ipam pool allocation.
- ipamPool stringAllocation Name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- ipamPool stringId 
- The ID of the IPAM Pool.
- regionId string
- When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region.When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
- resourceId string
- The ID of the resource.
- resourceOwner numberId 
- The ID of the Alibaba Cloud account (primary account) to which the resource belongs.
- resourceRegion stringId 
- The region of the resource.
- resourceType string
- The type of resource. Value:-VPC: indicates that the resource type is VPC.-IpamPool: indicates that the resource type is a child address pool.-Custom: indicates that the resource type is a Custom reserved CIDR block.
- sourceCidr string
- The source address segment.
- status string
- The status of the instance. Value:-Created: indicates that the creation is complete.
- totalCount number
- Total number of records.
- cidr str
- The allocated address segment.
- create_time str
- Instance creation time.
- id str
- The ID of the resource supplied above.
- ipam_pool_ strallocation_ description 
- The description of the ipam pool alloctaion.It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
- ipam_pool_ strallocation_ id 
- The instance ID of the ipam pool allocation.
- ipam_pool_ strallocation_ name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- ipam_pool_ strid 
- The ID of the IPAM Pool.
- region_id str
- When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region.When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
- resource_id str
- The ID of the resource.
- resource_owner_ intid 
- The ID of the Alibaba Cloud account (primary account) to which the resource belongs.
- resource_region_ strid 
- The region of the resource.
- resource_type str
- The type of resource. Value:-VPC: indicates that the resource type is VPC.-IpamPool: indicates that the resource type is a child address pool.-Custom: indicates that the resource type is a Custom reserved CIDR block.
- source_cidr str
- The source address segment.
- status str
- The status of the instance. Value:-Created: indicates that the creation is complete.
- total_count int
- Total number of records.
- cidr String
- The allocated address segment.
- createTime String
- Instance creation time.
- id String
- The ID of the resource supplied above.
- ipamPool StringAllocation Description 
- The description of the ipam pool alloctaion.It must be 1 to 256 characters in length and must start with an English letter or Chinese character, but cannot start with 'http:// 'or 'https. If it is not filled in, it is empty. The default value is empty.
- ipamPool StringAllocation Id 
- The instance ID of the ipam pool allocation.
- ipamPool StringAllocation Name 
- The name of the ipam pool allocation.It must be 1 to 128 characters in length and cannot start with 'http:// 'or 'https.
- ipamPool StringId 
- The ID of the IPAM Pool.
- regionId String
- When the IPAM Pool to which CIDR is allocated has the region attribute, this attribute is the IPAM Pool region.When the IPAM Pool to which CIDR is allocated does not have the region attribute, this attribute is the IPAM region.
- resourceId String
- The ID of the resource.
- resourceOwner NumberId 
- The ID of the Alibaba Cloud account (primary account) to which the resource belongs.
- resourceRegion StringId 
- The region of the resource.
- resourceType String
- The type of resource. Value:-VPC: indicates that the resource type is VPC.-IpamPool: indicates that the resource type is a child address pool.-Custom: indicates that the resource type is a Custom reserved CIDR block.
- sourceCidr String
- The source address segment.
- status String
- The status of the instance. Value:-Created: indicates that the creation is complete.
- totalCount Number
- Total number of records.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the alicloudTerraform Provider.