Class: Azure::ApiManagement::Mgmt::V2019_12_01::Models::AdditionalLocation

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-12-01/generated/azure_mgmt_api_management/models/additional_location.rb

Overview

Description of an additional API Management resource location.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#disable_gatewayBoolean

deployed in multiple locations. This can be used to disable the gateway in this additional location. Default value: false .

Returns:

  • (Boolean)

    Property only valid for an Api Management service



45
46
47
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/additional_location.rb', line 45

def disable_gateway
  @disable_gateway
end

#gateway_regional_urlString

Region.

Returns:

  • (String)

    Gateway URL of the API Management service in the



40
41
42
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/additional_location.rb', line 40

def gateway_regional_url
  @gateway_regional_url
end

#locationString

Data center regions.

Returns:

  • (String)

    The location name of the additional region among Azure



17
18
19
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/additional_location.rb', line 17

def location
  @location
end

#private_ipaddressesArray<String>

the API Management service which is deployed in an Internal Virtual Network in a particular additional location. Available only for Basic, Standard and Premium SKU.

Returns:

  • (Array<String>)

    Private Static Load Balanced IP addresses of



32
33
34
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/additional_location.rb', line 32

def private_ipaddresses
  @private_ipaddresses
end

#public_ipaddressesArray<String>

API Management service in the additional location. Available only for Basic, Standard and Premium SKU.

Returns:

  • (Array<String>)

    Public Static Load Balanced IP addresses of the



26
27
28
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/additional_location.rb', line 26

def public_ipaddresses
  @public_ipaddresses
end

#skuApiManagementServiceSkuProperties

Management service.

Returns:



21
22
23
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/additional_location.rb', line 21

def sku
  @sku
end

#virtual_network_configurationVirtualNetworkConfiguration

the location.

Returns:



36
37
38
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/additional_location.rb', line 36

def virtual_network_configuration
  @virtual_network_configuration
end

Class Method Details

.mapperObject

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



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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
# File 'lib/2019-12-01/generated/azure_mgmt_api_management/models/additional_location.rb', line 52

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AdditionalLocation',
    type: {
      name: 'Composite',
      class_name: 'AdditionalLocation',
      model_properties: {
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        sku: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'ApiManagementServiceSkuProperties'
          }
        },
        public_ipaddresses: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'publicIPAddresses',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        private_ipaddresses: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'privateIPAddresses',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        virtual_network_configuration: {
          client_side_validation: true,
          required: false,
          serialized_name: 'virtualNetworkConfiguration',
          type: {
            name: 'Composite',
            class_name: 'VirtualNetworkConfiguration'
          }
        },
        gateway_regional_url: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'gatewayRegionalUrl',
          type: {
            name: 'String'
          }
        },
        disable_gateway: {
          client_side_validation: true,
          required: false,
          serialized_name: 'disableGateway',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end