Alibaba Cloud v3.68.0 published on Monday, Dec 2, 2024 by Pulumi
alicloud.ga.getBasicAccelerateIpEndpointRelations
Explore with Pulumi AI
This data source provides the Global Accelerator (GA) Basic Accelerate Ip Endpoint Relations of the current Alibaba Cloud user.
NOTE: Available in v1.194.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const ids = alicloud.ga.getBasicAccelerateIpEndpointRelations({
ids: ["example_id"],
acceleratorId: "example_id",
});
export const gaBasicAccelerateIpEndpointRelationsId1 = ids.then(ids => ids.relations?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
ids = alicloud.ga.get_basic_accelerate_ip_endpoint_relations(ids=["example_id"],
accelerator_id="example_id")
pulumi.export("gaBasicAccelerateIpEndpointRelationsId1", ids.relations[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 {
ids, err := ga.GetBasicAccelerateIpEndpointRelations(ctx, &ga.GetBasicAccelerateIpEndpointRelationsArgs{
Ids: []string{
"example_id",
},
AcceleratorId: "example_id",
}, nil)
if err != nil {
return err
}
ctx.Export("gaBasicAccelerateIpEndpointRelationsId1", ids.Relations[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var ids = AliCloud.Ga.GetBasicAccelerateIpEndpointRelations.Invoke(new()
{
Ids = new[]
{
"example_id",
},
AcceleratorId = "example_id",
});
return new Dictionary<string, object?>
{
["gaBasicAccelerateIpEndpointRelationsId1"] = ids.Apply(getBasicAccelerateIpEndpointRelationsResult => getBasicAccelerateIpEndpointRelationsResult.Relations[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.GetBasicAccelerateIpEndpointRelationsArgs;
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 ids = GaFunctions.getBasicAccelerateIpEndpointRelations(GetBasicAccelerateIpEndpointRelationsArgs.builder()
.ids("example_id")
.acceleratorId("example_id")
.build());
ctx.export("gaBasicAccelerateIpEndpointRelationsId1", ids.applyValue(getBasicAccelerateIpEndpointRelationsResult -> getBasicAccelerateIpEndpointRelationsResult.relations()[0].id()));
}
}
variables:
ids:
fn::invoke:
Function: alicloud:ga:getBasicAccelerateIpEndpointRelations
Arguments:
ids:
- example_id
acceleratorId: example_id
outputs:
gaBasicAccelerateIpEndpointRelationsId1: ${ids.relations[0].id}
Using getBasicAccelerateIpEndpointRelations
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 getBasicAccelerateIpEndpointRelations(args: GetBasicAccelerateIpEndpointRelationsArgs, opts?: InvokeOptions): Promise<GetBasicAccelerateIpEndpointRelationsResult>
function getBasicAccelerateIpEndpointRelationsOutput(args: GetBasicAccelerateIpEndpointRelationsOutputArgs, opts?: InvokeOptions): Output<GetBasicAccelerateIpEndpointRelationsResult>
def get_basic_accelerate_ip_endpoint_relations(accelerate_ip_id: Optional[str] = None,
accelerator_id: Optional[str] = None,
endpoint_id: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBasicAccelerateIpEndpointRelationsResult
def get_basic_accelerate_ip_endpoint_relations_output(accelerate_ip_id: Optional[pulumi.Input[str]] = None,
accelerator_id: Optional[pulumi.Input[str]] = None,
endpoint_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[GetBasicAccelerateIpEndpointRelationsResult]
func GetBasicAccelerateIpEndpointRelations(ctx *Context, args *GetBasicAccelerateIpEndpointRelationsArgs, opts ...InvokeOption) (*GetBasicAccelerateIpEndpointRelationsResult, error)
func GetBasicAccelerateIpEndpointRelationsOutput(ctx *Context, args *GetBasicAccelerateIpEndpointRelationsOutputArgs, opts ...InvokeOption) GetBasicAccelerateIpEndpointRelationsResultOutput
> Note: This function is named GetBasicAccelerateIpEndpointRelations
in the Go SDK.
public static class GetBasicAccelerateIpEndpointRelations
{
public static Task<GetBasicAccelerateIpEndpointRelationsResult> InvokeAsync(GetBasicAccelerateIpEndpointRelationsArgs args, InvokeOptions? opts = null)
public static Output<GetBasicAccelerateIpEndpointRelationsResult> Invoke(GetBasicAccelerateIpEndpointRelationsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBasicAccelerateIpEndpointRelationsResult> getBasicAccelerateIpEndpointRelations(GetBasicAccelerateIpEndpointRelationsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:ga/getBasicAccelerateIpEndpointRelations:getBasicAccelerateIpEndpointRelations
arguments:
# arguments dictionary
The following arguments are supported:
- Accelerator
Id string - The ID of the Global Accelerator Basic Accelerator instance.
- Accelerate
Ip stringId - The ID of the Basic Accelerate IP.
- Endpoint
Id string - The ID of the Basic Endpoint.
- Ids List<string>
- A list of Global Accelerator Basic Accelerate Ip Endpoint Relations IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status string
- The status of the Global Accelerator Basic Accelerate Ip Endpoint Relation. Valid Value:
active
.
- Accelerator
Id string - The ID of the Global Accelerator Basic Accelerator instance.
- Accelerate
Ip stringId - The ID of the Basic Accelerate IP.
- Endpoint
Id string - The ID of the Basic Endpoint.
- Ids []string
- A list of Global Accelerator Basic Accelerate Ip Endpoint Relations IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Status string
- The status of the Global Accelerator Basic Accelerate Ip Endpoint Relation. Valid Value:
active
.
- accelerator
Id String - The ID of the Global Accelerator Basic Accelerator instance.
- accelerate
Ip StringId - The ID of the Basic Accelerate IP.
- endpoint
Id String - The ID of the Basic Endpoint.
- ids List<String>
- A list of Global Accelerator Basic Accelerate Ip Endpoint Relations IDs.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status String
- The status of the Global Accelerator Basic Accelerate Ip Endpoint Relation. Valid Value:
active
.
- accelerator
Id string - The ID of the Global Accelerator Basic Accelerator instance.
- accelerate
Ip stringId - The ID of the Basic Accelerate IP.
- endpoint
Id string - The ID of the Basic Endpoint.
- ids string[]
- A list of Global Accelerator Basic Accelerate Ip Endpoint Relations IDs.
- output
File string - File name where to save data source results (after running
pulumi preview
). - status string
- The status of the Global Accelerator Basic Accelerate Ip Endpoint Relation. Valid Value:
active
.
- accelerator_
id str - The ID of the Global Accelerator Basic Accelerator instance.
- accelerate_
ip_ strid - The ID of the Basic Accelerate IP.
- endpoint_
id str - The ID of the Basic Endpoint.
- ids Sequence[str]
- A list of Global Accelerator Basic Accelerate Ip Endpoint Relations IDs.
- output_
file str - File name where to save data source results (after running
pulumi preview
). - status str
- The status of the Global Accelerator Basic Accelerate Ip Endpoint Relation. Valid Value:
active
.
- accelerator
Id String - The ID of the Global Accelerator Basic Accelerator instance.
- accelerate
Ip StringId - The ID of the Basic Accelerate IP.
- endpoint
Id String - The ID of the Basic Endpoint.
- ids List<String>
- A list of Global Accelerator Basic Accelerate Ip Endpoint Relations IDs.
- output
File String - File name where to save data source results (after running
pulumi preview
). - status String
- The status of the Global Accelerator Basic Accelerate Ip Endpoint Relation. Valid Value:
active
.
getBasicAccelerateIpEndpointRelations Result
The following output properties are available:
- Accelerator
Id string - The ID of the Global Accelerator Basic Accelerator instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Relations
List<Pulumi.
Ali Cloud. Ga. Outputs. Get Basic Accelerate Ip Endpoint Relations Relation> - A list of Global Accelerator Basic Accelerate Ip Endpoint Relations. Each element contains the following attributes:
- Accelerate
Ip stringId - The ID of the Basic Accelerate IP.
- Endpoint
Id string - The ID of the Basic Endpoint.
- Output
File string - Status string
- The status of the Basic Accelerate Ip Endpoint Relation.
- Accelerator
Id string - The ID of the Global Accelerator Basic Accelerator instance.
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Relations
[]Get
Basic Accelerate Ip Endpoint Relations Relation - A list of Global Accelerator Basic Accelerate Ip Endpoint Relations. Each element contains the following attributes:
- Accelerate
Ip stringId - The ID of the Basic Accelerate IP.
- Endpoint
Id string - The ID of the Basic Endpoint.
- Output
File string - Status string
- The status of the Basic Accelerate Ip Endpoint Relation.
- accelerator
Id String - The ID of the Global Accelerator Basic Accelerator instance.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- relations
List<Get
Basic Accelerate Ip Endpoint Relations Relation> - A list of Global Accelerator Basic Accelerate Ip Endpoint Relations. Each element contains the following attributes:
- accelerate
Ip StringId - The ID of the Basic Accelerate IP.
- endpoint
Id String - The ID of the Basic Endpoint.
- output
File String - status String
- The status of the Basic Accelerate Ip Endpoint Relation.
- accelerator
Id string - The ID of the Global Accelerator Basic Accelerator instance.
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- relations
Get
Basic Accelerate Ip Endpoint Relations Relation[] - A list of Global Accelerator Basic Accelerate Ip Endpoint Relations. Each element contains the following attributes:
- accelerate
Ip stringId - The ID of the Basic Accelerate IP.
- endpoint
Id string - The ID of the Basic Endpoint.
- output
File string - status string
- The status of the Basic Accelerate Ip Endpoint Relation.
- accelerator_
id str - The ID of the Global Accelerator Basic Accelerator instance.
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- relations
Sequence[Get
Basic Accelerate Ip Endpoint Relations Relation] - A list of Global Accelerator Basic Accelerate Ip Endpoint Relations. Each element contains the following attributes:
- accelerate_
ip_ strid - The ID of the Basic Accelerate IP.
- endpoint_
id str - The ID of the Basic Endpoint.
- output_
file str - status str
- The status of the Basic Accelerate Ip Endpoint Relation.
- accelerator
Id String - The ID of the Global Accelerator Basic Accelerator instance.
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- relations List<Property Map>
- A list of Global Accelerator Basic Accelerate Ip Endpoint Relations. Each element contains the following attributes:
- accelerate
Ip StringId - The ID of the Basic Accelerate IP.
- endpoint
Id String - The ID of the Basic Endpoint.
- output
File String - status String
- The status of the Basic Accelerate Ip Endpoint Relation.
Supporting Types
GetBasicAccelerateIpEndpointRelationsRelation
- Accelerate
Ip stringId - The ID of the Basic Accelerate IP.
- Accelerator
Id string - The ID of the Global Accelerator Basic Accelerator instance.
- Basic
Endpoint stringName - The name of the Basic Endpoint.
- Endpoint
Address string - The address of the Basic Endpoint.
- Endpoint
Id string - The ID of the Basic Endpoint.
- Endpoint
Sub stringAddress - The sub address of the Basic Endpoint.
- Endpoint
Sub stringAddress Type - The sub address type of the Basic Endpoint.
- Endpoint
Type string - The type of the Basic Endpoint.
- Endpoint
Zone stringId - The zone id of the Basic Endpoint.
- Id string
- The id of the Global Accelerator Basic Accelerate Ip Endpoint Relation. It formats as
<accelerator_id>:<accelerate_ip_id>:<endpoint_id>
. - Ip
Address string - The address of the Basic Accelerate IP.
- Status string
- The status of the Global Accelerator Basic Accelerate Ip Endpoint Relation. Valid Value:
active
.
- Accelerate
Ip stringId - The ID of the Basic Accelerate IP.
- Accelerator
Id string - The ID of the Global Accelerator Basic Accelerator instance.
- Basic
Endpoint stringName - The name of the Basic Endpoint.
- Endpoint
Address string - The address of the Basic Endpoint.
- Endpoint
Id string - The ID of the Basic Endpoint.
- Endpoint
Sub stringAddress - The sub address of the Basic Endpoint.
- Endpoint
Sub stringAddress Type - The sub address type of the Basic Endpoint.
- Endpoint
Type string - The type of the Basic Endpoint.
- Endpoint
Zone stringId - The zone id of the Basic Endpoint.
- Id string
- The id of the Global Accelerator Basic Accelerate Ip Endpoint Relation. It formats as
<accelerator_id>:<accelerate_ip_id>:<endpoint_id>
. - Ip
Address string - The address of the Basic Accelerate IP.
- Status string
- The status of the Global Accelerator Basic Accelerate Ip Endpoint Relation. Valid Value:
active
.
- accelerate
Ip StringId - The ID of the Basic Accelerate IP.
- accelerator
Id String - The ID of the Global Accelerator Basic Accelerator instance.
- basic
Endpoint StringName - The name of the Basic Endpoint.
- endpoint
Address String - The address of the Basic Endpoint.
- endpoint
Id String - The ID of the Basic Endpoint.
- endpoint
Sub StringAddress - The sub address of the Basic Endpoint.
- endpoint
Sub StringAddress Type - The sub address type of the Basic Endpoint.
- endpoint
Type String - The type of the Basic Endpoint.
- endpoint
Zone StringId - The zone id of the Basic Endpoint.
- id String
- The id of the Global Accelerator Basic Accelerate Ip Endpoint Relation. It formats as
<accelerator_id>:<accelerate_ip_id>:<endpoint_id>
. - ip
Address String - The address of the Basic Accelerate IP.
- status String
- The status of the Global Accelerator Basic Accelerate Ip Endpoint Relation. Valid Value:
active
.
- accelerate
Ip stringId - The ID of the Basic Accelerate IP.
- accelerator
Id string - The ID of the Global Accelerator Basic Accelerator instance.
- basic
Endpoint stringName - The name of the Basic Endpoint.
- endpoint
Address string - The address of the Basic Endpoint.
- endpoint
Id string - The ID of the Basic Endpoint.
- endpoint
Sub stringAddress - The sub address of the Basic Endpoint.
- endpoint
Sub stringAddress Type - The sub address type of the Basic Endpoint.
- endpoint
Type string - The type of the Basic Endpoint.
- endpoint
Zone stringId - The zone id of the Basic Endpoint.
- id string
- The id of the Global Accelerator Basic Accelerate Ip Endpoint Relation. It formats as
<accelerator_id>:<accelerate_ip_id>:<endpoint_id>
. - ip
Address string - The address of the Basic Accelerate IP.
- status string
- The status of the Global Accelerator Basic Accelerate Ip Endpoint Relation. Valid Value:
active
.
- accelerate_
ip_ strid - The ID of the Basic Accelerate IP.
- accelerator_
id str - The ID of the Global Accelerator Basic Accelerator instance.
- basic_
endpoint_ strname - The name of the Basic Endpoint.
- endpoint_
address str - The address of the Basic Endpoint.
- endpoint_
id str - The ID of the Basic Endpoint.
- endpoint_
sub_ straddress - The sub address of the Basic Endpoint.
- endpoint_
sub_ straddress_ type - The sub address type of the Basic Endpoint.
- endpoint_
type str - The type of the Basic Endpoint.
- endpoint_
zone_ strid - The zone id of the Basic Endpoint.
- id str
- The id of the Global Accelerator Basic Accelerate Ip Endpoint Relation. It formats as
<accelerator_id>:<accelerate_ip_id>:<endpoint_id>
. - ip_
address str - The address of the Basic Accelerate IP.
- status str
- The status of the Global Accelerator Basic Accelerate Ip Endpoint Relation. Valid Value:
active
.
- accelerate
Ip StringId - The ID of the Basic Accelerate IP.
- accelerator
Id String - The ID of the Global Accelerator Basic Accelerator instance.
- basic
Endpoint StringName - The name of the Basic Endpoint.
- endpoint
Address String - The address of the Basic Endpoint.
- endpoint
Id String - The ID of the Basic Endpoint.
- endpoint
Sub StringAddress - The sub address of the Basic Endpoint.
- endpoint
Sub StringAddress Type - The sub address type of the Basic Endpoint.
- endpoint
Type String - The type of the Basic Endpoint.
- endpoint
Zone StringId - The zone id of the Basic Endpoint.
- id String
- The id of the Global Accelerator Basic Accelerate Ip Endpoint Relation. It formats as
<accelerator_id>:<accelerate_ip_id>:<endpoint_id>
. - ip
Address String - The address of the Basic Accelerate IP.
- status String
- The status of the Global Accelerator Basic Accelerate Ip Endpoint Relation. Valid Value:
active
.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.