Certificate Map
CertificateMap defines a collection of certificate configurations, which are usable by any associated target proxies
Example Usage
Certificate Manager Certificate Map Basic
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 pulumi
import pulumi_gcp as gcp
default = gcp.certificatemanager.CertificateMap("default",
name="cert-map",
description="My acceptance test certificate map",
labels={
"terraform": "true",
"acc-test": "true",
})
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var @default = new Gcp.CertificateManager.CertificateMap("default", new()
{
Name = "cert-map",
Description = "My acceptance test certificate map",
Labels =
{
{ "terraform", "true" },
{ "acc-test", "true" },
},
});
});
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/certificatemanager"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := certificatemanager.NewCertificateMap(ctx, "default", &certificatemanager.CertificateMapArgs{
Name: pulumi.String("cert-map"),
Description: pulumi.String("My acceptance test certificate map"),
Labels: pulumi.StringMap{
"terraform": pulumi.String("true"),
"acc-test": pulumi.String("true"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.certificatemanager.CertificateMap;
import com.pulumi.gcp.certificatemanager.CertificateMapArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new CertificateMap("default", CertificateMapArgs.builder()
.name("cert-map")
.description("My acceptance test certificate map")
.labels(Map.ofEntries(
Map.entry("terraform", true),
Map.entry("acc-test", true)
))
.build());
}
}
resources:
default:
type: gcp:certificatemanager:CertificateMap
properties:
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 thepulumi import
command, CertificateMap can be imported using one of the formats above. For example:
$ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default projects/{{project}}/locations/global/certificateMaps/{{name}}
$ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default {{project}}/{{name}}
$ pulumi import gcp:certificatemanager/certificateMap:CertificateMap default {{name}}
Properties
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".
A human-readable description of the resource.
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
A list of target proxies that use this Certificate Map Structure is documented below.
The combination of labels configured directly on the resource and default labels configured on the provider.
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".