Class: Azure::Compute::Mgmt::V2020_12_01::Models::VirtualMachineScaleSetPublicIPAddressConfiguration

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb

Overview

Describes a virtual machines scale set IP Configuration's PublicIPAddress configuration

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#dns_settingsVirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings

The dns settings to be applied on the publicIP addresses .



24
25
26
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb', line 24

def dns_settings
  @dns_settings
end

#idle_timeout_in_minutesInteger

Returns The idle timeout of the public IP address.

Returns:

  • (Integer)

    The idle timeout of the public IP address.



20
21
22
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb', line 20

def idle_timeout_in_minutes
  @idle_timeout_in_minutes
end

#ip_tagsArray<VirtualMachineScaleSetIpTag>

associated with the public IP address.

Returns:



28
29
30
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb', line 28

def ip_tags
  @ip_tags
end

#nameString

Returns The publicIP address configuration name.

Returns:

  • (String)

    The publicIP address configuration name.



17
18
19
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb', line 17

def name
  @name
end

#public_ipaddress_versionIPVersion

represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'. Possible values include: 'IPv4', 'IPv6'

Returns:

  • (IPVersion)

    Available from Api-Version 2019-07-01 onwards, it



38
39
40
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb', line 38

def public_ipaddress_version
  @public_ipaddress_version
end

#public_ipprefixSubResource

publicIP addresses.

Returns:

  • (SubResource)

    The PublicIPPrefix from which to allocate



32
33
34
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb', line 32

def public_ipprefix
  @public_ipprefix
end

Class Method Details

.mapperObject

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



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
111
112
113
114
115
116
117
# File 'lib/2020-12-01/generated/azure_mgmt_compute/models/virtual_machine_scale_set_public_ipaddress_configuration.rb', line 46

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VirtualMachineScaleSetPublicIPAddressConfiguration',
    type: {
      name: 'Composite',
      class_name: 'VirtualMachineScaleSetPublicIPAddressConfiguration',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        idle_timeout_in_minutes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.idleTimeoutInMinutes',
          type: {
            name: 'Number'
          }
        },
        dns_settings: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dnsSettings',
          type: {
            name: 'Composite',
            class_name: 'VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings'
          }
        },
        ip_tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.ipTags',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'VirtualMachineScaleSetIpTagElementType',
                type: {
                  name: 'Composite',
                  class_name: 'VirtualMachineScaleSetIpTag'
                }
            }
          }
        },
        public_ipprefix: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.publicIPPrefix',
          type: {
            name: 'Composite',
            class_name: 'SubResource'
          }
        },
        public_ipaddress_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.publicIPAddressVersion',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end