spectrocloud.CloudaccountCustom
Explore with Pulumi AI
Example Usage
Create CloudaccountCustom Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudaccountCustom(name: string, args: CloudaccountCustomArgs, opts?: CustomResourceOptions);
@overload
def CloudaccountCustom(resource_name: str,
args: CloudaccountCustomArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudaccountCustom(resource_name: str,
opts: Optional[ResourceOptions] = None,
cloud: Optional[str] = None,
credentials: Optional[Mapping[str, str]] = None,
private_cloud_gateway_id: Optional[str] = None,
cloudaccount_custom_id: Optional[str] = None,
context: Optional[str] = None,
name: Optional[str] = None)
func NewCloudaccountCustom(ctx *Context, name string, args CloudaccountCustomArgs, opts ...ResourceOption) (*CloudaccountCustom, error)
public CloudaccountCustom(string name, CloudaccountCustomArgs args, CustomResourceOptions? opts = null)
public CloudaccountCustom(String name, CloudaccountCustomArgs args)
public CloudaccountCustom(String name, CloudaccountCustomArgs args, CustomResourceOptions options)
type: spectrocloud:CloudaccountCustom
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 CloudaccountCustomArgs
- 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 CloudaccountCustomArgs
- 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 CloudaccountCustomArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudaccountCustomArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudaccountCustomArgs
- 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 cloudaccountCustomResource = new Spectrocloud.CloudaccountCustom("cloudaccountCustomResource", new()
{
Cloud = "string",
Credentials =
{
{ "string", "string" },
},
PrivateCloudGatewayId = "string",
CloudaccountCustomId = "string",
Context = "string",
Name = "string",
});
example, err := spectrocloud.NewCloudaccountCustom(ctx, "cloudaccountCustomResource", &spectrocloud.CloudaccountCustomArgs{
Cloud: pulumi.String("string"),
Credentials: pulumi.StringMap{
"string": pulumi.String("string"),
},
PrivateCloudGatewayId: pulumi.String("string"),
CloudaccountCustomId: pulumi.String("string"),
Context: pulumi.String("string"),
Name: pulumi.String("string"),
})
var cloudaccountCustomResource = new CloudaccountCustom("cloudaccountCustomResource", CloudaccountCustomArgs.builder()
.cloud("string")
.credentials(Map.of("string", "string"))
.privateCloudGatewayId("string")
.cloudaccountCustomId("string")
.context("string")
.name("string")
.build());
cloudaccount_custom_resource = spectrocloud.CloudaccountCustom("cloudaccountCustomResource",
cloud="string",
credentials={
"string": "string",
},
private_cloud_gateway_id="string",
cloudaccount_custom_id="string",
context="string",
name="string")
const cloudaccountCustomResource = new spectrocloud.CloudaccountCustom("cloudaccountCustomResource", {
cloud: "string",
credentials: {
string: "string",
},
privateCloudGatewayId: "string",
cloudaccountCustomId: "string",
context: "string",
name: "string",
});
type: spectrocloud:CloudaccountCustom
properties:
cloud: string
cloudaccountCustomId: string
context: string
credentials:
string: string
name: string
privateCloudGatewayId: string
CloudaccountCustom 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 CloudaccountCustom resource accepts the following input properties:
- Cloud string
- The cloud provider name.
- Credentials Dictionary<string, string>
- The credentials required for accessing the cloud.
- Private
Cloud stringGateway Id - ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
- Cloudaccount
Custom stringId - The ID of this resource.
- Context string
- The context of the custom cloud configuration. Allowed values are
project
ortenant
. Default value isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - Name string
- The name of the cloud account.
- Cloud string
- The cloud provider name.
- Credentials map[string]string
- The credentials required for accessing the cloud.
- Private
Cloud stringGateway Id - ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
- Cloudaccount
Custom stringId - The ID of this resource.
- Context string
- The context of the custom cloud configuration. Allowed values are
project
ortenant
. Default value isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - Name string
- The name of the cloud account.
- cloud String
- The cloud provider name.
- credentials Map<String,String>
- The credentials required for accessing the cloud.
- private
Cloud StringGateway Id - ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
- cloudaccount
Custom StringId - The ID of this resource.
- context String
- The context of the custom cloud configuration. Allowed values are
project
ortenant
. Default value isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - name String
- The name of the cloud account.
- cloud string
- The cloud provider name.
- credentials {[key: string]: string}
- The credentials required for accessing the cloud.
- private
Cloud stringGateway Id - ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
- cloudaccount
Custom stringId - The ID of this resource.
- context string
- The context of the custom cloud configuration. Allowed values are
project
ortenant
. Default value isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - name string
- The name of the cloud account.
- cloud str
- The cloud provider name.
- credentials Mapping[str, str]
- The credentials required for accessing the cloud.
- private_
cloud_ strgateway_ id - ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
- cloudaccount_
custom_ strid - The ID of this resource.
- context str
- The context of the custom cloud configuration. Allowed values are
project
ortenant
. Default value isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - name str
- The name of the cloud account.
- cloud String
- The cloud provider name.
- credentials Map<String>
- The credentials required for accessing the cloud.
- private
Cloud StringGateway Id - ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
- cloudaccount
Custom StringId - The ID of this resource.
- context String
- The context of the custom cloud configuration. Allowed values are
project
ortenant
. Default value isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - name String
- The name of the cloud account.
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudaccountCustom 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 CloudaccountCustom Resource
Get an existing CloudaccountCustom 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?: CloudaccountCustomState, opts?: CustomResourceOptions): CloudaccountCustom
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cloud: Optional[str] = None,
cloudaccount_custom_id: Optional[str] = None,
context: Optional[str] = None,
credentials: Optional[Mapping[str, str]] = None,
name: Optional[str] = None,
private_cloud_gateway_id: Optional[str] = None) -> CloudaccountCustom
func GetCloudaccountCustom(ctx *Context, name string, id IDInput, state *CloudaccountCustomState, opts ...ResourceOption) (*CloudaccountCustom, error)
public static CloudaccountCustom Get(string name, Input<string> id, CloudaccountCustomState? state, CustomResourceOptions? opts = null)
public static CloudaccountCustom get(String name, Output<String> id, CloudaccountCustomState state, CustomResourceOptions options)
resources: _: type: spectrocloud:CloudaccountCustom 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.
- Cloud string
- The cloud provider name.
- Cloudaccount
Custom stringId - The ID of this resource.
- Context string
- The context of the custom cloud configuration. Allowed values are
project
ortenant
. Default value isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - Credentials Dictionary<string, string>
- The credentials required for accessing the cloud.
- Name string
- The name of the cloud account.
- Private
Cloud stringGateway Id - ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
- Cloud string
- The cloud provider name.
- Cloudaccount
Custom stringId - The ID of this resource.
- Context string
- The context of the custom cloud configuration. Allowed values are
project
ortenant
. Default value isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - Credentials map[string]string
- The credentials required for accessing the cloud.
- Name string
- The name of the cloud account.
- Private
Cloud stringGateway Id - ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
- cloud String
- The cloud provider name.
- cloudaccount
Custom StringId - The ID of this resource.
- context String
- The context of the custom cloud configuration. Allowed values are
project
ortenant
. Default value isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - credentials Map<String,String>
- The credentials required for accessing the cloud.
- name String
- The name of the cloud account.
- private
Cloud StringGateway Id - ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
- cloud string
- The cloud provider name.
- cloudaccount
Custom stringId - The ID of this resource.
- context string
- The context of the custom cloud configuration. Allowed values are
project
ortenant
. Default value isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - credentials {[key: string]: string}
- The credentials required for accessing the cloud.
- name string
- The name of the cloud account.
- private
Cloud stringGateway Id - ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
- cloud str
- The cloud provider name.
- cloudaccount_
custom_ strid - The ID of this resource.
- context str
- The context of the custom cloud configuration. Allowed values are
project
ortenant
. Default value isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - credentials Mapping[str, str]
- The credentials required for accessing the cloud.
- name str
- The name of the cloud account.
- private_
cloud_ strgateway_ id - ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
- cloud String
- The cloud provider name.
- cloudaccount
Custom StringId - The ID of this resource.
- context String
- The context of the custom cloud configuration. Allowed values are
project
ortenant
. Default value isproject
. If theproject
context is specified, the project name will sourced from the provider configuration parameterproject_name
. - credentials Map<String>
- The credentials required for accessing the cloud.
- name String
- The name of the cloud account.
- private
Cloud StringGateway Id - ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
Package Details
- Repository
- spectrocloud spectrocloud/terraform-provider-spectrocloud
- License
- Notes
- This Pulumi package is based on the
spectrocloud
Terraform Provider.