Class: Azure::TimeSeriesInsights::Mgmt::V2017_02_28_preview::Models::CreateOrUpdateTrackedResourceProperties
- Inherits:
-
Object
- Object
- Azure::TimeSeriesInsights::Mgmt::V2017_02_28_preview::Models::CreateOrUpdateTrackedResourceProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-02-28-preview/generated/azure_mgmt_time_series_insights/models/create_or_update_tracked_resource_properties.rb
Overview
Properties required to create any resource tracked by Azure Resource Manager.
Direct Known Subclasses
EnvironmentCreateOrUpdateParameters, EventSourceCreateOrUpdateParameters, ReferenceDataSetCreateOrUpdateParameters
Instance Attribute Summary collapse
-
#location ⇒ String
The location of the resource.
-
#tags ⇒ Hash{String => String}
properties for the resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CreateOrUpdateTrackedResourceProperties class as Ruby Hash.
Instance Attribute Details
#location ⇒ String
Returns The location of the resource.
17 18 19 |
# File 'lib/2017-02-28-preview/generated/azure_mgmt_time_series_insights/models/create_or_update_tracked_resource_properties.rb', line 17 def location @location end |
#tags ⇒ Hash{String => String}
properties for the resource.
21 22 23 |
# File 'lib/2017-02-28-preview/generated/azure_mgmt_time_series_insights/models/create_or_update_tracked_resource_properties.rb', line 21 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for CreateOrUpdateTrackedResourceProperties class as Ruby Hash. This will be used for serialization/deserialization.
28 29 30 31 32 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 |
# File 'lib/2017-02-28-preview/generated/azure_mgmt_time_series_insights/models/create_or_update_tracked_resource_properties.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CreateOrUpdateTrackedResourceProperties', type: { name: 'Composite', class_name: 'CreateOrUpdateTrackedResourceProperties', model_properties: { location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |