Class: Azure::Network::Mgmt::V2017_09_01::Models::ApplicationGatewaySslPredefinedPolicy

Inherits:
SubResource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-09-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/2017-09-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/2017-09-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 Ssl predefined policy.

Returns:

  • (String)

    Name of Ssl predefined policy.



16
17
18
# File 'lib/2017-09-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
# File 'lib/2017-09-01/generated/azure_mgmt_network/models/application_gateway_ssl_predefined_policy.rb', line 32

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