@pulumi/gcp
Version:
A Pulumi package for creating and managing Google Cloud Platform resources.
223 lines (222 loc) • 8.35 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
* CertificateMap defines a collection of certificate configurations,
* which are usable by any associated target proxies
*
* ## Example Usage
*
* ### Certificate Manager Certificate Map Basic
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as gcp from "@pulumi/gcp";
*
* const _default = new gcp.certificatemanager.CertificateMap("default", {
* name: "cert-map",
* description: "My acceptance test certificate map",
* labels: {
* terraform: "true",
* "acc-test": "true",
* },
* });
* ```
*
* ## Import
*
* CertificateMap can be imported using any of these accepted formats:
*
* * `projects/{{project}}/locations/global/certificateMaps/{{name}}`
*
* * `{{project}}/{{name}}`
*
* * `{{name}}`
*
* When using the `pulumi import` command, CertificateMap can be imported using one of the formats above. For example:
*
* ```sh
* $ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default projects/{{project}}/locations/global/certificateMaps/{{name}}
* ```
*
* ```sh
* $ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default {{project}}/{{name}}
* ```
*
* ```sh
* $ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default {{name}}
* ```
*/
export declare class CertificateMap extends pulumi.CustomResource {
/**
* Get an existing CertificateMap 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<pulumi.ID>, state?: CertificateMapState, opts?: pulumi.CustomResourceOptions): CertificateMap;
/**
* Returns true if the given object is an instance of CertificateMap. 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 CertificateMap;
/**
* Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format,
* accurate to nanoseconds with up to nine fractional digits.
* Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
*/
readonly createTime: pulumi.Output<string>;
/**
* A human-readable description of the resource.
*/
readonly description: pulumi.Output<string | undefined>;
/**
* All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
*/
readonly effectiveLabels: pulumi.Output<{
[key: string]: string;
}>;
/**
* A list of target proxies that use this Certificate Map
* Structure is documented below.
*/
readonly gclbTargets: pulumi.Output<outputs.certificatemanager.CertificateMapGclbTarget[]>;
/**
* Set of labels associated with a Certificate Map resource.
*
* **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
* Please refer to the field `effectiveLabels` for all of the labels present on the resource.
*/
readonly labels: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* A user-defined name of the Certificate Map. Certificate Map names must be unique
* globally and match the pattern `projects/*/locations/*/certificateMaps/*`.
*
*
* - - -
*/
readonly name: pulumi.Output<string>;
/**
* The ID of the project in which the resource belongs.
* If it is not provided, the provider project is used.
*/
readonly project: pulumi.Output<string>;
/**
* The combination of labels configured directly on the resource
* and default labels configured on the provider.
*/
readonly pulumiLabels: pulumi.Output<{
[key: string]: string;
}>;
/**
* Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format,
* accurate to nanoseconds with up to nine fractional digits.
* Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
*/
readonly updateTime: pulumi.Output<string>;
/**
* Create a CertificateMap 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?: CertificateMapArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering CertificateMap resources.
*/
export interface CertificateMapState {
/**
* Creation timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format,
* accurate to nanoseconds with up to nine fractional digits.
* Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
*/
createTime?: pulumi.Input<string>;
/**
* A human-readable description of the resource.
*/
description?: pulumi.Input<string>;
/**
* All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
*/
effectiveLabels?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* A list of target proxies that use this Certificate Map
* Structure is documented below.
*/
gclbTargets?: pulumi.Input<pulumi.Input<inputs.certificatemanager.CertificateMapGclbTarget>[]>;
/**
* Set of labels associated with a Certificate Map resource.
*
* **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
* Please refer to the field `effectiveLabels` for all of the labels present on the resource.
*/
labels?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* A user-defined name of the Certificate Map. Certificate Map names must be unique
* globally and match the pattern `projects/*/locations/*/certificateMaps/*`.
*
*
* - - -
*/
name?: pulumi.Input<string>;
/**
* The ID of the project in which the resource belongs.
* If it is not provided, the provider project is used.
*/
project?: pulumi.Input<string>;
/**
* The combination of labels configured directly on the resource
* and default labels configured on the provider.
*/
pulumiLabels?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* Update timestamp of a Certificate Map. Timestamp is in RFC3339 UTC "Zulu" format,
* accurate to nanoseconds with up to nine fractional digits.
* Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
*/
updateTime?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a CertificateMap resource.
*/
export interface CertificateMapArgs {
/**
* A human-readable description of the resource.
*/
description?: pulumi.Input<string>;
/**
* Set of labels associated with a Certificate Map resource.
*
* **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
* Please refer to the field `effectiveLabels` for all of the labels present on the resource.
*/
labels?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* A user-defined name of the Certificate Map. Certificate Map names must be unique
* globally and match the pattern `projects/*/locations/*/certificateMaps/*`.
*
*
* - - -
*/
name?: pulumi.Input<string>;
/**
* The ID of the project in which the resource belongs.
* If it is not provided, the provider project is used.
*/
project?: pulumi.Input<string>;
}