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

156 lines (155 loc) 5.02 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Description for Get a certificate order. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 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 certificateregistration [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getAppServiceCertificateOrder(args: GetAppServiceCertificateOrderArgs, opts?: pulumi.InvokeOptions): Promise<GetAppServiceCertificateOrderResult>; export interface GetAppServiceCertificateOrderArgs { /** * Name of the certificate order.. */ certificateOrderName: string; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: string; } /** * SSL certificate purchase order. */ export interface GetAppServiceCertificateOrderResult { /** * Reasons why App Service Certificate is not renewable at the current moment. */ readonly appServiceCertificateNotRenewableReasons: string[]; /** * <code>true</code> if the certificate should be automatically renewed when it expires; otherwise, <code>false</code>. */ readonly autoRenew?: boolean; /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * State of the Key Vault secret. */ readonly certificates?: { [key: string]: outputs.certificateregistration.AppServiceCertificateResponse; }; /** * Contact info */ readonly contact: outputs.certificateregistration.CertificateOrderContactResponse; /** * Last CSR that was created for this order. */ readonly csr?: string; /** * Certificate distinguished name. */ readonly distinguishedName?: string; /** * Domain verification token. */ readonly domainVerificationToken: string; /** * Certificate expiration time. */ readonly expirationTime: string; /** * Resource Id. */ readonly id: string; /** * Intermediate certificate. */ readonly intermediate: outputs.certificateregistration.CertificateDetailsResponse; /** * <code>true</code> if private key is external; otherwise, <code>false</code>. */ readonly isPrivateKeyExternal: boolean; /** * Certificate key size. */ readonly keySize?: number; /** * 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; /** * Certificate last issuance time. */ readonly lastCertificateIssuanceTime: string; /** * Resource Location. */ readonly location: string; /** * Resource Name. */ readonly name: string; /** * Time stamp when the certificate would be auto renewed next */ readonly nextAutoRenewalTimeStamp: string; /** * Certificate product type. */ readonly productType: string; /** * Status of certificate order. */ readonly provisioningState: string; /** * Root certificate. */ readonly root: outputs.certificateregistration.CertificateDetailsResponse; /** * Current serial number of the certificate. */ readonly serialNumber: string; /** * Signed certificate. */ readonly signedCertificate: outputs.certificateregistration.CertificateDetailsResponse; /** * Current order status. */ readonly status: string; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Resource type. */ readonly type: string; /** * Duration in years (must be 1). */ readonly validityInYears?: number; } /** * Description for Get a certificate order. * * Uses Azure REST API version 2024-04-01. * * Other available API versions: 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 certificateregistration [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getAppServiceCertificateOrderOutput(args: GetAppServiceCertificateOrderOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppServiceCertificateOrderResult>; export interface GetAppServiceCertificateOrderOutputArgs { /** * Name of the certificate order.. */ certificateOrderName: pulumi.Input<string>; /** * Name of the resource group to which the resource belongs. */ resourceGroupName: pulumi.Input<string>; }