import * as pulumi from "@pulumi/pulumi"; /** * Manages an Azure Spring Cloud Certificate. * * !> **Note:** Azure Spring Apps is now deprecated and will be retired on 2028-05-31 - as such the `azure.appplatform.SpringCloudCertificate` resource is deprecated and will be removed in a future major version of the AzureRM Provider. See https://aka.ms/asaretirement for more information. * * ## Import * * Spring Cloud Certificate can be imported using the `resource id`, e.g. * * ```sh * $ pulumi import azure:appplatform/springCloudCertificate:SpringCloudCertificate example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourcegroup1/providers/Microsoft.AppPlatform/spring/spring1/certificates/cert1 * ``` */ export declare class SpringCloudCertificate extends pulumi.CustomResource { /** * Get an existing SpringCloudCertificate 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?: SpringCloudCertificateState, opts?: pulumi.CustomResourceOptions): SpringCloudCertificate; /** * Returns true if the given object is an instance of SpringCloudCertificate. 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 SpringCloudCertificate; /** * The content of uploaded certificate. Changing this forces a new resource to be created. */ readonly certificateContent: pulumi.Output; /** * Specifies whether the private key should be excluded from the Key Vault Certificate. Changing this forces a new resource to be created. Defaults to `false`. */ readonly excludePrivateKey: pulumi.Output; /** * Specifies the ID of the Key Vault Certificate resource. Changing this forces a new resource to be created. */ readonly keyVaultCertificateId: pulumi.Output; /** * Specifies the name of the Spring Cloud Certificate. Changing this forces a new resource to be created. */ readonly name: pulumi.Output; /** * Specifies the name of the resource group in which to create the Spring Cloud Certificate. Changing this forces a new resource to be created. */ readonly resourceGroupName: pulumi.Output; /** * Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created. */ readonly serviceName: pulumi.Output; /** * The thumbprint of the Spring Cloud certificate. */ readonly thumbprint: pulumi.Output; /** * Create a SpringCloudCertificate 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: SpringCloudCertificateArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SpringCloudCertificate resources. */ export interface SpringCloudCertificateState { /** * The content of uploaded certificate. Changing this forces a new resource to be created. */ certificateContent?: pulumi.Input; /** * Specifies whether the private key should be excluded from the Key Vault Certificate. Changing this forces a new resource to be created. Defaults to `false`. */ excludePrivateKey?: pulumi.Input; /** * Specifies the ID of the Key Vault Certificate resource. Changing this forces a new resource to be created. */ keyVaultCertificateId?: pulumi.Input; /** * Specifies the name of the Spring Cloud Certificate. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the name of the resource group in which to create the Spring Cloud Certificate. Changing this forces a new resource to be created. */ resourceGroupName?: pulumi.Input; /** * Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created. */ serviceName?: pulumi.Input; /** * The thumbprint of the Spring Cloud certificate. */ thumbprint?: pulumi.Input; } /** * The set of arguments for constructing a SpringCloudCertificate resource. */ export interface SpringCloudCertificateArgs { /** * The content of uploaded certificate. Changing this forces a new resource to be created. */ certificateContent?: pulumi.Input; /** * Specifies whether the private key should be excluded from the Key Vault Certificate. Changing this forces a new resource to be created. Defaults to `false`. */ excludePrivateKey?: pulumi.Input; /** * Specifies the ID of the Key Vault Certificate resource. Changing this forces a new resource to be created. */ keyVaultCertificateId?: pulumi.Input; /** * Specifies the name of the Spring Cloud Certificate. Changing this forces a new resource to be created. */ name?: pulumi.Input; /** * Specifies the name of the resource group in which to create the Spring Cloud Certificate. Changing this forces a new resource to be created. */ resourceGroupName: pulumi.Input; /** * Specifies the name of the Spring Cloud Service resource. Changing this forces a new resource to be created. */ serviceName: pulumi.Input; }