avi.Clusterclouddetails
Explore with Pulumi AI
<!–
Copyright 2021 VMware, Inc.
SPDX-License-Identifier: Mozilla Public License 2.0
–>
layout: “avi”
page_title: “Avi: avi.Clusterclouddetails” sidebar_current: “docs-avi-resource-clusterclouddetails” description: |- Creates and manages Avi ClusterCloudDetails.
avi.Clusterclouddetails
The ClusterCloudDetails resource allows the creation and management of Avi ClusterCloudDetails
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as avi from "@pulumi/avi";
const foo = new avi.Clusterclouddetails("foo", {tenantRef: "/api/tenant/?name=admin"});
import pulumi
import pulumi_avi as avi
foo = avi.Clusterclouddetails("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.NewClusterclouddetails(ctx, "foo", &avi.ClusterclouddetailsArgs{
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.Clusterclouddetails("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.Clusterclouddetails;
import com.pulumi.avi.ClusterclouddetailsArgs;
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 Clusterclouddetails("foo", ClusterclouddetailsArgs.builder()
.tenantRef("/api/tenant/?name=admin")
.build());
}
}
resources:
foo:
type: avi:Clusterclouddetails
properties:
tenantRef: /api/tenant/?name=admin
Create Clusterclouddetails Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Clusterclouddetails(name: string, args?: ClusterclouddetailsArgs, opts?: CustomResourceOptions);
@overload
def Clusterclouddetails(resource_name: str,
args: Optional[ClusterclouddetailsArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Clusterclouddetails(resource_name: str,
opts: Optional[ResourceOptions] = None,
azure_infos: Optional[Sequence[ClusterclouddetailsAzureInfoArgs]] = None,
clusterclouddetails_id: Optional[str] = None,
configpb_attributes: Optional[Sequence[ClusterclouddetailsConfigpbAttributeArgs]] = None,
name: Optional[str] = None,
tenant_ref: Optional[str] = None,
uuid: Optional[str] = None)
func NewClusterclouddetails(ctx *Context, name string, args *ClusterclouddetailsArgs, opts ...ResourceOption) (*Clusterclouddetails, error)
public Clusterclouddetails(string name, ClusterclouddetailsArgs? args = null, CustomResourceOptions? opts = null)
public Clusterclouddetails(String name, ClusterclouddetailsArgs args)
public Clusterclouddetails(String name, ClusterclouddetailsArgs args, CustomResourceOptions options)
type: avi:Clusterclouddetails
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 ClusterclouddetailsArgs
- 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 ClusterclouddetailsArgs
- 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 ClusterclouddetailsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterclouddetailsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterclouddetailsArgs
- 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 clusterclouddetailsResource = new Avi.Clusterclouddetails("clusterclouddetailsResource", new()
{
AzureInfos = new[]
{
new Avi.Inputs.ClusterclouddetailsAzureInfoArgs
{
CloudCredentialRef = "string",
SubscriptionId = "string",
},
},
ClusterclouddetailsId = "string",
ConfigpbAttributes = new[]
{
new Avi.Inputs.ClusterclouddetailsConfigpbAttributeArgs
{
Version = "string",
},
},
Name = "string",
TenantRef = "string",
Uuid = "string",
});
example, err := avi.NewClusterclouddetails(ctx, "clusterclouddetailsResource", &avi.ClusterclouddetailsArgs{
AzureInfos: avi.ClusterclouddetailsAzureInfoArray{
&avi.ClusterclouddetailsAzureInfoArgs{
CloudCredentialRef: pulumi.String("string"),
SubscriptionId: pulumi.String("string"),
},
},
ClusterclouddetailsId: pulumi.String("string"),
ConfigpbAttributes: avi.ClusterclouddetailsConfigpbAttributeArray{
&avi.ClusterclouddetailsConfigpbAttributeArgs{
Version: pulumi.String("string"),
},
},
Name: pulumi.String("string"),
TenantRef: pulumi.String("string"),
Uuid: pulumi.String("string"),
})
var clusterclouddetailsResource = new Clusterclouddetails("clusterclouddetailsResource", ClusterclouddetailsArgs.builder()
.azureInfos(ClusterclouddetailsAzureInfoArgs.builder()
.cloudCredentialRef("string")
.subscriptionId("string")
.build())
.clusterclouddetailsId("string")
.configpbAttributes(ClusterclouddetailsConfigpbAttributeArgs.builder()
.version("string")
.build())
.name("string")
.tenantRef("string")
.uuid("string")
.build());
clusterclouddetails_resource = avi.Clusterclouddetails("clusterclouddetailsResource",
azure_infos=[{
"cloud_credential_ref": "string",
"subscription_id": "string",
}],
clusterclouddetails_id="string",
configpb_attributes=[{
"version": "string",
}],
name="string",
tenant_ref="string",
uuid="string")
const clusterclouddetailsResource = new avi.Clusterclouddetails("clusterclouddetailsResource", {
azureInfos: [{
cloudCredentialRef: "string",
subscriptionId: "string",
}],
clusterclouddetailsId: "string",
configpbAttributes: [{
version: "string",
}],
name: "string",
tenantRef: "string",
uuid: "string",
});
type: avi:Clusterclouddetails
properties:
azureInfos:
- cloudCredentialRef: string
subscriptionId: string
clusterclouddetailsId: string
configpbAttributes:
- version: string
name: string
tenantRef: string
uuid: string
Clusterclouddetails 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 Clusterclouddetails resource accepts the following input properties:
- Azure
Infos List<ClusterclouddetailsAzure Info> - Azure info to configure cluster_vip on the controller. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Clusterclouddetails
Id string - Configpb
Attributes List<ClusterclouddetailsConfigpb Attribute> - 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
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tenant
Ref string - It is a reference to an object of type tenant. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Azure
Infos []ClusterclouddetailsAzure Info Args - Azure info to configure cluster_vip on the controller. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Clusterclouddetails
Id string - Configpb
Attributes []ClusterclouddetailsConfigpb Attribute Args - 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
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tenant
Ref string - It is a reference to an object of type tenant. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- azure
Infos List<ClusterclouddetailsAzure Info> - Azure info to configure cluster_vip on the controller. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- clusterclouddetails
Id String - configpb
Attributes List<ClusterclouddetailsConfigpb Attribute> - 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
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref String - It is a reference to an object of type tenant. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- azure
Infos ClusterclouddetailsAzure Info[] - Azure info to configure cluster_vip on the controller. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- clusterclouddetails
Id string - configpb
Attributes ClusterclouddetailsConfigpb Attribute[] - 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
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref string - It is a reference to an object of type tenant. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid string
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- azure_
infos Sequence[ClusterclouddetailsAzure Info Args] - Azure info to configure cluster_vip on the controller. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- clusterclouddetails_
id str - configpb_
attributes Sequence[ClusterclouddetailsConfigpb Attribute Args] - 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
- Field introduced in 17.2.5. 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 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid str
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- azure
Infos List<Property Map> - Azure info to configure cluster_vip on the controller. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- clusterclouddetails
Id String - configpb
Attributes 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
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref String - It is a reference to an object of type tenant. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Field introduced in 17.2.5. 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 Clusterclouddetails 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 Clusterclouddetails Resource
Get an existing Clusterclouddetails 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?: ClusterclouddetailsState, opts?: CustomResourceOptions): Clusterclouddetails
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
azure_infos: Optional[Sequence[ClusterclouddetailsAzureInfoArgs]] = None,
clusterclouddetails_id: Optional[str] = None,
configpb_attributes: Optional[Sequence[ClusterclouddetailsConfigpbAttributeArgs]] = None,
name: Optional[str] = None,
tenant_ref: Optional[str] = None,
uuid: Optional[str] = None) -> Clusterclouddetails
func GetClusterclouddetails(ctx *Context, name string, id IDInput, state *ClusterclouddetailsState, opts ...ResourceOption) (*Clusterclouddetails, error)
public static Clusterclouddetails Get(string name, Input<string> id, ClusterclouddetailsState? state, CustomResourceOptions? opts = null)
public static Clusterclouddetails get(String name, Output<String> id, ClusterclouddetailsState state, CustomResourceOptions options)
resources: _: type: avi:Clusterclouddetails 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.
- Azure
Infos List<ClusterclouddetailsAzure Info> - Azure info to configure cluster_vip on the controller. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Clusterclouddetails
Id string - Configpb
Attributes List<ClusterclouddetailsConfigpb Attribute> - 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
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tenant
Ref string - It is a reference to an object of type tenant. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Azure
Infos []ClusterclouddetailsAzure Info Args - Azure info to configure cluster_vip on the controller. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Clusterclouddetails
Id string - Configpb
Attributes []ClusterclouddetailsConfigpb Attribute Args - 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
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tenant
Ref string - It is a reference to an object of type tenant. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- azure
Infos List<ClusterclouddetailsAzure Info> - Azure info to configure cluster_vip on the controller. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- clusterclouddetails
Id String - configpb
Attributes List<ClusterclouddetailsConfigpb Attribute> - 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
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref String - It is a reference to an object of type tenant. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- azure
Infos ClusterclouddetailsAzure Info[] - Azure info to configure cluster_vip on the controller. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- clusterclouddetails
Id string - configpb
Attributes ClusterclouddetailsConfigpb Attribute[] - 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
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref string - It is a reference to an object of type tenant. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid string
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- azure_
infos Sequence[ClusterclouddetailsAzure Info Args] - Azure info to configure cluster_vip on the controller. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- clusterclouddetails_
id str - configpb_
attributes Sequence[ClusterclouddetailsConfigpb Attribute Args] - 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
- Field introduced in 17.2.5. 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 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid str
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- azure
Infos List<Property Map> - Azure info to configure cluster_vip on the controller. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- clusterclouddetails
Id String - configpb
Attributes 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
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref String - It is a reference to an object of type tenant. Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Field introduced in 17.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Supporting Types
ClusterclouddetailsAzureInfo, ClusterclouddetailsAzureInfoArgs
- Cloud
Credential stringRef - Subscription
Id string
- Cloud
Credential stringRef - Subscription
Id string
- cloud
Credential StringRef - subscription
Id String
- cloud
Credential stringRef - subscription
Id string
- cloud
Credential StringRef - subscription
Id String
ClusterclouddetailsConfigpbAttribute, ClusterclouddetailsConfigpbAttributeArgs
- 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.