@pulumi/harness
Version:
A Pulumi package for creating and managing Harness resources.
124 lines (123 loc) • 3.35 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Datasource for looking up an Azure Cloud Provider Connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getAzureCloudProviderConnector({
* identifier: "identifier",
* });
* ```
*/
export declare function getAzureCloudProviderConnector(args: GetAzureCloudProviderConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetAzureCloudProviderConnectorResult>;
/**
* A collection of arguments for invoking getAzureCloudProviderConnector.
*/
export interface GetAzureCloudProviderConnectorArgs {
/**
* Unique identifier of the resource.
*/
identifier: string;
/**
* Name of the resource.
*/
name?: string;
/**
* Unique identifier of the organization.
*/
orgId?: string;
/**
* Unique identifier of the project.
*/
projectId?: string;
}
/**
* A collection of values returned by getAzureCloudProviderConnector.
*/
export interface GetAzureCloudProviderConnectorResult {
/**
* Specifies the Azure Environment type, which is AZURE by default. Can either be AZURE or AZURE*US*GOVERNMENT
*/
readonly azureEnvironmentType: string;
/**
* Contains Azure connector credentials.
*/
readonly credentials: outputs.platform.GetAzureCloudProviderConnectorCredential[];
/**
* Tags to filter delegates for connection.
*/
readonly delegateSelectors: string[];
/**
* Description of the resource.
*/
readonly description: string;
/**
* Execute on delegate or not.
*/
readonly executeOnDelegate: boolean;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* Unique identifier of the resource.
*/
readonly identifier: string;
/**
* Name of the resource.
*/
readonly name?: string;
/**
* Unique identifier of the organization.
*/
readonly orgId?: string;
/**
* Unique identifier of the project.
*/
readonly projectId?: string;
/**
* Tags to associate with the resource.
*/
readonly tags: string[];
}
/**
* Datasource for looking up an Azure Cloud Provider Connector.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as harness from "@pulumi/harness";
*
* const example = harness.platform.getAzureCloudProviderConnector({
* identifier: "identifier",
* });
* ```
*/
export declare function getAzureCloudProviderConnectorOutput(args: GetAzureCloudProviderConnectorOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAzureCloudProviderConnectorResult>;
/**
* A collection of arguments for invoking getAzureCloudProviderConnector.
*/
export interface GetAzureCloudProviderConnectorOutputArgs {
/**
* Unique identifier of the resource.
*/
identifier: pulumi.Input<string>;
/**
* Name of the resource.
*/
name?: pulumi.Input<string>;
/**
* Unique identifier of the organization.
*/
orgId?: pulumi.Input<string>;
/**
* Unique identifier of the project.
*/
projectId?: pulumi.Input<string>;
}