Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.compute/v1.getRegionSslCertificate
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Returns the specified SslCertificate resource in the specified region. Get a list of available SSL certificates by making a list() request.
Using getRegionSslCertificate
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 getRegionSslCertificate(args: GetRegionSslCertificateArgs, opts?: InvokeOptions): Promise<GetRegionSslCertificateResult>
function getRegionSslCertificateOutput(args: GetRegionSslCertificateOutputArgs, opts?: InvokeOptions): Output<GetRegionSslCertificateResult>
def get_region_ssl_certificate(project: Optional[str] = None,
region: Optional[str] = None,
ssl_certificate: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRegionSslCertificateResult
def get_region_ssl_certificate_output(project: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
ssl_certificate: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRegionSslCertificateResult]
func LookupRegionSslCertificate(ctx *Context, args *LookupRegionSslCertificateArgs, opts ...InvokeOption) (*LookupRegionSslCertificateResult, error)
func LookupRegionSslCertificateOutput(ctx *Context, args *LookupRegionSslCertificateOutputArgs, opts ...InvokeOption) LookupRegionSslCertificateResultOutput
> Note: This function is named LookupRegionSslCertificate
in the Go SDK.
public static class GetRegionSslCertificate
{
public static Task<GetRegionSslCertificateResult> InvokeAsync(GetRegionSslCertificateArgs args, InvokeOptions? opts = null)
public static Output<GetRegionSslCertificateResult> Invoke(GetRegionSslCertificateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRegionSslCertificateResult> getRegionSslCertificate(GetRegionSslCertificateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:compute/v1:getRegionSslCertificate
arguments:
# arguments dictionary
The following arguments are supported:
- Region string
- Ssl
Certificate string - Project string
- Region string
- Ssl
Certificate string - Project string
- region String
- ssl
Certificate String - project String
- region string
- ssl
Certificate string - project string
- region str
- ssl_
certificate str - project str
- region String
- ssl
Certificate String - project String
getRegionSslCertificate Result
The following output properties are available:
- Certificate string
- A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Expire
Time string - Expire time of the certificate. RFC3339
- Kind string
- Type of the resource. Always compute#sslCertificate for SSL certificates.
- Managed
Pulumi.
Google Native. Compute. V1. Outputs. Ssl Certificate Managed Ssl Certificate Response - Configuration and status of a managed SSL certificate.
- 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]([-a-z0-9]*[a-z0-9])?
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. - Private
Key string - A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
- Region string
- URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
- Self
Link string - [Output only] Server-defined URL for the resource.
- Self
Managed Pulumi.Google Native. Compute. V1. Outputs. Ssl Certificate Self Managed Ssl Certificate Response - Configuration and status of a self-managed SSL certificate.
- Subject
Alternative List<string>Names - Domains associated with the certificate via Subject Alternative Name.
- Type string
- (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.
- Certificate string
- A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Description string
- An optional description of this resource. Provide this property when you create the resource.
- Expire
Time string - Expire time of the certificate. RFC3339
- Kind string
- Type of the resource. Always compute#sslCertificate for SSL certificates.
- Managed
Ssl
Certificate Managed Ssl Certificate Response - Configuration and status of a managed SSL certificate.
- 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]([-a-z0-9]*[a-z0-9])?
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. - Private
Key string - A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
- Region string
- URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
- Self
Link string - [Output only] Server-defined URL for the resource.
- Self
Managed SslCertificate Self Managed Ssl Certificate Response - Configuration and status of a self-managed SSL certificate.
- Subject
Alternative []stringNames - Domains associated with the certificate via Subject Alternative Name.
- Type string
- (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.
- certificate String
- A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- expire
Time String - Expire time of the certificate. RFC3339
- kind String
- Type of the resource. Always compute#sslCertificate for SSL certificates.
- managed
Ssl
Certificate Managed Ssl Certificate Response - Configuration and status of a managed SSL certificate.
- 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]([-a-z0-9]*[a-z0-9])?
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. - private
Key String - A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
- region String
- URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
- self
Link String - [Output only] Server-defined URL for the resource.
- self
Managed SslCertificate Self Managed Ssl Certificate Response - Configuration and status of a self-managed SSL certificate.
- subject
Alternative List<String>Names - Domains associated with the certificate via Subject Alternative Name.
- type String
- (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.
- certificate string
- A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- description string
- An optional description of this resource. Provide this property when you create the resource.
- expire
Time string - Expire time of the certificate. RFC3339
- kind string
- Type of the resource. Always compute#sslCertificate for SSL certificates.
- managed
Ssl
Certificate Managed Ssl Certificate Response - Configuration and status of a managed SSL certificate.
- 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]([-a-z0-9]*[a-z0-9])?
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. - private
Key string - A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
- region string
- URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
- self
Link string - [Output only] Server-defined URL for the resource.
- self
Managed SslCertificate Self Managed Ssl Certificate Response - Configuration and status of a self-managed SSL certificate.
- subject
Alternative string[]Names - Domains associated with the certificate via Subject Alternative Name.
- type string
- (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.
- certificate str
- A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- description str
- An optional description of this resource. Provide this property when you create the resource.
- expire_
time str - Expire time of the certificate. RFC3339
- kind str
- Type of the resource. Always compute#sslCertificate for SSL certificates.
- managed
Ssl
Certificate Managed Ssl Certificate Response - Configuration and status of a managed SSL certificate.
- 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]([-a-z0-9]*[a-z0-9])?
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. - private_
key str - A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
- region str
- URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
- self_
link str - [Output only] Server-defined URL for the resource.
- self_
managed SslCertificate Self Managed Ssl Certificate Response - Configuration and status of a self-managed SSL certificate.
- subject_
alternative_ Sequence[str]names - Domains associated with the certificate via Subject Alternative Name.
- type str
- (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.
- certificate String
- A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- description String
- An optional description of this resource. Provide this property when you create the resource.
- expire
Time String - Expire time of the certificate. RFC3339
- kind String
- Type of the resource. Always compute#sslCertificate for SSL certificates.
- managed Property Map
- Configuration and status of a managed SSL certificate.
- 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]([-a-z0-9]*[a-z0-9])?
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. - private
Key String - A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field.
- region String
- URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate.
- self
Link String - [Output only] Server-defined URL for the resource.
- self
Managed Property Map - Configuration and status of a self-managed SSL certificate.
- subject
Alternative List<String>Names - Domains associated with the certificate via Subject Alternative Name.
- type String
- (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used.
Supporting Types
SslCertificateManagedSslCertificateResponse
- Domain
Status Dictionary<string, string> - [Output only] Detailed statuses of the domains specified for managed certificate resource.
- Domains List<string>
- The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.
- Status string
- [Output only] Status of the managed certificate resource.
- Domain
Status map[string]string - [Output only] Detailed statuses of the domains specified for managed certificate resource.
- Domains []string
- The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.
- Status string
- [Output only] Status of the managed certificate resource.
- domain
Status Map<String,String> - [Output only] Detailed statuses of the domains specified for managed certificate resource.
- domains List<String>
- The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.
- status String
- [Output only] Status of the managed certificate resource.
- domain
Status {[key: string]: string} - [Output only] Detailed statuses of the domains specified for managed certificate resource.
- domains string[]
- The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.
- status string
- [Output only] Status of the managed certificate resource.
- domain_
status Mapping[str, str] - [Output only] Detailed statuses of the domains specified for managed certificate resource.
- domains Sequence[str]
- The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.
- status str
- [Output only] Status of the managed certificate resource.
- domain
Status Map<String> - [Output only] Detailed statuses of the domains specified for managed certificate resource.
- domains List<String>
- The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the maximum number of domains per Google-managed SSL certificate.
- status String
- [Output only] Status of the managed certificate resource.
SslCertificateSelfManagedSslCertificateResponse
- Certificate string
- A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
- Private
Key string - A write-only private key in PEM format. Only insert requests will include this field.
- Certificate string
- A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
- Private
Key string - A write-only private key in PEM format. Only insert requests will include this field.
- certificate String
- A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
- private
Key String - A write-only private key in PEM format. Only insert requests will include this field.
- certificate string
- A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
- private
Key string - A write-only private key in PEM format. Only insert requests will include this field.
- certificate str
- A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
- private_
key str - A write-only private key in PEM format. Only insert requests will include this field.
- certificate String
- A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert.
- private
Key String - A write-only private key in PEM format. Only insert requests will include this field.
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.