Class: Azure::TimeSeriesInsights::Mgmt::V2017_02_28_preview::Models::EnvironmentUpdateParameters
- Inherits:
-
Object
- Object
- Azure::TimeSeriesInsights::Mgmt::V2017_02_28_preview::Models::EnvironmentUpdateParameters
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-02-28-preview/generated/azure_mgmt_time_series_insights/models/environment_update_parameters.rb
Overview
Parameters supplied to the Update Environment operation.
Instance Attribute Summary collapse
-
#data_retention_time ⇒ Duration
days the environment’s events will be available for query.
-
#sku ⇒ Sku
The sku of the environment.
-
#tags ⇒ Hash{String => String}
properties for the environment.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EnvironmentUpdateParameters class as Ruby Hash.
Instance Attribute Details
#data_retention_time ⇒ Duration
days the environment’s events will be available for query.
24 25 26 |
# File 'lib/2017-02-28-preview/generated/azure_mgmt_time_series_insights/models/environment_update_parameters.rb', line 24 def data_retention_time @data_retention_time end |
#sku ⇒ Sku
Returns The sku of the environment.
16 17 18 |
# File 'lib/2017-02-28-preview/generated/azure_mgmt_time_series_insights/models/environment_update_parameters.rb', line 16 def sku @sku end |
#tags ⇒ Hash{String => String}
properties for the environment.
20 21 22 |
# File 'lib/2017-02-28-preview/generated/azure_mgmt_time_series_insights/models/environment_update_parameters.rb', line 20 def @tags end |
Class Method Details
.mapper ⇒ Object
Mapper for EnvironmentUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.
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 65 66 67 68 69 70 71 72 73 74 75 76 |
# File 'lib/2017-02-28-preview/generated/azure_mgmt_time_series_insights/models/environment_update_parameters.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'EnvironmentUpdateParameters', type: { name: 'Composite', class_name: 'EnvironmentUpdateParameters', model_properties: { sku: { client_side_validation: true, required: false, serialized_name: 'sku', type: { name: 'Composite', class_name: 'Sku' } }, 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' } } } }, data_retention_time: { client_side_validation: true, required: false, serialized_name: 'properties.dataRetentionTime', type: { name: 'TimeSpan' } } } } } end |