Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.compute/beta.getSslCertificate
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Returns the specified SslCertificate resource.
Using getSslCertificate
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 getSslCertificate(args: GetSslCertificateArgs, opts?: InvokeOptions): Promise<GetSslCertificateResult>
function getSslCertificateOutput(args: GetSslCertificateOutputArgs, opts?: InvokeOptions): Output<GetSslCertificateResult>
def get_ssl_certificate(project: Optional[str] = None,
ssl_certificate: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSslCertificateResult
def get_ssl_certificate_output(project: Optional[pulumi.Input[str]] = None,
ssl_certificate: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSslCertificateResult]
func LookupSslCertificate(ctx *Context, args *LookupSslCertificateArgs, opts ...InvokeOption) (*LookupSslCertificateResult, error)
func LookupSslCertificateOutput(ctx *Context, args *LookupSslCertificateOutputArgs, opts ...InvokeOption) LookupSslCertificateResultOutput
> Note: This function is named LookupSslCertificate
in the Go SDK.
public static class GetSslCertificate
{
public static Task<GetSslCertificateResult> InvokeAsync(GetSslCertificateArgs args, InvokeOptions? opts = null)
public static Output<GetSslCertificateResult> Invoke(GetSslCertificateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSslCertificateResult> getSslCertificate(GetSslCertificateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:compute/beta:getSslCertificate
arguments:
# arguments dictionary
The following arguments are supported:
- Ssl
Certificate string - Project string
- Ssl
Certificate string - Project string
- ssl
Certificate String - project String
- ssl
Certificate string - project string
- ssl_
certificate str - project str
- ssl
Certificate String - project String
getSslCertificate 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. Beta. 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. Beta. 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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi