1. Packages
  2. Harness Provider
  3. API Docs
  4. autostopping
  5. getAzureProxy
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi

    Data source for Azure Autostopping proxy

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    variables:
      test:
        fn::invoke:
          function: harness:autostopping:getAzureProxy
          arguments:
            identifier: identifier
    

    Using getAzureProxy

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAzureProxy(args: GetAzureProxyArgs, opts?: InvokeOptions): Promise<GetAzureProxyResult>
    function getAzureProxyOutput(args: GetAzureProxyOutputArgs, opts?: InvokeOptions): Output<GetAzureProxyResult>
    def get_azure_proxy(allocate_static_ip: Optional[bool] = None,
                        api_key: Optional[str] = None,
                        certificate_id: Optional[str] = None,
                        certificates: Optional[GetAzureProxyCertificates] = None,
                        cloud_connector_id: Optional[str] = None,
                        delete_cloud_resources_on_destroy: Optional[bool] = 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,
                        opts: Optional[InvokeOptions] = None) -> GetAzureProxyResult
    def get_azure_proxy_output(allocate_static_ip: Optional[pulumi.Input[bool]] = None,
                        api_key: Optional[pulumi.Input[str]] = None,
                        certificate_id: Optional[pulumi.Input[str]] = None,
                        certificates: Optional[pulumi.Input[GetAzureProxyCertificatesArgs]] = None,
                        cloud_connector_id: Optional[pulumi.Input[str]] = None,
                        delete_cloud_resources_on_destroy: Optional[pulumi.Input[bool]] = None,
                        keypair: Optional[pulumi.Input[str]] = None,
                        machine_type: Optional[pulumi.Input[str]] = None,
                        name: Optional[pulumi.Input[str]] = None,
                        region: Optional[pulumi.Input[str]] = None,
                        resource_group: Optional[pulumi.Input[str]] = None,
                        security_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                        subnet_id: Optional[pulumi.Input[str]] = None,
                        vpc: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetAzureProxyResult]
    func LookupAzureProxy(ctx *Context, args *LookupAzureProxyArgs, opts ...InvokeOption) (*LookupAzureProxyResult, error)
    func LookupAzureProxyOutput(ctx *Context, args *LookupAzureProxyOutputArgs, opts ...InvokeOption) LookupAzureProxyResultOutput

    > Note: This function is named LookupAzureProxy in the Go SDK.

    public static class GetAzureProxy 
    {
        public static Task<GetAzureProxyResult> InvokeAsync(GetAzureProxyArgs args, InvokeOptions? opts = null)
        public static Output<GetAzureProxyResult> Invoke(GetAzureProxyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAzureProxyResult> getAzureProxy(GetAzureProxyArgs args, InvokeOptions options)
    public static Output<GetAzureProxyResult> getAzureProxy(GetAzureProxyArgs args, InvokeOptions options)
    
    fn::invoke:
      function: harness:autostopping/getAzureProxy:getAzureProxy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ApiKey string
    Harness NG API key
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in Azure account itself.
    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
    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 GetAzureProxyCertificates
    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
    Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in Azure account itself.
    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
    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 GetAzureProxyCertificates
    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
    Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in Azure account itself.
    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
    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 GetAzureProxyCertificates
    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
    Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in Azure account itself.
    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
    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 GetAzureProxyCertificates
    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
    Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in Azure account itself.
    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
    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 GetAzureProxyCertificates
    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
    Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in Azure account itself.
    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
    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
    securityGroups List<String>
    Security Group to define the security rules that determine the inbound and outbound traffic

    getAzureProxy Result

    The following output properties are available:

    ApiKey string
    Harness NG API key
    CloudConnectorId string
    Id of the cloud connector
    DeleteCloudResourcesOnDestroy bool
    Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in Azure account itself.
    Id string
    The provider-assigned unique ID for this managed resource.
    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
    PrivateIp string
    Private IP address of the proxy
    PublicIp string
    Public IP address of the 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 GetAzureProxyCertificates
    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
    Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in Azure account itself.
    Id string
    The provider-assigned unique ID for this managed resource.
    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
    PrivateIp string
    Private IP address of the proxy
    PublicIp string
    Public IP address of the 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 GetAzureProxyCertificates
    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
    Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in Azure account itself.
    id String
    The provider-assigned unique ID for this managed resource.
    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
    privateIp String
    Private IP address of the proxy
    publicIp String
    Public IP address of the 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 GetAzureProxyCertificates
    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
    Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in Azure account itself.
    id string
    The provider-assigned unique ID for this managed resource.
    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
    privateIp string
    Private IP address of the proxy
    publicIp string
    Public IP address of the 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 GetAzureProxyCertificates
    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
    Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in Azure account itself.
    id str
    The provider-assigned unique ID for this managed resource.
    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
    private_ip str
    Private IP address of the proxy
    public_ip str
    Public IP address of the 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 GetAzureProxyCertificates
    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
    Governs how the proxy entity will be deleted on Terraform destroy. When set to true, the associated VM will be deleted permanently from Azure account. Be fully aware of the consequneces of settting this to true, as the action is irreversible. When set to false, solely the Harness LB representation will be deleted, which leaves the proxy VM in Azure account itself.
    id String
    The provider-assigned unique ID for this managed resource.
    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
    privateIp String
    Private IP address of the proxy
    publicIp String
    Public IP address of the 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
    securityGroups List<String>
    Security Group to define the security rules that determine the inbound and outbound traffic

    Supporting Types

    GetAzureProxyCertificates

    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
    Viewing docs for Harness v0.11.6
    published on Thursday, Mar 12, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.