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

avi.getTestsedatastorelevel2

Explore with Pulumi AI

<!–

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

–>

layout: “avi”

page_title: “AVI: avi.Testsedatastorelevel2” sidebar_current: “docs-avi-datasource-testsedatastorelevel2” description: |- Get information of Avi TestSeDatastoreLevel2.

avi.Testsedatastorelevel2

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

Example Usage

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

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

foo_testsedatastorelevel2 = avi.get_testsedatastorelevel2(name="foo",
    uuid="testsedatastorelevel2-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.LookupTestsedatastorelevel2(ctx, &avi.LookupTestsedatastorelevel2Args{
			Name: pulumi.StringRef("foo"),
			Uuid: pulumi.StringRef("testsedatastorelevel2-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 fooTestsedatastorelevel2 = Avi.GetTestsedatastorelevel2.Invoke(new()
    {
        Name = "foo",
        Uuid = "testsedatastorelevel2-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.GetTestsedatastorelevel2Args;
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 fooTestsedatastorelevel2 = AviFunctions.getTestsedatastorelevel2(GetTestsedatastorelevel2Args.builder()
            .name("foo")
            .uuid("testsedatastorelevel2-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
            .build());

    }
}
Copy
variables:
  fooTestsedatastorelevel2:
    fn::invoke:
      function: avi:getTestsedatastorelevel2
      arguments:
        name: foo
        uuid: testsedatastorelevel2-f9cf6b3e-a411-436f-95e2-2982ba2b217b
Copy

Using getTestsedatastorelevel2

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 getTestsedatastorelevel2(args: GetTestsedatastorelevel2Args, opts?: InvokeOptions): Promise<GetTestsedatastorelevel2Result>
function getTestsedatastorelevel2Output(args: GetTestsedatastorelevel2OutputArgs, opts?: InvokeOptions): Output<GetTestsedatastorelevel2Result>
Copy
def get_testsedatastorelevel2(id: Optional[str] = None,
                              name: Optional[str] = None,
                              tenant_ref: Optional[str] = None,
                              uuid: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetTestsedatastorelevel2Result
def get_testsedatastorelevel2_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[GetTestsedatastorelevel2Result]
Copy
func LookupTestsedatastorelevel2(ctx *Context, args *LookupTestsedatastorelevel2Args, opts ...InvokeOption) (*LookupTestsedatastorelevel2Result, error)
func LookupTestsedatastorelevel2Output(ctx *Context, args *LookupTestsedatastorelevel2OutputArgs, opts ...InvokeOption) LookupTestsedatastorelevel2ResultOutput
Copy

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

public static class GetTestsedatastorelevel2 
{
    public static Task<GetTestsedatastorelevel2Result> InvokeAsync(GetTestsedatastorelevel2Args args, InvokeOptions? opts = null)
    public static Output<GetTestsedatastorelevel2Result> Invoke(GetTestsedatastorelevel2InvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetTestsedatastorelevel2Result> getTestsedatastorelevel2(GetTestsedatastorelevel2Args args, InvokeOptions options)
public static Output<GetTestsedatastorelevel2Result> getTestsedatastorelevel2(GetTestsedatastorelevel2Args args, InvokeOptions options)
Copy
fn::invoke:
  function: avi:index/getTestsedatastorelevel2:getTestsedatastorelevel2
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

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

getTestsedatastorelevel2 Result

The following output properties are available:

ConfigpbAttributes List<GetTestsedatastorelevel2ConfigpbAttribute>
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Id string
Name string
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. Field introduced in 18.2.6. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
TestSeDatastoreLevel3Refs List<string>
It is a reference to an object of type testsedatastorelevel3. Field introduced in 18.2.6. 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 []GetTestsedatastorelevel2ConfigpbAttribute
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Id string
Name string
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. Field introduced in 18.2.6. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
TestSeDatastoreLevel3Refs []string
It is a reference to an object of type testsedatastorelevel3. Field introduced in 18.2.6. 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<GetTestsedatastorelevel2ConfigpbAttribute>
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
id String
name String
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. Field introduced in 18.2.6. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
testSeDatastoreLevel3Refs List<String>
It is a reference to an object of type testsedatastorelevel3. Field introduced in 18.2.6. 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 GetTestsedatastorelevel2ConfigpbAttribute[]
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
id string
name string
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. Field introduced in 18.2.6. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
testSeDatastoreLevel3Refs string[]
It is a reference to an object of type testsedatastorelevel3. Field introduced in 18.2.6. 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[GetTestsedatastorelevel2ConfigpbAttribute]
Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
id str
name str
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. Field introduced in 18.2.6. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
test_se_datastore_level3_refs Sequence[str]
It is a reference to an object of type testsedatastorelevel3. Field introduced in 18.2.6. 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.
id String
name String
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. Field introduced in 18.2.6. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
testSeDatastoreLevel3Refs List<String>
It is a reference to an object of type testsedatastorelevel3. Field introduced in 18.2.6. 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

GetTestsedatastorelevel2ConfigpbAttribute

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

Package Details

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