1. Packages
  2. Spectrocloud Provider
  3. API Docs
  4. CloudaccountCustom
spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud

spectrocloud.CloudaccountCustom

Explore with Pulumi AI

spectrocloud logo
spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud

    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.
    PrivateCloudGatewayId string
    ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
    CloudaccountCustomId string
    The ID of this resource.
    Context string
    The context of the custom cloud configuration. Allowed values are project or tenant. Default value is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_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.
    PrivateCloudGatewayId string
    ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
    CloudaccountCustomId string
    The ID of this resource.
    Context string
    The context of the custom cloud configuration. Allowed values are project or tenant. Default value is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_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.
    privateCloudGatewayId String
    ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
    cloudaccountCustomId String
    The ID of this resource.
    context String
    The context of the custom cloud configuration. Allowed values are project or tenant. Default value is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_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.
    privateCloudGatewayId string
    ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
    cloudaccountCustomId string
    The ID of this resource.
    context string
    The context of the custom cloud configuration. Allowed values are project or tenant. Default value is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_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_gateway_id str
    ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
    cloudaccount_custom_id str
    The ID of this resource.
    context str
    The context of the custom cloud configuration. Allowed values are project or tenant. Default value is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_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.
    privateCloudGatewayId String
    ID of the private cloud gateway, which serves as the connection point to establish connectivity with the cloud infrastructure.
    cloudaccountCustomId String
    The ID of this resource.
    context String
    The context of the custom cloud configuration. Allowed values are project or tenant. Default value is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_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.
    The following state arguments are supported:
    Cloud string
    The cloud provider name.
    CloudaccountCustomId string
    The ID of this resource.
    Context string
    The context of the custom cloud configuration. Allowed values are project or tenant. Default value is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    Credentials Dictionary<string, string>
    The credentials required for accessing the cloud.
    Name string
    The name of the cloud account.
    PrivateCloudGatewayId string
    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.
    CloudaccountCustomId string
    The ID of this resource.
    Context string
    The context of the custom cloud configuration. Allowed values are project or tenant. Default value is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    Credentials map[string]string
    The credentials required for accessing the cloud.
    Name string
    The name of the cloud account.
    PrivateCloudGatewayId string
    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.
    cloudaccountCustomId String
    The ID of this resource.
    context String
    The context of the custom cloud configuration. Allowed values are project or tenant. Default value is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    credentials Map<String,String>
    The credentials required for accessing the cloud.
    name String
    The name of the cloud account.
    privateCloudGatewayId String
    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.
    cloudaccountCustomId string
    The ID of this resource.
    context string
    The context of the custom cloud configuration. Allowed values are project or tenant. Default value is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    credentials {[key: string]: string}
    The credentials required for accessing the cloud.
    name string
    The name of the cloud account.
    privateCloudGatewayId string
    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_id str
    The ID of this resource.
    context str
    The context of the custom cloud configuration. Allowed values are project or tenant. Default value is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    credentials Mapping[str, str]
    The credentials required for accessing the cloud.
    name str
    The name of the cloud account.
    private_cloud_gateway_id str
    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.
    cloudaccountCustomId String
    The ID of this resource.
    context String
    The context of the custom cloud configuration. Allowed values are project or tenant. Default value is project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    credentials Map<String>
    The credentials required for accessing the cloud.
    name String
    The name of the cloud account.
    privateCloudGatewayId String
    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.
    spectrocloud logo
    spectrocloud 0.23.5 published on Sunday, Apr 20, 2025 by spectrocloud