1. Packages
  2. Alicloud Provider
  3. API Docs
  4. ga
  5. IpSet
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

alicloud.ga.IpSet

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi

    Provides a Global Accelerator (GA) Ip Set resource.

    For information about Global Accelerator (GA) Ip Set and how to use it, see What is Ip Set.

    NOTE: Available since v1.113.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const region = config.get("region") || "cn-hangzhou";
    const _default = new alicloud.ga.Accelerator("default", {
        duration: 1,
        autoUseCoupon: true,
        spec: "1",
    });
    const defaultBandwidthPackage = new alicloud.ga.BandwidthPackage("default", {
        bandwidth: 100,
        type: "Basic",
        bandwidthType: "Basic",
        paymentType: "PayAsYouGo",
        billingType: "PayBy95",
        ratio: 30,
    });
    const defaultBandwidthPackageAttachment = new alicloud.ga.BandwidthPackageAttachment("default", {
        acceleratorId: _default.id,
        bandwidthPackageId: defaultBandwidthPackage.id,
    });
    const example = new alicloud.ga.IpSet("example", {
        accelerateRegionId: region,
        bandwidth: 5,
        acceleratorId: defaultBandwidthPackageAttachment.acceleratorId,
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    region = config.get("region")
    if region is None:
        region = "cn-hangzhou"
    default = alicloud.ga.Accelerator("default",
        duration=1,
        auto_use_coupon=True,
        spec="1")
    default_bandwidth_package = alicloud.ga.BandwidthPackage("default",
        bandwidth=100,
        type="Basic",
        bandwidth_type="Basic",
        payment_type="PayAsYouGo",
        billing_type="PayBy95",
        ratio=30)
    default_bandwidth_package_attachment = alicloud.ga.BandwidthPackageAttachment("default",
        accelerator_id=default.id,
        bandwidth_package_id=default_bandwidth_package.id)
    example = alicloud.ga.IpSet("example",
        accelerate_region_id=region,
        bandwidth=5,
        accelerator_id=default_bandwidth_package_attachment.accelerator_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ga"
    	"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, "")
    		region := "cn-hangzhou"
    		if param := cfg.Get("region"); param != "" {
    			region = param
    		}
    		_, err := ga.NewAccelerator(ctx, "default", &ga.AcceleratorArgs{
    			Duration:      pulumi.Int(1),
    			AutoUseCoupon: pulumi.Bool(true),
    			Spec:          pulumi.String("1"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultBandwidthPackage, err := ga.NewBandwidthPackage(ctx, "default", &ga.BandwidthPackageArgs{
    			Bandwidth:     pulumi.Int(100),
    			Type:          pulumi.String("Basic"),
    			BandwidthType: pulumi.String("Basic"),
    			PaymentType:   pulumi.String("PayAsYouGo"),
    			BillingType:   pulumi.String("PayBy95"),
    			Ratio:         pulumi.Int(30),
    		})
    		if err != nil {
    			return err
    		}
    		defaultBandwidthPackageAttachment, err := ga.NewBandwidthPackageAttachment(ctx, "default", &ga.BandwidthPackageAttachmentArgs{
    			AcceleratorId:      _default.ID(),
    			BandwidthPackageId: defaultBandwidthPackage.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = ga.NewIpSet(ctx, "example", &ga.IpSetArgs{
    			AccelerateRegionId: pulumi.String(region),
    			Bandwidth:          pulumi.Int(5),
    			AcceleratorId:      defaultBandwidthPackageAttachment.AcceleratorId,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var region = config.Get("region") ?? "cn-hangzhou";
        var @default = new AliCloud.Ga.Accelerator("default", new()
        {
            Duration = 1,
            AutoUseCoupon = true,
            Spec = "1",
        });
    
        var defaultBandwidthPackage = new AliCloud.Ga.BandwidthPackage("default", new()
        {
            Bandwidth = 100,
            Type = "Basic",
            BandwidthType = "Basic",
            PaymentType = "PayAsYouGo",
            BillingType = "PayBy95",
            Ratio = 30,
        });
    
        var defaultBandwidthPackageAttachment = new AliCloud.Ga.BandwidthPackageAttachment("default", new()
        {
            AcceleratorId = @default.Id,
            BandwidthPackageId = defaultBandwidthPackage.Id,
        });
    
        var example = new AliCloud.Ga.IpSet("example", new()
        {
            AccelerateRegionId = region,
            Bandwidth = 5,
            AcceleratorId = defaultBandwidthPackageAttachment.AcceleratorId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.ga.Accelerator;
    import com.pulumi.alicloud.ga.AcceleratorArgs;
    import com.pulumi.alicloud.ga.BandwidthPackage;
    import com.pulumi.alicloud.ga.BandwidthPackageArgs;
    import com.pulumi.alicloud.ga.BandwidthPackageAttachment;
    import com.pulumi.alicloud.ga.BandwidthPackageAttachmentArgs;
    import com.pulumi.alicloud.ga.IpSet;
    import com.pulumi.alicloud.ga.IpSetArgs;
    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 region = config.get("region").orElse("cn-hangzhou");
            var default_ = new Accelerator("default", AcceleratorArgs.builder()
                .duration(1)
                .autoUseCoupon(true)
                .spec("1")
                .build());
    
            var defaultBandwidthPackage = new BandwidthPackage("defaultBandwidthPackage", BandwidthPackageArgs.builder()
                .bandwidth(100)
                .type("Basic")
                .bandwidthType("Basic")
                .paymentType("PayAsYouGo")
                .billingType("PayBy95")
                .ratio(30)
                .build());
    
            var defaultBandwidthPackageAttachment = new BandwidthPackageAttachment("defaultBandwidthPackageAttachment", BandwidthPackageAttachmentArgs.builder()
                .acceleratorId(default_.id())
                .bandwidthPackageId(defaultBandwidthPackage.id())
                .build());
    
            var example = new IpSet("example", IpSetArgs.builder()
                .accelerateRegionId(region)
                .bandwidth("5")
                .acceleratorId(defaultBandwidthPackageAttachment.acceleratorId())
                .build());
    
        }
    }
    
    configuration:
      region:
        type: string
        default: cn-hangzhou
    resources:
      default:
        type: alicloud:ga:Accelerator
        properties:
          duration: 1
          autoUseCoupon: true
          spec: '1'
      defaultBandwidthPackage:
        type: alicloud:ga:BandwidthPackage
        name: default
        properties:
          bandwidth: 100
          type: Basic
          bandwidthType: Basic
          paymentType: PayAsYouGo
          billingType: PayBy95
          ratio: 30
      defaultBandwidthPackageAttachment:
        type: alicloud:ga:BandwidthPackageAttachment
        name: default
        properties:
          acceleratorId: ${default.id}
          bandwidthPackageId: ${defaultBandwidthPackage.id}
      example:
        type: alicloud:ga:IpSet
        properties:
          accelerateRegionId: ${region}
          bandwidth: '5'
          acceleratorId: ${defaultBandwidthPackageAttachment.acceleratorId}
    

    Create IpSet Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new IpSet(name: string, args: IpSetArgs, opts?: CustomResourceOptions);
    @overload
    def IpSet(resource_name: str,
              args: IpSetArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def IpSet(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              accelerate_region_id: Optional[str] = None,
              accelerator_id: Optional[str] = None,
              bandwidth: Optional[int] = None,
              ip_version: Optional[str] = None,
              isp_type: Optional[str] = None)
    func NewIpSet(ctx *Context, name string, args IpSetArgs, opts ...ResourceOption) (*IpSet, error)
    public IpSet(string name, IpSetArgs args, CustomResourceOptions? opts = null)
    public IpSet(String name, IpSetArgs args)
    public IpSet(String name, IpSetArgs args, CustomResourceOptions options)
    
    type: alicloud:ga:IpSet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args IpSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args IpSetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args IpSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IpSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args IpSetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ipSetResource = new AliCloud.Ga.IpSet("ipSetResource", new()
    {
        AccelerateRegionId = "string",
        AcceleratorId = "string",
        Bandwidth = 0,
        IpVersion = "string",
        IspType = "string",
    });
    
    example, err := ga.NewIpSet(ctx, "ipSetResource", &ga.IpSetArgs{
    	AccelerateRegionId: pulumi.String("string"),
    	AcceleratorId:      pulumi.String("string"),
    	Bandwidth:          pulumi.Int(0),
    	IpVersion:          pulumi.String("string"),
    	IspType:            pulumi.String("string"),
    })
    
    var ipSetResource = new IpSet("ipSetResource", IpSetArgs.builder()
        .accelerateRegionId("string")
        .acceleratorId("string")
        .bandwidth(0)
        .ipVersion("string")
        .ispType("string")
        .build());
    
    ip_set_resource = alicloud.ga.IpSet("ipSetResource",
        accelerate_region_id="string",
        accelerator_id="string",
        bandwidth=0,
        ip_version="string",
        isp_type="string")
    
    const ipSetResource = new alicloud.ga.IpSet("ipSetResource", {
        accelerateRegionId: "string",
        acceleratorId: "string",
        bandwidth: 0,
        ipVersion: "string",
        ispType: "string",
    });
    
    type: alicloud:ga:IpSet
    properties:
        accelerateRegionId: string
        acceleratorId: string
        bandwidth: 0
        ipVersion: string
        ispType: string
    

    IpSet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The IpSet resource accepts the following input properties:

    AccelerateRegionId string
    The ID of an acceleration region.
    AcceleratorId string
    The ID of the Global Accelerator (GA) instance.
    Bandwidth int

    The bandwidth allocated to the acceleration region.

    NOTE: The minimum bandwidth of each accelerated region is 2Mbps. The total bandwidth of the acceleration region should be less than or equal to the bandwidth of the basic bandwidth package you purchased.

    IpVersion string
    The IP protocol used by the GA instance. Default value: IPv4. Valid values: IPv4, IPv6, DUAL_STACK. NOTE: From version 1.220.0, ip_version can be set to DUAL_STACK.
    IspType string
    The line type of the elastic IP address (EIP) in the acceleration region. Valid values: BGP, BGP_PRO.
    AccelerateRegionId string
    The ID of an acceleration region.
    AcceleratorId string
    The ID of the Global Accelerator (GA) instance.
    Bandwidth int

    The bandwidth allocated to the acceleration region.

    NOTE: The minimum bandwidth of each accelerated region is 2Mbps. The total bandwidth of the acceleration region should be less than or equal to the bandwidth of the basic bandwidth package you purchased.

    IpVersion string
    The IP protocol used by the GA instance. Default value: IPv4. Valid values: IPv4, IPv6, DUAL_STACK. NOTE: From version 1.220.0, ip_version can be set to DUAL_STACK.
    IspType string
    The line type of the elastic IP address (EIP) in the acceleration region. Valid values: BGP, BGP_PRO.
    accelerateRegionId String
    The ID of an acceleration region.
    acceleratorId String
    The ID of the Global Accelerator (GA) instance.
    bandwidth Integer

    The bandwidth allocated to the acceleration region.

    NOTE: The minimum bandwidth of each accelerated region is 2Mbps. The total bandwidth of the acceleration region should be less than or equal to the bandwidth of the basic bandwidth package you purchased.

    ipVersion String
    The IP protocol used by the GA instance. Default value: IPv4. Valid values: IPv4, IPv6, DUAL_STACK. NOTE: From version 1.220.0, ip_version can be set to DUAL_STACK.
    ispType String
    The line type of the elastic IP address (EIP) in the acceleration region. Valid values: BGP, BGP_PRO.
    accelerateRegionId string
    The ID of an acceleration region.
    acceleratorId string
    The ID of the Global Accelerator (GA) instance.
    bandwidth number

    The bandwidth allocated to the acceleration region.

    NOTE: The minimum bandwidth of each accelerated region is 2Mbps. The total bandwidth of the acceleration region should be less than or equal to the bandwidth of the basic bandwidth package you purchased.

    ipVersion string
    The IP protocol used by the GA instance. Default value: IPv4. Valid values: IPv4, IPv6, DUAL_STACK. NOTE: From version 1.220.0, ip_version can be set to DUAL_STACK.
    ispType string
    The line type of the elastic IP address (EIP) in the acceleration region. Valid values: BGP, BGP_PRO.
    accelerate_region_id str
    The ID of an acceleration region.
    accelerator_id str
    The ID of the Global Accelerator (GA) instance.
    bandwidth int

    The bandwidth allocated to the acceleration region.

    NOTE: The minimum bandwidth of each accelerated region is 2Mbps. The total bandwidth of the acceleration region should be less than or equal to the bandwidth of the basic bandwidth package you purchased.

    ip_version str
    The IP protocol used by the GA instance. Default value: IPv4. Valid values: IPv4, IPv6, DUAL_STACK. NOTE: From version 1.220.0, ip_version can be set to DUAL_STACK.
    isp_type str
    The line type of the elastic IP address (EIP) in the acceleration region. Valid values: BGP, BGP_PRO.
    accelerateRegionId String
    The ID of an acceleration region.
    acceleratorId String
    The ID of the Global Accelerator (GA) instance.
    bandwidth Number

    The bandwidth allocated to the acceleration region.

    NOTE: The minimum bandwidth of each accelerated region is 2Mbps. The total bandwidth of the acceleration region should be less than or equal to the bandwidth of the basic bandwidth package you purchased.

    ipVersion String
    The IP protocol used by the GA instance. Default value: IPv4. Valid values: IPv4, IPv6, DUAL_STACK. NOTE: From version 1.220.0, ip_version can be set to DUAL_STACK.
    ispType String
    The line type of the elastic IP address (EIP) in the acceleration region. Valid values: BGP, BGP_PRO.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the IpSet resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    IpAddressLists List<string>
    The list of accelerated IP addresses in the acceleration region.
    Status string
    The status of the acceleration region.
    Id string
    The provider-assigned unique ID for this managed resource.
    IpAddressLists []string
    The list of accelerated IP addresses in the acceleration region.
    Status string
    The status of the acceleration region.
    id String
    The provider-assigned unique ID for this managed resource.
    ipAddressLists List<String>
    The list of accelerated IP addresses in the acceleration region.
    status String
    The status of the acceleration region.
    id string
    The provider-assigned unique ID for this managed resource.
    ipAddressLists string[]
    The list of accelerated IP addresses in the acceleration region.
    status string
    The status of the acceleration region.
    id str
    The provider-assigned unique ID for this managed resource.
    ip_address_lists Sequence[str]
    The list of accelerated IP addresses in the acceleration region.
    status str
    The status of the acceleration region.
    id String
    The provider-assigned unique ID for this managed resource.
    ipAddressLists List<String>
    The list of accelerated IP addresses in the acceleration region.
    status String
    The status of the acceleration region.

    Look up Existing IpSet Resource

    Get an existing IpSet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: IpSetState, opts?: CustomResourceOptions): IpSet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            accelerate_region_id: Optional[str] = None,
            accelerator_id: Optional[str] = None,
            bandwidth: Optional[int] = None,
            ip_address_lists: Optional[Sequence[str]] = None,
            ip_version: Optional[str] = None,
            isp_type: Optional[str] = None,
            status: Optional[str] = None) -> IpSet
    func GetIpSet(ctx *Context, name string, id IDInput, state *IpSetState, opts ...ResourceOption) (*IpSet, error)
    public static IpSet Get(string name, Input<string> id, IpSetState? state, CustomResourceOptions? opts = null)
    public static IpSet get(String name, Output<String> id, IpSetState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccelerateRegionId string
    The ID of an acceleration region.
    AcceleratorId string
    The ID of the Global Accelerator (GA) instance.
    Bandwidth int

    The bandwidth allocated to the acceleration region.

    NOTE: The minimum bandwidth of each accelerated region is 2Mbps. The total bandwidth of the acceleration region should be less than or equal to the bandwidth of the basic bandwidth package you purchased.

    IpAddressLists List<string>
    The list of accelerated IP addresses in the acceleration region.
    IpVersion string
    The IP protocol used by the GA instance. Default value: IPv4. Valid values: IPv4, IPv6, DUAL_STACK. NOTE: From version 1.220.0, ip_version can be set to DUAL_STACK.
    IspType string
    The line type of the elastic IP address (EIP) in the acceleration region. Valid values: BGP, BGP_PRO.
    Status string
    The status of the acceleration region.
    AccelerateRegionId string
    The ID of an acceleration region.
    AcceleratorId string
    The ID of the Global Accelerator (GA) instance.
    Bandwidth int

    The bandwidth allocated to the acceleration region.

    NOTE: The minimum bandwidth of each accelerated region is 2Mbps. The total bandwidth of the acceleration region should be less than or equal to the bandwidth of the basic bandwidth package you purchased.

    IpAddressLists []string
    The list of accelerated IP addresses in the acceleration region.
    IpVersion string
    The IP protocol used by the GA instance. Default value: IPv4. Valid values: IPv4, IPv6, DUAL_STACK. NOTE: From version 1.220.0, ip_version can be set to DUAL_STACK.
    IspType string
    The line type of the elastic IP address (EIP) in the acceleration region. Valid values: BGP, BGP_PRO.
    Status string
    The status of the acceleration region.
    accelerateRegionId String
    The ID of an acceleration region.
    acceleratorId String
    The ID of the Global Accelerator (GA) instance.
    bandwidth Integer

    The bandwidth allocated to the acceleration region.

    NOTE: The minimum bandwidth of each accelerated region is 2Mbps. The total bandwidth of the acceleration region should be less than or equal to the bandwidth of the basic bandwidth package you purchased.

    ipAddressLists List<String>
    The list of accelerated IP addresses in the acceleration region.
    ipVersion String
    The IP protocol used by the GA instance. Default value: IPv4. Valid values: IPv4, IPv6, DUAL_STACK. NOTE: From version 1.220.0, ip_version can be set to DUAL_STACK.
    ispType String
    The line type of the elastic IP address (EIP) in the acceleration region. Valid values: BGP, BGP_PRO.
    status String
    The status of the acceleration region.
    accelerateRegionId string
    The ID of an acceleration region.
    acceleratorId string
    The ID of the Global Accelerator (GA) instance.
    bandwidth number

    The bandwidth allocated to the acceleration region.

    NOTE: The minimum bandwidth of each accelerated region is 2Mbps. The total bandwidth of the acceleration region should be less than or equal to the bandwidth of the basic bandwidth package you purchased.

    ipAddressLists string[]
    The list of accelerated IP addresses in the acceleration region.
    ipVersion string
    The IP protocol used by the GA instance. Default value: IPv4. Valid values: IPv4, IPv6, DUAL_STACK. NOTE: From version 1.220.0, ip_version can be set to DUAL_STACK.
    ispType string
    The line type of the elastic IP address (EIP) in the acceleration region. Valid values: BGP, BGP_PRO.
    status string
    The status of the acceleration region.
    accelerate_region_id str
    The ID of an acceleration region.
    accelerator_id str
    The ID of the Global Accelerator (GA) instance.
    bandwidth int

    The bandwidth allocated to the acceleration region.

    NOTE: The minimum bandwidth of each accelerated region is 2Mbps. The total bandwidth of the acceleration region should be less than or equal to the bandwidth of the basic bandwidth package you purchased.

    ip_address_lists Sequence[str]
    The list of accelerated IP addresses in the acceleration region.
    ip_version str
    The IP protocol used by the GA instance. Default value: IPv4. Valid values: IPv4, IPv6, DUAL_STACK. NOTE: From version 1.220.0, ip_version can be set to DUAL_STACK.
    isp_type str
    The line type of the elastic IP address (EIP) in the acceleration region. Valid values: BGP, BGP_PRO.
    status str
    The status of the acceleration region.
    accelerateRegionId String
    The ID of an acceleration region.
    acceleratorId String
    The ID of the Global Accelerator (GA) instance.
    bandwidth Number

    The bandwidth allocated to the acceleration region.

    NOTE: The minimum bandwidth of each accelerated region is 2Mbps. The total bandwidth of the acceleration region should be less than or equal to the bandwidth of the basic bandwidth package you purchased.

    ipAddressLists List<String>
    The list of accelerated IP addresses in the acceleration region.
    ipVersion String
    The IP protocol used by the GA instance. Default value: IPv4. Valid values: IPv4, IPv6, DUAL_STACK. NOTE: From version 1.220.0, ip_version can be set to DUAL_STACK.
    ispType String
    The line type of the elastic IP address (EIP) in the acceleration region. Valid values: BGP, BGP_PRO.
    status String
    The status of the acceleration region.

    Import

    Ga Ip Set can be imported using the id, e.g.

    $ pulumi import alicloud:ga/ipSet:IpSet example <id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.62.1 published on Monday, Sep 16, 2024 by Pulumi