flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getAsConfigurations
Explore with Pulumi AI
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to get a list of AS configurations.
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const configurations = flexibleengine.getAsConfigurations({});
import pulumi
import pulumi_flexibleengine as flexibleengine
configurations = flexibleengine.get_as_configurations()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := flexibleengine.GetAsConfigurations(ctx, &flexibleengine.GetAsConfigurationsArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var configurations = Flexibleengine.GetAsConfigurations.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FlexibleengineFunctions;
import com.pulumi.flexibleengine.inputs.GetAsConfigurationsArgs;
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 configurations = FlexibleengineFunctions.getAsConfigurations();
}
}
variables:
configurations:
fn::invoke:
function: flexibleengine:getAsConfigurations
arguments: {}
Using getAsConfigurations
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 getAsConfigurations(args: GetAsConfigurationsArgs, opts?: InvokeOptions): Promise<GetAsConfigurationsResult>
function getAsConfigurationsOutput(args: GetAsConfigurationsOutputArgs, opts?: InvokeOptions): Output<GetAsConfigurationsResult>
def get_as_configurations(id: Optional[str] = None,
image_id: Optional[str] = None,
name: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAsConfigurationsResult
def get_as_configurations_output(id: Optional[pulumi.Input[str]] = None,
image_id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAsConfigurationsResult]
func GetAsConfigurations(ctx *Context, args *GetAsConfigurationsArgs, opts ...InvokeOption) (*GetAsConfigurationsResult, error)
func GetAsConfigurationsOutput(ctx *Context, args *GetAsConfigurationsOutputArgs, opts ...InvokeOption) GetAsConfigurationsResultOutput
> Note: This function is named GetAsConfigurations
in the Go SDK.
public static class GetAsConfigurations
{
public static Task<GetAsConfigurationsResult> InvokeAsync(GetAsConfigurationsArgs args, InvokeOptions? opts = null)
public static Output<GetAsConfigurationsResult> Invoke(GetAsConfigurationsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAsConfigurationsResult> getAsConfigurations(GetAsConfigurationsArgs args, InvokeOptions options)
public static Output<GetAsConfigurationsResult> getAsConfigurations(GetAsConfigurationsArgs args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getAsConfigurations:getAsConfigurations
arguments:
# arguments dictionary
The following arguments are supported:
getAsConfigurations Result
The following output properties are available:
- Configurations
List<Get
As Configurations Configuration> - A list of AS configurations. The configurations object structure is documented below.
- Id string
- The ID of the list.
- Region string
- Image
Id string - Name string
- Configurations
[]Get
As Configurations Configuration - A list of AS configurations. The configurations object structure is documented below.
- Id string
- The ID of the list.
- Region string
- Image
Id string - Name string
- configurations
List<Get
As Configurations Configuration> - A list of AS configurations. The configurations object structure is documented below.
- id String
- The ID of the list.
- region String
- image
Id String - name String
- configurations
Get
As Configurations Configuration[] - A list of AS configurations. The configurations object structure is documented below.
- id string
- The ID of the list.
- region string
- image
Id string - name string
- configurations
Sequence[Get
As Configurations Configuration] - A list of AS configurations. The configurations object structure is documented below.
- id str
- The ID of the list.
- region str
- image_
id str - name str
- configurations List<Property Map>
- A list of AS configurations. The configurations object structure is documented below.
- id String
- The ID of the list.
- region String
- image
Id String - name String
Supporting Types
GetAsConfigurationsConfiguration
- Instance
Configs List<GetAs Configurations Configuration Instance Config> - The list of information about instance configurations. The instance_config structure is documented below.
- Scaling
Configuration stringName - The AS configuration name.
- Status string
- The AS configuration status, the value can be Bound or Unbound.
- Instance
Configs []GetAs Configurations Configuration Instance Config - The list of information about instance configurations. The instance_config structure is documented below.
- Scaling
Configuration stringName - The AS configuration name.
- Status string
- The AS configuration status, the value can be Bound or Unbound.
- instance
Configs List<GetAs Configurations Configuration Instance Config> - The list of information about instance configurations. The instance_config structure is documented below.
- scaling
Configuration StringName - The AS configuration name.
- status String
- The AS configuration status, the value can be Bound or Unbound.
- instance
Configs GetAs Configurations Configuration Instance Config[] - The list of information about instance configurations. The instance_config structure is documented below.
- scaling
Configuration stringName - The AS configuration name.
- status string
- The AS configuration status, the value can be Bound or Unbound.
- instance_
configs Sequence[GetAs Configurations Configuration Instance Config] - The list of information about instance configurations. The instance_config structure is documented below.
- scaling_
configuration_ strname - The AS configuration name.
- status str
- The AS configuration status, the value can be Bound or Unbound.
- instance
Configs List<Property Map> - The list of information about instance configurations. The instance_config structure is documented below.
- scaling
Configuration StringName - The AS configuration name.
- status String
- The AS configuration status, the value can be Bound or Unbound.
GetAsConfigurationsConfigurationInstanceConfig
- Charging
Mode string - The bandwidth billing mode, the value can be traffic or bandwidth.
- Disks
List<Get
As Configurations Configuration Instance Config Disk> - The list of disk group information. The disk structure is documented below.
- Ecs
Group stringId - The ECS group ID.
- Flavor string
- The ECS flavor name.
- Flavor
Priority stringPolicy - The priority policy used when there are multiple flavors
and instances to be created using an AS configuration. The value can be
PICK_FIRST
andCOST_FIRST
. - Image string
- The ECS image ID.
- Instance
Id string - The ECS instance ID when using its specification as the template to create AS configurations.
- Key
Name string - The name of the SSH key pair used to log in to the instance.
- Metadata Dictionary<string, string>
- The key/value pairs to make available from within the instance.
- Personalities
List<Get
As Configurations Configuration Instance Config Personality> - The list of information about the injected file. The personality structure is documented below.
- Public
Ips List<GetAs Configurations Configuration Instance Config Public Ip> - The EIP list of the ECS instance. The public_ip structure is documented below.
- Security
Group List<string>Ids - An array of one or more security group IDs.
- User
Data string - The user data to provide when launching the instance.
- Charging
Mode string - The bandwidth billing mode, the value can be traffic or bandwidth.
- Disks
[]Get
As Configurations Configuration Instance Config Disk - The list of disk group information. The disk structure is documented below.
- Ecs
Group stringId - The ECS group ID.
- Flavor string
- The ECS flavor name.
- Flavor
Priority stringPolicy - The priority policy used when there are multiple flavors
and instances to be created using an AS configuration. The value can be
PICK_FIRST
andCOST_FIRST
. - Image string
- The ECS image ID.
- Instance
Id string - The ECS instance ID when using its specification as the template to create AS configurations.
- Key
Name string - The name of the SSH key pair used to log in to the instance.
- Metadata map[string]string
- The key/value pairs to make available from within the instance.
- Personalities
[]Get
As Configurations Configuration Instance Config Personality - The list of information about the injected file. The personality structure is documented below.
- Public
Ips []GetAs Configurations Configuration Instance Config Public Ip - The EIP list of the ECS instance. The public_ip structure is documented below.
- Security
Group []stringIds - An array of one or more security group IDs.
- User
Data string - The user data to provide when launching the instance.
- charging
Mode String - The bandwidth billing mode, the value can be traffic or bandwidth.
- disks
List<Get
As Configurations Configuration Instance Config Disk> - The list of disk group information. The disk structure is documented below.
- ecs
Group StringId - The ECS group ID.
- flavor String
- The ECS flavor name.
- flavor
Priority StringPolicy - The priority policy used when there are multiple flavors
and instances to be created using an AS configuration. The value can be
PICK_FIRST
andCOST_FIRST
. - image String
- The ECS image ID.
- instance
Id String - The ECS instance ID when using its specification as the template to create AS configurations.
- key
Name String - The name of the SSH key pair used to log in to the instance.
- metadata Map<String,String>
- The key/value pairs to make available from within the instance.
- personalities
List<Get
As Configurations Configuration Instance Config Personality> - The list of information about the injected file. The personality structure is documented below.
- public
Ips List<GetAs Configurations Configuration Instance Config Public Ip> - The EIP list of the ECS instance. The public_ip structure is documented below.
- security
Group List<String>Ids - An array of one or more security group IDs.
- user
Data String - The user data to provide when launching the instance.
- charging
Mode string - The bandwidth billing mode, the value can be traffic or bandwidth.
- disks
Get
As Configurations Configuration Instance Config Disk[] - The list of disk group information. The disk structure is documented below.
- ecs
Group stringId - The ECS group ID.
- flavor string
- The ECS flavor name.
- flavor
Priority stringPolicy - The priority policy used when there are multiple flavors
and instances to be created using an AS configuration. The value can be
PICK_FIRST
andCOST_FIRST
. - image string
- The ECS image ID.
- instance
Id string - The ECS instance ID when using its specification as the template to create AS configurations.
- key
Name string - The name of the SSH key pair used to log in to the instance.
- metadata {[key: string]: string}
- The key/value pairs to make available from within the instance.
- personalities
Get
As Configurations Configuration Instance Config Personality[] - The list of information about the injected file. The personality structure is documented below.
- public
Ips GetAs Configurations Configuration Instance Config Public Ip[] - The EIP list of the ECS instance. The public_ip structure is documented below.
- security
Group string[]Ids - An array of one or more security group IDs.
- user
Data string - The user data to provide when launching the instance.
- charging_
mode str - The bandwidth billing mode, the value can be traffic or bandwidth.
- disks
Sequence[Get
As Configurations Configuration Instance Config Disk] - The list of disk group information. The disk structure is documented below.
- ecs_
group_ strid - The ECS group ID.
- flavor str
- The ECS flavor name.
- flavor_
priority_ strpolicy - The priority policy used when there are multiple flavors
and instances to be created using an AS configuration. The value can be
PICK_FIRST
andCOST_FIRST
. - image str
- The ECS image ID.
- instance_
id str - The ECS instance ID when using its specification as the template to create AS configurations.
- key_
name str - The name of the SSH key pair used to log in to the instance.
- metadata Mapping[str, str]
- The key/value pairs to make available from within the instance.
- personalities
Sequence[Get
As Configurations Configuration Instance Config Personality] - The list of information about the injected file. The personality structure is documented below.
- public_
ips Sequence[GetAs Configurations Configuration Instance Config Public Ip] - The EIP list of the ECS instance. The public_ip structure is documented below.
- security_
group_ Sequence[str]ids - An array of one or more security group IDs.
- user_
data str - The user data to provide when launching the instance.
- charging
Mode String - The bandwidth billing mode, the value can be traffic or bandwidth.
- disks List<Property Map>
- The list of disk group information. The disk structure is documented below.
- ecs
Group StringId - The ECS group ID.
- flavor String
- The ECS flavor name.
- flavor
Priority StringPolicy - The priority policy used when there are multiple flavors
and instances to be created using an AS configuration. The value can be
PICK_FIRST
andCOST_FIRST
. - image String
- The ECS image ID.
- instance
Id String - The ECS instance ID when using its specification as the template to create AS configurations.
- key
Name String - The name of the SSH key pair used to log in to the instance.
- metadata Map<String>
- The key/value pairs to make available from within the instance.
- personalities List<Property Map>
- The list of information about the injected file. The personality structure is documented below.
- public
Ips List<Property Map> - The EIP list of the ECS instance. The public_ip structure is documented below.
- security
Group List<String>Ids - An array of one or more security group IDs.
- user
Data String - The user data to provide when launching the instance.
GetAsConfigurationsConfigurationInstanceConfigDisk
- Disk
Type string - The disk type.
- Kms
Id string - The encryption KMS ID of the DATA disk.
- Size double
- The bandwidth (Mbit/s).
- Volume
Type string - The volume type.
- Disk
Type string - The disk type.
- Kms
Id string - The encryption KMS ID of the DATA disk.
- Size float64
- The bandwidth (Mbit/s).
- Volume
Type string - The volume type.
- disk
Type String - The disk type.
- kms
Id String - The encryption KMS ID of the DATA disk.
- size Double
- The bandwidth (Mbit/s).
- volume
Type String - The volume type.
- disk
Type string - The disk type.
- kms
Id string - The encryption KMS ID of the DATA disk.
- size number
- The bandwidth (Mbit/s).
- volume
Type string - The volume type.
- disk_
type str - The disk type.
- kms_
id str - The encryption KMS ID of the DATA disk.
- size float
- The bandwidth (Mbit/s).
- volume_
type str - The volume type.
- disk
Type String - The disk type.
- kms
Id String - The encryption KMS ID of the DATA disk.
- size Number
- The bandwidth (Mbit/s).
- volume
Type String - The volume type.
GetAsConfigurationsConfigurationInstanceConfigPersonality
GetAsConfigurationsConfigurationInstanceConfigPublicIp
- Eips
List<Get
As Configurations Configuration Instance Config Public Ip Eip> - The list of EIP configuration that will be automatically assigned to the instance. The eip object structure is documented below.
- Eips
[]Get
As Configurations Configuration Instance Config Public Ip Eip - The list of EIP configuration that will be automatically assigned to the instance. The eip object structure is documented below.
- eips
List<Get
As Configurations Configuration Instance Config Public Ip Eip> - The list of EIP configuration that will be automatically assigned to the instance. The eip object structure is documented below.
- eips
Get
As Configurations Configuration Instance Config Public Ip Eip[] - The list of EIP configuration that will be automatically assigned to the instance. The eip object structure is documented below.
- eips
Sequence[Get
As Configurations Configuration Instance Config Public Ip Eip] - The list of EIP configuration that will be automatically assigned to the instance. The eip object structure is documented below.
- eips List<Property Map>
- The list of EIP configuration that will be automatically assigned to the instance. The eip object structure is documented below.
GetAsConfigurationsConfigurationInstanceConfigPublicIpEip
- Bandwidths
List<Get
As Configurations Configuration Instance Config Public Ip Eip Bandwidth> - The list of bandwidth information. The bandwidth object structure is documented below.
- Ip
Type string - The EIP type.
- Bandwidths
[]Get
As Configurations Configuration Instance Config Public Ip Eip Bandwidth - The list of bandwidth information. The bandwidth object structure is documented below.
- Ip
Type string - The EIP type.
- bandwidths
List<Get
As Configurations Configuration Instance Config Public Ip Eip Bandwidth> - The list of bandwidth information. The bandwidth object structure is documented below.
- ip
Type String - The EIP type.
- bandwidths
Get
As Configurations Configuration Instance Config Public Ip Eip Bandwidth[] - The list of bandwidth information. The bandwidth object structure is documented below.
- ip
Type string - The EIP type.
- bandwidths
Sequence[Get
As Configurations Configuration Instance Config Public Ip Eip Bandwidth] - The list of bandwidth information. The bandwidth object structure is documented below.
- ip_
type str - The EIP type.
- bandwidths List<Property Map>
- The list of bandwidth information. The bandwidth object structure is documented below.
- ip
Type String - The EIP type.
GetAsConfigurationsConfigurationInstanceConfigPublicIpEipBandwidth
- Charging
Mode string - The bandwidth billing mode, the value can be traffic or bandwidth.
- string
- The bandwidth sharing type.
- Size double
- The bandwidth (Mbit/s).
- Charging
Mode string - The bandwidth billing mode, the value can be traffic or bandwidth.
- string
- The bandwidth sharing type.
- Size float64
- The bandwidth (Mbit/s).
- charging
Mode String - The bandwidth billing mode, the value can be traffic or bandwidth.
- String
- The bandwidth sharing type.
- size Double
- The bandwidth (Mbit/s).
- charging
Mode string - The bandwidth billing mode, the value can be traffic or bandwidth.
- string
- The bandwidth sharing type.
- size number
- The bandwidth (Mbit/s).
- charging_
mode str - The bandwidth billing mode, the value can be traffic or bandwidth.
- str
- The bandwidth sharing type.
- size float
- The bandwidth (Mbit/s).
- charging
Mode String - The bandwidth billing mode, the value can be traffic or bandwidth.
- String
- The bandwidth sharing type.
- size Number
- The bandwidth (Mbit/s).
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud