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

80 lines (79 loc) 3 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get the certificate from the provisioning service. * * Uses Azure REST API version 2023-03-01-preview. * * Other available API versions: 2017-08-21-preview, 2017-11-15, 2018-01-22, 2020-01-01, 2020-03-01, 2020-09-01-preview, 2021-10-15, 2022-02-05, 2022-12-12, 2025-02-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native deviceprovisioningservices [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getDpsCertificate(args: GetDpsCertificateArgs, opts?: pulumi.InvokeOptions): Promise<GetDpsCertificateResult>; export interface GetDpsCertificateArgs { /** * Name of the certificate to retrieve. */ certificateName: string; /** * Name of the provisioning service the certificate is associated with. */ provisioningServiceName: string; /** * Resource group identifier. */ resourceGroupName: string; } /** * The X509 Certificate. */ export interface GetDpsCertificateResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The entity tag. */ readonly etag: string; /** * The resource identifier. */ readonly id: string; /** * The name of the certificate. */ readonly name: string; /** * properties of a certificate */ readonly properties: outputs.deviceprovisioningservices.CertificatePropertiesResponse; /** * Metadata pertaining to creation and last modification of the resource. */ readonly systemData: outputs.deviceprovisioningservices.SystemDataResponse; /** * The resource type. */ readonly type: string; } /** * Get the certificate from the provisioning service. * * Uses Azure REST API version 2023-03-01-preview. * * Other available API versions: 2017-08-21-preview, 2017-11-15, 2018-01-22, 2020-01-01, 2020-03-01, 2020-09-01-preview, 2021-10-15, 2022-02-05, 2022-12-12, 2025-02-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native deviceprovisioningservices [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getDpsCertificateOutput(args: GetDpsCertificateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDpsCertificateResult>; export interface GetDpsCertificateOutputArgs { /** * Name of the certificate to retrieve. */ certificateName: pulumi.Input<string>; /** * Name of the provisioning service the certificate is associated with. */ provisioningServiceName: pulumi.Input<string>; /** * Resource group identifier. */ resourceGroupName: pulumi.Input<string>; }