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

spectrocloud.CloudaccountAzure

Explore with Pulumi AI

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

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as spectrocloud from "@pulumi/spectrocloud";
    
    const azure_1 = new spectrocloud.CloudaccountAzure("azure-1", {
        azureTenantId: _var.azure_tenant_id,
        azureClientId: _var.azure_client_id,
        azureClientSecret: _var.azure_client_secret,
    });
    
    import pulumi
    import pulumi_spectrocloud as spectrocloud
    
    azure_1 = spectrocloud.CloudaccountAzure("azure-1",
        azure_tenant_id=var["azure_tenant_id"],
        azure_client_id=var["azure_client_id"],
        azure_client_secret=var["azure_client_secret"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/spectrocloud/spectrocloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := spectrocloud.NewCloudaccountAzure(ctx, "azure-1", &spectrocloud.CloudaccountAzureArgs{
    			AzureTenantId:     pulumi.Any(_var.Azure_tenant_id),
    			AzureClientId:     pulumi.Any(_var.Azure_client_id),
    			AzureClientSecret: pulumi.Any(_var.Azure_client_secret),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Spectrocloud = Pulumi.Spectrocloud;
    
    return await Deployment.RunAsync(() => 
    {
        var azure_1 = new Spectrocloud.CloudaccountAzure("azure-1", new()
        {
            AzureTenantId = @var.Azure_tenant_id,
            AzureClientId = @var.Azure_client_id,
            AzureClientSecret = @var.Azure_client_secret,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.spectrocloud.CloudaccountAzure;
    import com.pulumi.spectrocloud.CloudaccountAzureArgs;
    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 azure_1 = new CloudaccountAzure("azure-1", CloudaccountAzureArgs.builder()
                .azureTenantId(var_.azure_tenant_id())
                .azureClientId(var_.azure_client_id())
                .azureClientSecret(var_.azure_client_secret())
                .build());
    
        }
    }
    
    resources:
      azure-1:
        type: spectrocloud:CloudaccountAzure
        properties:
          azureTenantId: ${var.azure_tenant_id}
          azureClientId: ${var.azure_client_id}
          azureClientSecret: ${var.azure_client_secret}
    

    Create CloudaccountAzure Resource

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

    Constructor syntax

    new CloudaccountAzure(name: string, args: CloudaccountAzureArgs, opts?: CustomResourceOptions);
    @overload
    def CloudaccountAzure(resource_name: str,
                          args: CloudaccountAzureArgs,
                          opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudaccountAzure(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          azure_client_id: Optional[str] = None,
                          azure_client_secret: Optional[str] = None,
                          azure_tenant_id: Optional[str] = None,
                          cloud: Optional[str] = None,
                          cloudaccount_azure_id: Optional[str] = None,
                          context: Optional[str] = None,
                          disable_properties_request: Optional[bool] = None,
                          name: Optional[str] = None,
                          private_cloud_gateway_id: Optional[str] = None,
                          tenant_name: Optional[str] = None)
    func NewCloudaccountAzure(ctx *Context, name string, args CloudaccountAzureArgs, opts ...ResourceOption) (*CloudaccountAzure, error)
    public CloudaccountAzure(string name, CloudaccountAzureArgs args, CustomResourceOptions? opts = null)
    public CloudaccountAzure(String name, CloudaccountAzureArgs args)
    public CloudaccountAzure(String name, CloudaccountAzureArgs args, CustomResourceOptions options)
    
    type: spectrocloud:CloudaccountAzure
    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 CloudaccountAzureArgs
    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 CloudaccountAzureArgs
    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 CloudaccountAzureArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudaccountAzureArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudaccountAzureArgs
    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 cloudaccountAzureResource = new Spectrocloud.CloudaccountAzure("cloudaccountAzureResource", new()
    {
        AzureClientId = "string",
        AzureClientSecret = "string",
        AzureTenantId = "string",
        Cloud = "string",
        CloudaccountAzureId = "string",
        Context = "string",
        DisablePropertiesRequest = false,
        Name = "string",
        PrivateCloudGatewayId = "string",
        TenantName = "string",
    });
    
    example, err := spectrocloud.NewCloudaccountAzure(ctx, "cloudaccountAzureResource", &spectrocloud.CloudaccountAzureArgs{
    	AzureClientId:            pulumi.String("string"),
    	AzureClientSecret:        pulumi.String("string"),
    	AzureTenantId:            pulumi.String("string"),
    	Cloud:                    pulumi.String("string"),
    	CloudaccountAzureId:      pulumi.String("string"),
    	Context:                  pulumi.String("string"),
    	DisablePropertiesRequest: pulumi.Bool(false),
    	Name:                     pulumi.String("string"),
    	PrivateCloudGatewayId:    pulumi.String("string"),
    	TenantName:               pulumi.String("string"),
    })
    
    var cloudaccountAzureResource = new CloudaccountAzure("cloudaccountAzureResource", CloudaccountAzureArgs.builder()
        .azureClientId("string")
        .azureClientSecret("string")
        .azureTenantId("string")
        .cloud("string")
        .cloudaccountAzureId("string")
        .context("string")
        .disablePropertiesRequest(false)
        .name("string")
        .privateCloudGatewayId("string")
        .tenantName("string")
        .build());
    
    cloudaccount_azure_resource = spectrocloud.CloudaccountAzure("cloudaccountAzureResource",
        azure_client_id="string",
        azure_client_secret="string",
        azure_tenant_id="string",
        cloud="string",
        cloudaccount_azure_id="string",
        context="string",
        disable_properties_request=False,
        name="string",
        private_cloud_gateway_id="string",
        tenant_name="string")
    
    const cloudaccountAzureResource = new spectrocloud.CloudaccountAzure("cloudaccountAzureResource", {
        azureClientId: "string",
        azureClientSecret: "string",
        azureTenantId: "string",
        cloud: "string",
        cloudaccountAzureId: "string",
        context: "string",
        disablePropertiesRequest: false,
        name: "string",
        privateCloudGatewayId: "string",
        tenantName: "string",
    });
    
    type: spectrocloud:CloudaccountAzure
    properties:
        azureClientId: string
        azureClientSecret: string
        azureTenantId: string
        cloud: string
        cloudaccountAzureId: string
        context: string
        disablePropertiesRequest: false
        name: string
        privateCloudGatewayId: string
        tenantName: string
    

    CloudaccountAzure 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 CloudaccountAzure resource accepts the following input properties:

    AzureClientId string
    Unique client Id from Azure console.
    AzureClientSecret string
    Azure secret for authentication.
    AzureTenantId string
    Unique tenant Id from Azure console.
    Cloud string
    The Azure partition in which the cloud account is located. Can be 'AzurePublicCloud' for standard Azure regions or 'AzureUSGovernmentCloud' for Azure GovCloud (US) regions. Default is 'AzurePublicCloud'.
    CloudaccountAzureId string
    The ID of this resource.
    Context string
    The context of the Azure configuration. Defaults to project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    DisablePropertiesRequest bool
    Disable properties request. This is a boolean value that indicates whether to disable properties request or not. If not specified, the default value is false.
    Name string
    The name of the Azure cloud account.
    PrivateCloudGatewayId string
    ID of the private cloud gateway. This is the ID of the private cloud gateway that is used to connect to the private cluster endpoint.
    TenantName string
    The name of the tenant. This is the name of the tenant that is used to connect to the Azure cloud.
    AzureClientId string
    Unique client Id from Azure console.
    AzureClientSecret string
    Azure secret for authentication.
    AzureTenantId string
    Unique tenant Id from Azure console.
    Cloud string
    The Azure partition in which the cloud account is located. Can be 'AzurePublicCloud' for standard Azure regions or 'AzureUSGovernmentCloud' for Azure GovCloud (US) regions. Default is 'AzurePublicCloud'.
    CloudaccountAzureId string
    The ID of this resource.
    Context string
    The context of the Azure configuration. Defaults to project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    DisablePropertiesRequest bool
    Disable properties request. This is a boolean value that indicates whether to disable properties request or not. If not specified, the default value is false.
    Name string
    The name of the Azure cloud account.
    PrivateCloudGatewayId string
    ID of the private cloud gateway. This is the ID of the private cloud gateway that is used to connect to the private cluster endpoint.
    TenantName string
    The name of the tenant. This is the name of the tenant that is used to connect to the Azure cloud.
    azureClientId String
    Unique client Id from Azure console.
    azureClientSecret String
    Azure secret for authentication.
    azureTenantId String
    Unique tenant Id from Azure console.
    cloud String
    The Azure partition in which the cloud account is located. Can be 'AzurePublicCloud' for standard Azure regions or 'AzureUSGovernmentCloud' for Azure GovCloud (US) regions. Default is 'AzurePublicCloud'.
    cloudaccountAzureId String
    The ID of this resource.
    context String
    The context of the Azure configuration. Defaults to project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    disablePropertiesRequest Boolean
    Disable properties request. This is a boolean value that indicates whether to disable properties request or not. If not specified, the default value is false.
    name String
    The name of the Azure cloud account.
    privateCloudGatewayId String
    ID of the private cloud gateway. This is the ID of the private cloud gateway that is used to connect to the private cluster endpoint.
    tenantName String
    The name of the tenant. This is the name of the tenant that is used to connect to the Azure cloud.
    azureClientId string
    Unique client Id from Azure console.
    azureClientSecret string
    Azure secret for authentication.
    azureTenantId string
    Unique tenant Id from Azure console.
    cloud string
    The Azure partition in which the cloud account is located. Can be 'AzurePublicCloud' for standard Azure regions or 'AzureUSGovernmentCloud' for Azure GovCloud (US) regions. Default is 'AzurePublicCloud'.
    cloudaccountAzureId string
    The ID of this resource.
    context string
    The context of the Azure configuration. Defaults to project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    disablePropertiesRequest boolean
    Disable properties request. This is a boolean value that indicates whether to disable properties request or not. If not specified, the default value is false.
    name string
    The name of the Azure cloud account.
    privateCloudGatewayId string
    ID of the private cloud gateway. This is the ID of the private cloud gateway that is used to connect to the private cluster endpoint.
    tenantName string
    The name of the tenant. This is the name of the tenant that is used to connect to the Azure cloud.
    azure_client_id str
    Unique client Id from Azure console.
    azure_client_secret str
    Azure secret for authentication.
    azure_tenant_id str
    Unique tenant Id from Azure console.
    cloud str
    The Azure partition in which the cloud account is located. Can be 'AzurePublicCloud' for standard Azure regions or 'AzureUSGovernmentCloud' for Azure GovCloud (US) regions. Default is 'AzurePublicCloud'.
    cloudaccount_azure_id str
    The ID of this resource.
    context str
    The context of the Azure configuration. Defaults to project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    disable_properties_request bool
    Disable properties request. This is a boolean value that indicates whether to disable properties request or not. If not specified, the default value is false.
    name str
    The name of the Azure cloud account.
    private_cloud_gateway_id str
    ID of the private cloud gateway. This is the ID of the private cloud gateway that is used to connect to the private cluster endpoint.
    tenant_name str
    The name of the tenant. This is the name of the tenant that is used to connect to the Azure cloud.
    azureClientId String
    Unique client Id from Azure console.
    azureClientSecret String
    Azure secret for authentication.
    azureTenantId String
    Unique tenant Id from Azure console.
    cloud String
    The Azure partition in which the cloud account is located. Can be 'AzurePublicCloud' for standard Azure regions or 'AzureUSGovernmentCloud' for Azure GovCloud (US) regions. Default is 'AzurePublicCloud'.
    cloudaccountAzureId String
    The ID of this resource.
    context String
    The context of the Azure configuration. Defaults to project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    disablePropertiesRequest Boolean
    Disable properties request. This is a boolean value that indicates whether to disable properties request or not. If not specified, the default value is false.
    name String
    The name of the Azure cloud account.
    privateCloudGatewayId String
    ID of the private cloud gateway. This is the ID of the private cloud gateway that is used to connect to the private cluster endpoint.
    tenantName String
    The name of the tenant. This is the name of the tenant that is used to connect to the Azure cloud.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CloudaccountAzure 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 CloudaccountAzure Resource

    Get an existing CloudaccountAzure 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?: CloudaccountAzureState, opts?: CustomResourceOptions): CloudaccountAzure
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            azure_client_id: Optional[str] = None,
            azure_client_secret: Optional[str] = None,
            azure_tenant_id: Optional[str] = None,
            cloud: Optional[str] = None,
            cloudaccount_azure_id: Optional[str] = None,
            context: Optional[str] = None,
            disable_properties_request: Optional[bool] = None,
            name: Optional[str] = None,
            private_cloud_gateway_id: Optional[str] = None,
            tenant_name: Optional[str] = None) -> CloudaccountAzure
    func GetCloudaccountAzure(ctx *Context, name string, id IDInput, state *CloudaccountAzureState, opts ...ResourceOption) (*CloudaccountAzure, error)
    public static CloudaccountAzure Get(string name, Input<string> id, CloudaccountAzureState? state, CustomResourceOptions? opts = null)
    public static CloudaccountAzure get(String name, Output<String> id, CloudaccountAzureState state, CustomResourceOptions options)
    resources:  _:    type: spectrocloud:CloudaccountAzure    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:
    AzureClientId string
    Unique client Id from Azure console.
    AzureClientSecret string
    Azure secret for authentication.
    AzureTenantId string
    Unique tenant Id from Azure console.
    Cloud string
    The Azure partition in which the cloud account is located. Can be 'AzurePublicCloud' for standard Azure regions or 'AzureUSGovernmentCloud' for Azure GovCloud (US) regions. Default is 'AzurePublicCloud'.
    CloudaccountAzureId string
    The ID of this resource.
    Context string
    The context of the Azure configuration. Defaults to project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    DisablePropertiesRequest bool
    Disable properties request. This is a boolean value that indicates whether to disable properties request or not. If not specified, the default value is false.
    Name string
    The name of the Azure cloud account.
    PrivateCloudGatewayId string
    ID of the private cloud gateway. This is the ID of the private cloud gateway that is used to connect to the private cluster endpoint.
    TenantName string
    The name of the tenant. This is the name of the tenant that is used to connect to the Azure cloud.
    AzureClientId string
    Unique client Id from Azure console.
    AzureClientSecret string
    Azure secret for authentication.
    AzureTenantId string
    Unique tenant Id from Azure console.
    Cloud string
    The Azure partition in which the cloud account is located. Can be 'AzurePublicCloud' for standard Azure regions or 'AzureUSGovernmentCloud' for Azure GovCloud (US) regions. Default is 'AzurePublicCloud'.
    CloudaccountAzureId string
    The ID of this resource.
    Context string
    The context of the Azure configuration. Defaults to project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    DisablePropertiesRequest bool
    Disable properties request. This is a boolean value that indicates whether to disable properties request or not. If not specified, the default value is false.
    Name string
    The name of the Azure cloud account.
    PrivateCloudGatewayId string
    ID of the private cloud gateway. This is the ID of the private cloud gateway that is used to connect to the private cluster endpoint.
    TenantName string
    The name of the tenant. This is the name of the tenant that is used to connect to the Azure cloud.
    azureClientId String
    Unique client Id from Azure console.
    azureClientSecret String
    Azure secret for authentication.
    azureTenantId String
    Unique tenant Id from Azure console.
    cloud String
    The Azure partition in which the cloud account is located. Can be 'AzurePublicCloud' for standard Azure regions or 'AzureUSGovernmentCloud' for Azure GovCloud (US) regions. Default is 'AzurePublicCloud'.
    cloudaccountAzureId String
    The ID of this resource.
    context String
    The context of the Azure configuration. Defaults to project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    disablePropertiesRequest Boolean
    Disable properties request. This is a boolean value that indicates whether to disable properties request or not. If not specified, the default value is false.
    name String
    The name of the Azure cloud account.
    privateCloudGatewayId String
    ID of the private cloud gateway. This is the ID of the private cloud gateway that is used to connect to the private cluster endpoint.
    tenantName String
    The name of the tenant. This is the name of the tenant that is used to connect to the Azure cloud.
    azureClientId string
    Unique client Id from Azure console.
    azureClientSecret string
    Azure secret for authentication.
    azureTenantId string
    Unique tenant Id from Azure console.
    cloud string
    The Azure partition in which the cloud account is located. Can be 'AzurePublicCloud' for standard Azure regions or 'AzureUSGovernmentCloud' for Azure GovCloud (US) regions. Default is 'AzurePublicCloud'.
    cloudaccountAzureId string
    The ID of this resource.
    context string
    The context of the Azure configuration. Defaults to project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    disablePropertiesRequest boolean
    Disable properties request. This is a boolean value that indicates whether to disable properties request or not. If not specified, the default value is false.
    name string
    The name of the Azure cloud account.
    privateCloudGatewayId string
    ID of the private cloud gateway. This is the ID of the private cloud gateway that is used to connect to the private cluster endpoint.
    tenantName string
    The name of the tenant. This is the name of the tenant that is used to connect to the Azure cloud.
    azure_client_id str
    Unique client Id from Azure console.
    azure_client_secret str
    Azure secret for authentication.
    azure_tenant_id str
    Unique tenant Id from Azure console.
    cloud str
    The Azure partition in which the cloud account is located. Can be 'AzurePublicCloud' for standard Azure regions or 'AzureUSGovernmentCloud' for Azure GovCloud (US) regions. Default is 'AzurePublicCloud'.
    cloudaccount_azure_id str
    The ID of this resource.
    context str
    The context of the Azure configuration. Defaults to project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    disable_properties_request bool
    Disable properties request. This is a boolean value that indicates whether to disable properties request or not. If not specified, the default value is false.
    name str
    The name of the Azure cloud account.
    private_cloud_gateway_id str
    ID of the private cloud gateway. This is the ID of the private cloud gateway that is used to connect to the private cluster endpoint.
    tenant_name str
    The name of the tenant. This is the name of the tenant that is used to connect to the Azure cloud.
    azureClientId String
    Unique client Id from Azure console.
    azureClientSecret String
    Azure secret for authentication.
    azureTenantId String
    Unique tenant Id from Azure console.
    cloud String
    The Azure partition in which the cloud account is located. Can be 'AzurePublicCloud' for standard Azure regions or 'AzureUSGovernmentCloud' for Azure GovCloud (US) regions. Default is 'AzurePublicCloud'.
    cloudaccountAzureId String
    The ID of this resource.
    context String
    The context of the Azure configuration. Defaults to project. If the project context is specified, the project name will sourced from the provider configuration parameter project_name.
    disablePropertiesRequest Boolean
    Disable properties request. This is a boolean value that indicates whether to disable properties request or not. If not specified, the default value is false.
    name String
    The name of the Azure cloud account.
    privateCloudGatewayId String
    ID of the private cloud gateway. This is the ID of the private cloud gateway that is used to connect to the private cluster endpoint.
    tenantName String
    The name of the tenant. This is the name of the tenant that is used to connect to the Azure cloud.

    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