Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.certificatemanager/v1.CertificateMap
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new CertificateMap in a given project and location.
Create CertificateMap Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CertificateMap(name: string, args: CertificateMapArgs, opts?: CustomResourceOptions);
@overload
def CertificateMap(resource_name: str,
args: CertificateMapArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CertificateMap(resource_name: str,
opts: Optional[ResourceOptions] = None,
certificate_map_id: Optional[str] = None,
description: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
name: Optional[str] = None,
project: Optional[str] = None)
func NewCertificateMap(ctx *Context, name string, args CertificateMapArgs, opts ...ResourceOption) (*CertificateMap, error)
public CertificateMap(string name, CertificateMapArgs args, CustomResourceOptions? opts = null)
public CertificateMap(String name, CertificateMapArgs args)
public CertificateMap(String name, CertificateMapArgs args, CustomResourceOptions options)
type: google-native:certificatemanager/v1:CertificateMap
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CertificateMapArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args CertificateMapArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args CertificateMapArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CertificateMapArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CertificateMapArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var certificateMapResource = new GoogleNative.CertificateManager.V1.CertificateMap("certificateMapResource", new()
{
CertificateMapId = "string",
Description = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
Name = "string",
Project = "string",
});
example, err := certificatemanager.NewCertificateMap(ctx, "certificateMapResource", &certificatemanager.CertificateMapArgs{
CertificateMapId: pulumi.String("string"),
Description: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
Name: pulumi.String("string"),
Project: pulumi.String("string"),
})
var certificateMapResource = new CertificateMap("certificateMapResource", CertificateMapArgs.builder()
.certificateMapId("string")
.description("string")
.labels(Map.of("string", "string"))
.location("string")
.name("string")
.project("string")
.build());
certificate_map_resource = google_native.certificatemanager.v1.CertificateMap("certificateMapResource",
certificate_map_id="string",
description="string",
labels={
"string": "string",
},
location="string",
name="string",
project="string")
const certificateMapResource = new google_native.certificatemanager.v1.CertificateMap("certificateMapResource", {
certificateMapId: "string",
description: "string",
labels: {
string: "string",
},
location: "string",
name: "string",
project: "string",
});
type: google-native:certificatemanager/v1:CertificateMap
properties:
certificateMapId: string
description: string
labels:
string: string
location: string
name: string
project: string
CertificateMap Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The CertificateMap resource accepts the following input properties:
- Certificate
Map stringId - Required. A user-provided name of the certificate map.
- Description string
- One or more paragraphs of text description of a certificate map.
- Labels Dictionary<string, string>
- Set of labels associated with a Certificate Map.
- Location string
- Name string
- A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match pattern
projects/*/locations/*/certificateMaps/*
. - Project string
- Certificate
Map stringId - Required. A user-provided name of the certificate map.
- Description string
- One or more paragraphs of text description of a certificate map.
- Labels map[string]string
- Set of labels associated with a Certificate Map.
- Location string
- Name string
- A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match pattern
projects/*/locations/*/certificateMaps/*
. - Project string
- certificate
Map StringId - Required. A user-provided name of the certificate map.
- description String
- One or more paragraphs of text description of a certificate map.
- labels Map<String,String>
- Set of labels associated with a Certificate Map.
- location String
- name String
- A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match pattern
projects/*/locations/*/certificateMaps/*
. - project String
- certificate
Map stringId - Required. A user-provided name of the certificate map.
- description string
- One or more paragraphs of text description of a certificate map.
- labels {[key: string]: string}
- Set of labels associated with a Certificate Map.
- location string
- name string
- A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match pattern
projects/*/locations/*/certificateMaps/*
. - project string
- certificate_
map_ strid - Required. A user-provided name of the certificate map.
- description str
- One or more paragraphs of text description of a certificate map.
- labels Mapping[str, str]
- Set of labels associated with a Certificate Map.
- location str
- name str
- A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match pattern
projects/*/locations/*/certificateMaps/*
. - project str
- certificate
Map StringId - Required. A user-provided name of the certificate map.
- description String
- One or more paragraphs of text description of a certificate map.
- labels Map<String>
- Set of labels associated with a Certificate Map.
- location String
- name String
- A user-defined name of the Certificate Map. Certificate Map names must be unique globally and match pattern
projects/*/locations/*/certificateMaps/*
. - project String
Outputs
All input properties are implicitly available as output properties. Additionally, the CertificateMap resource produces the following output properties:
- Create
Time string - The creation timestamp of a Certificate Map.
- Gclb
Targets List<Pulumi.Google Native. Certificate Manager. V1. Outputs. Gclb Target Response> - A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - The update timestamp of a Certificate Map.
- Create
Time string - The creation timestamp of a Certificate Map.
- Gclb
Targets []GclbTarget Response - A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Update
Time string - The update timestamp of a Certificate Map.
- create
Time String - The creation timestamp of a Certificate Map.
- gclb
Targets List<GclbTarget Response> - A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - The update timestamp of a Certificate Map.
- create
Time string - The creation timestamp of a Certificate Map.
- gclb
Targets GclbTarget Response[] - A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.
- id string
- The provider-assigned unique ID for this managed resource.
- update
Time string - The update timestamp of a Certificate Map.
- create_
time str - The creation timestamp of a Certificate Map.
- gclb_
targets Sequence[GclbTarget Response] - A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.
- id str
- The provider-assigned unique ID for this managed resource.
- update_
time str - The update timestamp of a Certificate Map.
- create
Time String - The creation timestamp of a Certificate Map.
- gclb
Targets List<Property Map> - A list of GCLB targets that use this Certificate Map. A Target Proxy is only present on this list if it's attached to a Forwarding Rule.
- id String
- The provider-assigned unique ID for this managed resource.
- update
Time String - The update timestamp of a Certificate Map.
Supporting Types
GclbTargetResponse, GclbTargetResponseArgs
- Ip
Configs List<Pulumi.Google Native. Certificate Manager. V1. Inputs. Ip Config Response> - IP configurations for this Target Proxy where the Certificate Map is serving.
- Target
Https stringProxy - This field returns the resource name in the following format:
//compute.googleapis.com/projects/*/global/targetHttpsProxies/*
. - Target
Ssl stringProxy - This field returns the resource name in the following format:
//compute.googleapis.com/projects/*/global/targetSslProxies/*
.
- Ip
Configs []IpConfig Response - IP configurations for this Target Proxy where the Certificate Map is serving.
- Target
Https stringProxy - This field returns the resource name in the following format:
//compute.googleapis.com/projects/*/global/targetHttpsProxies/*
. - Target
Ssl stringProxy - This field returns the resource name in the following format:
//compute.googleapis.com/projects/*/global/targetSslProxies/*
.
- ip
Configs List<IpConfig Response> - IP configurations for this Target Proxy where the Certificate Map is serving.
- target
Https StringProxy - This field returns the resource name in the following format:
//compute.googleapis.com/projects/*/global/targetHttpsProxies/*
. - target
Ssl StringProxy - This field returns the resource name in the following format:
//compute.googleapis.com/projects/*/global/targetSslProxies/*
.
- ip
Configs IpConfig Response[] - IP configurations for this Target Proxy where the Certificate Map is serving.
- target
Https stringProxy - This field returns the resource name in the following format:
//compute.googleapis.com/projects/*/global/targetHttpsProxies/*
. - target
Ssl stringProxy - This field returns the resource name in the following format:
//compute.googleapis.com/projects/*/global/targetSslProxies/*
.
- ip_
configs Sequence[IpConfig Response] - IP configurations for this Target Proxy where the Certificate Map is serving.
- target_
https_ strproxy - This field returns the resource name in the following format:
//compute.googleapis.com/projects/*/global/targetHttpsProxies/*
. - target_
ssl_ strproxy - This field returns the resource name in the following format:
//compute.googleapis.com/projects/*/global/targetSslProxies/*
.
- ip
Configs List<Property Map> - IP configurations for this Target Proxy where the Certificate Map is serving.
- target
Https StringProxy - This field returns the resource name in the following format:
//compute.googleapis.com/projects/*/global/targetHttpsProxies/*
. - target
Ssl StringProxy - This field returns the resource name in the following format:
//compute.googleapis.com/projects/*/global/targetSslProxies/*
.
IpConfigResponse, IpConfigResponseArgs
- ip_
address str - An external IP address.
- ports Sequence[int]
- Ports.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.