1. Packages
  2. Avi Provider
  3. API Docs
  4. getAutoscalelaunchconfig
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

avi.getAutoscalelaunchconfig

Explore with Pulumi AI

<!–

Copyright 2021 VMware, Inc.
SPDX-License-Identifier: Mozilla Public License 2.0

–>

layout: “avi”

page_title: “AVI: avi.Autoscalelaunchconfig” sidebar_current: “docs-avi-datasource-autoscalelaunchconfig” description: |- Get information of Avi AutoScaleLaunchConfig.

avi.Autoscalelaunchconfig

This data source is used to to get avi.Autoscalelaunchconfig objects.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as avi from "@pulumi/avi";

const fooAutoscalelaunchconfig = avi.getAutoscalelaunchconfig({
    name: "foo",
    uuid: "autoscalelaunchconfig-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
});
Copy
import pulumi
import pulumi_avi as avi

foo_autoscalelaunchconfig = avi.get_autoscalelaunchconfig(name="foo",
    uuid="autoscalelaunchconfig-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
Copy
package main

import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/avi/v31/avi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := avi.LookupAutoscalelaunchconfig(ctx, &avi.LookupAutoscalelaunchconfigArgs{
			Name: pulumi.StringRef("foo"),
			Uuid: pulumi.StringRef("autoscalelaunchconfig-f9cf6b3e-a411-436f-95e2-2982ba2b217b"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Avi = Pulumi.Avi;

return await Deployment.RunAsync(() => 
{
    var fooAutoscalelaunchconfig = Avi.GetAutoscalelaunchconfig.Invoke(new()
    {
        Name = "foo",
        Uuid = "autoscalelaunchconfig-f9cf6b3e-a411-436f-95e2-2982ba2b217b",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.avi.AviFunctions;
import com.pulumi.avi.inputs.GetAutoscalelaunchconfigArgs;
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 fooAutoscalelaunchconfig = AviFunctions.getAutoscalelaunchconfig(GetAutoscalelaunchconfigArgs.builder()
            .name("foo")
            .uuid("autoscalelaunchconfig-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
            .build());

    }
}
Copy
variables:
  fooAutoscalelaunchconfig:
    fn::invoke:
      function: avi:getAutoscalelaunchconfig
      arguments:
        name: foo
        uuid: autoscalelaunchconfig-f9cf6b3e-a411-436f-95e2-2982ba2b217b
Copy

Using getAutoscalelaunchconfig

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 getAutoscalelaunchconfig(args: GetAutoscalelaunchconfigArgs, opts?: InvokeOptions): Promise<GetAutoscalelaunchconfigResult>
function getAutoscalelaunchconfigOutput(args: GetAutoscalelaunchconfigOutputArgs, opts?: InvokeOptions): Output<GetAutoscalelaunchconfigResult>
Copy
def get_autoscalelaunchconfig(id: Optional[str] = None,
                              name: Optional[str] = None,
                              tenant_ref: Optional[str] = None,
                              uuid: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetAutoscalelaunchconfigResult
def get_autoscalelaunchconfig_output(id: Optional[pulumi.Input[str]] = None,
                              name: Optional[pulumi.Input[str]] = None,
                              tenant_ref: Optional[pulumi.Input[str]] = None,
                              uuid: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetAutoscalelaunchconfigResult]
Copy
func LookupAutoscalelaunchconfig(ctx *Context, args *LookupAutoscalelaunchconfigArgs, opts ...InvokeOption) (*LookupAutoscalelaunchconfigResult, error)
func LookupAutoscalelaunchconfigOutput(ctx *Context, args *LookupAutoscalelaunchconfigOutputArgs, opts ...InvokeOption) LookupAutoscalelaunchconfigResultOutput
Copy

> Note: This function is named LookupAutoscalelaunchconfig in the Go SDK.

public static class GetAutoscalelaunchconfig 
{
    public static Task<GetAutoscalelaunchconfigResult> InvokeAsync(GetAutoscalelaunchconfigArgs args, InvokeOptions? opts = null)
    public static Output<GetAutoscalelaunchconfigResult> Invoke(GetAutoscalelaunchconfigInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAutoscalelaunchconfigResult> getAutoscalelaunchconfig(GetAutoscalelaunchconfigArgs args, InvokeOptions options)
public static Output<GetAutoscalelaunchconfigResult> getAutoscalelaunchconfig(GetAutoscalelaunchconfigArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: avi:index/getAutoscalelaunchconfig:getAutoscalelaunchconfig
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id string
Name string
Search AutoScaleLaunchConfig by name.
TenantRef string
It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Uuid string
Search AutoScaleLaunchConfig by uuid.
Id string
Name string
Search AutoScaleLaunchConfig by name.
TenantRef string
It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Uuid string
Search AutoScaleLaunchConfig by uuid.
id String
name String
Search AutoScaleLaunchConfig by name.
tenantRef String
It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid String
Search AutoScaleLaunchConfig by uuid.
id string
name string
Search AutoScaleLaunchConfig by name.
tenantRef string
It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid string
Search AutoScaleLaunchConfig by uuid.
id str
name str
Search AutoScaleLaunchConfig by name.
tenant_ref str
It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid str
Search AutoScaleLaunchConfig by uuid.
id String
name String
Search AutoScaleLaunchConfig by name.
tenantRef String
It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid String
Search AutoScaleLaunchConfig by uuid.

getAutoscalelaunchconfig Result

The following output properties are available:

ConfigpbAttributes List<GetAutoscalelaunchconfigConfigpbAttribute>
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Description string
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Id string
ImageId string
Unique id of the amazon machine image (ami) or openstack vm id. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Markers List<GetAutoscalelaunchconfigMarker>
List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Mesos List<GetAutoscalelaunchconfigMeso>
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Name string
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Openstacks List<GetAutoscalelaunchconfigOpenstack>
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
TenantRef string
It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
UseExternalAsg string
If set to true, serverautoscalepolicy will use the autoscaling group (external_autoscaling_groups) from pool to perform scale up and scale down. Pool should have single autoscaling group configured. Field introduced in 17.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Uuid string
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
ConfigpbAttributes []GetAutoscalelaunchconfigConfigpbAttribute
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Description string
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Id string
ImageId string
Unique id of the amazon machine image (ami) or openstack vm id. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Markers []GetAutoscalelaunchconfigMarker
List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Mesos []GetAutoscalelaunchconfigMeso
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Name string
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Openstacks []GetAutoscalelaunchconfigOpenstack
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
TenantRef string
It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
UseExternalAsg string
If set to true, serverautoscalepolicy will use the autoscaling group (external_autoscaling_groups) from pool to perform scale up and scale down. Pool should have single autoscaling group configured. Field introduced in 17.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Uuid string
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
configpbAttributes List<GetAutoscalelaunchconfigConfigpbAttribute>
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
description String
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
id String
imageId String
Unique id of the amazon machine image (ami) or openstack vm id. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
markers List<GetAutoscalelaunchconfigMarker>
List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
mesos List<GetAutoscalelaunchconfigMeso>
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
name String
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
openstacks List<GetAutoscalelaunchconfigOpenstack>
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
tenantRef String
It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
useExternalAsg String
If set to true, serverautoscalepolicy will use the autoscaling group (external_autoscaling_groups) from pool to perform scale up and scale down. Pool should have single autoscaling group configured. Field introduced in 17.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid String
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
configpbAttributes GetAutoscalelaunchconfigConfigpbAttribute[]
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
description string
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
id string
imageId string
Unique id of the amazon machine image (ami) or openstack vm id. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
markers GetAutoscalelaunchconfigMarker[]
List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
mesos GetAutoscalelaunchconfigMeso[]
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
name string
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
openstacks GetAutoscalelaunchconfigOpenstack[]
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
tenantRef string
It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
useExternalAsg string
If set to true, serverautoscalepolicy will use the autoscaling group (external_autoscaling_groups) from pool to perform scale up and scale down. Pool should have single autoscaling group configured. Field introduced in 17.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid string
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
configpb_attributes Sequence[GetAutoscalelaunchconfigConfigpbAttribute]
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
description str
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
id str
image_id str
Unique id of the amazon machine image (ami) or openstack vm id. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
markers Sequence[GetAutoscalelaunchconfigMarker]
List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
mesos Sequence[GetAutoscalelaunchconfigMeso]
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
name str
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
openstacks Sequence[GetAutoscalelaunchconfigOpenstack]
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
tenant_ref str
It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
use_external_asg str
If set to true, serverautoscalepolicy will use the autoscaling group (external_autoscaling_groups) from pool to perform scale up and scale down. Pool should have single autoscaling group configured. Field introduced in 17.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid str
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
configpbAttributes List<Property Map>
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
description String
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
id String
imageId String
Unique id of the amazon machine image (ami) or openstack vm id. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
markers List<Property Map>
List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
mesos List<Property Map>
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
name String
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
openstacks List<Property Map>
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
tenantRef String
It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
useExternalAsg String
If set to true, serverautoscalepolicy will use the autoscaling group (external_autoscaling_groups) from pool to perform scale up and scale down. Pool should have single autoscaling group configured. Field introduced in 17.2.3. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
uuid String
Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

Supporting Types

GetAutoscalelaunchconfigConfigpbAttribute

Version This property is required. string
Version This property is required. string
version This property is required. String
version This property is required. string
version This property is required. str
version This property is required. String

GetAutoscalelaunchconfigMarker

Key This property is required. string
Values This property is required. List<string>
Key This property is required. string
Values This property is required. []string
key This property is required. String
values This property is required. List<String>
key This property is required. string
values This property is required. string[]
key This property is required. str
values This property is required. Sequence[str]
key This property is required. String
values This property is required. List<String>

GetAutoscalelaunchconfigMeso

Force This property is required. string
Force This property is required. string
force This property is required. String
force This property is required. string
force This property is required. str
force This property is required. String

GetAutoscalelaunchconfigOpenstack

HeatScaleDownUrl This property is required. string
HeatScaleUpUrl This property is required. string
HeatScaleDownUrl This property is required. string
HeatScaleUpUrl This property is required. string
heatScaleDownUrl This property is required. String
heatScaleUpUrl This property is required. String
heatScaleDownUrl This property is required. string
heatScaleUpUrl This property is required. string
heat_scale_down_url This property is required. str
heat_scale_up_url This property is required. str
heatScaleDownUrl This property is required. String
heatScaleUpUrl This property is required. String

Package Details

Repository
avi vmware/terraform-provider-avi
License
Notes
This Pulumi package is based on the avi Terraform Provider.