1. Packages
  2. Google Cloud Native
  3. API Docs
  4. compute
  5. compute/v1
  6. RegionSslCertificate

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/v1.RegionSslCertificate

Explore with Pulumi AI

google-native logo

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

    Creates a SslCertificate resource in the specified project and region using the data included in the request

    Create RegionSslCertificate Resource

    new RegionSslCertificate(name: string, args: RegionSslCertificateArgs, opts?: CustomResourceOptions);
    @overload
    def RegionSslCertificate(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             certificate: Optional[str] = None,
                             description: Optional[str] = None,
                             managed: Optional[SslCertificateManagedSslCertificateArgs] = None,
                             name: Optional[str] = None,
                             private_key: Optional[str] = None,
                             project: Optional[str] = None,
                             region: Optional[str] = None,
                             request_id: Optional[str] = None,
                             self_managed: Optional[SslCertificateSelfManagedSslCertificateArgs] = None,
                             type: Optional[RegionSslCertificateType] = None)
    @overload
    def RegionSslCertificate(resource_name: str,
                             args: RegionSslCertificateArgs,
                             opts: Optional[ResourceOptions] = None)
    func NewRegionSslCertificate(ctx *Context, name string, args RegionSslCertificateArgs, opts ...ResourceOption) (*RegionSslCertificate, error)
    public RegionSslCertificate(string name, RegionSslCertificateArgs args, CustomResourceOptions? opts = null)
    public RegionSslCertificate(String name, RegionSslCertificateArgs args)
    public RegionSslCertificate(String name, RegionSslCertificateArgs args, CustomResourceOptions options)
    
    type: google-native:compute/v1:RegionSslCertificate
    properties: # The arguments to resource properties.
    options: # 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.
    resource_name str
    The unique name of the resource.
    args RegionSslCertificateArgs
    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 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.
    name String
    The unique name of the resource.
    args RegionSslCertificateArgs
    The arguments to resource properties.
    options 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 Architecture and Concepts docs.

    Inputs

    The RegionSslCertificate resource accepts the following input properties:

    Region string
    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.
    Description string
    An optional description of this resource. Provide this property when you create the resource.
    Managed Pulumi.GoogleNative.Compute.V1.Inputs.SslCertificateManagedSslCertificate
    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.
    PrivateKey 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.
    Project string
    RequestId string
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    SelfManaged Pulumi.GoogleNative.Compute.V1.Inputs.SslCertificateSelfManagedSslCertificate
    Configuration and status of a self-managed SSL certificate.
    Type Pulumi.GoogleNative.Compute.V1.RegionSslCertificateType
    (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.
    Region string
    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.
    Description string
    An optional description of this resource. Provide this property when you create the resource.
    Managed SslCertificateManagedSslCertificateArgs
    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.
    PrivateKey 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.
    Project string
    RequestId string
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    SelfManaged SslCertificateSelfManagedSslCertificateArgs
    Configuration and status of a self-managed SSL certificate.
    Type RegionSslCertificateType
    (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.
    region String
    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.
    description String
    An optional description of this resource. Provide this property when you create the resource.
    managed SslCertificateManagedSslCertificate
    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.
    privateKey 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.
    project String
    requestId String
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    selfManaged SslCertificateSelfManagedSslCertificate
    Configuration and status of a self-managed SSL certificate.
    type RegionSslCertificateType
    (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.
    region string
    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.
    description string
    An optional description of this resource. Provide this property when you create the resource.
    managed SslCertificateManagedSslCertificate
    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.
    privateKey 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.
    project string
    requestId string
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    selfManaged SslCertificateSelfManagedSslCertificate
    Configuration and status of a self-managed SSL certificate.
    type RegionSslCertificateType
    (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.
    region str
    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.
    description str
    An optional description of this resource. Provide this property when you create the resource.
    managed SslCertificateManagedSslCertificateArgs
    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.
    project str
    request_id str
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    self_managed SslCertificateSelfManagedSslCertificateArgs
    Configuration and status of a self-managed SSL certificate.
    type RegionSslCertificateType
    (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.
    region String
    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.
    description String
    An optional description of this resource. Provide this property when you create the resource.
    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.
    privateKey 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.
    project String
    requestId String
    An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).
    selfManaged Property Map
    Configuration and status of a self-managed SSL certificate.
    type "MANAGED" | "SELF_MANAGED" | "TYPE_UNSPECIFIED"
    (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.

    Outputs

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

    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    ExpireTime string
    Expire time of the certificate. RFC3339
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    Type of the resource. Always compute#sslCertificate for SSL certificates.
    SelfLink string
    [Output only] Server-defined URL for the resource.
    SubjectAlternativeNames List<string>
    Domains associated with the certificate via Subject Alternative Name.
    CreationTimestamp string
    Creation timestamp in RFC3339 text format.
    ExpireTime string
    Expire time of the certificate. RFC3339
    Id string
    The provider-assigned unique ID for this managed resource.
    Kind string
    Type of the resource. Always compute#sslCertificate for SSL certificates.
    SelfLink string
    [Output only] Server-defined URL for the resource.
    SubjectAlternativeNames []string
    Domains associated with the certificate via Subject Alternative Name.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    expireTime String
    Expire time of the certificate. RFC3339
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    Type of the resource. Always compute#sslCertificate for SSL certificates.
    selfLink String
    [Output only] Server-defined URL for the resource.
    subjectAlternativeNames List<String>
    Domains associated with the certificate via Subject Alternative Name.
    creationTimestamp string
    Creation timestamp in RFC3339 text format.
    expireTime string
    Expire time of the certificate. RFC3339
    id string
    The provider-assigned unique ID for this managed resource.
    kind string
    Type of the resource. Always compute#sslCertificate for SSL certificates.
    selfLink string
    [Output only] Server-defined URL for the resource.
    subjectAlternativeNames string[]
    Domains associated with the certificate via Subject Alternative Name.
    creation_timestamp str
    Creation timestamp in RFC3339 text format.
    expire_time str
    Expire time of the certificate. RFC3339
    id str
    The provider-assigned unique ID for this managed resource.
    kind str
    Type of the resource. Always compute#sslCertificate for SSL certificates.
    self_link str
    [Output only] Server-defined URL for the resource.
    subject_alternative_names Sequence[str]
    Domains associated with the certificate via Subject Alternative Name.
    creationTimestamp String
    Creation timestamp in RFC3339 text format.
    expireTime String
    Expire time of the certificate. RFC3339
    id String
    The provider-assigned unique ID for this managed resource.
    kind String
    Type of the resource. Always compute#sslCertificate for SSL certificates.
    selfLink String
    [Output only] Server-defined URL for the resource.
    subjectAlternativeNames List<String>
    Domains associated with the certificate via Subject Alternative Name.

    Supporting Types

    RegionSslCertificateType, RegionSslCertificateTypeArgs

    Managed
    MANAGEDGoogle-managed SSLCertificate.
    SelfManaged
    SELF_MANAGEDCertificate uploaded by user.
    TypeUnspecified
    TYPE_UNSPECIFIED
    RegionSslCertificateTypeManaged
    MANAGEDGoogle-managed SSLCertificate.
    RegionSslCertificateTypeSelfManaged
    SELF_MANAGEDCertificate uploaded by user.
    RegionSslCertificateTypeTypeUnspecified
    TYPE_UNSPECIFIED
    Managed
    MANAGEDGoogle-managed SSLCertificate.
    SelfManaged
    SELF_MANAGEDCertificate uploaded by user.
    TypeUnspecified
    TYPE_UNSPECIFIED
    Managed
    MANAGEDGoogle-managed SSLCertificate.
    SelfManaged
    SELF_MANAGEDCertificate uploaded by user.
    TypeUnspecified
    TYPE_UNSPECIFIED
    MANAGED
    MANAGEDGoogle-managed SSLCertificate.
    SELF_MANAGED
    SELF_MANAGEDCertificate uploaded by user.
    TYPE_UNSPECIFIED
    TYPE_UNSPECIFIED
    "MANAGED"
    MANAGEDGoogle-managed SSLCertificate.
    "SELF_MANAGED"
    SELF_MANAGEDCertificate uploaded by user.
    "TYPE_UNSPECIFIED"
    TYPE_UNSPECIFIED

    SslCertificateManagedSslCertificate, SslCertificateManagedSslCertificateArgs

    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.
    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.
    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.
    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.
    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.
    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.

    SslCertificateManagedSslCertificateResponse, SslCertificateManagedSslCertificateResponseArgs

    DomainStatus 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.
    DomainStatus 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.
    domainStatus 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.
    domainStatus {[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.
    domainStatus 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.

    SslCertificateSelfManagedSslCertificate, SslCertificateSelfManagedSslCertificateArgs

    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.
    PrivateKey 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.
    PrivateKey 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.
    privateKey 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.
    privateKey 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.
    privateKey String
    A write-only private key in PEM format. Only insert requests will include this field.

    SslCertificateSelfManagedSslCertificateResponse, SslCertificateSelfManagedSslCertificateResponseArgs

    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.
    PrivateKey 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.
    PrivateKey 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.
    privateKey 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.
    privateKey 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.
    privateKey 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-native logo

    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