Harness v0.3.2 published on Monday, Sep 16, 2024 by Pulumi
harness.autostopping.getAzureProxy
Explore with Pulumi AI
Data source for Azure Autostopping proxy
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.autostopping.AutostoppingFunctions;
import com.pulumi.harness.autostopping.inputs.GetAzureProxyArgs;
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) {
final var test = AutostoppingFunctions.getAzureProxy(GetAzureProxyArgs.builder()
.identifier("identifier")
.build());
}
}
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,
host_name: 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,
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,
host_name: Optional[pulumi.Input[str]] = 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: harness:autostopping/getAzureProxy:getAzureProxy
arguments:
# arguments dictionary
The following arguments are supported:
- Api
Key string - Harness NG API key
- Cloud
Connector stringId - Id of the cloud connector
- Delete
Cloud boolResources On Destroy - Host
Name string - Hostname for the proxy
- Keypair string
- Name of SSH Key to be used for proxy VM
- Machine
Type string - Type of instance to be used for proxy
- Name string
- Name of the proxy
- Region string
- Region in which cloud resources are hosted
- Resource
Group string - Resource group in which cloud resources are hosted
- Subnet
Id string - Subnet in which cloud resources are hosted
- Vpc string
- VPC in which cloud resources are hosted
- Allocate
Static boolIp - Boolean value to indicate if proxy vm needs to have static IP
- Certificate
Id string - Certificates
Get
Azure Proxy Certificates - Security
Groups List<string> - Security Group to define the security rules that determine the inbound and outbound traffic
- Api
Key string - Harness NG API key
- Cloud
Connector stringId - Id of the cloud connector
- Delete
Cloud boolResources On Destroy - Host
Name string - Hostname for the proxy
- Keypair string
- Name of SSH Key to be used for proxy VM
- Machine
Type string - Type of instance to be used for proxy
- Name string
- Name of the proxy
- Region string
- Region in which cloud resources are hosted
- Resource
Group string - Resource group in which cloud resources are hosted
- Subnet
Id string - Subnet in which cloud resources are hosted
- Vpc string
- VPC in which cloud resources are hosted
- Allocate
Static boolIp - Boolean value to indicate if proxy vm needs to have static IP
- Certificate
Id string - Certificates
Get
Azure Proxy Certificates - Security
Groups []string - Security Group to define the security rules that determine the inbound and outbound traffic
- api
Key String - Harness NG API key
- cloud
Connector StringId - Id of the cloud connector
- delete
Cloud BooleanResources On Destroy - host
Name String - Hostname for the proxy
- keypair String
- Name of SSH Key to be used for proxy VM
- machine
Type String - Type of instance to be used for proxy
- name String
- Name of the proxy
- region String
- Region in which cloud resources are hosted
- resource
Group String - Resource group in which cloud resources are hosted
- subnet
Id String - Subnet in which cloud resources are hosted
- vpc String
- VPC in which cloud resources are hosted
- allocate
Static BooleanIp - Boolean value to indicate if proxy vm needs to have static IP
- certificate
Id String - certificates
Get
Azure Proxy Certificates - security
Groups List<String> - Security Group to define the security rules that determine the inbound and outbound traffic
- api
Key string - Harness NG API key
- cloud
Connector stringId - Id of the cloud connector
- delete
Cloud booleanResources On Destroy - host
Name string - Hostname for the proxy
- keypair string
- Name of SSH Key to be used for proxy VM
- machine
Type string - Type of instance to be used for proxy
- name string
- Name of the proxy
- region string
- Region in which cloud resources are hosted
- resource
Group string - Resource group in which cloud resources are hosted
- subnet
Id string - Subnet in which cloud resources are hosted
- vpc string
- VPC in which cloud resources are hosted
- allocate
Static booleanIp - Boolean value to indicate if proxy vm needs to have static IP
- certificate
Id string - certificates
Get
Azure Proxy Certificates - security
Groups string[] - Security Group to define the security rules that determine the inbound and outbound traffic
- api_
key str - Harness NG API key
- cloud_
connector_ strid - Id of the cloud connector
- delete_
cloud_ boolresources_ on_ destroy - 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
- 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_ boolip - Boolean value to indicate if proxy vm needs to have static IP
- certificate_
id str - certificates
Get
Azure Proxy Certificates - security_
groups Sequence[str] - Security Group to define the security rules that determine the inbound and outbound traffic
- api
Key String - Harness NG API key
- cloud
Connector StringId - Id of the cloud connector
- delete
Cloud BooleanResources On Destroy - host
Name String - Hostname for the proxy
- keypair String
- Name of SSH Key to be used for proxy VM
- machine
Type String - Type of instance to be used for proxy
- name String
- Name of the proxy
- region String
- Region in which cloud resources are hosted
- resource
Group String - Resource group in which cloud resources are hosted
- subnet
Id String - Subnet in which cloud resources are hosted
- vpc String
- VPC in which cloud resources are hosted
- allocate
Static BooleanIp - Boolean value to indicate if proxy vm needs to have static IP
- certificate
Id String - certificates Property Map
- security
Groups List<String> - Security Group to define the security rules that determine the inbound and outbound traffic
getAzureProxy Result
The following output properties are available:
- Api
Key string - Harness NG API key
- Cloud
Connector stringId - Id of the cloud connector
- Delete
Cloud boolResources On Destroy - Host
Name string - Hostname for the proxy
- 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
- Machine
Type string - Type of instance to be used for proxy
- Name string
- Name of the proxy
- Region string
- Region in which cloud resources are hosted
- Resource
Group string - Resource group in which cloud resources are hosted
- Subnet
Id string - Subnet in which cloud resources are hosted
- Vpc string
- VPC in which cloud resources are hosted
- Allocate
Static boolIp - Boolean value to indicate if proxy vm needs to have static IP
- Certificate
Id string - Certificates
Get
Azure Proxy Certificates - Security
Groups List<string> - Security Group to define the security rules that determine the inbound and outbound traffic
- Api
Key string - Harness NG API key
- Cloud
Connector stringId - Id of the cloud connector
- Delete
Cloud boolResources On Destroy - Host
Name string - Hostname for the proxy
- 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
- Machine
Type string - Type of instance to be used for proxy
- Name string
- Name of the proxy
- Region string
- Region in which cloud resources are hosted
- Resource
Group string - Resource group in which cloud resources are hosted
- Subnet
Id string - Subnet in which cloud resources are hosted
- Vpc string
- VPC in which cloud resources are hosted
- Allocate
Static boolIp - Boolean value to indicate if proxy vm needs to have static IP
- Certificate
Id string - Certificates
Get
Azure Proxy Certificates - Security
Groups []string - Security Group to define the security rules that determine the inbound and outbound traffic
- api
Key String - Harness NG API key
- cloud
Connector StringId - Id of the cloud connector
- delete
Cloud BooleanResources On Destroy - host
Name String - Hostname for the proxy
- 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
- machine
Type String - Type of instance to be used for proxy
- name String
- Name of the proxy
- region String
- Region in which cloud resources are hosted
- resource
Group String - Resource group in which cloud resources are hosted
- subnet
Id String - Subnet in which cloud resources are hosted
- vpc String
- VPC in which cloud resources are hosted
- allocate
Static BooleanIp - Boolean value to indicate if proxy vm needs to have static IP
- certificate
Id String - certificates
Get
Azure Proxy Certificates - security
Groups List<String> - Security Group to define the security rules that determine the inbound and outbound traffic
- api
Key string - Harness NG API key
- cloud
Connector stringId - Id of the cloud connector
- delete
Cloud booleanResources On Destroy - host
Name string - Hostname for the proxy
- 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
- machine
Type string - Type of instance to be used for proxy
- name string
- Name of the proxy
- region string
- Region in which cloud resources are hosted
- resource
Group string - Resource group in which cloud resources are hosted
- subnet
Id string - Subnet in which cloud resources are hosted
- vpc string
- VPC in which cloud resources are hosted
- allocate
Static booleanIp - Boolean value to indicate if proxy vm needs to have static IP
- certificate
Id string - certificates
Get
Azure Proxy Certificates - security
Groups string[] - Security Group to define the security rules that determine the inbound and outbound traffic
- api_
key str - Harness NG API key
- cloud_
connector_ strid - Id of the cloud connector
- delete_
cloud_ boolresources_ on_ destroy - host_
name str - Hostname for the proxy
- 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
- 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_ boolip - Boolean value to indicate if proxy vm needs to have static IP
- certificate_
id str - certificates
Get
Azure Proxy Certificates - security_
groups Sequence[str] - Security Group to define the security rules that determine the inbound and outbound traffic
- api
Key String - Harness NG API key
- cloud
Connector StringId - Id of the cloud connector
- delete
Cloud BooleanResources On Destroy - host
Name String - Hostname for the proxy
- 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
- machine
Type String - Type of instance to be used for proxy
- name String
- Name of the proxy
- region String
- Region in which cloud resources are hosted
- resource
Group String - Resource group in which cloud resources are hosted
- subnet
Id String - Subnet in which cloud resources are hosted
- vpc String
- VPC in which cloud resources are hosted
- allocate
Static BooleanIp - Boolean value to indicate if proxy vm needs to have static IP
- certificate
Id String - certificates Property Map
- security
Groups List<String> - Security Group to define the security rules that determine the inbound and outbound traffic
Supporting Types
GetAzureProxyCertificates
- Cert
Secret stringId - ID of certificate secret uploaded to vault
- Key
Secret stringId - ID of certificate key uploaded to vault
- Cert
Secret stringId - ID of certificate secret uploaded to vault
- Key
Secret stringId - ID of certificate key uploaded to vault
- cert
Secret StringId - ID of certificate secret uploaded to vault
- key
Secret StringId - ID of certificate key uploaded to vault
- cert
Secret stringId - ID of certificate secret uploaded to vault
- key
Secret stringId - ID of certificate key uploaded to vault
- cert_
secret_ strid - ID of certificate secret uploaded to vault
- key_
secret_ strid - ID of certificate key uploaded to vault
- cert
Secret StringId - ID of certificate secret uploaded to vault
- key
Secret StringId - 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.