Class: Azure::Network::Mgmt::V2019_02_01::Models::ApplicationGatewaySslPredefinedPolicy

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb

Overview

An Ssl predefined policy

Instance Attribute Summary collapse

Attributes inherited from SubResource

#id

Class Method Summary collapse

Instance Attribute Details

#cipher_suitesArray<ApplicationGatewaySslCipherSuite>

be enabled in the specified order for application gateway.

Returns:


20
21
22
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb', line 20

def cipher_suites
  @cipher_suites
end

#min_protocol_versionApplicationGatewaySslProtocol

to be supported on application gateway. Possible values include: 'TLSv1_0', 'TLSv1_1', 'TLSv1_2'

Returns:


25
26
27
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb', line 25

def min_protocol_version
  @min_protocol_version
end

#nameString

Returns Name of the Ssl predefined policy.

Returns:

  • (String)

    Name of the Ssl predefined policy.


16
17
18
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb', line 16

def name
  @name
end

Class Method Details

.mapperObject

Mapper for ApplicationGatewaySslPredefinedPolicy class as Ruby Hash. This will be used for serialization/deserialization.


32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# File 'lib/2019-02-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb', line 32

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewaySslPredefinedPolicy',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewaySslPredefinedPolicy',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        cipher_suites: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.cipherSuites',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ApplicationGatewaySslCipherSuiteElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        min_protocol_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.minProtocolVersion',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end