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

83 lines (82 loc) 3.02 kB
import * as pulumi from "@pulumi/pulumi"; /** * Description for Get the named public certificate for an app (or deployment slot, if specified). * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWebAppPublicCertificate(args: GetWebAppPublicCertificateArgs, opts?: pulumi.InvokeOptions): Promise<GetWebAppPublicCertificateResult>; export interface GetWebAppPublicCertificateArgs { /** * Name of the app. */ name: string; /** * Public certificate name. */ publicCertificateName: string; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: string; } /** * Public certificate object */ export interface GetWebAppPublicCertificateResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Public Certificate byte array */ readonly blob?: string; /** * Resource Id. */ readonly id: string; /** * Kind of resource. */ readonly kind?: string; /** * Resource Name. */ readonly name: string; /** * Public Certificate Location */ readonly publicCertificateLocation?: string; /** * Certificate Thumbprint */ readonly thumbprint: string; /** * Resource type. */ readonly type: string; } /** * Description for Get the named public certificate for an app (or deployment slot, if specified). * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01, 2024-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native web [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getWebAppPublicCertificateOutput(args: GetWebAppPublicCertificateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWebAppPublicCertificateResult>; export interface GetWebAppPublicCertificateOutputArgs { /** * Name of the app. */ name: pulumi.Input<string>; /** * Public certificate name. */ publicCertificateName: pulumi.Input<string>; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: pulumi.Input<string>; }