UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

170 lines (169 loc) 4.29 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * SSL certificate for an app. * * Uses Azure REST API version 2024-11-01. */ export declare function getSiteCertificateSlot(args: GetSiteCertificateSlotArgs, opts?: pulumi.InvokeOptions): Promise<GetSiteCertificateSlotResult>; export interface GetSiteCertificateSlotArgs { /** * Name of the certificate. */ certificateName: string; /** * Name of the site. */ name: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot. */ slot: string; } /** * SSL certificate for an app. */ export interface GetSiteCertificateSlotResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * CNAME of the certificate to be issued via free certificate */ readonly canonicalName?: string; /** * Raw bytes of .cer file */ readonly cerBlob: string; /** * Method of domain validation for free cert */ readonly domainValidationMethod?: string; /** * Certificate expiration date. */ readonly expirationDate: string; /** * Friendly name of the certificate. */ readonly friendlyName: string; /** * Host names the certificate applies to. */ readonly hostNames?: string[]; /** * Specification for the App Service Environment to use for the certificate. */ readonly hostingEnvironmentProfile: outputs.web.HostingEnvironmentProfileResponse; /** * Resource Id. */ readonly id: string; /** * Certificate issue Date. */ readonly issueDate: string; /** * Certificate issuer. */ readonly issuer: string; /** * Azure Key Vault Csm resource Id. */ readonly keyVaultId?: string; /** * Azure Key Vault secret name. */ readonly keyVaultSecretName?: string; /** * Status of the Key Vault secret. */ readonly keyVaultSecretStatus: string; /** * Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things_You_Should_Know/kind_property.md#app-service-resource-kind-reference for details supported values for kind. */ readonly kind?: string; /** * Resource Location. */ readonly location: string; /** * Resource Name. */ readonly name: string; /** * Certificate password. */ readonly password?: string; /** * Pfx blob. */ readonly pfxBlob?: string; /** * Public key hash. */ readonly publicKeyHash: string; /** * Self link. */ readonly selfLink: string; /** * Resource ID of the associated App Service plan. */ readonly serverFarmId?: string; /** * App name. */ readonly siteName: string; /** * Subject name of the certificate. */ readonly subjectName: string; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Certificate thumbprint. */ readonly thumbprint: string; /** * Resource type. */ readonly type: string; /** * Is the certificate valid?. */ readonly valid: boolean; } /** * SSL certificate for an app. * * Uses Azure REST API version 2024-11-01. */ export declare function getSiteCertificateSlotOutput(args: GetSiteCertificateSlotOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSiteCertificateSlotResult>; export interface GetSiteCertificateSlotOutputArgs { /** * Name of the certificate. */ certificateName: pulumi.Input<string>; /** * Name of the site. */ name: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * Name of the deployment slot. If a slot is not specified, the API will create a binding for the production slot. */ slot: pulumi.Input<string>; }