azure_mgmt_customer_insights 0.15.2 → 0.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-01-01/generated/azure_mgmt_customer_insights.rb +132 -0
  3. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/authorization_policies.rb +641 -0
  4. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/connector_mappings.rb +554 -0
  5. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/connectors.rb +612 -0
  6. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/customer_insights_management_client.rb +192 -0
  7. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/hubs.rb +848 -0
  8. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/images.rb +240 -0
  9. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/interactions.rb +597 -0
  10. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/kpi.rb +696 -0
  11. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/links.rb +571 -0
  12. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/assignment_principal.rb +76 -0
  13. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/authorization_policy.rb +93 -0
  14. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/authorization_policy_list_result.rb +99 -0
  15. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/authorization_policy_resource_format.rb +120 -0
  16. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/azure_blob_connector_properties.rb +46 -0
  17. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/calculation_window_types.rb +19 -0
  18. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/cardinality_types.rb +17 -0
  19. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/completion_operation_types.rb +17 -0
  20. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_list_result.rb +98 -0
  21. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_availability.rb +59 -0
  22. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_complete_operation.rb +60 -0
  23. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_error_management.rb +60 -0
  24. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_format.rb +104 -0
  25. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_list_result.rb +99 -0
  26. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_properties.rb +141 -0
  27. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_resource_format.rb +245 -0
  28. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_states.rb +21 -0
  29. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_mapping_structure.rb +79 -0
  30. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_resource_format.rb +199 -0
  31. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_states.rb +20 -0
  32. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/connector_types.rb +20 -0
  33. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/crm_connector_entities.rb +68 -0
  34. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/crm_connector_properties.rb +100 -0
  35. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_precedence.rb +109 -0
  36. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/data_source_type.rb +17 -0
  37. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/enriching_kpi.rb +256 -0
  38. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/entity_type_definition.rb +268 -0
  39. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/entity_types.rb +18 -0
  40. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/error_management_types.rb +17 -0
  41. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/frequency_types.rb +19 -0
  42. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/get_image_upload_url_input.rb +68 -0
  43. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub.rb +147 -0
  44. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub_billing_info_format.rb +78 -0
  45. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/hub_list_result.rb +98 -0
  46. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/image_definition.rb +68 -0
  47. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/instance_operation_type.rb +16 -0
  48. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/interaction_list_result.rb +99 -0
  49. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/interaction_resource_format.rb +475 -0
  50. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_alias.rb +57 -0
  51. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_definition.rb +320 -0
  52. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_extract.rb +57 -0
  53. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_functions.rb +22 -0
  54. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_group_by_metadata.rb +76 -0
  55. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_list_result.rb +98 -0
  56. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_participant_profiles_metadata.rb +46 -0
  57. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_resource_format.rb +347 -0
  58. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/kpi_thresholds.rb +68 -0
  59. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/link_list_result.rb +98 -0
  60. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/link_resource_format.rb +230 -0
  61. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/link_types.rb +16 -0
  62. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/metadata_definition_base.rb +166 -0
  63. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/operation.rb +59 -0
  64. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/operation_display.rb +72 -0
  65. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/operation_list_result.rb +103 -0
  66. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/participant.rb +127 -0
  67. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/participant_property_reference.rb +59 -0
  68. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/permission_types.rb +17 -0
  69. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_enum_valid_values_format.rb +65 -0
  70. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_list_result.rb +98 -0
  71. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/profile_resource_format.rb +342 -0
  72. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/property_definition.rb +237 -0
  73. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/provisioning_states.rb +20 -0
  74. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/proxy_resource.rb +71 -0
  75. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_link_field_mapping.rb +70 -0
  76. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_link_list_result.rb +99 -0
  77. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_link_resource_format.rb +238 -0
  78. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_list_result.rb +99 -0
  79. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_resource_format.rb +239 -0
  80. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_type_field_mapping.rb +58 -0
  81. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationship_type_mapping.rb +58 -0
  82. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/relationships_lookup.rb +115 -0
  83. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/resource.rb +101 -0
  84. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/resource_set_description.rb +74 -0
  85. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_assignment_list_result.rb +99 -0
  86. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_assignment_resource_format.rb +333 -0
  87. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_list_result.rb +98 -0
  88. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_resource_format.rb +84 -0
  89. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/role_types.rb +20 -0
  90. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/salesforce_connector_properties.rb +67 -0
  91. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/salesforce_discover_setting.rb +46 -0
  92. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/salesforce_table.rb +90 -0
  93. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/status.rb +17 -0
  94. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/strong_id.rb +103 -0
  95. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/suggest_relationship_links_response.rb +69 -0
  96. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/type_properties_mapping.rb +82 -0
  97. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/view_list_result.rb +98 -0
  98. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/view_resource_format.rb +151 -0
  99. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/widget_type_list_result.rb +99 -0
  100. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/models/widget_type_resource_format.rb +174 -0
  101. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/module_definition.rb +9 -0
  102. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/operations.rb +218 -0
  103. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/profiles.rb +742 -0
  104. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/relationship_links.rb +616 -0
  105. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/relationships.rb +612 -0
  106. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/role_assignments.rb +572 -0
  107. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/roles.rb +229 -0
  108. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/views.rb +535 -0
  109. data/lib/2017-01-01/generated/azure_mgmt_customer_insights/widget_types.rb +326 -0
  110. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/authorization_policies.rb +39 -35
  111. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/connector_mappings.rb +33 -30
  112. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/connectors.rb +41 -38
  113. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/customer_insights_management_client.rb +4 -1
  114. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/hubs.rb +58 -54
  115. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/images.rb +12 -14
  116. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/interactions.rb +37 -34
  117. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/kpi.rb +47 -43
  118. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/links.rb +37 -34
  119. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/operations.rb +15 -13
  120. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb +59 -55
  121. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/profiles.rb +47 -43
  122. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/relationship_links.rb +41 -38
  123. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/relationships.rb +41 -38
  124. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/role_assignments.rb +37 -34
  125. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/roles.rb +15 -13
  126. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/views.rb +33 -30
  127. data/lib/2017-04-26/generated/azure_mgmt_customer_insights/widget_types.rb +21 -18
  128. data/lib/azure_mgmt_customer_insights.rb +1 -0
  129. data/lib/profiles/latest/customerinsights_latest_profile_client.rb +28 -9
  130. data/lib/profiles/latest/customerinsights_module_definition.rb +0 -1
  131. data/lib/profiles/latest/modules/customerinsights_profile_module.rb +356 -337
  132. data/lib/version.rb +1 -1
  133. metadata +110 -2
@@ -0,0 +1,57 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CustomerInsights::Mgmt::V2017_01_01
7
+ module Models
8
+ #
9
+ # The KPI alias.
10
+ #
11
+ class KpiAlias
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] KPI alias name.
16
+ attr_accessor :alias_name
17
+
18
+ # @return [String] The expression.
19
+ attr_accessor :expression
20
+
21
+
22
+ #
23
+ # Mapper for KpiAlias class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'KpiAlias',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'KpiAlias',
34
+ model_properties: {
35
+ alias_name: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'aliasName',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ expression: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'expression',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,320 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CustomerInsights::Mgmt::V2017_01_01
7
+ module Models
8
+ #
9
+ # Defines the KPI Threshold limits.
10
+ #
11
+ class KpiDefinition
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [EntityTypes] The mapping entity type. Possible values include:
16
+ # 'None', 'Profile', 'Interaction', 'Relationship'
17
+ attr_accessor :entity_type
18
+
19
+ # @return [String] The mapping entity name.
20
+ attr_accessor :entity_type_name
21
+
22
+ # @return [String] The hub name.
23
+ attr_accessor :tenant_id
24
+
25
+ # @return [String] The KPI name.
26
+ attr_accessor :kpi_name
27
+
28
+ # @return [Hash{String => String}] Localized display name for the KPI.
29
+ attr_accessor :display_name
30
+
31
+ # @return [Hash{String => String}] Localized description for the KPI.
32
+ attr_accessor :description
33
+
34
+ # @return [CalculationWindowTypes] The calculation window. Possible
35
+ # values include: 'Lifetime', 'Hour', 'Day', 'Week', 'Month'
36
+ attr_accessor :calculation_window
37
+
38
+ # @return [String] Name of calculation window field.
39
+ attr_accessor :calculation_window_field_name
40
+
41
+ # @return [KpiFunctions] The computation function for the KPI. Possible
42
+ # values include: 'Sum', 'Avg', 'Min', 'Max', 'Last', 'Count', 'None',
43
+ # 'CountDistinct'
44
+ attr_accessor :function
45
+
46
+ # @return [String] The computation expression for the KPI.
47
+ attr_accessor :expression
48
+
49
+ # @return [String] The unit of measurement for the KPI.
50
+ attr_accessor :unit
51
+
52
+ # @return [String] The filter expression for the KPI.
53
+ attr_accessor :filter
54
+
55
+ # @return [Array<String>] the group by properties for the KPI.
56
+ attr_accessor :group_by
57
+
58
+ # @return [Array<KpiGroupByMetadata>] The KPI GroupByMetadata.
59
+ attr_accessor :group_by_metadata
60
+
61
+ # @return [Array<KpiParticipantProfilesMetadata>] The participant
62
+ # profiles.
63
+ attr_accessor :participant_profiles_metadata
64
+
65
+ # @return [ProvisioningStates] Provisioning state. Possible values
66
+ # include: 'Provisioning', 'Succeeded', 'Expiring', 'Deleting',
67
+ # 'HumanIntervention', 'Failed'
68
+ attr_accessor :provisioning_state
69
+
70
+ # @return [KpiThresholds] The KPI thresholds.
71
+ attr_accessor :thres_holds
72
+
73
+ # @return [Array<KpiAlias>] The aliases.
74
+ attr_accessor :aliases
75
+
76
+ # @return [Array<KpiExtract>] The KPI extracts.
77
+ attr_accessor :extracts
78
+
79
+
80
+ #
81
+ # Mapper for KpiDefinition class as Ruby Hash.
82
+ # This will be used for serialization/deserialization.
83
+ #
84
+ def self.mapper()
85
+ {
86
+ client_side_validation: true,
87
+ required: false,
88
+ serialized_name: 'KpiDefinition',
89
+ type: {
90
+ name: 'Composite',
91
+ class_name: 'KpiDefinition',
92
+ model_properties: {
93
+ entity_type: {
94
+ client_side_validation: true,
95
+ required: true,
96
+ serialized_name: 'entityType',
97
+ type: {
98
+ name: 'Enum',
99
+ module: 'EntityTypes'
100
+ }
101
+ },
102
+ entity_type_name: {
103
+ client_side_validation: true,
104
+ required: true,
105
+ serialized_name: 'entityTypeName',
106
+ type: {
107
+ name: 'String'
108
+ }
109
+ },
110
+ tenant_id: {
111
+ client_side_validation: true,
112
+ required: false,
113
+ read_only: true,
114
+ serialized_name: 'tenantId',
115
+ type: {
116
+ name: 'String'
117
+ }
118
+ },
119
+ kpi_name: {
120
+ client_side_validation: true,
121
+ required: false,
122
+ read_only: true,
123
+ serialized_name: 'kpiName',
124
+ type: {
125
+ name: 'String'
126
+ }
127
+ },
128
+ display_name: {
129
+ client_side_validation: true,
130
+ required: false,
131
+ serialized_name: 'displayName',
132
+ type: {
133
+ name: 'Dictionary',
134
+ value: {
135
+ client_side_validation: true,
136
+ required: false,
137
+ serialized_name: 'StringElementType',
138
+ type: {
139
+ name: 'String'
140
+ }
141
+ }
142
+ }
143
+ },
144
+ description: {
145
+ client_side_validation: true,
146
+ required: false,
147
+ serialized_name: 'description',
148
+ type: {
149
+ name: 'Dictionary',
150
+ value: {
151
+ client_side_validation: true,
152
+ required: false,
153
+ serialized_name: 'StringElementType',
154
+ type: {
155
+ name: 'String'
156
+ }
157
+ }
158
+ }
159
+ },
160
+ calculation_window: {
161
+ client_side_validation: true,
162
+ required: true,
163
+ serialized_name: 'calculationWindow',
164
+ type: {
165
+ name: 'Enum',
166
+ module: 'CalculationWindowTypes'
167
+ }
168
+ },
169
+ calculation_window_field_name: {
170
+ client_side_validation: true,
171
+ required: false,
172
+ serialized_name: 'calculationWindowFieldName',
173
+ type: {
174
+ name: 'String'
175
+ }
176
+ },
177
+ function: {
178
+ client_side_validation: true,
179
+ required: true,
180
+ serialized_name: 'function',
181
+ type: {
182
+ name: 'Enum',
183
+ module: 'KpiFunctions'
184
+ }
185
+ },
186
+ expression: {
187
+ client_side_validation: true,
188
+ required: true,
189
+ serialized_name: 'expression',
190
+ type: {
191
+ name: 'String'
192
+ }
193
+ },
194
+ unit: {
195
+ client_side_validation: true,
196
+ required: false,
197
+ serialized_name: 'unit',
198
+ type: {
199
+ name: 'String'
200
+ }
201
+ },
202
+ filter: {
203
+ client_side_validation: true,
204
+ required: false,
205
+ serialized_name: 'filter',
206
+ type: {
207
+ name: 'String'
208
+ }
209
+ },
210
+ group_by: {
211
+ client_side_validation: true,
212
+ required: false,
213
+ serialized_name: 'groupBy',
214
+ type: {
215
+ name: 'Sequence',
216
+ element: {
217
+ client_side_validation: true,
218
+ required: false,
219
+ serialized_name: 'StringElementType',
220
+ type: {
221
+ name: 'String'
222
+ }
223
+ }
224
+ }
225
+ },
226
+ group_by_metadata: {
227
+ client_side_validation: true,
228
+ required: false,
229
+ read_only: true,
230
+ serialized_name: 'groupByMetadata',
231
+ type: {
232
+ name: 'Sequence',
233
+ element: {
234
+ client_side_validation: true,
235
+ required: false,
236
+ serialized_name: 'KpiGroupByMetadataElementType',
237
+ type: {
238
+ name: 'Composite',
239
+ class_name: 'KpiGroupByMetadata'
240
+ }
241
+ }
242
+ }
243
+ },
244
+ participant_profiles_metadata: {
245
+ client_side_validation: true,
246
+ required: false,
247
+ read_only: true,
248
+ serialized_name: 'participantProfilesMetadata',
249
+ type: {
250
+ name: 'Sequence',
251
+ element: {
252
+ client_side_validation: true,
253
+ required: false,
254
+ serialized_name: 'KpiParticipantProfilesMetadataElementType',
255
+ type: {
256
+ name: 'Composite',
257
+ class_name: 'KpiParticipantProfilesMetadata'
258
+ }
259
+ }
260
+ }
261
+ },
262
+ provisioning_state: {
263
+ client_side_validation: true,
264
+ required: false,
265
+ read_only: true,
266
+ serialized_name: 'provisioningState',
267
+ type: {
268
+ name: 'String'
269
+ }
270
+ },
271
+ thres_holds: {
272
+ client_side_validation: true,
273
+ required: false,
274
+ serialized_name: 'thresHolds',
275
+ type: {
276
+ name: 'Composite',
277
+ class_name: 'KpiThresholds'
278
+ }
279
+ },
280
+ aliases: {
281
+ client_side_validation: true,
282
+ required: false,
283
+ serialized_name: 'aliases',
284
+ type: {
285
+ name: 'Sequence',
286
+ element: {
287
+ client_side_validation: true,
288
+ required: false,
289
+ serialized_name: 'KpiAliasElementType',
290
+ type: {
291
+ name: 'Composite',
292
+ class_name: 'KpiAlias'
293
+ }
294
+ }
295
+ }
296
+ },
297
+ extracts: {
298
+ client_side_validation: true,
299
+ required: false,
300
+ serialized_name: 'extracts',
301
+ type: {
302
+ name: 'Sequence',
303
+ element: {
304
+ client_side_validation: true,
305
+ required: false,
306
+ serialized_name: 'KpiExtractElementType',
307
+ type: {
308
+ name: 'Composite',
309
+ class_name: 'KpiExtract'
310
+ }
311
+ }
312
+ }
313
+ }
314
+ }
315
+ }
316
+ }
317
+ end
318
+ end
319
+ end
320
+ end
@@ -0,0 +1,57 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CustomerInsights::Mgmt::V2017_01_01
7
+ module Models
8
+ #
9
+ # The KPI extract.
10
+ #
11
+ class KpiExtract
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] KPI extract name.
16
+ attr_accessor :extract_name
17
+
18
+ # @return [String] The expression.
19
+ attr_accessor :expression
20
+
21
+
22
+ #
23
+ # Mapper for KpiExtract class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'KpiExtract',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'KpiExtract',
34
+ model_properties: {
35
+ extract_name: {
36
+ client_side_validation: true,
37
+ required: true,
38
+ serialized_name: 'extractName',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ expression: {
44
+ client_side_validation: true,
45
+ required: true,
46
+ serialized_name: 'expression',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ }
51
+ }
52
+ }
53
+ }
54
+ end
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,22 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::CustomerInsights::Mgmt::V2017_01_01
7
+ module Models
8
+ #
9
+ # Defines values for KpiFunctions
10
+ #
11
+ module KpiFunctions
12
+ Sum = "Sum"
13
+ Avg = "Avg"
14
+ Min = "Min"
15
+ Max = "Max"
16
+ Last = "Last"
17
+ Count = "Count"
18
+ None = "None"
19
+ CountDistinct = "CountDistinct"
20
+ end
21
+ end
22
+ end