Alibaba Cloud v3.87.0 published on Saturday, Oct 18, 2025 by Pulumi
alicloud.ga.getIpSets
This data source provides the Global Accelerator (GA) Ip Sets of the current Alibaba Cloud user.
NOTE: Available since v1.113.0.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const example = alicloud.ga.getIpSets({
acceleratorId: "example_value",
ids: ["example_value"],
});
export const firstGaIpSetId = example.then(example => example.sets?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
example = alicloud.ga.get_ip_sets(accelerator_id="example_value",
ids=["example_value"])
pulumi.export("firstGaIpSetId", example.sets[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/ga"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := ga.GetIpSets(ctx, &ga.GetIpSetsArgs{
AcceleratorId: "example_value",
Ids: []string{
"example_value",
},
}, nil)
if err != nil {
return err
}
ctx.Export("firstGaIpSetId", example.Sets[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var example = AliCloud.Ga.GetIpSets.Invoke(new()
{
AcceleratorId = "example_value",
Ids = new[]
{
"example_value",
},
});
return new Dictionary<string, object?>
{
["firstGaIpSetId"] = example.Apply(getIpSetsResult => getIpSetsResult.Sets[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ga.GaFunctions;
import com.pulumi.alicloud.ga.inputs.GetIpSetsArgs;
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 example = GaFunctions.getIpSets(GetIpSetsArgs.builder()
.acceleratorId("example_value")
.ids("example_value")
.build());
ctx.export("firstGaIpSetId", example.sets()[0].id());
}
}
variables:
example:
fn::invoke:
function: alicloud:ga:getIpSets
arguments:
acceleratorId: example_value
ids:
- example_value
outputs:
firstGaIpSetId: ${example.sets[0].id}
Using getIpSets
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 getIpSets(args: GetIpSetsArgs, opts?: InvokeOptions): Promise<GetIpSetsResult>
function getIpSetsOutput(args: GetIpSetsOutputArgs, opts?: InvokeOptions): Output<GetIpSetsResult>def get_ip_sets(accelerator_id: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIpSetsResult
def get_ip_sets_output(accelerator_id: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIpSetsResult]func GetIpSets(ctx *Context, args *GetIpSetsArgs, opts ...InvokeOption) (*GetIpSetsResult, error)
func GetIpSetsOutput(ctx *Context, args *GetIpSetsOutputArgs, opts ...InvokeOption) GetIpSetsResultOutput> Note: This function is named GetIpSets in the Go SDK.
public static class GetIpSets
{
public static Task<GetIpSetsResult> InvokeAsync(GetIpSetsArgs args, InvokeOptions? opts = null)
public static Output<GetIpSetsResult> Invoke(GetIpSetsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIpSetsResult> getIpSets(GetIpSetsArgs args, InvokeOptions options)
public static Output<GetIpSetsResult> getIpSets(GetIpSetsArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:ga/getIpSets:getIpSets
arguments:
# arguments dictionaryThe following arguments are supported:
- Accelerator
Id string - The ID of the Global Accelerator (GA) instance.
- Ids List<string>
- A list of Ip Set IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Status string
- The status of the acceleration region. Valid values:
active,deleting,init,updating.
- Accelerator
Id string - The ID of the Global Accelerator (GA) instance.
- Ids []string
- A list of Ip Set IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview). - Status string
- The status of the acceleration region. Valid values:
active,deleting,init,updating.
- accelerator
Id String - The ID of the Global Accelerator (GA) instance.
- ids List<String>
- A list of Ip Set IDs.
- output
File String - File name where to save data source results (after running
pulumi preview). - status String
- The status of the acceleration region. Valid values:
active,deleting,init,updating.
- accelerator
Id string - The ID of the Global Accelerator (GA) instance.
- ids string[]
- A list of Ip Set IDs.
- output
File string - File name where to save data source results (after running
pulumi preview). - status string
- The status of the acceleration region. Valid values:
active,deleting,init,updating.
- accelerator_
id str - The ID of the Global Accelerator (GA) instance.
- ids Sequence[str]
- A list of Ip Set IDs.
- output_
file str - File name where to save data source results (after running
pulumi preview). - status str
- The status of the acceleration region. Valid values:
active,deleting,init,updating.
- accelerator
Id String - The ID of the Global Accelerator (GA) instance.
- ids List<String>
- A list of Ip Set IDs.
- output
File String - File name where to save data source results (after running
pulumi preview). - status String
- The status of the acceleration region. Valid values:
active,deleting,init,updating.
getIpSets Result
The following output properties are available:
- Accelerator
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Sets
List<Pulumi.
Ali Cloud. Ga. Outputs. Get Ip Sets Set> - A list of Ga Ip Sets. Each element contains the following attributes:
- Output
File string - Status string
- The status of the acceleration region.
- Accelerator
Id string - Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Sets
[]Get
Ip Sets Set - A list of Ga Ip Sets. Each element contains the following attributes:
- Output
File string - Status string
- The status of the acceleration region.
- accelerator
Id String - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- sets
List<Get
Ip Sets Set> - A list of Ga Ip Sets. Each element contains the following attributes:
- output
File String - status String
- The status of the acceleration region.
- accelerator
Id string - id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- sets
Get
Ip Sets Set[] - A list of Ga Ip Sets. Each element contains the following attributes:
- output
File string - status string
- The status of the acceleration region.
- accelerator_
id str - id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- sets
Sequence[Get
Ip Sets Set] - A list of Ga Ip Sets. Each element contains the following attributes:
- output_
file str - status str
- The status of the acceleration region.
- accelerator
Id String - id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- sets List<Property Map>
- A list of Ga Ip Sets. Each element contains the following attributes:
- output
File String - status String
- The status of the acceleration region.
Supporting Types
GetIpSetsSet
- Accelerate
Region stringId - The ID of an acceleration region.
- Bandwidth int
- The bandwidth allocated to the acceleration region.
- Id string
- The ID of the Ip Set.
- Ip
Address List<string>Lists - The list of accelerated IP addresses in the acceleration region.
- Ip
Set stringId - Accelerated area ID.
- Ip
Version string - The IP protocol used by the GA instance.
- Status string
- The status of the acceleration region. Valid values:
active,deleting,init,updating.
- Accelerate
Region stringId - The ID of an acceleration region.
- Bandwidth int
- The bandwidth allocated to the acceleration region.
- Id string
- The ID of the Ip Set.
- Ip
Address []stringLists - The list of accelerated IP addresses in the acceleration region.
- Ip
Set stringId - Accelerated area ID.
- Ip
Version string - The IP protocol used by the GA instance.
- Status string
- The status of the acceleration region. Valid values:
active,deleting,init,updating.
- accelerate
Region StringId - The ID of an acceleration region.
- bandwidth Integer
- The bandwidth allocated to the acceleration region.
- id String
- The ID of the Ip Set.
- ip
Address List<String>Lists - The list of accelerated IP addresses in the acceleration region.
- ip
Set StringId - Accelerated area ID.
- ip
Version String - The IP protocol used by the GA instance.
- status String
- The status of the acceleration region. Valid values:
active,deleting,init,updating.
- accelerate
Region stringId - The ID of an acceleration region.
- bandwidth number
- The bandwidth allocated to the acceleration region.
- id string
- The ID of the Ip Set.
- ip
Address string[]Lists - The list of accelerated IP addresses in the acceleration region.
- ip
Set stringId - Accelerated area ID.
- ip
Version string - The IP protocol used by the GA instance.
- status string
- The status of the acceleration region. Valid values:
active,deleting,init,updating.
- accelerate_
region_ strid - The ID of an acceleration region.
- bandwidth int
- The bandwidth allocated to the acceleration region.
- id str
- The ID of the Ip Set.
- ip_
address_ Sequence[str]lists - The list of accelerated IP addresses in the acceleration region.
- ip_
set_ strid - Accelerated area ID.
- ip_
version str - The IP protocol used by the GA instance.
- status str
- The status of the acceleration region. Valid values:
active,deleting,init,updating.
- accelerate
Region StringId - The ID of an acceleration region.
- bandwidth Number
- The bandwidth allocated to the acceleration region.
- id String
- The ID of the Ip Set.
- ip
Address List<String>Lists - The list of accelerated IP addresses in the acceleration region.
- ip
Set StringId - Accelerated area ID.
- ip
Version String - The IP protocol used by the GA instance.
- status String
- The status of the acceleration region. Valid values:
active,deleting,init,updating.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.
