import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to access information about an existing certificate in a Batch Account. * * > **Note:** The `azure.batch.Certificate` data source has been deprecated due to Azure retiring the Azure Batch Account Certificates Feature, and will be removed in v5.0 of the AzureRM provider. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.batch.getCertificate({ * name: "SHA1-42C107874FD0E4A9583292A2F1098E8FE4B2EDDA", * accountName: "examplebatchaccount", * resourceGroupName: "example", * }); * export const thumbprint = example.then(example => example.thumbprint); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Batch` - 2024-07-01 */ export declare function getCertificate(args: GetCertificateArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getCertificate. */ export interface GetCertificateArgs { /** * The name of the Batch account. */ accountName: string; /** * The name of the Batch certificate. */ name: string; /** * The Name of the Resource Group where this Batch account exists. */ resourceGroupName: string; } /** * A collection of values returned by getCertificate. */ export interface GetCertificateResult { readonly accountName: string; /** * The format of the certificate, such as `Cer` or `Pfx`. */ readonly format: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly name: string; /** * The public key of the certificate. */ readonly publicData: string; readonly resourceGroupName: string; /** * The thumbprint of the certificate. */ readonly thumbprint: string; /** * The algorithm of the certificate thumbprint. */ readonly thumbprintAlgorithm: string; } /** * Use this data source to access information about an existing certificate in a Batch Account. * * > **Note:** The `azure.batch.Certificate` data source has been deprecated due to Azure retiring the Azure Batch Account Certificates Feature, and will be removed in v5.0 of the AzureRM provider. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as azure from "@pulumi/azure"; * * const example = azure.batch.getCertificate({ * name: "SHA1-42C107874FD0E4A9583292A2F1098E8FE4B2EDDA", * accountName: "examplebatchaccount", * resourceGroupName: "example", * }); * export const thumbprint = example.then(example => example.thumbprint); * ``` * * ## API Providers * * * This data source uses the following Azure API Providers: * * * `Microsoft.Batch` - 2024-07-01 */ export declare function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getCertificate. */ export interface GetCertificateOutputArgs { /** * The name of the Batch account. */ accountName: pulumi.Input; /** * The name of the Batch certificate. */ name: pulumi.Input; /** * The Name of the Resource Group where this Batch account exists. */ resourceGroupName: pulumi.Input; }