1. Packages
  2. Harness
  3. API Docs
  4. platform
  5. AzureCloudProviderConnector
Harness v0.2.1 published on Friday, Jul 26, 2024 by Pulumi

harness.platform.AzureCloudProviderConnector

Explore with Pulumi AI

harness logo
Harness v0.2.1 published on Friday, Jul 26, 2024 by Pulumi

    Resource for creating an Azure Cloud Provider in Harness.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    const manualConfigSecret = new harness.platform.AzureCloudProviderConnector("manual_config_secret", {
        identifier: "identifier",
        name: "name",
        description: "example",
        tags: ["foo:bar"],
        credentials: {
            type: "ManualConfig",
            azureManualDetails: {
                applicationId: "application_id",
                tenantId: "tenant_id",
                auth: {
                    type: "Secret",
                    azureClientSecretKey: {
                        secretRef: `account.${test.id}`,
                    },
                },
            },
        },
        azureEnvironmentType: "AZURE",
        delegateSelectors: ["harness-delegate"],
    });
    const manualConfigCertificate = new harness.platform.AzureCloudProviderConnector("manual_config_certificate", {
        identifier: "identifier",
        name: "name",
        description: "example",
        tags: ["foo:bar"],
        credentials: {
            type: "ManualConfig",
            azureManualDetails: {
                applicationId: "application_id",
                tenantId: "tenant_id",
                auth: {
                    type: "Certificate",
                    azureClientKeyCert: {
                        certificateRef: `account.${test.id}`,
                    },
                },
            },
        },
        azureEnvironmentType: "AZURE",
        delegateSelectors: ["harness-delegate"],
    });
    const inheritFromDelegateUserAssignedManagedIdentity = new harness.platform.AzureCloudProviderConnector("inherit_from_delegate_user_assigned_managed_identity", {
        identifier: "identifier",
        name: "name",
        description: "example",
        tags: ["foo:bar"],
        credentials: {
            type: "InheritFromDelegate",
            azureInheritFromDelegateDetails: {
                auth: {
                    azureMsiAuthUa: {
                        clientId: "client_id",
                    },
                    type: "UserAssignedManagedIdentity",
                },
            },
        },
        azureEnvironmentType: "AZURE",
        delegateSelectors: ["harness-delegate"],
    });
    const inheritFromDelegateSystemAssignedManagedIdentity = new harness.platform.AzureCloudProviderConnector("inherit_from_delegate_system_assigned_managed_identity", {
        identifier: "identifier",
        name: "name",
        description: "example",
        tags: ["foo:bar"],
        credentials: {
            type: "InheritFromDelegate",
            azureInheritFromDelegateDetails: {
                auth: {
                    type: "SystemAssignedManagedIdentity",
                },
            },
        },
        azureEnvironmentType: "AZURE",
        delegateSelectors: ["harness-delegate"],
    });
    
    import pulumi
    import pulumi_harness as harness
    
    manual_config_secret = harness.platform.AzureCloudProviderConnector("manual_config_secret",
        identifier="identifier",
        name="name",
        description="example",
        tags=["foo:bar"],
        credentials=harness.platform.AzureCloudProviderConnectorCredentialsArgs(
            type="ManualConfig",
            azure_manual_details=harness.platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsArgs(
                application_id="application_id",
                tenant_id="tenant_id",
                auth=harness.platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthArgs(
                    type="Secret",
                    azure_client_secret_key=harness.platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientSecretKeyArgs(
                        secret_ref=f"account.{test['id']}",
                    ),
                ),
            ),
        ),
        azure_environment_type="AZURE",
        delegate_selectors=["harness-delegate"])
    manual_config_certificate = harness.platform.AzureCloudProviderConnector("manual_config_certificate",
        identifier="identifier",
        name="name",
        description="example",
        tags=["foo:bar"],
        credentials=harness.platform.AzureCloudProviderConnectorCredentialsArgs(
            type="ManualConfig",
            azure_manual_details=harness.platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsArgs(
                application_id="application_id",
                tenant_id="tenant_id",
                auth=harness.platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthArgs(
                    type="Certificate",
                    azure_client_key_cert=harness.platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientKeyCertArgs(
                        certificate_ref=f"account.{test['id']}",
                    ),
                ),
            ),
        ),
        azure_environment_type="AZURE",
        delegate_selectors=["harness-delegate"])
    inherit_from_delegate_user_assigned_managed_identity = harness.platform.AzureCloudProviderConnector("inherit_from_delegate_user_assigned_managed_identity",
        identifier="identifier",
        name="name",
        description="example",
        tags=["foo:bar"],
        credentials=harness.platform.AzureCloudProviderConnectorCredentialsArgs(
            type="InheritFromDelegate",
            azure_inherit_from_delegate_details=harness.platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsArgs(
                auth=harness.platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthArgs(
                    azure_msi_auth_ua=harness.platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUaArgs(
                        client_id="client_id",
                    ),
                    type="UserAssignedManagedIdentity",
                ),
            ),
        ),
        azure_environment_type="AZURE",
        delegate_selectors=["harness-delegate"])
    inherit_from_delegate_system_assigned_managed_identity = harness.platform.AzureCloudProviderConnector("inherit_from_delegate_system_assigned_managed_identity",
        identifier="identifier",
        name="name",
        description="example",
        tags=["foo:bar"],
        credentials=harness.platform.AzureCloudProviderConnectorCredentialsArgs(
            type="InheritFromDelegate",
            azure_inherit_from_delegate_details=harness.platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsArgs(
                auth=harness.platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthArgs(
                    type="SystemAssignedManagedIdentity",
                ),
            ),
        ),
        azure_environment_type="AZURE",
        delegate_selectors=["harness-delegate"])
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := platform.NewAzureCloudProviderConnector(ctx, "manual_config_secret", &platform.AzureCloudProviderConnectorArgs{
    			Identifier:  pulumi.String("identifier"),
    			Name:        pulumi.String("name"),
    			Description: pulumi.String("example"),
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    			},
    			Credentials: &platform.AzureCloudProviderConnectorCredentialsArgs{
    				Type: pulumi.String("ManualConfig"),
    				AzureManualDetails: &platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsArgs{
    					ApplicationId: pulumi.String("application_id"),
    					TenantId:      pulumi.String("tenant_id"),
    					Auth: &platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthArgs{
    						Type: pulumi.String("Secret"),
    						AzureClientSecretKey: &platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientSecretKeyArgs{
    							SecretRef: pulumi.String(fmt.Sprintf("account.%v", test.Id)),
    						},
    					},
    				},
    			},
    			AzureEnvironmentType: pulumi.String("AZURE"),
    			DelegateSelectors: pulumi.StringArray{
    				pulumi.String("harness-delegate"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = platform.NewAzureCloudProviderConnector(ctx, "manual_config_certificate", &platform.AzureCloudProviderConnectorArgs{
    			Identifier:  pulumi.String("identifier"),
    			Name:        pulumi.String("name"),
    			Description: pulumi.String("example"),
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    			},
    			Credentials: &platform.AzureCloudProviderConnectorCredentialsArgs{
    				Type: pulumi.String("ManualConfig"),
    				AzureManualDetails: &platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsArgs{
    					ApplicationId: pulumi.String("application_id"),
    					TenantId:      pulumi.String("tenant_id"),
    					Auth: &platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthArgs{
    						Type: pulumi.String("Certificate"),
    						AzureClientKeyCert: &platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientKeyCertArgs{
    							CertificateRef: pulumi.String(fmt.Sprintf("account.%v", test.Id)),
    						},
    					},
    				},
    			},
    			AzureEnvironmentType: pulumi.String("AZURE"),
    			DelegateSelectors: pulumi.StringArray{
    				pulumi.String("harness-delegate"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = platform.NewAzureCloudProviderConnector(ctx, "inherit_from_delegate_user_assigned_managed_identity", &platform.AzureCloudProviderConnectorArgs{
    			Identifier:  pulumi.String("identifier"),
    			Name:        pulumi.String("name"),
    			Description: pulumi.String("example"),
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    			},
    			Credentials: &platform.AzureCloudProviderConnectorCredentialsArgs{
    				Type: pulumi.String("InheritFromDelegate"),
    				AzureInheritFromDelegateDetails: &platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsArgs{
    					Auth: &platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthArgs{
    						AzureMsiAuthUa: &platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUaArgs{
    							ClientId: pulumi.String("client_id"),
    						},
    						Type: pulumi.String("UserAssignedManagedIdentity"),
    					},
    				},
    			},
    			AzureEnvironmentType: pulumi.String("AZURE"),
    			DelegateSelectors: pulumi.StringArray{
    				pulumi.String("harness-delegate"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = platform.NewAzureCloudProviderConnector(ctx, "inherit_from_delegate_system_assigned_managed_identity", &platform.AzureCloudProviderConnectorArgs{
    			Identifier:  pulumi.String("identifier"),
    			Name:        pulumi.String("name"),
    			Description: pulumi.String("example"),
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    			},
    			Credentials: &platform.AzureCloudProviderConnectorCredentialsArgs{
    				Type: pulumi.String("InheritFromDelegate"),
    				AzureInheritFromDelegateDetails: &platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsArgs{
    					Auth: &platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthArgs{
    						Type: pulumi.String("SystemAssignedManagedIdentity"),
    					},
    				},
    			},
    			AzureEnvironmentType: pulumi.String("AZURE"),
    			DelegateSelectors: pulumi.StringArray{
    				pulumi.String("harness-delegate"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Pulumi.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        var manualConfigSecret = new Harness.Platform.AzureCloudProviderConnector("manual_config_secret", new()
        {
            Identifier = "identifier",
            Name = "name",
            Description = "example",
            Tags = new[]
            {
                "foo:bar",
            },
            Credentials = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsArgs
            {
                Type = "ManualConfig",
                AzureManualDetails = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureManualDetailsArgs
                {
                    ApplicationId = "application_id",
                    TenantId = "tenant_id",
                    Auth = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthArgs
                    {
                        Type = "Secret",
                        AzureClientSecretKey = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientSecretKeyArgs
                        {
                            SecretRef = $"account.{test.Id}",
                        },
                    },
                },
            },
            AzureEnvironmentType = "AZURE",
            DelegateSelectors = new[]
            {
                "harness-delegate",
            },
        });
    
        var manualConfigCertificate = new Harness.Platform.AzureCloudProviderConnector("manual_config_certificate", new()
        {
            Identifier = "identifier",
            Name = "name",
            Description = "example",
            Tags = new[]
            {
                "foo:bar",
            },
            Credentials = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsArgs
            {
                Type = "ManualConfig",
                AzureManualDetails = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureManualDetailsArgs
                {
                    ApplicationId = "application_id",
                    TenantId = "tenant_id",
                    Auth = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthArgs
                    {
                        Type = "Certificate",
                        AzureClientKeyCert = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientKeyCertArgs
                        {
                            CertificateRef = $"account.{test.Id}",
                        },
                    },
                },
            },
            AzureEnvironmentType = "AZURE",
            DelegateSelectors = new[]
            {
                "harness-delegate",
            },
        });
    
        var inheritFromDelegateUserAssignedManagedIdentity = new Harness.Platform.AzureCloudProviderConnector("inherit_from_delegate_user_assigned_managed_identity", new()
        {
            Identifier = "identifier",
            Name = "name",
            Description = "example",
            Tags = new[]
            {
                "foo:bar",
            },
            Credentials = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsArgs
            {
                Type = "InheritFromDelegate",
                AzureInheritFromDelegateDetails = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsArgs
                {
                    Auth = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthArgs
                    {
                        AzureMsiAuthUa = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUaArgs
                        {
                            ClientId = "client_id",
                        },
                        Type = "UserAssignedManagedIdentity",
                    },
                },
            },
            AzureEnvironmentType = "AZURE",
            DelegateSelectors = new[]
            {
                "harness-delegate",
            },
        });
    
        var inheritFromDelegateSystemAssignedManagedIdentity = new Harness.Platform.AzureCloudProviderConnector("inherit_from_delegate_system_assigned_managed_identity", new()
        {
            Identifier = "identifier",
            Name = "name",
            Description = "example",
            Tags = new[]
            {
                "foo:bar",
            },
            Credentials = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsArgs
            {
                Type = "InheritFromDelegate",
                AzureInheritFromDelegateDetails = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsArgs
                {
                    Auth = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthArgs
                    {
                        Type = "SystemAssignedManagedIdentity",
                    },
                },
            },
            AzureEnvironmentType = "AZURE",
            DelegateSelectors = new[]
            {
                "harness-delegate",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.platform.AzureCloudProviderConnector;
    import com.pulumi.harness.platform.AzureCloudProviderConnectorArgs;
    import com.pulumi.harness.platform.inputs.AzureCloudProviderConnectorCredentialsArgs;
    import com.pulumi.harness.platform.inputs.AzureCloudProviderConnectorCredentialsAzureManualDetailsArgs;
    import com.pulumi.harness.platform.inputs.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthArgs;
    import com.pulumi.harness.platform.inputs.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientSecretKeyArgs;
    import com.pulumi.harness.platform.inputs.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientKeyCertArgs;
    import com.pulumi.harness.platform.inputs.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsArgs;
    import com.pulumi.harness.platform.inputs.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthArgs;
    import com.pulumi.harness.platform.inputs.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUaArgs;
    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 manualConfigSecret = new AzureCloudProviderConnector("manualConfigSecret", AzureCloudProviderConnectorArgs.builder()
                .identifier("identifier")
                .name("name")
                .description("example")
                .tags("foo:bar")
                .credentials(AzureCloudProviderConnectorCredentialsArgs.builder()
                    .type("ManualConfig")
                    .azureManualDetails(AzureCloudProviderConnectorCredentialsAzureManualDetailsArgs.builder()
                        .applicationId("application_id")
                        .tenantId("tenant_id")
                        .auth(AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthArgs.builder()
                            .type("Secret")
                            .azureClientSecretKey(AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientSecretKeyArgs.builder()
                                .secretRef(String.format("account.%s", test.id()))
                                .build())
                            .build())
                        .build())
                    .build())
                .azureEnvironmentType("AZURE")
                .delegateSelectors("harness-delegate")
                .build());
    
            var manualConfigCertificate = new AzureCloudProviderConnector("manualConfigCertificate", AzureCloudProviderConnectorArgs.builder()
                .identifier("identifier")
                .name("name")
                .description("example")
                .tags("foo:bar")
                .credentials(AzureCloudProviderConnectorCredentialsArgs.builder()
                    .type("ManualConfig")
                    .azureManualDetails(AzureCloudProviderConnectorCredentialsAzureManualDetailsArgs.builder()
                        .applicationId("application_id")
                        .tenantId("tenant_id")
                        .auth(AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthArgs.builder()
                            .type("Certificate")
                            .azureClientKeyCert(AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientKeyCertArgs.builder()
                                .certificateRef(String.format("account.%s", test.id()))
                                .build())
                            .build())
                        .build())
                    .build())
                .azureEnvironmentType("AZURE")
                .delegateSelectors("harness-delegate")
                .build());
    
            var inheritFromDelegateUserAssignedManagedIdentity = new AzureCloudProviderConnector("inheritFromDelegateUserAssignedManagedIdentity", AzureCloudProviderConnectorArgs.builder()
                .identifier("identifier")
                .name("name")
                .description("example")
                .tags("foo:bar")
                .credentials(AzureCloudProviderConnectorCredentialsArgs.builder()
                    .type("InheritFromDelegate")
                    .azureInheritFromDelegateDetails(AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsArgs.builder()
                        .auth(AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthArgs.builder()
                            .azureMsiAuthUa(AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUaArgs.builder()
                                .clientId("client_id")
                                .build())
                            .type("UserAssignedManagedIdentity")
                            .build())
                        .build())
                    .build())
                .azureEnvironmentType("AZURE")
                .delegateSelectors("harness-delegate")
                .build());
    
            var inheritFromDelegateSystemAssignedManagedIdentity = new AzureCloudProviderConnector("inheritFromDelegateSystemAssignedManagedIdentity", AzureCloudProviderConnectorArgs.builder()
                .identifier("identifier")
                .name("name")
                .description("example")
                .tags("foo:bar")
                .credentials(AzureCloudProviderConnectorCredentialsArgs.builder()
                    .type("InheritFromDelegate")
                    .azureInheritFromDelegateDetails(AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsArgs.builder()
                        .auth(AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthArgs.builder()
                            .type("SystemAssignedManagedIdentity")
                            .build())
                        .build())
                    .build())
                .azureEnvironmentType("AZURE")
                .delegateSelectors("harness-delegate")
                .build());
    
        }
    }
    
    resources:
      manualConfigSecret:
        type: harness:platform:AzureCloudProviderConnector
        name: manual_config_secret
        properties:
          identifier: identifier
          name: name
          description: example
          tags:
            - foo:bar
          credentials:
            type: ManualConfig
            azureManualDetails:
              applicationId: application_id
              tenantId: tenant_id
              auth:
                type: Secret
                azureClientSecretKey:
                  secretRef: account.${test.id}
          azureEnvironmentType: AZURE
          delegateSelectors:
            - harness-delegate
      manualConfigCertificate:
        type: harness:platform:AzureCloudProviderConnector
        name: manual_config_certificate
        properties:
          identifier: identifier
          name: name
          description: example
          tags:
            - foo:bar
          credentials:
            type: ManualConfig
            azureManualDetails:
              applicationId: application_id
              tenantId: tenant_id
              auth:
                type: Certificate
                azureClientKeyCert:
                  certificateRef: account.${test.id}
          azureEnvironmentType: AZURE
          delegateSelectors:
            - harness-delegate
      inheritFromDelegateUserAssignedManagedIdentity:
        type: harness:platform:AzureCloudProviderConnector
        name: inherit_from_delegate_user_assigned_managed_identity
        properties:
          identifier: identifier
          name: name
          description: example
          tags:
            - foo:bar
          credentials:
            type: InheritFromDelegate
            azureInheritFromDelegateDetails:
              auth:
                azureMsiAuthUa:
                  clientId: client_id
                type: UserAssignedManagedIdentity
          azureEnvironmentType: AZURE
          delegateSelectors:
            - harness-delegate
      inheritFromDelegateSystemAssignedManagedIdentity:
        type: harness:platform:AzureCloudProviderConnector
        name: inherit_from_delegate_system_assigned_managed_identity
        properties:
          identifier: identifier
          name: name
          description: example
          tags:
            - foo:bar
          credentials:
            type: InheritFromDelegate
            azureInheritFromDelegateDetails:
              auth:
                type: SystemAssignedManagedIdentity
          azureEnvironmentType: AZURE
          delegateSelectors:
            - harness-delegate
    

    Create AzureCloudProviderConnector Resource

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

    Constructor syntax

    new AzureCloudProviderConnector(name: string, args: AzureCloudProviderConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def AzureCloudProviderConnector(resource_name: str,
                                    args: AzureCloudProviderConnectorArgs,
                                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def AzureCloudProviderConnector(resource_name: str,
                                    opts: Optional[ResourceOptions] = None,
                                    credentials: Optional[AzureCloudProviderConnectorCredentialsArgs] = None,
                                    identifier: Optional[str] = None,
                                    azure_environment_type: Optional[str] = None,
                                    delegate_selectors: Optional[Sequence[str]] = None,
                                    description: Optional[str] = None,
                                    execute_on_delegate: Optional[bool] = None,
                                    force_delete: Optional[bool] = None,
                                    name: Optional[str] = None,
                                    org_id: Optional[str] = None,
                                    project_id: Optional[str] = None,
                                    tags: Optional[Sequence[str]] = None)
    func NewAzureCloudProviderConnector(ctx *Context, name string, args AzureCloudProviderConnectorArgs, opts ...ResourceOption) (*AzureCloudProviderConnector, error)
    public AzureCloudProviderConnector(string name, AzureCloudProviderConnectorArgs args, CustomResourceOptions? opts = null)
    public AzureCloudProviderConnector(String name, AzureCloudProviderConnectorArgs args)
    public AzureCloudProviderConnector(String name, AzureCloudProviderConnectorArgs args, CustomResourceOptions options)
    
    type: harness:platform:AzureCloudProviderConnector
    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 AzureCloudProviderConnectorArgs
    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 AzureCloudProviderConnectorArgs
    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 AzureCloudProviderConnectorArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AzureCloudProviderConnectorArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AzureCloudProviderConnectorArgs
    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 azureCloudProviderConnectorResource = new Harness.Platform.AzureCloudProviderConnector("azureCloudProviderConnectorResource", new()
    {
        Credentials = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsArgs
        {
            Type = "string",
            AzureInheritFromDelegateDetails = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsArgs
            {
                Auth = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthArgs
                {
                    Type = "string",
                    AzureMsiAuthUa = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUaArgs
                    {
                        ClientId = "string",
                    },
                },
            },
            AzureManualDetails = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureManualDetailsArgs
            {
                ApplicationId = "string",
                Auth = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthArgs
                {
                    AzureClientKeyCert = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientKeyCertArgs
                    {
                        CertificateRef = "string",
                    },
                    AzureClientSecretKey = new Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientSecretKeyArgs
                    {
                        SecretRef = "string",
                    },
                    Type = "string",
                },
                TenantId = "string",
            },
        },
        Identifier = "string",
        AzureEnvironmentType = "string",
        DelegateSelectors = new[]
        {
            "string",
        },
        Description = "string",
        ExecuteOnDelegate = false,
        ForceDelete = false,
        Name = "string",
        OrgId = "string",
        ProjectId = "string",
        Tags = new[]
        {
            "string",
        },
    });
    
    example, err := platform.NewAzureCloudProviderConnector(ctx, "azureCloudProviderConnectorResource", &platform.AzureCloudProviderConnectorArgs{
    	Credentials: &platform.AzureCloudProviderConnectorCredentialsArgs{
    		Type: pulumi.String("string"),
    		AzureInheritFromDelegateDetails: &platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsArgs{
    			Auth: &platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthArgs{
    				Type: pulumi.String("string"),
    				AzureMsiAuthUa: &platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUaArgs{
    					ClientId: pulumi.String("string"),
    				},
    			},
    		},
    		AzureManualDetails: &platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsArgs{
    			ApplicationId: pulumi.String("string"),
    			Auth: &platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthArgs{
    				AzureClientKeyCert: &platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientKeyCertArgs{
    					CertificateRef: pulumi.String("string"),
    				},
    				AzureClientSecretKey: &platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientSecretKeyArgs{
    					SecretRef: pulumi.String("string"),
    				},
    				Type: pulumi.String("string"),
    			},
    			TenantId: pulumi.String("string"),
    		},
    	},
    	Identifier:           pulumi.String("string"),
    	AzureEnvironmentType: pulumi.String("string"),
    	DelegateSelectors: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Description:       pulumi.String("string"),
    	ExecuteOnDelegate: pulumi.Bool(false),
    	ForceDelete:       pulumi.Bool(false),
    	Name:              pulumi.String("string"),
    	OrgId:             pulumi.String("string"),
    	ProjectId:         pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var azureCloudProviderConnectorResource = new AzureCloudProviderConnector("azureCloudProviderConnectorResource", AzureCloudProviderConnectorArgs.builder()
        .credentials(AzureCloudProviderConnectorCredentialsArgs.builder()
            .type("string")
            .azureInheritFromDelegateDetails(AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsArgs.builder()
                .auth(AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthArgs.builder()
                    .type("string")
                    .azureMsiAuthUa(AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUaArgs.builder()
                        .clientId("string")
                        .build())
                    .build())
                .build())
            .azureManualDetails(AzureCloudProviderConnectorCredentialsAzureManualDetailsArgs.builder()
                .applicationId("string")
                .auth(AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthArgs.builder()
                    .azureClientKeyCert(AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientKeyCertArgs.builder()
                        .certificateRef("string")
                        .build())
                    .azureClientSecretKey(AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientSecretKeyArgs.builder()
                        .secretRef("string")
                        .build())
                    .type("string")
                    .build())
                .tenantId("string")
                .build())
            .build())
        .identifier("string")
        .azureEnvironmentType("string")
        .delegateSelectors("string")
        .description("string")
        .executeOnDelegate(false)
        .forceDelete(false)
        .name("string")
        .orgId("string")
        .projectId("string")
        .tags("string")
        .build());
    
    azure_cloud_provider_connector_resource = harness.platform.AzureCloudProviderConnector("azureCloudProviderConnectorResource",
        credentials=harness.platform.AzureCloudProviderConnectorCredentialsArgs(
            type="string",
            azure_inherit_from_delegate_details=harness.platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsArgs(
                auth=harness.platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthArgs(
                    type="string",
                    azure_msi_auth_ua=harness.platform.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUaArgs(
                        client_id="string",
                    ),
                ),
            ),
            azure_manual_details=harness.platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsArgs(
                application_id="string",
                auth=harness.platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthArgs(
                    azure_client_key_cert=harness.platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientKeyCertArgs(
                        certificate_ref="string",
                    ),
                    azure_client_secret_key=harness.platform.AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientSecretKeyArgs(
                        secret_ref="string",
                    ),
                    type="string",
                ),
                tenant_id="string",
            ),
        ),
        identifier="string",
        azure_environment_type="string",
        delegate_selectors=["string"],
        description="string",
        execute_on_delegate=False,
        force_delete=False,
        name="string",
        org_id="string",
        project_id="string",
        tags=["string"])
    
    const azureCloudProviderConnectorResource = new harness.platform.AzureCloudProviderConnector("azureCloudProviderConnectorResource", {
        credentials: {
            type: "string",
            azureInheritFromDelegateDetails: {
                auth: {
                    type: "string",
                    azureMsiAuthUa: {
                        clientId: "string",
                    },
                },
            },
            azureManualDetails: {
                applicationId: "string",
                auth: {
                    azureClientKeyCert: {
                        certificateRef: "string",
                    },
                    azureClientSecretKey: {
                        secretRef: "string",
                    },
                    type: "string",
                },
                tenantId: "string",
            },
        },
        identifier: "string",
        azureEnvironmentType: "string",
        delegateSelectors: ["string"],
        description: "string",
        executeOnDelegate: false,
        forceDelete: false,
        name: "string",
        orgId: "string",
        projectId: "string",
        tags: ["string"],
    });
    
    type: harness:platform:AzureCloudProviderConnector
    properties:
        azureEnvironmentType: string
        credentials:
            azureInheritFromDelegateDetails:
                auth:
                    azureMsiAuthUa:
                        clientId: string
                    type: string
            azureManualDetails:
                applicationId: string
                auth:
                    azureClientKeyCert:
                        certificateRef: string
                    azureClientSecretKey:
                        secretRef: string
                    type: string
                tenantId: string
            type: string
        delegateSelectors:
            - string
        description: string
        executeOnDelegate: false
        forceDelete: false
        identifier: string
        name: string
        orgId: string
        projectId: string
        tags:
            - string
    

    AzureCloudProviderConnector Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AzureCloudProviderConnector resource accepts the following input properties:

    Credentials AzureCloudProviderConnectorCredentials
    Contains Azure connector credentials.
    Identifier string
    Unique identifier of the resource.
    AzureEnvironmentType string
    Specifies the Azure Environment type, which is AZURE by default. Can either be AZURE or AZUREUSGOVERNMENT
    DelegateSelectors List<string>
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    ExecuteOnDelegate bool
    Execute on delegate or not.
    ForceDelete bool
    Enable this flag for force deletion of connector
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Tags List<string>
    Tags to associate with the resource.
    Credentials AzureCloudProviderConnectorCredentialsArgs
    Contains Azure connector credentials.
    Identifier string
    Unique identifier of the resource.
    AzureEnvironmentType string
    Specifies the Azure Environment type, which is AZURE by default. Can either be AZURE or AZUREUSGOVERNMENT
    DelegateSelectors []string
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    ExecuteOnDelegate bool
    Execute on delegate or not.
    ForceDelete bool
    Enable this flag for force deletion of connector
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Tags []string
    Tags to associate with the resource.
    credentials AzureCloudProviderConnectorCredentials
    Contains Azure connector credentials.
    identifier String
    Unique identifier of the resource.
    azureEnvironmentType String
    Specifies the Azure Environment type, which is AZURE by default. Can either be AZURE or AZUREUSGOVERNMENT
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    executeOnDelegate Boolean
    Execute on delegate or not.
    forceDelete Boolean
    Enable this flag for force deletion of connector
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.
    credentials AzureCloudProviderConnectorCredentials
    Contains Azure connector credentials.
    identifier string
    Unique identifier of the resource.
    azureEnvironmentType string
    Specifies the Azure Environment type, which is AZURE by default. Can either be AZURE or AZUREUSGOVERNMENT
    delegateSelectors string[]
    Tags to filter delegates for connection.
    description string
    Description of the resource.
    executeOnDelegate boolean
    Execute on delegate or not.
    forceDelete boolean
    Enable this flag for force deletion of connector
    name string
    Name of the resource.
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    tags string[]
    Tags to associate with the resource.
    credentials AzureCloudProviderConnectorCredentialsArgs
    Contains Azure connector credentials.
    identifier str
    Unique identifier of the resource.
    azure_environment_type str
    Specifies the Azure Environment type, which is AZURE by default. Can either be AZURE or AZUREUSGOVERNMENT
    delegate_selectors Sequence[str]
    Tags to filter delegates for connection.
    description str
    Description of the resource.
    execute_on_delegate bool
    Execute on delegate or not.
    force_delete bool
    Enable this flag for force deletion of connector
    name str
    Name of the resource.
    org_id str
    Unique identifier of the organization.
    project_id str
    Unique identifier of the project.
    tags Sequence[str]
    Tags to associate with the resource.
    credentials Property Map
    Contains Azure connector credentials.
    identifier String
    Unique identifier of the resource.
    azureEnvironmentType String
    Specifies the Azure Environment type, which is AZURE by default. Can either be AZURE or AZUREUSGOVERNMENT
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    executeOnDelegate Boolean
    Execute on delegate or not.
    forceDelete Boolean
    Enable this flag for force deletion of connector
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.

    Outputs

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

    Get an existing AzureCloudProviderConnector 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?: AzureCloudProviderConnectorState, opts?: CustomResourceOptions): AzureCloudProviderConnector
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            azure_environment_type: Optional[str] = None,
            credentials: Optional[AzureCloudProviderConnectorCredentialsArgs] = None,
            delegate_selectors: Optional[Sequence[str]] = None,
            description: Optional[str] = None,
            execute_on_delegate: Optional[bool] = None,
            force_delete: Optional[bool] = None,
            identifier: Optional[str] = None,
            name: Optional[str] = None,
            org_id: Optional[str] = None,
            project_id: Optional[str] = None,
            tags: Optional[Sequence[str]] = None) -> AzureCloudProviderConnector
    func GetAzureCloudProviderConnector(ctx *Context, name string, id IDInput, state *AzureCloudProviderConnectorState, opts ...ResourceOption) (*AzureCloudProviderConnector, error)
    public static AzureCloudProviderConnector Get(string name, Input<string> id, AzureCloudProviderConnectorState? state, CustomResourceOptions? opts = null)
    public static AzureCloudProviderConnector get(String name, Output<String> id, AzureCloudProviderConnectorState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    AzureEnvironmentType string
    Specifies the Azure Environment type, which is AZURE by default. Can either be AZURE or AZUREUSGOVERNMENT
    Credentials AzureCloudProviderConnectorCredentials
    Contains Azure connector credentials.
    DelegateSelectors List<string>
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    ExecuteOnDelegate bool
    Execute on delegate or not.
    ForceDelete bool
    Enable this flag for force deletion of connector
    Identifier string
    Unique identifier of the resource.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Tags List<string>
    Tags to associate with the resource.
    AzureEnvironmentType string
    Specifies the Azure Environment type, which is AZURE by default. Can either be AZURE or AZUREUSGOVERNMENT
    Credentials AzureCloudProviderConnectorCredentialsArgs
    Contains Azure connector credentials.
    DelegateSelectors []string
    Tags to filter delegates for connection.
    Description string
    Description of the resource.
    ExecuteOnDelegate bool
    Execute on delegate or not.
    ForceDelete bool
    Enable this flag for force deletion of connector
    Identifier string
    Unique identifier of the resource.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Tags []string
    Tags to associate with the resource.
    azureEnvironmentType String
    Specifies the Azure Environment type, which is AZURE by default. Can either be AZURE or AZUREUSGOVERNMENT
    credentials AzureCloudProviderConnectorCredentials
    Contains Azure connector credentials.
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    executeOnDelegate Boolean
    Execute on delegate or not.
    forceDelete Boolean
    Enable this flag for force deletion of connector
    identifier String
    Unique identifier of the resource.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.
    azureEnvironmentType string
    Specifies the Azure Environment type, which is AZURE by default. Can either be AZURE or AZUREUSGOVERNMENT
    credentials AzureCloudProviderConnectorCredentials
    Contains Azure connector credentials.
    delegateSelectors string[]
    Tags to filter delegates for connection.
    description string
    Description of the resource.
    executeOnDelegate boolean
    Execute on delegate or not.
    forceDelete boolean
    Enable this flag for force deletion of connector
    identifier string
    Unique identifier of the resource.
    name string
    Name of the resource.
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    tags string[]
    Tags to associate with the resource.
    azure_environment_type str
    Specifies the Azure Environment type, which is AZURE by default. Can either be AZURE or AZUREUSGOVERNMENT
    credentials AzureCloudProviderConnectorCredentialsArgs
    Contains Azure connector credentials.
    delegate_selectors Sequence[str]
    Tags to filter delegates for connection.
    description str
    Description of the resource.
    execute_on_delegate bool
    Execute on delegate or not.
    force_delete bool
    Enable this flag for force deletion of connector
    identifier str
    Unique identifier of the resource.
    name str
    Name of the resource.
    org_id str
    Unique identifier of the organization.
    project_id str
    Unique identifier of the project.
    tags Sequence[str]
    Tags to associate with the resource.
    azureEnvironmentType String
    Specifies the Azure Environment type, which is AZURE by default. Can either be AZURE or AZUREUSGOVERNMENT
    credentials Property Map
    Contains Azure connector credentials.
    delegateSelectors List<String>
    Tags to filter delegates for connection.
    description String
    Description of the resource.
    executeOnDelegate Boolean
    Execute on delegate or not.
    forceDelete Boolean
    Enable this flag for force deletion of connector
    identifier String
    Unique identifier of the resource.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.

    Supporting Types

    AzureCloudProviderConnectorCredentials, AzureCloudProviderConnectorCredentialsArgs

    Type string
    Type can either be InheritFromDelegate or ManualConfig.
    AzureInheritFromDelegateDetails AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetails
    Authenticate to Azure Cloud Provider using details inheriting from delegate.
    AzureManualDetails AzureCloudProviderConnectorCredentialsAzureManualDetails
    Authenticate to Azure Cloud Provider using manual details.
    Type string
    Type can either be InheritFromDelegate or ManualConfig.
    AzureInheritFromDelegateDetails AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetails
    Authenticate to Azure Cloud Provider using details inheriting from delegate.
    AzureManualDetails AzureCloudProviderConnectorCredentialsAzureManualDetails
    Authenticate to Azure Cloud Provider using manual details.
    type String
    Type can either be InheritFromDelegate or ManualConfig.
    azureInheritFromDelegateDetails AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetails
    Authenticate to Azure Cloud Provider using details inheriting from delegate.
    azureManualDetails AzureCloudProviderConnectorCredentialsAzureManualDetails
    Authenticate to Azure Cloud Provider using manual details.
    type string
    Type can either be InheritFromDelegate or ManualConfig.
    azureInheritFromDelegateDetails AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetails
    Authenticate to Azure Cloud Provider using details inheriting from delegate.
    azureManualDetails AzureCloudProviderConnectorCredentialsAzureManualDetails
    Authenticate to Azure Cloud Provider using manual details.
    type str
    Type can either be InheritFromDelegate or ManualConfig.
    azure_inherit_from_delegate_details AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetails
    Authenticate to Azure Cloud Provider using details inheriting from delegate.
    azure_manual_details AzureCloudProviderConnectorCredentialsAzureManualDetails
    Authenticate to Azure Cloud Provider using manual details.
    type String
    Type can either be InheritFromDelegate or ManualConfig.
    azureInheritFromDelegateDetails Property Map
    Authenticate to Azure Cloud Provider using details inheriting from delegate.
    azureManualDetails Property Map
    Authenticate to Azure Cloud Provider using manual details.

    AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetails, AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsArgs

    Auth AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuth
    Auth to authenticate to Azure Cloud Provider using details inheriting from delegate.
    Auth AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuth
    Auth to authenticate to Azure Cloud Provider using details inheriting from delegate.
    auth AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuth
    Auth to authenticate to Azure Cloud Provider using details inheriting from delegate.
    auth AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuth
    Auth to authenticate to Azure Cloud Provider using details inheriting from delegate.
    auth AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuth
    Auth to authenticate to Azure Cloud Provider using details inheriting from delegate.
    auth Property Map
    Auth to authenticate to Azure Cloud Provider using details inheriting from delegate.

    AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuth, AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthArgs

    Type string
    Type can either be SystemAssignedManagedIdentity or UserAssignedManagedIdentity.
    AzureMsiAuthUa AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUa
    Azure UserAssigned MSI auth details.
    Type string
    Type can either be SystemAssignedManagedIdentity or UserAssignedManagedIdentity.
    AzureMsiAuthUa AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUa
    Azure UserAssigned MSI auth details.
    type String
    Type can either be SystemAssignedManagedIdentity or UserAssignedManagedIdentity.
    azureMsiAuthUa AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUa
    Azure UserAssigned MSI auth details.
    type string
    Type can either be SystemAssignedManagedIdentity or UserAssignedManagedIdentity.
    azureMsiAuthUa AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUa
    Azure UserAssigned MSI auth details.
    type str
    Type can either be SystemAssignedManagedIdentity or UserAssignedManagedIdentity.
    azure_msi_auth_ua AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUa
    Azure UserAssigned MSI auth details.
    type String
    Type can either be SystemAssignedManagedIdentity or UserAssignedManagedIdentity.
    azureMsiAuthUa Property Map
    Azure UserAssigned MSI auth details.

    AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUa, AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUaArgs

    ClientId string
    Client Id of the ManagedIdentity resource.
    ClientId string
    Client Id of the ManagedIdentity resource.
    clientId String
    Client Id of the ManagedIdentity resource.
    clientId string
    Client Id of the ManagedIdentity resource.
    client_id str
    Client Id of the ManagedIdentity resource.
    clientId String
    Client Id of the ManagedIdentity resource.

    AzureCloudProviderConnectorCredentialsAzureManualDetails, AzureCloudProviderConnectorCredentialsAzureManualDetailsArgs

    ApplicationId string
    Application ID of the Azure App.
    Auth AzureCloudProviderConnectorCredentialsAzureManualDetailsAuth
    Contains Azure auth details.
    TenantId string
    The Azure Active Directory (AAD) directory ID where you created your application.
    ApplicationId string
    Application ID of the Azure App.
    Auth AzureCloudProviderConnectorCredentialsAzureManualDetailsAuth
    Contains Azure auth details.
    TenantId string
    The Azure Active Directory (AAD) directory ID where you created your application.
    applicationId String
    Application ID of the Azure App.
    auth AzureCloudProviderConnectorCredentialsAzureManualDetailsAuth
    Contains Azure auth details.
    tenantId String
    The Azure Active Directory (AAD) directory ID where you created your application.
    applicationId string
    Application ID of the Azure App.
    auth AzureCloudProviderConnectorCredentialsAzureManualDetailsAuth
    Contains Azure auth details.
    tenantId string
    The Azure Active Directory (AAD) directory ID where you created your application.
    application_id str
    Application ID of the Azure App.
    auth AzureCloudProviderConnectorCredentialsAzureManualDetailsAuth
    Contains Azure auth details.
    tenant_id str
    The Azure Active Directory (AAD) directory ID where you created your application.
    applicationId String
    Application ID of the Azure App.
    auth Property Map
    Contains Azure auth details.
    tenantId String
    The Azure Active Directory (AAD) directory ID where you created your application.

    AzureCloudProviderConnectorCredentialsAzureManualDetailsAuth, AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthArgs

    azureClientKeyCert Property Map
    Azure client key certificate details.
    azureClientSecretKey Property Map
    Azure Client Secret Key details.
    type String
    Type can either be Certificate or Secret.

    AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientKeyCert, AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientKeyCertArgs

    CertificateRef string
    Reference of the secret for the certificate. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    CertificateRef string
    Reference of the secret for the certificate. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    certificateRef String
    Reference of the secret for the certificate. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    certificateRef string
    Reference of the secret for the certificate. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    certificate_ref str
    Reference of the secret for the certificate. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    certificateRef String
    Reference of the secret for the certificate. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.

    AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientSecretKey, AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientSecretKeyArgs

    SecretRef string
    Reference of the secret for the secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    SecretRef string
    Reference of the secret for the secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    secretRef String
    Reference of the secret for the secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    secretRef string
    Reference of the secret for the secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    secret_ref str
    Reference of the secret for the secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.
    secretRef String
    Reference of the secret for the secret key. To reference a secret at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a secret at the account scope, prefix 'account` to the expression: account.{identifier}.

    Import

    Import account level azure cloud provider connector

    $ pulumi import harness:platform/azureCloudProviderConnector:AzureCloudProviderConnector example <connector_id>
    

    Import org level azure cloud provider connector

    $ pulumi import harness:platform/azureCloudProviderConnector:AzureCloudProviderConnector example <ord_id>/<connector_id>
    

    Import project level azure cloud provider connector

    $ pulumi import harness:platform/azureCloudProviderConnector:AzureCloudProviderConnector example <org_id>/<project_id>/<connector_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.2.1 published on Friday, Jul 26, 2024 by Pulumi