1. Packages
  2. Harness
  3. API Docs
  4. platform
  5. AzureCloudProviderConnector
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

harness.platform.AzureCloudProviderConnector

Explore with Pulumi AI

harness logo
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

    Resource for creating an Azure Cloud Provider in Harness.

    Example Usage

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

    Create AzureCloudProviderConnector Resource

    new AzureCloudProviderConnector(name: string, args: AzureCloudProviderConnectorArgs, opts?: CustomResourceOptions);
    @overload
    def AzureCloudProviderConnector(resource_name: 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,
                                    identifier: Optional[str] = None,
                                    name: Optional[str] = None,
                                    org_id: Optional[str] = None,
                                    project_id: Optional[str] = None,
                                    tags: Optional[Sequence[str]] = None)
    @overload
    def AzureCloudProviderConnector(resource_name: str,
                                    args: AzureCloudProviderConnectorArgs,
                                    opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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 Lbrlabs.PulumiPackage.Harness.Platform.Inputs.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.

    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.

    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.

    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.

    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.

    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.

    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,
            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 Lbrlabs.PulumiPackage.Harness.Platform.Inputs.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.

    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.

    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.

    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.

    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.

    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.

    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 Lbrlabs.PulumiPackage.Harness.Platform.Inputs.AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetails

    Authenticate to Azure Cloud Provider using details inheriting from delegate.

    AzureManualDetails Lbrlabs.PulumiPackage.Harness.Platform.Inputs.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

    AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuth, AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthArgs

    AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUa, AzureCloudProviderConnectorCredentialsAzureInheritFromDelegateDetailsAuthAzureMsiAuthUaArgs

    ClientId string
    ClientId string
    clientId String
    clientId string
    clientId String

    AzureCloudProviderConnectorCredentialsAzureManualDetails, AzureCloudProviderConnectorCredentialsAzureManualDetailsArgs

    AzureCloudProviderConnectorCredentialsAzureManualDetailsAuth, AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthArgs

    AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientKeyCert, AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientKeyCertArgs

    AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientSecretKey, AzureCloudProviderConnectorCredentialsAzureManualDetailsAuthAzureClientSecretKeyArgs

    SecretRef string
    SecretRef string
    secretRef String
    secretRef string
    secretRef String

    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>
    

    Package Details

    Repository
    harness lbrlabs/pulumi-harness
    License
    Apache-2.0
    Notes

    This Pulumi package is based on the harness Terraform Provider.

    harness logo
    Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs