Google Native

v0.27.0 published on Friday, Oct 21, 2022 by Pulumi

getAuthorizedCertificate

Gets the specified SSL certificate.

Using getAuthorizedCertificate

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 getAuthorizedCertificate(args: GetAuthorizedCertificateArgs, opts?: InvokeOptions): Promise<GetAuthorizedCertificateResult>
function getAuthorizedCertificateOutput(args: GetAuthorizedCertificateOutputArgs, opts?: InvokeOptions): Output<GetAuthorizedCertificateResult>
def get_authorized_certificate(app_id: Optional[str] = None,
                               authorized_certificate_id: Optional[str] = None,
                               view: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetAuthorizedCertificateResult
def get_authorized_certificate_output(app_id: Optional[pulumi.Input[str]] = None,
                               authorized_certificate_id: Optional[pulumi.Input[str]] = None,
                               view: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetAuthorizedCertificateResult]
func LookupAuthorizedCertificate(ctx *Context, args *LookupAuthorizedCertificateArgs, opts ...InvokeOption) (*LookupAuthorizedCertificateResult, error)
func LookupAuthorizedCertificateOutput(ctx *Context, args *LookupAuthorizedCertificateOutputArgs, opts ...InvokeOption) LookupAuthorizedCertificateResultOutput

> Note: This function is named LookupAuthorizedCertificate in the Go SDK.

public static class GetAuthorizedCertificate 
{
    public static Task<GetAuthorizedCertificateResult> InvokeAsync(GetAuthorizedCertificateArgs args, InvokeOptions? opts = null)
    public static Output<GetAuthorizedCertificateResult> Invoke(GetAuthorizedCertificateInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAuthorizedCertificateResult> getAuthorizedCertificate(GetAuthorizedCertificateArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:appengine/v1alpha:getAuthorizedCertificate
  arguments:
    # arguments dictionary

The following arguments are supported:

getAuthorizedCertificate Result

The following output properties are available:

CertificateRawData Pulumi.GoogleNative.AppEngine.V1Alpha.Outputs.CertificateRawDataResponse

The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.

DisplayName string

The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.

DomainMappingsCount int

Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

DomainNames List<string>

Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.

ExpireTime string

The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.

ManagedCertificate Pulumi.GoogleNative.AppEngine.V1Alpha.Outputs.ManagedCertificateResponse

Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.

Name string

Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.

VisibleDomainMappings List<string>

The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

CertificateRawData CertificateRawDataResponse

The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.

DisplayName string

The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.

DomainMappingsCount int

Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

DomainNames []string

Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.

ExpireTime string

The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.

ManagedCertificate ManagedCertificateResponse

Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.

Name string

Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.

VisibleDomainMappings []string

The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

certificateRawData CertificateRawDataResponse

The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.

displayName String

The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.

domainMappingsCount Integer

Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

domainNames List<String>

Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.

expireTime String

The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.

managedCertificate ManagedCertificateResponse

Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.

name String

Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.

visibleDomainMappings List<String>

The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

certificateRawData CertificateRawDataResponse

The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.

displayName string

The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.

domainMappingsCount number

Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

domainNames string[]

Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.

expireTime string

The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.

managedCertificate ManagedCertificateResponse

Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.

name string

Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.

visibleDomainMappings string[]

The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

certificate_raw_data CertificateRawDataResponse

The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.

display_name str

The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.

domain_mappings_count int

Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

domain_names Sequence[str]

Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.

expire_time str

The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.

managed_certificate ManagedCertificateResponse

Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.

name str

Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.

visible_domain_mappings Sequence[str]

The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

certificateRawData Property Map

The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.

displayName String

The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.

domainMappingsCount Number

Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

domainNames List<String>

Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.

expireTime String

The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.

managedCertificate Property Map

Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.

name String

Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.

visibleDomainMappings List<String>

The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

Supporting Types

CertificateRawDataResponse

PrivateKey string

Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly

PublicCertificate string

PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----

PrivateKey string

Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly

PublicCertificate string

PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----

privateKey String

Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly

publicCertificate String

PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----

privateKey string

Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly

publicCertificate string

PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----

private_key str

Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly

public_certificate str

PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----

privateKey String

Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly

publicCertificate String

PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----

ManagedCertificateResponse

LastRenewalTime string

Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.

Status string

Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.

LastRenewalTime string

Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.

Status string

Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.

lastRenewalTime String

Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.

status String

Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.

lastRenewalTime string

Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.

status string

Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.

last_renewal_time str

Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.

status str

Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.

lastRenewalTime String

Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.

status String

Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0