Class: Ansible::Ruby::Modules::Gcp_compute_ssl_certificate

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_ssl_certificate.rb

Overview

An SslCertificate resource. This resource provides a mechanism to upload an SSL key and certificate to the load balancer to serve secure connections from the user.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#certificateString?

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

Returns:

  • (String, nil)

    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.



16
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_ssl_certificate.rb', line 16

attribute :certificate

#descriptionString?

Returns An optional description of this resource.

Returns:

  • (String, nil)

    An optional description of this resource.



20
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_ssl_certificate.rb', line 20

attribute :description

#nameString?

Returns 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])?` 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.

Returns:

  • (String, nil)

    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])?` 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.



24
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_ssl_certificate.rb', line 24

attribute :name

#private_keyString?

Returns The private key in PEM format.

Returns:

  • (String, nil)

    The private key in PEM format.



28
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_ssl_certificate.rb', line 28

attribute :private_key

#state:present, ...

Returns Whether the given object should exist in GCP.

Returns:

  • (:present, :absent, nil)

    Whether the given object should exist in GCP



12
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_ssl_certificate.rb', line 12

attribute :state