Google Cloud v8.21.0 published on Wednesday, Mar 5, 2025 by Pulumi
gcp.certificatemanager.getCertificateMap
Explore with Pulumi AI
Get info about a Google Certificate Manager Certificate Map resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const _default = gcp.certificatemanager.getCertificateMap({
    name: "cert-map",
});
import pulumi
import pulumi_gcp as gcp
default = gcp.certificatemanager.get_certificate_map(name="cert-map")
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/certificatemanager"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := certificatemanager.GetCertificateMap(ctx, &certificatemanager.GetCertificateMapArgs{
			Name: "cert-map",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var @default = Gcp.CertificateManager.GetCertificateMap.Invoke(new()
    {
        Name = "cert-map",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.certificatemanager.CertificatemanagerFunctions;
import com.pulumi.gcp.certificatemanager.inputs.GetCertificateMapArgs;
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) {
        final var default = CertificatemanagerFunctions.getCertificateMap(GetCertificateMapArgs.builder()
            .name("cert-map")
            .build());
    }
}
variables:
  default:
    fn::invoke:
      function: gcp:certificatemanager:getCertificateMap
      arguments:
        name: cert-map
Using getCertificateMap
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCertificateMap(args: GetCertificateMapArgs, opts?: InvokeOptions): Promise<GetCertificateMapResult>
function getCertificateMapOutput(args: GetCertificateMapOutputArgs, opts?: InvokeOptions): Output<GetCertificateMapResult>def get_certificate_map(name: Optional[str] = None,
                        project: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetCertificateMapResult
def get_certificate_map_output(name: Optional[pulumi.Input[str]] = None,
                        project: Optional[pulumi.Input[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetCertificateMapResult]func GetCertificateMap(ctx *Context, args *GetCertificateMapArgs, opts ...InvokeOption) (*GetCertificateMapResult, error)
func GetCertificateMapOutput(ctx *Context, args *GetCertificateMapOutputArgs, opts ...InvokeOption) GetCertificateMapResultOutput> Note: This function is named GetCertificateMap in the Go SDK.
public static class GetCertificateMap 
{
    public static Task<GetCertificateMapResult> InvokeAsync(GetCertificateMapArgs args, InvokeOptions? opts = null)
    public static Output<GetCertificateMapResult> Invoke(GetCertificateMapInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCertificateMapResult> getCertificateMap(GetCertificateMapArgs args, InvokeOptions options)
public static Output<GetCertificateMapResult> getCertificateMap(GetCertificateMapArgs args, InvokeOptions options)
fn::invoke:
  function: gcp:certificatemanager/getCertificateMap:getCertificateMap
  arguments:
    # arguments dictionaryThe following arguments are supported:
getCertificateMap Result
The following output properties are available:
- CreateTime string
- Description string
- EffectiveLabels Dictionary<string, string>
- GclbTargets List<GetCertificate Map Gclb Target> 
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, string>
- Name string
- PulumiLabels Dictionary<string, string>
- UpdateTime string
- Project string
- CreateTime string
- Description string
- EffectiveLabels map[string]string
- GclbTargets []GetCertificate Map Gclb Target 
- Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]string
- Name string
- PulumiLabels map[string]string
- UpdateTime string
- Project string
- createTime String
- description String
- effectiveLabels Map<String,String>
- gclbTargets List<GetCertificate Map Gclb Target> 
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,String>
- name String
- pulumiLabels Map<String,String>
- updateTime String
- project String
- createTime string
- description string
- effectiveLabels {[key: string]: string}
- gclbTargets GetCertificate Map Gclb Target[] 
- id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: string}
- name string
- pulumiLabels {[key: string]: string}
- updateTime string
- project string
- create_time str
- description str
- effective_labels Mapping[str, str]
- gclb_targets Sequence[GetCertificate Map Gclb Target] 
- id str
- The provider-assigned unique ID for this managed resource.
- labels Mapping[str, str]
- name str
- pulumi_labels Mapping[str, str]
- update_time str
- project str
- createTime String
- description String
- effectiveLabels Map<String>
- gclbTargets List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String>
- name String
- pulumiLabels Map<String>
- updateTime String
- project String
Supporting Types
GetCertificateMapGclbTarget    
- IpConfigs List<GetCertificate Map Gclb Target Ip Config> 
- An IP configuration where this Certificate Map is serving
- TargetHttps stringProxy 
- Proxy name must be in the format projects//locations//targetHttpsProxies/*. This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or 'targetSslProxy' may be set.
- TargetSsl stringProxy 
- Proxy name must be in the format projects//locations//targetSslProxies/*. This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or 'targetSslProxy' may be set.
- IpConfigs []GetCertificate Map Gclb Target Ip Config 
- An IP configuration where this Certificate Map is serving
- TargetHttps stringProxy 
- Proxy name must be in the format projects//locations//targetHttpsProxies/*. This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or 'targetSslProxy' may be set.
- TargetSsl stringProxy 
- Proxy name must be in the format projects//locations//targetSslProxies/*. This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or 'targetSslProxy' may be set.
- ipConfigs List<GetCertificate Map Gclb Target Ip Config> 
- An IP configuration where this Certificate Map is serving
- targetHttps StringProxy 
- Proxy name must be in the format projects//locations//targetHttpsProxies/*. This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or 'targetSslProxy' may be set.
- targetSsl StringProxy 
- Proxy name must be in the format projects//locations//targetSslProxies/*. This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or 'targetSslProxy' may be set.
- ipConfigs GetCertificate Map Gclb Target Ip Config[] 
- An IP configuration where this Certificate Map is serving
- targetHttps stringProxy 
- Proxy name must be in the format projects//locations//targetHttpsProxies/*. This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or 'targetSslProxy' may be set.
- targetSsl stringProxy 
- Proxy name must be in the format projects//locations//targetSslProxies/*. This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or 'targetSslProxy' may be set.
- ip_configs Sequence[GetCertificate Map Gclb Target Ip Config] 
- An IP configuration where this Certificate Map is serving
- target_https_ strproxy 
- Proxy name must be in the format projects//locations//targetHttpsProxies/*. This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or 'targetSslProxy' may be set.
- target_ssl_ strproxy 
- Proxy name must be in the format projects//locations//targetSslProxies/*. This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or 'targetSslProxy' may be set.
- ipConfigs List<Property Map>
- An IP configuration where this Certificate Map is serving
- targetHttps StringProxy 
- Proxy name must be in the format projects//locations//targetHttpsProxies/*. This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or 'targetSslProxy' may be set.
- targetSsl StringProxy 
- Proxy name must be in the format projects//locations//targetSslProxies/*. This field is part of a union field 'target_proxy': Only one of 'targetHttpsProxy' or 'targetSslProxy' may be set.
GetCertificateMapGclbTargetIpConfig      
- ip_address str
- An external IP address
- ports Sequence[int]
- A list of ports
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the google-betaTerraform Provider.