Class: Azure::Network::Mgmt::V2019_11_01::Models::ApplicationGatewaySslPolicy

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

Overview

Application Gateway Ssl policy.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#cipher_suitesArray<ApplicationGatewaySslCipherSuite>

be enabled in the specified order to application gateway.

Returns:


30
31
32
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb', line 30

def cipher_suites
  @cipher_suites
end

#disabled_ssl_protocolsArray<ApplicationGatewaySslProtocol>

disabled on application gateway.

Returns:


17
18
19
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb', line 17

def disabled_ssl_protocols
  @disabled_ssl_protocols
end

#min_protocol_versionApplicationGatewaySslProtocol

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

Returns:


35
36
37
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb', line 35

def min_protocol_version
  @min_protocol_version
end

#policy_nameApplicationGatewaySslPolicyName

policy. Possible values include: 'AppGwSslPolicy20150501', 'AppGwSslPolicy20170401', 'AppGwSslPolicy20170401S'

Returns:


26
27
28
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb', line 26

def policy_name
  @policy_name
end

#policy_typeApplicationGatewaySslPolicyType

values include: 'Predefined', 'Custom'

Returns:


21
22
23
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb', line 21

def policy_type
  @policy_type
end

Class Method Details

.mapperObject

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


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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
# File 'lib/2019-11-01/generated/azure_mgmt_network/models/application_gateway_ssl_policy.rb', line 42

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationGatewaySslPolicy',
    type: {
      name: 'Composite',
      class_name: 'ApplicationGatewaySslPolicy',
      model_properties: {
        disabled_ssl_protocols: {
          client_side_validation: true,
          required: false,
          serialized_name: 'disabledSslProtocols',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ApplicationGatewaySslProtocolElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        policy_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'policyType',
          type: {
            name: 'String'
          }
        },
        policy_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'policyName',
          type: {
            name: 'String'
          }
        },
        cipher_suites: {
          client_side_validation: true,
          required: false,
          serialized_name: '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: 'minProtocolVersion',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end