Class: Ansible::Ruby::Modules::Gcp_compute_ssl_policy

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

Overview

Represents a SSL policy. SSL policies give you the ability to control the features of SSL that your SSL proxy or HTTPS load balancer negotiates.

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

#custom_featuresArray<String>, ...

Returns A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.

Returns:

  • (Array<String>, String, nil)

    A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM.



31
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_ssl_policy.rb', line 31

attribute :custom_features

#descriptionObject?

Returns An optional description of this resource.

Returns:

  • (Object, nil)

    An optional description of this resource.



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

attribute :description

#min_tls_version:TLS_1_0, ...

Returns The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of ‘TLS_1_0`, `TLS_1_1`, `TLS_1_2`.

Returns:

  • (:TLS_1_0, :TLS_1_1, :TLS_1_2, nil)

    The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of ‘TLS_1_0`, `TLS_1_1`, `TLS_1_2`.



27
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_ssl_policy.rb', line 27

attribute :min_tls_version

#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)

    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.



19
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_ssl_policy.rb', line 19

attribute :name

#profile:COMPATIBLE, ...

Returns Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of ‘COMPATIBLE`, `MODERN`, `RESTRICTED`, or `CUSTOM`. If using `CUSTOM`, the set of SSL features to enable must be specified in the `customFeatures` field.

Returns:

  • (:COMPATIBLE, :MODERN, :RESTRICTED, :CUSTOM, nil)

    Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of ‘COMPATIBLE`, `MODERN`, `RESTRICTED`, or `CUSTOM`. If using `CUSTOM`, the set of SSL features to enable must be specified in the `customFeatures` field.



23
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_compute_ssl_policy.rb', line 23

attribute :profile

#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_policy.rb', line 12

attribute :state