1. Packages
  2. Harness Provider
  3. API Docs
  4. autostopping
  5. AzureProxy
Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi

harness.autostopping.AzureProxy

Explore with Pulumi AI

harness logo
Harness v0.4.4 published on Tuesday, Nov 12, 2024 by Pulumi

    Resource for creating an Azure autostopping proxy

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    const test = new harness.autostopping.AzureProxy("test", {
        name: "name",
        cloudConnectorId: "cloud_connector_id",
        hostName: "host_name",
        region: "eastus2",
        resourceGroup: "resource_group",
        vpc: "/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network",
        subnetId: "/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network/subnets/subnet_id",
        securityGroups: ["/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/networkSecurityGroups/network_security_group"],
        allocateStaticIp: true,
        machineType: "Standard_D2s_v3",
        keypair: "",
        apiKey: "",
        deleteCloudResourcesOnDestroy: true,
    });
    
    import pulumi
    import pulumi_harness as harness
    
    test = harness.autostopping.AzureProxy("test",
        name="name",
        cloud_connector_id="cloud_connector_id",
        host_name="host_name",
        region="eastus2",
        resource_group="resource_group",
        vpc="/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network",
        subnet_id="/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network/subnets/subnet_id",
        security_groups=["/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/networkSecurityGroups/network_security_group"],
        allocate_static_ip=True,
        machine_type="Standard_D2s_v3",
        keypair="",
        api_key="",
        delete_cloud_resources_on_destroy=True)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-harness/sdk/go/harness/autostopping"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := autostopping.NewAzureProxy(ctx, "test", &autostopping.AzureProxyArgs{
    			Name:             pulumi.String("name"),
    			CloudConnectorId: pulumi.String("cloud_connector_id"),
    			HostName:         pulumi.String("host_name"),
    			Region:           pulumi.String("eastus2"),
    			ResourceGroup:    pulumi.String("resource_group"),
    			Vpc:              pulumi.String("/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network"),
    			SubnetId:         pulumi.String("/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network/subnets/subnet_id"),
    			SecurityGroups: pulumi.StringArray{
    				pulumi.String("/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/networkSecurityGroups/network_security_group"),
    			},
    			AllocateStaticIp:              pulumi.Bool(true),
    			MachineType:                   pulumi.String("Standard_D2s_v3"),
    			Keypair:                       pulumi.String(""),
    			ApiKey:                        pulumi.String(""),
    			DeleteCloudResourcesOnDestroy: pulumi.Bool(true),
    		})
    		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 test = new Harness.Autostopping.AzureProxy("test", new()
        {
            Name = "name",
            CloudConnectorId = "cloud_connector_id",
            HostName = "host_name",
            Region = "eastus2",
            ResourceGroup = "resource_group",
            Vpc = "/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network",
            SubnetId = "/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network/subnets/subnet_id",
            SecurityGroups = new[]
            {
                "/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/networkSecurityGroups/network_security_group",
            },
            AllocateStaticIp = true,
            MachineType = "Standard_D2s_v3",
            Keypair = "",
            ApiKey = "",
            DeleteCloudResourcesOnDestroy = true,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.autostopping.AzureProxy;
    import com.pulumi.harness.autostopping.AzureProxyArgs;
    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 test = new AzureProxy("test", AzureProxyArgs.builder()
                .name("name")
                .cloudConnectorId("cloud_connector_id")
                .hostName("host_name")
                .region("eastus2")
                .resourceGroup("resource_group")
                .vpc("/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network")
                .subnetId("/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network/subnets/subnet_id")
                .securityGroups("/subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/networkSecurityGroups/network_security_group")
                .allocateStaticIp(true)
                .machineType("Standard_D2s_v3")
                .keypair("")
                .apiKey("")
                .deleteCloudResourcesOnDestroy(true)
                .build());
    
        }
    }
    
    resources:
      test:
        type: harness:autostopping:AzureProxy
        properties:
          name: name
          cloudConnectorId: cloud_connector_id
          hostName: host_name
          region: eastus2
          resourceGroup: resource_group
          vpc: /subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network
          subnetId: /subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/virtualNetworks/virtual_network/subnets/subnet_id
          securityGroups:
            - /subscriptions/subscription_id/resourceGroups/resource_group/providers/Microsoft.Network/networkSecurityGroups/network_security_group
          allocateStaticIp: true
          machineType: Standard_D2s_v3
          keypair:
          apiKey:
          deleteCloudResourcesOnDestroy: true
    

    Create AzureProxy Resource

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

    Constructor syntax

    new AzureProxy(name: string, args: AzureProxyArgs, opts?: CustomResourceOptions);
    @overload
    def AzureProxy(resource_name: str,
                   args: AzureProxyArgs,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def AzureProxy(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   region: Optional[str] = None,
                   api_key: Optional[str] = None,
                   vpc: Optional[str] = None,
                   subnet_id: Optional[str] = None,
                   cloud_connector_id: Optional[str] = None,
                   delete_cloud_resources_on_destroy: Optional[bool] = None,
                   host_name: Optional[str] = None,
                   keypair: Optional[str] = None,
                   machine_type: Optional[str] = None,
                   resource_group: Optional[str] = None,
                   certificates: Optional[AzureProxyCertificatesArgs] = None,
                   name: Optional[str] = None,
                   security_groups: Optional[Sequence[str]] = None,
                   allocate_static_ip: Optional[bool] = None,
                   certificate_id: Optional[str] = None)
    func NewAzureProxy(ctx *Context, name string, args AzureProxyArgs, opts ...ResourceOption) (*AzureProxy, error)
    public AzureProxy(string name, AzureProxyArgs args, CustomResourceOptions? opts = null)
    public AzureProxy(String name, AzureProxyArgs args)
    public AzureProxy(String name, AzureProxyArgs args, CustomResourceOptions options)
    
    type: harness:autostopping:AzureProxy
    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 AzureProxyArgs
    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 AzureProxyArgs
    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 AzureProxyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AzureProxyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AzureProxyArgs
    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 azureProxyResource = new Harness.Autostopping.AzureProxy("azureProxyResource", new()
    {
        Region = "string",
        ApiKey = "string",
        Vpc = "string",
        SubnetId = "string",
        CloudConnectorId = "string",
        DeleteCloudResourcesOnDestroy = false,
        HostName = "string",
        Keypair = "string",
        MachineType = "string",
        ResourceGroup = "string",
        Certificates = new Harness.Autostopping.Inputs.AzureProxyCertificatesArgs
        {
            CertSecretId = "string",
            KeySecretId = "string",
        },
        Name = "string",
        SecurityGroups = new[]
        {
            "string",
        },
        AllocateStaticIp = false,
        CertificateId = "string",
    });
    
    example, err := autostopping.NewAzureProxy(ctx, "azureProxyResource", &autostopping.AzureProxyArgs{
    	Region:                        pulumi.String("string"),
    	ApiKey:                        pulumi.String("string"),
    	Vpc:                           pulumi.String("string"),
    	SubnetId:                      pulumi.String("string"),
    	CloudConnectorId:              pulumi.String("string"),
    	DeleteCloudResourcesOnDestroy: pulumi.Bool(false),
    	HostName:                      pulumi.String("string"),
    	Keypair:                       pulumi.String("string"),
    	MachineType:                   pulumi.String("string"),
    	ResourceGroup:                 pulumi.String("string"),
    	Certificates: &autostopping.AzureProxyCertificatesArgs{
    		CertSecretId: pulumi.String("string"),
    		KeySecretId:  pulumi.String("string"),
    	},
    	Name: pulumi.String("string"),
    	SecurityGroups: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	AllocateStaticIp: pulumi.Bool(false),
    	CertificateId:    pulumi.String("string"),
    })
    
    var azureProxyResource = new AzureProxy("azureProxyResource", AzureProxyArgs.builder()
        .region("string")
        .apiKey("string")
        .vpc("string")
        .subnetId("string")
        .cloudConnectorId("string")
        .deleteCloudResourcesOnDestroy(false)
        .hostName("string")
        .keypair("string")
        .machineType("string")
        .resourceGroup("string")
        .certificates(AzureProxyCertificatesArgs.builder()
            .certSecretId("string")
            .keySecretId("string")
            .build())
        .name("string")
        .securityGroups("string")
        .allocateStaticIp(false)
        .certificateId("string")
        .build());
    
    azure_proxy_resource = harness.autostopping.AzureProxy("azureProxyResource",
        region="string",
        api_key="string",
        vpc="string",
        subnet_id="string",
        cloud_connector_id="string",
        delete_cloud_resources_on_destroy=False,
        host_name="string",
        keypair="string",
        machine_type="string",
        resource_group="string",
        certificates={
            "cert_secret_id": "string",
            "key_secret_id": "string",
        },
        name="string",
        security_groups=["string"],
        allocate_static_ip=False,
        certificate_id="string")
    
    const azureProxyResource = new harness.autostopping.AzureProxy("azureProxyResource", {
        region: "string",
        apiKey: "string",
        vpc: "string",
        subnetId: "string",
        cloudConnectorId: "string",
        deleteCloudResourcesOnDestroy: false,
        hostName: "string",
        keypair: "string",
        machineType: "string",
        resourceGroup: "string",
        certificates: {
            certSecretId: "string",
            keySecretId: "string",
        },
        name: "string",
        securityGroups: ["string"],
        allocateStaticIp: false,
        certificateId: "string",
    });
    
    type: harness:autostopping:AzureProxy
    properties:
        allocateStaticIp: false
        apiKey: string
        certificateId: string
        certificates:
            certSecretId: string
            keySecretId: string
        cloudConnectorId: string
        deleteCloudResourcesOnDestroy: false
        hostName: string
        keypair: string
        machineType: string
        name: string
        region: string
        resourceGroup: string
        securityGroups:
            - string
        subnetId: string
        vpc: string
    

    AzureProxy Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AzureProxy resource accepts the following input properties:

    ApiKey string
    Harness NG API key
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    HostName string
    Hostname for the proxy
    Keypair string
    Name of SSH Key to be used for proxy VM
    MachineType string
    Type of instance to be used for proxy
    Region string
    Region in which cloud resources are hosted
    ResourceGroup string
    Resource group in which cloud resources are hosted
    SubnetId string
    Subnet in which cloud resources are hosted
    Vpc string
    VPC in which cloud resources are hosted
    AllocateStaticIp bool
    Boolean value to indicate if proxy vm needs to have static IP
    CertificateId string
    Certificates AzureProxyCertificates
    Name string
    Name of the proxy
    SecurityGroups List<string>
    Security Group to define the security rules that determine the inbound and outbound traffic
    ApiKey string
    Harness NG API key
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    HostName string
    Hostname for the proxy
    Keypair string
    Name of SSH Key to be used for proxy VM
    MachineType string
    Type of instance to be used for proxy
    Region string
    Region in which cloud resources are hosted
    ResourceGroup string
    Resource group in which cloud resources are hosted
    SubnetId string
    Subnet in which cloud resources are hosted
    Vpc string
    VPC in which cloud resources are hosted
    AllocateStaticIp bool
    Boolean value to indicate if proxy vm needs to have static IP
    CertificateId string
    Certificates AzureProxyCertificatesArgs
    Name string
    Name of the proxy
    SecurityGroups []string
    Security Group to define the security rules that determine the inbound and outbound traffic
    apiKey String
    Harness NG API key
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    hostName String
    Hostname for the proxy
    keypair String
    Name of SSH Key to be used for proxy VM
    machineType String
    Type of instance to be used for proxy
    region String
    Region in which cloud resources are hosted
    resourceGroup String
    Resource group in which cloud resources are hosted
    subnetId String
    Subnet in which cloud resources are hosted
    vpc String
    VPC in which cloud resources are hosted
    allocateStaticIp Boolean
    Boolean value to indicate if proxy vm needs to have static IP
    certificateId String
    certificates AzureProxyCertificates
    name String
    Name of the proxy
    securityGroups List<String>
    Security Group to define the security rules that determine the inbound and outbound traffic
    apiKey string
    Harness NG API key
    cloudConnectorId string
    Id of the cloud connector
    deleteCloudResourcesOnDestroy boolean
    hostName string
    Hostname for the proxy
    keypair string
    Name of SSH Key to be used for proxy VM
    machineType string
    Type of instance to be used for proxy
    region string
    Region in which cloud resources are hosted
    resourceGroup string
    Resource group in which cloud resources are hosted
    subnetId string
    Subnet in which cloud resources are hosted
    vpc string
    VPC in which cloud resources are hosted
    allocateStaticIp boolean
    Boolean value to indicate if proxy vm needs to have static IP
    certificateId string
    certificates AzureProxyCertificates
    name string
    Name of the proxy
    securityGroups string[]
    Security Group to define the security rules that determine the inbound and outbound traffic
    api_key str
    Harness NG API key
    cloud_connector_id str
    Id of the cloud connector
    delete_cloud_resources_on_destroy bool
    host_name str
    Hostname for the proxy
    keypair str
    Name of SSH Key to be used for proxy VM
    machine_type str
    Type of instance to be used for proxy
    region str
    Region in which cloud resources are hosted
    resource_group str
    Resource group in which cloud resources are hosted
    subnet_id str
    Subnet in which cloud resources are hosted
    vpc str
    VPC in which cloud resources are hosted
    allocate_static_ip bool
    Boolean value to indicate if proxy vm needs to have static IP
    certificate_id str
    certificates AzureProxyCertificatesArgs
    name str
    Name of the proxy
    security_groups Sequence[str]
    Security Group to define the security rules that determine the inbound and outbound traffic
    apiKey String
    Harness NG API key
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    hostName String
    Hostname for the proxy
    keypair String
    Name of SSH Key to be used for proxy VM
    machineType String
    Type of instance to be used for proxy
    region String
    Region in which cloud resources are hosted
    resourceGroup String
    Resource group in which cloud resources are hosted
    subnetId String
    Subnet in which cloud resources are hosted
    vpc String
    VPC in which cloud resources are hosted
    allocateStaticIp Boolean
    Boolean value to indicate if proxy vm needs to have static IP
    certificateId String
    certificates Property Map
    name String
    Name of the proxy
    securityGroups List<String>
    Security Group to define the security rules that determine the inbound and outbound traffic

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AzureProxy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    Unique identifier of the resource
    id str
    The provider-assigned unique ID for this managed resource.
    identifier str
    Unique identifier of the resource
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource

    Look up Existing AzureProxy Resource

    Get an existing AzureProxy 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?: AzureProxyState, opts?: CustomResourceOptions): AzureProxy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allocate_static_ip: Optional[bool] = None,
            api_key: Optional[str] = None,
            certificate_id: Optional[str] = None,
            certificates: Optional[AzureProxyCertificatesArgs] = None,
            cloud_connector_id: Optional[str] = None,
            delete_cloud_resources_on_destroy: Optional[bool] = None,
            host_name: Optional[str] = None,
            identifier: Optional[str] = None,
            keypair: Optional[str] = None,
            machine_type: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            resource_group: Optional[str] = None,
            security_groups: Optional[Sequence[str]] = None,
            subnet_id: Optional[str] = None,
            vpc: Optional[str] = None) -> AzureProxy
    func GetAzureProxy(ctx *Context, name string, id IDInput, state *AzureProxyState, opts ...ResourceOption) (*AzureProxy, error)
    public static AzureProxy Get(string name, Input<string> id, AzureProxyState? state, CustomResourceOptions? opts = null)
    public static AzureProxy get(String name, Output<String> id, AzureProxyState 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:
    AllocateStaticIp bool
    Boolean value to indicate if proxy vm needs to have static IP
    ApiKey string
    Harness NG API key
    CertificateId string
    Certificates AzureProxyCertificates
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    HostName string
    Hostname for the proxy
    Identifier string
    Unique identifier of the resource
    Keypair string
    Name of SSH Key to be used for proxy VM
    MachineType string
    Type of instance to be used for proxy
    Name string
    Name of the proxy
    Region string
    Region in which cloud resources are hosted
    ResourceGroup string
    Resource group in which cloud resources are hosted
    SecurityGroups List<string>
    Security Group to define the security rules that determine the inbound and outbound traffic
    SubnetId string
    Subnet in which cloud resources are hosted
    Vpc string
    VPC in which cloud resources are hosted
    AllocateStaticIp bool
    Boolean value to indicate if proxy vm needs to have static IP
    ApiKey string
    Harness NG API key
    CertificateId string
    Certificates AzureProxyCertificatesArgs
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    HostName string
    Hostname for the proxy
    Identifier string
    Unique identifier of the resource
    Keypair string
    Name of SSH Key to be used for proxy VM
    MachineType string
    Type of instance to be used for proxy
    Name string
    Name of the proxy
    Region string
    Region in which cloud resources are hosted
    ResourceGroup string
    Resource group in which cloud resources are hosted
    SecurityGroups []string
    Security Group to define the security rules that determine the inbound and outbound traffic
    SubnetId string
    Subnet in which cloud resources are hosted
    Vpc string
    VPC in which cloud resources are hosted
    allocateStaticIp Boolean
    Boolean value to indicate if proxy vm needs to have static IP
    apiKey String
    Harness NG API key
    certificateId String
    certificates AzureProxyCertificates
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    hostName String
    Hostname for the proxy
    identifier String
    Unique identifier of the resource
    keypair String
    Name of SSH Key to be used for proxy VM
    machineType String
    Type of instance to be used for proxy
    name String
    Name of the proxy
    region String
    Region in which cloud resources are hosted
    resourceGroup String
    Resource group in which cloud resources are hosted
    securityGroups List<String>
    Security Group to define the security rules that determine the inbound and outbound traffic
    subnetId String
    Subnet in which cloud resources are hosted
    vpc String
    VPC in which cloud resources are hosted
    allocateStaticIp boolean
    Boolean value to indicate if proxy vm needs to have static IP
    apiKey string
    Harness NG API key
    certificateId string
    certificates AzureProxyCertificates
    cloudConnectorId string
    Id of the cloud connector
    deleteCloudResourcesOnDestroy boolean
    hostName string
    Hostname for the proxy
    identifier string
    Unique identifier of the resource
    keypair string
    Name of SSH Key to be used for proxy VM
    machineType string
    Type of instance to be used for proxy
    name string
    Name of the proxy
    region string
    Region in which cloud resources are hosted
    resourceGroup string
    Resource group in which cloud resources are hosted
    securityGroups string[]
    Security Group to define the security rules that determine the inbound and outbound traffic
    subnetId string
    Subnet in which cloud resources are hosted
    vpc string
    VPC in which cloud resources are hosted
    allocate_static_ip bool
    Boolean value to indicate if proxy vm needs to have static IP
    api_key str
    Harness NG API key
    certificate_id str
    certificates AzureProxyCertificatesArgs
    cloud_connector_id str
    Id of the cloud connector
    delete_cloud_resources_on_destroy bool
    host_name str
    Hostname for the proxy
    identifier str
    Unique identifier of the resource
    keypair str
    Name of SSH Key to be used for proxy VM
    machine_type str
    Type of instance to be used for proxy
    name str
    Name of the proxy
    region str
    Region in which cloud resources are hosted
    resource_group str
    Resource group in which cloud resources are hosted
    security_groups Sequence[str]
    Security Group to define the security rules that determine the inbound and outbound traffic
    subnet_id str
    Subnet in which cloud resources are hosted
    vpc str
    VPC in which cloud resources are hosted
    allocateStaticIp Boolean
    Boolean value to indicate if proxy vm needs to have static IP
    apiKey String
    Harness NG API key
    certificateId String
    certificates Property Map
    cloudConnectorId String
    Id of the cloud connector
    deleteCloudResourcesOnDestroy Boolean
    hostName String
    Hostname for the proxy
    identifier String
    Unique identifier of the resource
    keypair String
    Name of SSH Key to be used for proxy VM
    machineType String
    Type of instance to be used for proxy
    name String
    Name of the proxy
    region String
    Region in which cloud resources are hosted
    resourceGroup String
    Resource group in which cloud resources are hosted
    securityGroups List<String>
    Security Group to define the security rules that determine the inbound and outbound traffic
    subnetId String
    Subnet in which cloud resources are hosted
    vpc String
    VPC in which cloud resources are hosted

    Supporting Types

    AzureProxyCertificates, AzureProxyCertificatesArgs

    CertSecretId string
    ID of certificate secret uploaded to vault
    KeySecretId string
    ID of certificate key uploaded to vault
    CertSecretId string
    ID of certificate secret uploaded to vault
    KeySecretId string
    ID of certificate key uploaded to vault
    certSecretId String
    ID of certificate secret uploaded to vault
    keySecretId String
    ID of certificate key uploaded to vault
    certSecretId string
    ID of certificate secret uploaded to vault
    keySecretId string
    ID of certificate key uploaded to vault
    cert_secret_id str
    ID of certificate secret uploaded to vault
    key_secret_id str
    ID of certificate key uploaded to vault
    certSecretId String
    ID of certificate secret uploaded to vault
    keySecretId String
    ID of certificate key uploaded to vault

    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.4.4 published on Tuesday, Nov 12, 2024 by Pulumi