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

avi.Testsedatastorelevel2

Explore with Pulumi AI

avi logo
avi 31.1.1 published on Monday, Apr 14, 2025 by vmware

    <!–

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

    –>

    layout: “avi”

    page_title: “Avi: avi.Testsedatastorelevel2” sidebar_current: “docs-avi-resource-testsedatastorelevel2” description: |- Creates and manages Avi TestSeDatastoreLevel2.

    avi.Testsedatastorelevel2

    The TestSeDatastoreLevel2 resource allows the creation and management of Avi TestSeDatastoreLevel2

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as avi from "@pulumi/avi";
    
    const foo = new avi.Testsedatastorelevel2("foo", {tenantRef: "/api/tenant/?name=admin"});
    
    import pulumi
    import pulumi_avi as avi
    
    foo = avi.Testsedatastorelevel2("foo", tenant_ref="/api/tenant/?name=admin")
    
    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.NewTestsedatastorelevel2(ctx, "foo", &avi.Testsedatastorelevel2Args{
    			TenantRef: pulumi.String("/api/tenant/?name=admin"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Avi = Pulumi.Avi;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = new Avi.Testsedatastorelevel2("foo", new()
        {
            TenantRef = "/api/tenant/?name=admin",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.avi.Testsedatastorelevel2;
    import com.pulumi.avi.Testsedatastorelevel2Args;
    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 foo = new Testsedatastorelevel2("foo", Testsedatastorelevel2Args.builder()
                .tenantRef("/api/tenant/?name=admin")
                .build());
    
        }
    }
    
    resources:
      foo:
        type: avi:Testsedatastorelevel2
        properties:
          tenantRef: /api/tenant/?name=admin
    

    Create Testsedatastorelevel2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Testsedatastorelevel2(name: string, args?: Testsedatastorelevel2Args, opts?: CustomResourceOptions);
    @overload
    def Testsedatastorelevel2(resource_name: str,
                              args: Optional[Testsedatastorelevel2Args] = None,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Testsedatastorelevel2(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              configpb_attributes: Optional[Sequence[Testsedatastorelevel2ConfigpbAttributeArgs]] = None,
                              name: Optional[str] = None,
                              tenant_ref: Optional[str] = None,
                              test_se_datastore_level3_refs: Optional[Sequence[str]] = None,
                              testsedatastorelevel2_id: Optional[str] = None,
                              uuid: Optional[str] = None)
    func NewTestsedatastorelevel2(ctx *Context, name string, args *Testsedatastorelevel2Args, opts ...ResourceOption) (*Testsedatastorelevel2, error)
    public Testsedatastorelevel2(string name, Testsedatastorelevel2Args? args = null, CustomResourceOptions? opts = null)
    public Testsedatastorelevel2(String name, Testsedatastorelevel2Args args)
    public Testsedatastorelevel2(String name, Testsedatastorelevel2Args args, CustomResourceOptions options)
    
    type: avi:Testsedatastorelevel2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

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

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var testsedatastorelevel2Resource = new Avi.Testsedatastorelevel2("testsedatastorelevel2Resource", new()
    {
        ConfigpbAttributes = new[]
        {
            new Avi.Inputs.Testsedatastorelevel2ConfigpbAttributeArgs
            {
                Version = "string",
            },
        },
        Name = "string",
        TenantRef = "string",
        TestSeDatastoreLevel3Refs = new[]
        {
            "string",
        },
        Testsedatastorelevel2Id = "string",
        Uuid = "string",
    });
    
    example, err := avi.NewTestsedatastorelevel2(ctx, "testsedatastorelevel2Resource", &avi.Testsedatastorelevel2Args{
    	ConfigpbAttributes: avi.Testsedatastorelevel2ConfigpbAttributeArray{
    		&avi.Testsedatastorelevel2ConfigpbAttributeArgs{
    			Version: pulumi.String("string"),
    		},
    	},
    	Name:      pulumi.String("string"),
    	TenantRef: pulumi.String("string"),
    	TestSeDatastoreLevel3Refs: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Testsedatastorelevel2Id: pulumi.String("string"),
    	Uuid:                    pulumi.String("string"),
    })
    
    var testsedatastorelevel2Resource = new Testsedatastorelevel2("testsedatastorelevel2Resource", Testsedatastorelevel2Args.builder()
        .configpbAttributes(Testsedatastorelevel2ConfigpbAttributeArgs.builder()
            .version("string")
            .build())
        .name("string")
        .tenantRef("string")
        .testSeDatastoreLevel3Refs("string")
        .testsedatastorelevel2Id("string")
        .uuid("string")
        .build());
    
    testsedatastorelevel2_resource = avi.Testsedatastorelevel2("testsedatastorelevel2Resource",
        configpb_attributes=[{
            "version": "string",
        }],
        name="string",
        tenant_ref="string",
        test_se_datastore_level3_refs=["string"],
        testsedatastorelevel2_id="string",
        uuid="string")
    
    const testsedatastorelevel2Resource = new avi.Testsedatastorelevel2("testsedatastorelevel2Resource", {
        configpbAttributes: [{
            version: "string",
        }],
        name: "string",
        tenantRef: "string",
        testSeDatastoreLevel3Refs: ["string"],
        testsedatastorelevel2Id: "string",
        uuid: "string",
    });
    
    type: avi:Testsedatastorelevel2
    properties:
        configpbAttributes:
            - version: string
        name: string
        tenantRef: string
        testSeDatastoreLevel3Refs:
            - string
        testsedatastorelevel2Id: string
        uuid: string
    

    Testsedatastorelevel2 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Testsedatastorelevel2 resource accepts the following input properties:

    ConfigpbAttributes List<Testsedatastorelevel2ConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. 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.
    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.
    Testsedatastorelevel2Id string
    Uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ConfigpbAttributes []Testsedatastorelevel2ConfigpbAttributeArgs
    Protobuf versioning for config pbs. Field introduced in 21.1.1. 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.
    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.
    Testsedatastorelevel2Id string
    Uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes List<Testsedatastorelevel2ConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. 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.
    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.
    testsedatastorelevel2Id String
    uuid String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes Testsedatastorelevel2ConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. 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.
    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.
    testsedatastorelevel2Id string
    uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpb_attributes Sequence[Testsedatastorelevel2ConfigpbAttributeArgs]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. 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.
    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.
    testsedatastorelevel2_id str
    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.
    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.
    testsedatastorelevel2Id String
    uuid String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing Testsedatastorelevel2 Resource

    Get an existing Testsedatastorelevel2 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?: Testsedatastorelevel2State, opts?: CustomResourceOptions): Testsedatastorelevel2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            configpb_attributes: Optional[Sequence[Testsedatastorelevel2ConfigpbAttributeArgs]] = None,
            name: Optional[str] = None,
            tenant_ref: Optional[str] = None,
            test_se_datastore_level3_refs: Optional[Sequence[str]] = None,
            testsedatastorelevel2_id: Optional[str] = None,
            uuid: Optional[str] = None) -> Testsedatastorelevel2
    func GetTestsedatastorelevel2(ctx *Context, name string, id IDInput, state *Testsedatastorelevel2State, opts ...ResourceOption) (*Testsedatastorelevel2, error)
    public static Testsedatastorelevel2 Get(string name, Input<string> id, Testsedatastorelevel2State? state, CustomResourceOptions? opts = null)
    public static Testsedatastorelevel2 get(String name, Output<String> id, Testsedatastorelevel2State state, CustomResourceOptions options)
    resources:  _:    type: avi:Testsedatastorelevel2    get:      id: ${id}
    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:
    ConfigpbAttributes List<Testsedatastorelevel2ConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. 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.
    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.
    Testsedatastorelevel2Id string
    Uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    ConfigpbAttributes []Testsedatastorelevel2ConfigpbAttributeArgs
    Protobuf versioning for config pbs. Field introduced in 21.1.1. 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.
    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.
    Testsedatastorelevel2Id string
    Uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes List<Testsedatastorelevel2ConfigpbAttribute>
    Protobuf versioning for config pbs. Field introduced in 21.1.1. 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.
    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.
    testsedatastorelevel2Id String
    uuid String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpbAttributes Testsedatastorelevel2ConfigpbAttribute[]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. 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.
    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.
    testsedatastorelevel2Id string
    uuid string
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
    configpb_attributes Sequence[Testsedatastorelevel2ConfigpbAttributeArgs]
    Protobuf versioning for config pbs. Field introduced in 21.1.1. 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.
    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.
    testsedatastorelevel2_id str
    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.
    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.
    testsedatastorelevel2Id String
    uuid String
    Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.

    Supporting Types

    Testsedatastorelevel2ConfigpbAttribute, Testsedatastorelevel2ConfigpbAttributeArgs

    Version string
    Version string
    version String
    version string
    version String

    Package Details

    Repository
    avi vmware/terraform-provider-avi
    License
    Notes
    This Pulumi package is based on the avi Terraform Provider.
    avi logo
    avi 31.1.1 published on Monday, Apr 14, 2025 by vmware