import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * This operation creates a new default certificate and keys. It also creates the alternate FQDNs and alternate IPs for the Object store. The certificate of an Object store can be created when it is in a OBJECT_STORE_AVAILABLE or OBJECT_STORE_CERT_CREATION_FAILED state. If the publicCert, privateKey, and ca values are provided in the request body, these values are used to create the new certificate. If these values are not provided, a new certificate will be generated if 'shouldGenerate' is set to true and if it is set to false, the existing certificate will be used as the new certificate. Optionally, a list of additional alternate FQDNs and alternate IPs can be provided. These alternateFqdns and alternateIps must be included in the CA certificate if it has been provided. * * ## Example Usage * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const example = nutanix.getCertificateV2({ * objectStoreExtId: "ac91151a-28b4-4ffe-b150-6bcb2ec80cd4", * extId: "ef0a9a54-e7e1-42e2-a59f-de779ec1c9ea", * }); * ``` * * * ## JSON Example * * See detailed information in [Nutanix Create a SSL certificate for an Object store V4 ](https://developers.nutanix.com/api-reference?namespace=objects&version=v4.0#tag/ObjectStores/operation/createCertificate). */ export declare class ObjectStoreCertificateV2 extends pulumi.CustomResource { /** * Get an existing ObjectStoreCertificateV2 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?: ObjectStoreCertificateV2State, opts?: pulumi.CustomResourceOptions): ObjectStoreCertificateV2; /** * Returns true if the given object is an instance of ObjectStoreCertificateV2. 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 ObjectStoreCertificateV2; readonly alternateFqdns: pulumi.Output; readonly alternateIps: pulumi.Output; /** * -(Required) The UUID of the certificate of an Object store. */ readonly extId: pulumi.Output; readonly links: pulumi.Output; readonly metadatas: pulumi.Output; /** * -(Required) The UUID of the Object store. */ readonly objectStoreExtId: pulumi.Output; /** * -(Required) Path to a JSON file which contains the public certificates, private key, and CA certificate or chain, along with a list of alternate FQDNs and alternate IPs to create a certificate for the Object store. */ readonly path: pulumi.Output; readonly tenantId: pulumi.Output; /** * Create a ObjectStoreCertificateV2 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: ObjectStoreCertificateV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ObjectStoreCertificateV2 resources. */ export interface ObjectStoreCertificateV2State { alternateFqdns?: pulumi.Input[] | undefined>; alternateIps?: pulumi.Input[] | undefined>; /** * -(Required) The UUID of the certificate of an Object store. */ extId?: pulumi.Input; links?: pulumi.Input[] | undefined>; metadatas?: pulumi.Input[] | undefined>; /** * -(Required) The UUID of the Object store. */ objectStoreExtId?: pulumi.Input; /** * -(Required) Path to a JSON file which contains the public certificates, private key, and CA certificate or chain, along with a list of alternate FQDNs and alternate IPs to create a certificate for the Object store. */ path?: pulumi.Input; tenantId?: pulumi.Input; } /** * The set of arguments for constructing a ObjectStoreCertificateV2 resource. */ export interface ObjectStoreCertificateV2Args { /** * -(Required) The UUID of the Object store. */ objectStoreExtId: pulumi.Input; /** * -(Required) Path to a JSON file which contains the public certificates, private key, and CA certificate or chain, along with a list of alternate FQDNs and alternate IPs to create a certificate for the Object store. */ path: pulumi.Input; } //# sourceMappingURL=objectStoreCertificateV2.d.ts.map