Class: Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringLocation
- Inherits:
-
Resource
- Object
- Resource
- Azure::Peering::Mgmt::V2019_08_01_preview::Models::PeeringLocation
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_location.rb
Overview
Peering location is where connectivity could be established to the Microsoft Cloud Edge.
Instance Attribute Summary collapse
-
#azure_region ⇒ String
The Azure region associated with the peering location.
-
#country ⇒ String
The country in which the peering location exists.
-
#direct ⇒ PeeringLocationPropertiesDirect
direct peering location.
-
#exchange ⇒ PeeringLocationPropertiesExchange
an exchange peering location.
-
#kind ⇒ Kind
Possible values include: ‘Direct’, ‘Exchange’.
-
#peering_location ⇒ String
The name of the peering location.
Attributes inherited from Resource
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PeeringLocation class as Ruby Hash.
Methods inherited from Resource
Instance Attribute Details
#azure_region ⇒ String
Returns The Azure region associated with the peering location.
35 36 37 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_location.rb', line 35 def azure_region @azure_region end |
#country ⇒ String
Returns The country in which the peering location exists.
32 33 34 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_location.rb', line 32 def country @country end |
#direct ⇒ PeeringLocationPropertiesDirect
direct peering location.
22 23 24 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_location.rb', line 22 def direct @direct end |
#exchange ⇒ PeeringLocationPropertiesExchange
an exchange peering location.
26 27 28 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_location.rb', line 26 def exchange @exchange end |
#kind ⇒ Kind
Possible values include: ‘Direct’, ‘Exchange’
18 19 20 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_location.rb', line 18 def kind @kind end |
#peering_location ⇒ String
Returns The name of the peering location.
29 30 31 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_location.rb', line 29 def peering_location @peering_location end |
Class Method Details
.mapper ⇒ Object
Mapper for PeeringLocation 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 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
# File 'lib/2019-08-01-preview/generated/azure_mgmt_peering/models/peering_location.rb', line 42 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PeeringLocation', type: { name: 'Composite', class_name: 'PeeringLocation', model_properties: { name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'String' } }, direct: { client_side_validation: true, required: false, serialized_name: 'properties.direct', type: { name: 'Composite', class_name: 'PeeringLocationPropertiesDirect' } }, exchange: { client_side_validation: true, required: false, serialized_name: 'properties.exchange', type: { name: 'Composite', class_name: 'PeeringLocationPropertiesExchange' } }, peering_location: { client_side_validation: true, required: false, serialized_name: 'properties.peeringLocation', type: { name: 'String' } }, country: { client_side_validation: true, required: false, serialized_name: 'properties.country', type: { name: 'String' } }, azure_region: { client_side_validation: true, required: false, serialized_name: 'properties.azureRegion', type: { name: 'String' } } } } } end |