RegionSslCertificate

A RegionSslCertificate resource, used for HTTPS load balancing. This resource provides a mechanism to upload an SSL key and certificate to the load balancer to serve secure connections from the user.

To get more information about RegionSslCertificate, see:

Warning: All arguments including certificate and private_key will be stored in the raw state as plain-text. Read more about secrets in state.

Create a RegionSslCertificate Resource

def RegionSslCertificate(resource_name, opts=None, certificate=None, description=None, name=None, name_prefix=None, private_key=None, project=None, region=None, __props__=None);
name string
The unique name of the resource.
args RegionSslCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args RegionSslCertificateArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args RegionSslCertificateArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

RegionSslCertificate Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The RegionSslCertificate resource accepts the following input properties:

Certificate string

The certificate in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. Note: This property is sensitive and will not be displayed in the plan.

PrivateKey string

The write-only private key in PEM format. Note: This property is sensitive and will not be displayed in the plan.

Description string

An optional description of this resource.

Name string

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

NamePrefix string

Creates a unique name beginning with the specified prefix. Conflicts with name.

Project string

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

Region string

The Region in which the created regional ssl certificate should reside. If it is not provided, the provider region is used.

Certificate string

The certificate in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. Note: This property is sensitive and will not be displayed in the plan.

PrivateKey string

The write-only private key in PEM format. Note: This property is sensitive and will not be displayed in the plan.

Description string

An optional description of this resource.

Name string

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

NamePrefix string

Creates a unique name beginning with the specified prefix. Conflicts with name.

Project string

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

Region string

The Region in which the created regional ssl certificate should reside. If it is not provided, the provider region is used.

certificate string

The certificate in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. Note: This property is sensitive and will not be displayed in the plan.

privateKey string

The write-only private key in PEM format. Note: This property is sensitive and will not be displayed in the plan.

description string

An optional description of this resource.

name string

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

namePrefix string

Creates a unique name beginning with the specified prefix. Conflicts with name.

project string

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

region string

The Region in which the created regional ssl certificate should reside. If it is not provided, the provider region is used.

certificate str

The certificate in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. Note: This property is sensitive and will not be displayed in the plan.

private_key str

The write-only private key in PEM format. Note: This property is sensitive and will not be displayed in the plan.

description str

An optional description of this resource.

name str

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

name_prefix str

Creates a unique name beginning with the specified prefix. Conflicts with name.

project str

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

region str

The Region in which the created regional ssl certificate should reside. If it is not provided, the provider region is used.

Outputs

All input properties are implicitly available as output properties. Additionally, the RegionSslCertificate resource produces the following output properties:

CertificateId int

The unique identifier for the resource.

CreationTimestamp string

Creation timestamp in RFC3339 text format.

Id string
The provider-assigned unique ID for this managed resource.
SelfLink string

The URI of the created resource.

CertificateId int

The unique identifier for the resource.

CreationTimestamp string

Creation timestamp in RFC3339 text format.

Id string
The provider-assigned unique ID for this managed resource.
SelfLink string

The URI of the created resource.

certificateId number

The unique identifier for the resource.

creationTimestamp string

Creation timestamp in RFC3339 text format.

id string
The provider-assigned unique ID for this managed resource.
selfLink string

The URI of the created resource.

certificate_id float

The unique identifier for the resource.

creation_timestamp str

Creation timestamp in RFC3339 text format.

id str
The provider-assigned unique ID for this managed resource.
self_link str

The URI of the created resource.

Look up an Existing RegionSslCertificate Resource

Get an existing RegionSslCertificate resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

static get(resource_name, id, opts=None, certificate=None, certificate_id=None, creation_timestamp=None, description=None, name=None, name_prefix=None, private_key=None, project=None, region=None, self_link=None, __props__=None);
func GetRegionSslCertificate(ctx *Context, name string, id IDInput, state *RegionSslCertificateState, opts ...ResourceOption) (*RegionSslCertificate, error)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Certificate string

The certificate in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. Note: This property is sensitive and will not be displayed in the plan.

CertificateId int

The unique identifier for the resource.

CreationTimestamp string

Creation timestamp in RFC3339 text format.

Description string

An optional description of this resource.

Name string

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

NamePrefix string

Creates a unique name beginning with the specified prefix. Conflicts with name.

PrivateKey string

The write-only private key in PEM format. Note: This property is sensitive and will not be displayed in the plan.

Project string

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

Region string

The Region in which the created regional ssl certificate should reside. If it is not provided, the provider region is used.

SelfLink string

The URI of the created resource.

Certificate string

The certificate in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. Note: This property is sensitive and will not be displayed in the plan.

CertificateId int

The unique identifier for the resource.

CreationTimestamp string

Creation timestamp in RFC3339 text format.

Description string

An optional description of this resource.

Name string

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

NamePrefix string

Creates a unique name beginning with the specified prefix. Conflicts with name.

PrivateKey string

The write-only private key in PEM format. Note: This property is sensitive and will not be displayed in the plan.

Project string

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

Region string

The Region in which the created regional ssl certificate should reside. If it is not provided, the provider region is used.

SelfLink string

The URI of the created resource.

certificate string

The certificate in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. Note: This property is sensitive and will not be displayed in the plan.

certificateId number

The unique identifier for the resource.

creationTimestamp string

Creation timestamp in RFC3339 text format.

description string

An optional description of this resource.

name string

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

namePrefix string

Creates a unique name beginning with the specified prefix. Conflicts with name.

privateKey string

The write-only private key in PEM format. Note: This property is sensitive and will not be displayed in the plan.

project string

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

region string

The Region in which the created regional ssl certificate should reside. If it is not provided, the provider region is used.

selfLink string

The URI of the created resource.

certificate str

The certificate in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. Note: This property is sensitive and will not be displayed in the plan.

certificate_id float

The unique identifier for the resource.

creation_timestamp str

Creation timestamp in RFC3339 text format.

description str

An optional description of this resource.

name str

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

name_prefix str

Creates a unique name beginning with the specified prefix. Conflicts with name.

private_key str

The write-only private key in PEM format. Note: This property is sensitive and will not be displayed in the plan.

project str

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

region str

The Region in which the created regional ssl certificate should reside. If it is not provided, the provider region is used.

self_link str

The URI of the created resource.

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes
This Pulumi package is based on the google-beta Terraform Provider.