Class: Azure::Security::Mgmt::V2020_01_01::Models::Location
- Inherits:
-
Object
- Object
- Azure::Security::Mgmt::V2020_01_01::Models::Location
- Includes:
- MsRestAzure
- Defined in:
- lib/2020-01-01/generated/azure_mgmt_security/models/location.rb
Overview
Describes an Azure resource with location
Instance Attribute Summary collapse
-
#location ⇒ String
Location where the resource is stored.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Location class as Ruby Hash.
Instance Attribute Details
#location ⇒ String
Returns Location where the resource is stored.
16 17 18 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/location.rb', line 16 def location @location end |
Class Method Details
.mapper ⇒ Object
Mapper for Location class as Ruby Hash. This will be used for serialization/deserialization.
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# File 'lib/2020-01-01/generated/azure_mgmt_security/models/location.rb', line 23 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Location', type: { name: 'Composite', class_name: 'Location', model_properties: { location: { client_side_validation: true, required: false, read_only: true, serialized_name: 'location', type: { name: 'String' } } } } } end |