Class: Azure::Network::Mgmt::V2020_03_01::Models::AvailableProvidersListParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2020-03-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb

Overview

Constraints that determine the list of available Internet service providers.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#azure_locationsArray<String>

Returns A list of Azure regions.

Returns:

  • (Array<String>)

    A list of Azure regions.


17
18
19
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb', line 17

def azure_locations
  @azure_locations
end

#cityString

Returns The city or town for available providers list.

Returns:

  • (String)

    The city or town for available providers list.


26
27
28
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb', line 26

def city
  @city
end

#countryString

Returns The country for available providers list.

Returns:

  • (String)

    The country for available providers list.


20
21
22
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb', line 20

def country
  @country
end

#stateString

Returns The state for available providers list.

Returns:

  • (String)

    The state for available providers list.


23
24
25
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb', line 23

def state
  @state
end

Class Method Details

.mapperObject

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


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
85
# File 'lib/2020-03-01/generated/azure_mgmt_network/models/available_providers_list_parameters.rb', line 33

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AvailableProvidersListParameters',
    type: {
      name: 'Composite',
      class_name: 'AvailableProvidersListParameters',
      model_properties: {
        azure_locations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'azureLocations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        country: {
          client_side_validation: true,
          required: false,
          serialized_name: 'country',
          type: {
            name: 'String'
          }
        },
        state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'state',
          type: {
            name: 'String'
          }
        },
        city: {
          client_side_validation: true,
          required: false,
          serialized_name: 'city',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end