1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. certificatemanager
  5. getCertificateMap
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

gcp.certificatemanager.getCertificateMap

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: gcp:certificatemanager/getCertificateMap:getCertificateMap
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the certificate map.


    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    Name string
    The name of the certificate map.


    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    name String
    The name of the certificate map.


    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    name string
    The name of the certificate map.


    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    name str
    The name of the certificate map.


    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    name String
    The name of the certificate map.


    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

    getCertificateMap Result

    The following output properties are available:

    CreateTime string
    Description string
    EffectiveLabels Dictionary<string, string>
    GclbTargets List<GetCertificateMapGclbTarget>
    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 []GetCertificateMapGclbTarget
    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<GetCertificateMapGclbTarget>
    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 GetCertificateMapGclbTarget[]
    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[GetCertificateMapGclbTarget]
    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<GetCertificateMapGclbTargetIpConfig>
    An IP configuration where this Certificate Map is serving
    TargetHttpsProxy string
    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.
    TargetSslProxy string
    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 []GetCertificateMapGclbTargetIpConfig
    An IP configuration where this Certificate Map is serving
    TargetHttpsProxy string
    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.
    TargetSslProxy string
    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<GetCertificateMapGclbTargetIpConfig>
    An IP configuration where this Certificate Map is serving
    targetHttpsProxy String
    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.
    targetSslProxy String
    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 GetCertificateMapGclbTargetIpConfig[]
    An IP configuration where this Certificate Map is serving
    targetHttpsProxy string
    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.
    targetSslProxy string
    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[GetCertificateMapGclbTargetIpConfig]
    An IP configuration where this Certificate Map is serving
    target_https_proxy str
    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_proxy str
    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
    targetHttpsProxy String
    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.
    targetSslProxy String
    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

    IpAddress string
    An external IP address
    Ports List<int>
    A list of ports
    IpAddress string
    An external IP address
    Ports []int
    A list of ports
    ipAddress String
    An external IP address
    ports List<Integer>
    A list of ports
    ipAddress string
    An external IP address
    ports number[]
    A list of ports
    ip_address str
    An external IP address
    ports Sequence[int]
    A list of ports
    ipAddress String
    An external IP address
    ports List<Number>
    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-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v8.9.3 published on Monday, Nov 18, 2024 by Pulumi