Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: gcp:certificatemanager/getCertificateMap:getCertificateMap
arguments:
# arguments dictionary
The following arguments are supported:
getCertificateMap Result
The following output properties are available:
- Create
Time string - Description string
- Effective
Labels Dictionary<string, string> - Gclb
Targets List<GetCertificate Map Gclb Target> - Id string
- The provider-assigned unique ID for this managed resource.
- Labels Dictionary<string, string>
- Name string
- Pulumi
Labels Dictionary<string, string> - Update
Time string - Project string
- Create
Time string - Description string
- Effective
Labels map[string]string - Gclb
Targets []GetCertificate Map Gclb Target - Id string
- The provider-assigned unique ID for this managed resource.
- Labels map[string]string
- Name string
- Pulumi
Labels map[string]string - Update
Time string - Project string
- create
Time String - description String
- effective
Labels Map<String,String> - gclb
Targets List<GetCertificate Map Gclb Target> - id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String,String>
- name String
- pulumi
Labels Map<String,String> - update
Time String - project String
- create
Time string - description string
- effective
Labels {[key: string]: string} - gclb
Targets GetCertificate Map Gclb Target[] - id string
- The provider-assigned unique ID for this managed resource.
- labels {[key: string]: string}
- name string
- pulumi
Labels {[key: string]: string} - update
Time 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
- create
Time String - description String
- effective
Labels Map<String> - gclb
Targets List<Property Map> - id String
- The provider-assigned unique ID for this managed resource.
- labels Map<String>
- name String
- pulumi
Labels Map<String> - update
Time String - project String
Supporting Types
GetCertificateMapGclbTarget
- Ip
Configs List<GetCertificate Map Gclb Target Ip Config> - An IP configuration where this Certificate Map is serving
- Target
Https 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.
- Target
Ssl 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 []GetCertificate Map Gclb Target Ip Config - An IP configuration where this Certificate Map is serving
- Target
Https 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.
- Target
Ssl 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 List<GetCertificate Map Gclb Target Ip Config> - An IP configuration where this Certificate Map is serving
- target
Https 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.
- target
Ssl 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 GetCertificate Map Gclb Target Ip Config[] - An IP configuration where this Certificate Map is serving
- target
Https 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.
- target
Ssl 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.
- ip
Configs List<Property Map> - An IP configuration where this Certificate Map is serving
- target
Https 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.
- target
Ssl 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-beta
Terraform Provider.