Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::NetworkSettings

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/network_settings.rb

Overview

The network settings.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#outbound_only_public_network_access_typeOutboundOnlyPublicNetworkAccessType

which the cluster will have outbound access to the public network. Possible values include: ‘PublicLoadBalancer’, ‘UDR’

Returns:



23
24
25
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/network_settings.rb', line 23

def outbound_only_public_network_access_type
  @outbound_only_public_network_access_type
end

#public_network_accessPublicNetworkAccess

is enabled for inbound and outbound, or outbound only. Possible values include: ‘InboundAndOutbound’, ‘OutboundOnly’

Returns:



18
19
20
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/network_settings.rb', line 18

def public_network_access
  @public_network_access
end

Class Method Details

.mapperObject

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



30
31
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
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/network_settings.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'NetworkSettings',
    type: {
      name: 'Composite',
      class_name: 'NetworkSettings',
      model_properties: {
        public_network_access: {
          client_side_validation: true,
          required: false,
          serialized_name: 'publicNetworkAccess',
          type: {
            name: 'String'
          }
        },
        outbound_only_public_network_access_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'outboundOnlyPublicNetworkAccessType',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end