avi.Tenantsystemconfiguration
Explore with Pulumi AI
<!–
Copyright 2021 VMware, Inc.
SPDX-License-Identifier: Mozilla Public License 2.0
–>
layout: “avi”
page_title: “Avi: avi.Tenantsystemconfiguration” sidebar_current: “docs-avi-resource-tenantsystemconfiguration” description: |- Creates and manages Avi TenantSystemConfiguration.
avi.Tenantsystemconfiguration
The TenantSystemConfiguration resource allows the creation and management of Avi TenantSystemConfiguration
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as avi from "@pulumi/avi";
const foo = new avi.Tenantsystemconfiguration("foo", {tenantRef: "/api/tenant/?name=admin"});
import pulumi
import pulumi_avi as avi
foo = avi.Tenantsystemconfiguration("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.NewTenantsystemconfiguration(ctx, "foo", &avi.TenantsystemconfigurationArgs{
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.Tenantsystemconfiguration("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.Tenantsystemconfiguration;
import com.pulumi.avi.TenantsystemconfigurationArgs;
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 Tenantsystemconfiguration("foo", TenantsystemconfigurationArgs.builder()
.tenantRef("/api/tenant/?name=admin")
.build());
}
}
resources:
foo:
type: avi:Tenantsystemconfiguration
properties:
tenantRef: /api/tenant/?name=admin
Create Tenantsystemconfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Tenantsystemconfiguration(name: string, args?: TenantsystemconfigurationArgs, opts?: CustomResourceOptions);
@overload
def Tenantsystemconfiguration(resource_name: str,
args: Optional[TenantsystemconfigurationArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Tenantsystemconfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
configpb_attributes: Optional[Sequence[TenantsystemconfigurationConfigpbAttributeArgs]] = None,
dns_virtualservice_refs: Optional[Sequence[str]] = None,
name: Optional[str] = None,
tenant_ref: Optional[str] = None,
tenantsystemconfiguration_id: Optional[str] = None,
uuid: Optional[str] = None)
func NewTenantsystemconfiguration(ctx *Context, name string, args *TenantsystemconfigurationArgs, opts ...ResourceOption) (*Tenantsystemconfiguration, error)
public Tenantsystemconfiguration(string name, TenantsystemconfigurationArgs? args = null, CustomResourceOptions? opts = null)
public Tenantsystemconfiguration(String name, TenantsystemconfigurationArgs args)
public Tenantsystemconfiguration(String name, TenantsystemconfigurationArgs args, CustomResourceOptions options)
type: avi:Tenantsystemconfiguration
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 TenantsystemconfigurationArgs
- 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 TenantsystemconfigurationArgs
- 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 TenantsystemconfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TenantsystemconfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TenantsystemconfigurationArgs
- 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 tenantsystemconfigurationResource = new Avi.Tenantsystemconfiguration("tenantsystemconfigurationResource", new()
{
ConfigpbAttributes = new[]
{
new Avi.Inputs.TenantsystemconfigurationConfigpbAttributeArgs
{
Version = "string",
},
},
DnsVirtualserviceRefs = new[]
{
"string",
},
Name = "string",
TenantRef = "string",
TenantsystemconfigurationId = "string",
Uuid = "string",
});
example, err := avi.NewTenantsystemconfiguration(ctx, "tenantsystemconfigurationResource", &avi.TenantsystemconfigurationArgs{
ConfigpbAttributes: avi.TenantsystemconfigurationConfigpbAttributeArray{
&avi.TenantsystemconfigurationConfigpbAttributeArgs{
Version: pulumi.String("string"),
},
},
DnsVirtualserviceRefs: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
TenantRef: pulumi.String("string"),
TenantsystemconfigurationId: pulumi.String("string"),
Uuid: pulumi.String("string"),
})
var tenantsystemconfigurationResource = new Tenantsystemconfiguration("tenantsystemconfigurationResource", TenantsystemconfigurationArgs.builder()
.configpbAttributes(TenantsystemconfigurationConfigpbAttributeArgs.builder()
.version("string")
.build())
.dnsVirtualserviceRefs("string")
.name("string")
.tenantRef("string")
.tenantsystemconfigurationId("string")
.uuid("string")
.build());
tenantsystemconfiguration_resource = avi.Tenantsystemconfiguration("tenantsystemconfigurationResource",
configpb_attributes=[{
"version": "string",
}],
dns_virtualservice_refs=["string"],
name="string",
tenant_ref="string",
tenantsystemconfiguration_id="string",
uuid="string")
const tenantsystemconfigurationResource = new avi.Tenantsystemconfiguration("tenantsystemconfigurationResource", {
configpbAttributes: [{
version: "string",
}],
dnsVirtualserviceRefs: ["string"],
name: "string",
tenantRef: "string",
tenantsystemconfigurationId: "string",
uuid: "string",
});
type: avi:Tenantsystemconfiguration
properties:
configpbAttributes:
- version: string
dnsVirtualserviceRefs:
- string
name: string
tenantRef: string
tenantsystemconfigurationId: string
uuid: string
Tenantsystemconfiguration 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 Tenantsystemconfiguration resource accepts the following input properties:
- Configpb
Attributes List<TenantsystemconfigurationConfigpb Attribute> - Protobuf versioning for config pbs. Field introduced in 30.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Dns
Virtualservice List<string>Refs - Dns virtual services hosting fqdn records for applications configured within this tenant. It is a reference to an object of type virtualservice. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Name string
- Name of the tenant system configuration object. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenant
Ref string - Unique identifier of the tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenantsystemconfiguration
Id string - Uuid string
- Tenant system configuration uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Configpb
Attributes []TenantsystemconfigurationConfigpb Attribute Args - Protobuf versioning for config pbs. Field introduced in 30.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Dns
Virtualservice []stringRefs - Dns virtual services hosting fqdn records for applications configured within this tenant. It is a reference to an object of type virtualservice. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Name string
- Name of the tenant system configuration object. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenant
Ref string - Unique identifier of the tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenantsystemconfiguration
Id string - Uuid string
- Tenant system configuration uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb
Attributes List<TenantsystemconfigurationConfigpb Attribute> - Protobuf versioning for config pbs. Field introduced in 30.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- dns
Virtualservice List<String>Refs - Dns virtual services hosting fqdn records for applications configured within this tenant. It is a reference to an object of type virtualservice. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- name String
- Name of the tenant system configuration object. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Ref String - Unique identifier of the tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenantsystemconfiguration
Id String - uuid String
- Tenant system configuration uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb
Attributes TenantsystemconfigurationConfigpb Attribute[] - Protobuf versioning for config pbs. Field introduced in 30.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- dns
Virtualservice string[]Refs - Dns virtual services hosting fqdn records for applications configured within this tenant. It is a reference to an object of type virtualservice. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- name string
- Name of the tenant system configuration object. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Ref string - Unique identifier of the tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenantsystemconfiguration
Id string - uuid string
- Tenant system configuration uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb_
attributes Sequence[TenantsystemconfigurationConfigpb Attribute Args] - Protobuf versioning for config pbs. Field introduced in 30.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- dns_
virtualservice_ Sequence[str]refs - Dns virtual services hosting fqdn records for applications configured within this tenant. It is a reference to an object of type virtualservice. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- name str
- Name of the tenant system configuration object. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant_
ref str - Unique identifier of the tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenantsystemconfiguration_
id str - uuid str
- Tenant system configuration uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb
Attributes List<Property Map> - Protobuf versioning for config pbs. Field introduced in 30.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- dns
Virtualservice List<String>Refs - Dns virtual services hosting fqdn records for applications configured within this tenant. It is a reference to an object of type virtualservice. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- name String
- Name of the tenant system configuration object. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Ref String - Unique identifier of the tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenantsystemconfiguration
Id String - uuid String
- Tenant system configuration uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
Outputs
All input properties are implicitly available as output properties. Additionally, the Tenantsystemconfiguration 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 Tenantsystemconfiguration Resource
Get an existing Tenantsystemconfiguration 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?: TenantsystemconfigurationState, opts?: CustomResourceOptions): Tenantsystemconfiguration
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
configpb_attributes: Optional[Sequence[TenantsystemconfigurationConfigpbAttributeArgs]] = None,
dns_virtualservice_refs: Optional[Sequence[str]] = None,
name: Optional[str] = None,
tenant_ref: Optional[str] = None,
tenantsystemconfiguration_id: Optional[str] = None,
uuid: Optional[str] = None) -> Tenantsystemconfiguration
func GetTenantsystemconfiguration(ctx *Context, name string, id IDInput, state *TenantsystemconfigurationState, opts ...ResourceOption) (*Tenantsystemconfiguration, error)
public static Tenantsystemconfiguration Get(string name, Input<string> id, TenantsystemconfigurationState? state, CustomResourceOptions? opts = null)
public static Tenantsystemconfiguration get(String name, Output<String> id, TenantsystemconfigurationState state, CustomResourceOptions options)
resources: _: type: avi:Tenantsystemconfiguration 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.
- Configpb
Attributes List<TenantsystemconfigurationConfigpb Attribute> - Protobuf versioning for config pbs. Field introduced in 30.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Dns
Virtualservice List<string>Refs - Dns virtual services hosting fqdn records for applications configured within this tenant. It is a reference to an object of type virtualservice. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Name string
- Name of the tenant system configuration object. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenant
Ref string - Unique identifier of the tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenantsystemconfiguration
Id string - Uuid string
- Tenant system configuration uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Configpb
Attributes []TenantsystemconfigurationConfigpb Attribute Args - Protobuf versioning for config pbs. Field introduced in 30.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Dns
Virtualservice []stringRefs - Dns virtual services hosting fqdn records for applications configured within this tenant. It is a reference to an object of type virtualservice. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Name string
- Name of the tenant system configuration object. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenant
Ref string - Unique identifier of the tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- Tenantsystemconfiguration
Id string - Uuid string
- Tenant system configuration uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb
Attributes List<TenantsystemconfigurationConfigpb Attribute> - Protobuf versioning for config pbs. Field introduced in 30.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- dns
Virtualservice List<String>Refs - Dns virtual services hosting fqdn records for applications configured within this tenant. It is a reference to an object of type virtualservice. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- name String
- Name of the tenant system configuration object. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Ref String - Unique identifier of the tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenantsystemconfiguration
Id String - uuid String
- Tenant system configuration uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb
Attributes TenantsystemconfigurationConfigpb Attribute[] - Protobuf versioning for config pbs. Field introduced in 30.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- dns
Virtualservice string[]Refs - Dns virtual services hosting fqdn records for applications configured within this tenant. It is a reference to an object of type virtualservice. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- name string
- Name of the tenant system configuration object. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Ref string - Unique identifier of the tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenantsystemconfiguration
Id string - uuid string
- Tenant system configuration uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb_
attributes Sequence[TenantsystemconfigurationConfigpb Attribute Args] - Protobuf versioning for config pbs. Field introduced in 30.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- dns_
virtualservice_ Sequence[str]refs - Dns virtual services hosting fqdn records for applications configured within this tenant. It is a reference to an object of type virtualservice. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- name str
- Name of the tenant system configuration object. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant_
ref str - Unique identifier of the tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenantsystemconfiguration_
id str - uuid str
- Tenant system configuration uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- configpb
Attributes List<Property Map> - Protobuf versioning for config pbs. Field introduced in 30.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- dns
Virtualservice List<String>Refs - Dns virtual services hosting fqdn records for applications configured within this tenant. It is a reference to an object of type virtualservice. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- name String
- Name of the tenant system configuration object. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenant
Ref String - Unique identifier of the tenant that this object belongs to. It is a reference to an object of type tenant. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
- tenantsystemconfiguration
Id String - uuid String
- Tenant system configuration uuid. Field introduced in 30.1.1. Allowed with any value in enterprise, enterprise with cloud services edition.
Supporting Types
TenantsystemconfigurationConfigpbAttribute, TenantsystemconfigurationConfigpbAttributeArgs
- Version string
- Version string
- version String
- version string
- version str
- version String
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
avi
Terraform Provider.