import * as pulumi from "@pulumi/pulumi"; /** * Resource for creating an Azure cloud provider. This resource uses the config-as-code API's. When updating the `name` or `path` of this resource you should typically also set the `createBeforeDestroy = true` lifecycle setting. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const _default = harness.getSecretManager({ * "default": true, * }); * const azureKey = new harness.EncryptedText("azure_key", { * name: "azure_key", * value: "", * secretManagerId: _default.then(_default => _default.id), * }); * const azure = new harness.cloudprovider.Azure("azure", { * name: "azure", * clientId: "", * tenantId: "", * key: azureKey.name, * }); * ``` * * ## Import * * The `pulumi import` command can be used, for example: * * Import using the Harness azure cloud provider id. * * ```sh * $ pulumi import harness:cloudprovider/azure:Azure example * ``` */ export declare class Azure extends pulumi.CustomResource { /** * Get an existing Azure resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: AzureState, opts?: pulumi.CustomResourceOptions): Azure; /** * Returns true if the given object is an instance of Azure. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Azure; /** * The client id for the Azure application */ readonly clientId: pulumi.Output; /** * The type of environment. Valid options are [AZURE AZURE*US*GOVERNMENT] */ readonly environmentType: pulumi.Output; /** * The Name of the Harness secret containing the key for the Azure application */ readonly key: pulumi.Output; /** * The name of the cloud provider. */ readonly name: pulumi.Output; /** * The tenant id for the Azure application */ readonly tenantId: pulumi.Output; /** * Create a Azure resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AzureArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Azure resources. */ export interface AzureState { /** * The client id for the Azure application */ clientId?: pulumi.Input; /** * The type of environment. Valid options are [AZURE AZURE*US*GOVERNMENT] */ environmentType?: pulumi.Input; /** * The Name of the Harness secret containing the key for the Azure application */ key?: pulumi.Input; /** * The name of the cloud provider. */ name?: pulumi.Input; /** * The tenant id for the Azure application */ tenantId?: pulumi.Input; } /** * The set of arguments for constructing a Azure resource. */ export interface AzureArgs { /** * The client id for the Azure application */ clientId: pulumi.Input; /** * The type of environment. Valid options are [AZURE AZURE*US*GOVERNMENT] */ environmentType?: pulumi.Input; /** * The Name of the Harness secret containing the key for the Azure application */ key: pulumi.Input; /** * The name of the cloud provider. */ name?: pulumi.Input; /** * The tenant id for the Azure application */ tenantId: pulumi.Input; } //# sourceMappingURL=azure.d.ts.map