alicloud logo
Alibaba Cloud v3.38.0, Jun 2 23

alicloud.ga.BasicAccelerateIp

Explore with Pulumi AI

Provides a Global Accelerator (GA) Basic Accelerate IP resource.

For information about Global Accelerator (GA) Basic Accelerate IP and how to use it, see What is Basic Accelerate IP.

NOTE: Available in v1.194.0+.

Example Usage

Basic Usage

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var @default = new AliCloud.Ga.BasicAccelerateIp("default", new()
    {
        AcceleratorId = "your_accelerator_id",
        IpSetId = "your_ip_set_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 {
		_, err := ga.NewBasicAccelerateIp(ctx, "default", &ga.BasicAccelerateIpArgs{
			AcceleratorId: pulumi.String("your_accelerator_id"),
			IpSetId:       pulumi.String("your_ip_set_id"),
		})
		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.alicloud.ga.BasicAccelerateIp;
import com.pulumi.alicloud.ga.BasicAccelerateIpArgs;
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 default_ = new BasicAccelerateIp("default", BasicAccelerateIpArgs.builder()        
            .acceleratorId("your_accelerator_id")
            .ipSetId("your_ip_set_id")
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

default = alicloud.ga.BasicAccelerateIp("default",
    accelerator_id="your_accelerator_id",
    ip_set_id="your_ip_set_id")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _default = new alicloud.ga.BasicAccelerateIp("default", {
    acceleratorId: "your_accelerator_id",
    ipSetId: "your_ip_set_id",
});
resources:
  default:
    type: alicloud:ga:BasicAccelerateIp
    properties:
      acceleratorId: your_accelerator_id
      ipSetId: your_ip_set_id

Create BasicAccelerateIp Resource

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

name string
The unique name of the resource.
args BasicAccelerateIpArgs
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 BasicAccelerateIpArgs
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 BasicAccelerateIpArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BasicAccelerateIpArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args BasicAccelerateIpArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

BasicAccelerateIp 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 BasicAccelerateIp resource accepts the following input properties:

AcceleratorId string

The ID of the Basic GA instance.

IpSetId string

The ID of the Basic Ip Set.

AcceleratorId string

The ID of the Basic GA instance.

IpSetId string

The ID of the Basic Ip Set.

acceleratorId String

The ID of the Basic GA instance.

ipSetId String

The ID of the Basic Ip Set.

acceleratorId string

The ID of the Basic GA instance.

ipSetId string

The ID of the Basic Ip Set.

accelerator_id str

The ID of the Basic GA instance.

ip_set_id str

The ID of the Basic Ip Set.

acceleratorId String

The ID of the Basic GA instance.

ipSetId String

The ID of the Basic Ip Set.

Outputs

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

AccelerateIpAddress string

The address of the Basic Accelerate IP.

Id string

The provider-assigned unique ID for this managed resource.

Status string

The status of the Basic Accelerate IP instance.

AccelerateIpAddress string

The address of the Basic Accelerate IP.

Id string

The provider-assigned unique ID for this managed resource.

Status string

The status of the Basic Accelerate IP instance.

accelerateIpAddress String

The address of the Basic Accelerate IP.

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the Basic Accelerate IP instance.

accelerateIpAddress string

The address of the Basic Accelerate IP.

id string

The provider-assigned unique ID for this managed resource.

status string

The status of the Basic Accelerate IP instance.

accelerate_ip_address str

The address of the Basic Accelerate IP.

id str

The provider-assigned unique ID for this managed resource.

status str

The status of the Basic Accelerate IP instance.

accelerateIpAddress String

The address of the Basic Accelerate IP.

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the Basic Accelerate IP instance.

Look up Existing BasicAccelerateIp Resource

Get an existing BasicAccelerateIp 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?: BasicAccelerateIpState, opts?: CustomResourceOptions): BasicAccelerateIp
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        accelerate_ip_address: Optional[str] = None,
        accelerator_id: Optional[str] = None,
        ip_set_id: Optional[str] = None,
        status: Optional[str] = None) -> BasicAccelerateIp
func GetBasicAccelerateIp(ctx *Context, name string, id IDInput, state *BasicAccelerateIpState, opts ...ResourceOption) (*BasicAccelerateIp, error)
public static BasicAccelerateIp Get(string name, Input<string> id, BasicAccelerateIpState? state, CustomResourceOptions? opts = null)
public static BasicAccelerateIp get(String name, Output<String> id, BasicAccelerateIpState 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:
AccelerateIpAddress string

The address of the Basic Accelerate IP.

AcceleratorId string

The ID of the Basic GA instance.

IpSetId string

The ID of the Basic Ip Set.

Status string

The status of the Basic Accelerate IP instance.

AccelerateIpAddress string

The address of the Basic Accelerate IP.

AcceleratorId string

The ID of the Basic GA instance.

IpSetId string

The ID of the Basic Ip Set.

Status string

The status of the Basic Accelerate IP instance.

accelerateIpAddress String

The address of the Basic Accelerate IP.

acceleratorId String

The ID of the Basic GA instance.

ipSetId String

The ID of the Basic Ip Set.

status String

The status of the Basic Accelerate IP instance.

accelerateIpAddress string

The address of the Basic Accelerate IP.

acceleratorId string

The ID of the Basic GA instance.

ipSetId string

The ID of the Basic Ip Set.

status string

The status of the Basic Accelerate IP instance.

accelerate_ip_address str

The address of the Basic Accelerate IP.

accelerator_id str

The ID of the Basic GA instance.

ip_set_id str

The ID of the Basic Ip Set.

status str

The status of the Basic Accelerate IP instance.

accelerateIpAddress String

The address of the Basic Accelerate IP.

acceleratorId String

The ID of the Basic GA instance.

ipSetId String

The ID of the Basic Ip Set.

status String

The status of the Basic Accelerate IP instance.

Import

Global Accelerator (GA) Basic Accelerate IP can be imported using the id, e.g.

 $ pulumi import alicloud:ga/basicAccelerateIp:BasicAccelerateIp example <id>

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.