azure_mgmt_kusto 0.17.2 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/clusters.rb +22 -0
  3. data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/databases.rb +18 -0
  4. data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/event_hub_connections.rb +12 -0
  5. data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
  6. data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/operations.rb +4 -0
  7. data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/clusters.rb +22 -0
  8. data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/databases.rb +18 -0
  9. data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/event_hub_connections.rb +12 -0
  10. data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
  11. data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/operations.rb +4 -0
  12. data/lib/2019-01-21/generated/azure_mgmt_kusto.rb +16 -13
  13. data/lib/2019-01-21/generated/azure_mgmt_kusto/clusters.rb +22 -0
  14. data/lib/2019-01-21/generated/azure_mgmt_kusto/data_connections.rb +127 -0
  15. data/lib/2019-01-21/generated/azure_mgmt_kusto/databases.rb +18 -0
  16. data/lib/2019-01-21/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
  17. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_capacity.rb +2 -2
  18. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +1 -1
  19. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_sku.rb +9 -6
  20. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_sku_name.rb +12 -7
  21. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
  22. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/check_name_result.rb +12 -0
  23. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster.rb +0 -1
  24. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +62 -0
  25. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/reason.rb +16 -0
  26. data/lib/2019-01-21/generated/azure_mgmt_kusto/operations.rb +4 -0
  27. data/lib/2019-05-15/generated/azure_mgmt_kusto.rb +79 -0
  28. data/lib/2019-05-15/generated/azure_mgmt_kusto/clusters.rb +1303 -0
  29. data/lib/2019-05-15/generated/azure_mgmt_kusto/data_connections.rb +963 -0
  30. data/lib/2019-05-15/generated/azure_mgmt_kusto/databases.rb +1149 -0
  31. data/lib/2019-05-15/generated/azure_mgmt_kusto/kusto_management_client.rb +145 -0
  32. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
  33. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
  34. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
  35. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
  36. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_sku.rb +74 -0
  37. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_sku_name.rb +26 -0
  38. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
  39. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/check_name_result.rb +82 -0
  40. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/cluster.rb +238 -0
  41. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
  42. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
  43. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/cluster_update.rb +225 -0
  44. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
  45. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +62 -0
  46. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
  47. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
  48. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
  49. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
  50. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/data_format.rb +25 -0
  51. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database.rb +123 -0
  52. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_check_name_request.rb +61 -0
  53. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_list_result.rb +55 -0
  54. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_principal.rb +117 -0
  55. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
  56. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
  57. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
  58. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
  59. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
  60. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/database_update.rb +123 -0
  61. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +158 -0
  62. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +165 -0
  63. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb +176 -0
  64. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
  65. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/operation.rb +82 -0
  66. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
  67. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
  68. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/optimized_autoscale.rb +80 -0
  69. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/provisioning_state.rb +20 -0
  70. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
  71. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/reason.rb +16 -0
  72. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/resource.rb +83 -0
  73. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/sku_description.rb +132 -0
  74. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/sku_description_list.rb +56 -0
  75. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/sku_location_info_item.rb +65 -0
  76. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/state.rb +23 -0
  77. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
  78. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
  79. data/lib/2019-05-15/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb +69 -0
  80. data/lib/2019-05-15/generated/azure_mgmt_kusto/module_definition.rb +9 -0
  81. data/lib/2019-05-15/generated/azure_mgmt_kusto/operations.rb +221 -0
  82. data/lib/azure_mgmt_kusto.rb +2 -1
  83. data/lib/profiles/latest/modules/kusto_profile_module.rb +133 -101
  84. data/lib/version.rb +1 -1
  85. metadata +63 -5
@@ -0,0 +1,56 @@
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::Kusto::Mgmt::V2019_05_15
7
+ module Models
8
+ #
9
+ # The list Kusto database principals operation request.
10
+ #
11
+ class DatabasePrincipalListRequest
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<DatabasePrincipal>] The list of Kusto database
16
+ # principals.
17
+ attr_accessor :value
18
+
19
+
20
+ #
21
+ # Mapper for DatabasePrincipalListRequest class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'DatabasePrincipalListRequest',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'DatabasePrincipalListRequest',
32
+ model_properties: {
33
+ value: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'value',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'DatabasePrincipalElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'DatabasePrincipal'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,56 @@
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::Kusto::Mgmt::V2019_05_15
7
+ module Models
8
+ #
9
+ # The list Kusto database principals operation response.
10
+ #
11
+ class DatabasePrincipalListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<DatabasePrincipal>] The list of Kusto database
16
+ # principals.
17
+ attr_accessor :value
18
+
19
+
20
+ #
21
+ # Mapper for DatabasePrincipalListResult class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'DatabasePrincipalListResult',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'DatabasePrincipalListResult',
32
+ model_properties: {
33
+ value: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'value',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'DatabasePrincipalElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'DatabasePrincipal'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,20 @@
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::Kusto::Mgmt::V2019_05_15
7
+ module Models
8
+ #
9
+ # Defines values for DatabasePrincipalRole
10
+ #
11
+ module DatabasePrincipalRole
12
+ Admin = "Admin"
13
+ Ingestor = "Ingestor"
14
+ Monitor = "Monitor"
15
+ User = "User"
16
+ UnrestrictedViewers = "UnrestrictedViewers"
17
+ Viewer = "Viewer"
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,17 @@
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::Kusto::Mgmt::V2019_05_15
7
+ module Models
8
+ #
9
+ # Defines values for DatabasePrincipalType
10
+ #
11
+ module DatabasePrincipalType
12
+ App = "App"
13
+ Group = "Group"
14
+ User = "User"
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,47 @@
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::Kusto::Mgmt::V2019_05_15
7
+ module Models
8
+ #
9
+ # A class that contains database statistics information.
10
+ #
11
+ class DatabaseStatistics
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Float] The database size - the total size of compressed data
16
+ # and index in bytes.
17
+ attr_accessor :size
18
+
19
+
20
+ #
21
+ # Mapper for DatabaseStatistics class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'DatabaseStatistics',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'DatabaseStatistics',
32
+ model_properties: {
33
+ size: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'size',
37
+ type: {
38
+ name: 'Double'
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ end
45
+ end
46
+ end
47
+ end
@@ -0,0 +1,123 @@
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::Kusto::Mgmt::V2019_05_15
7
+ module Models
8
+ #
9
+ # Class representing an update to a Kusto database.
10
+ #
11
+ class DatabaseUpdate < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Resource location.
16
+ attr_accessor :location
17
+
18
+ # @return [ProvisioningState] The provisioned state of the resource.
19
+ # Possible values include: 'Running', 'Creating', 'Deleting',
20
+ # 'Succeeded', 'Failed', 'Moving'
21
+ attr_accessor :provisioning_state
22
+
23
+ # @return [Duration] The time the data should be kept before it stops
24
+ # being accessible to queries in TimeSpan.
25
+ attr_accessor :soft_delete_period
26
+
27
+ # @return [Duration] The time the data should be kept in cache for fast
28
+ # queries in TimeSpan.
29
+ attr_accessor :hot_cache_period
30
+
31
+ # @return [DatabaseStatistics] The statistics of the database.
32
+ attr_accessor :statistics
33
+
34
+
35
+ #
36
+ # Mapper for DatabaseUpdate class as Ruby Hash.
37
+ # This will be used for serialization/deserialization.
38
+ #
39
+ def self.mapper()
40
+ {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'DatabaseUpdate',
44
+ type: {
45
+ name: 'Composite',
46
+ class_name: 'DatabaseUpdate',
47
+ model_properties: {
48
+ id: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ read_only: true,
52
+ serialized_name: 'id',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ name: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ read_only: true,
61
+ serialized_name: 'name',
62
+ type: {
63
+ name: 'String'
64
+ }
65
+ },
66
+ type: {
67
+ client_side_validation: true,
68
+ required: false,
69
+ read_only: true,
70
+ serialized_name: 'type',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ location: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'location',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ provisioning_state: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ read_only: true,
87
+ serialized_name: 'properties.provisioningState',
88
+ type: {
89
+ name: 'String'
90
+ }
91
+ },
92
+ soft_delete_period: {
93
+ client_side_validation: true,
94
+ required: false,
95
+ serialized_name: 'properties.softDeletePeriod',
96
+ type: {
97
+ name: 'TimeSpan'
98
+ }
99
+ },
100
+ hot_cache_period: {
101
+ client_side_validation: true,
102
+ required: false,
103
+ serialized_name: 'properties.hotCachePeriod',
104
+ type: {
105
+ name: 'TimeSpan'
106
+ }
107
+ },
108
+ statistics: {
109
+ client_side_validation: true,
110
+ required: false,
111
+ serialized_name: 'properties.statistics',
112
+ type: {
113
+ name: 'Composite',
114
+ class_name: 'DatabaseStatistics'
115
+ }
116
+ }
117
+ }
118
+ }
119
+ }
120
+ end
121
+ end
122
+ end
123
+ end
@@ -0,0 +1,158 @@
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::Kusto::Mgmt::V2019_05_15
7
+ module Models
8
+ #
9
+ # Class representing an Event Grid data connection.
10
+ #
11
+ class EventGridDataConnection < DataConnection
12
+
13
+ include MsRestAzure
14
+
15
+
16
+ def initialize
17
+ @kind = "EventGrid"
18
+ end
19
+
20
+ attr_accessor :kind
21
+
22
+ # @return [String] The resource ID of the storage account where the data
23
+ # resides.
24
+ attr_accessor :storage_account_resource_id
25
+
26
+ # @return [String] The resource ID where the event grid is configured to
27
+ # send events.
28
+ attr_accessor :event_hub_resource_id
29
+
30
+ # @return [String] The event hub consumer group.
31
+ attr_accessor :consumer_group
32
+
33
+ # @return [String] The table where the data should be ingested.
34
+ # Optionally the table information can be added to each message.
35
+ attr_accessor :table_name
36
+
37
+ # @return [String] The mapping rule to be used to ingest the data.
38
+ # Optionally the mapping information can be added to each message.
39
+ attr_accessor :mapping_rule_name
40
+
41
+ # @return [DataFormat] The data format of the message. Optionally the
42
+ # data format can be added to each message. Possible values include:
43
+ # 'MULTIJSON', 'JSON', 'CSV', 'TSV', 'SCSV', 'SOHSV', 'PSV', 'TXT',
44
+ # 'RAW', 'SINGLEJSON', 'AVRO'
45
+ attr_accessor :data_format
46
+
47
+
48
+ #
49
+ # Mapper for EventGridDataConnection class as Ruby Hash.
50
+ # This will be used for serialization/deserialization.
51
+ #
52
+ def self.mapper()
53
+ {
54
+ client_side_validation: true,
55
+ required: false,
56
+ serialized_name: 'EventGrid',
57
+ type: {
58
+ name: 'Composite',
59
+ class_name: 'EventGridDataConnection',
60
+ model_properties: {
61
+ id: {
62
+ client_side_validation: true,
63
+ required: false,
64
+ read_only: true,
65
+ serialized_name: 'id',
66
+ type: {
67
+ name: 'String'
68
+ }
69
+ },
70
+ name: {
71
+ client_side_validation: true,
72
+ required: false,
73
+ read_only: true,
74
+ serialized_name: 'name',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ },
79
+ type: {
80
+ client_side_validation: true,
81
+ required: false,
82
+ read_only: true,
83
+ serialized_name: 'type',
84
+ type: {
85
+ name: 'String'
86
+ }
87
+ },
88
+ location: {
89
+ client_side_validation: true,
90
+ required: false,
91
+ serialized_name: 'location',
92
+ type: {
93
+ name: 'String'
94
+ }
95
+ },
96
+ kind: {
97
+ client_side_validation: true,
98
+ required: true,
99
+ serialized_name: 'kind',
100
+ type: {
101
+ name: 'String'
102
+ }
103
+ },
104
+ storage_account_resource_id: {
105
+ client_side_validation: true,
106
+ required: true,
107
+ serialized_name: 'properties.storageAccountResourceId',
108
+ type: {
109
+ name: 'String'
110
+ }
111
+ },
112
+ event_hub_resource_id: {
113
+ client_side_validation: true,
114
+ required: true,
115
+ serialized_name: 'properties.eventHubResourceId',
116
+ type: {
117
+ name: 'String'
118
+ }
119
+ },
120
+ consumer_group: {
121
+ client_side_validation: true,
122
+ required: true,
123
+ serialized_name: 'properties.consumerGroup',
124
+ type: {
125
+ name: 'String'
126
+ }
127
+ },
128
+ table_name: {
129
+ client_side_validation: true,
130
+ required: true,
131
+ serialized_name: 'properties.tableName',
132
+ type: {
133
+ name: 'String'
134
+ }
135
+ },
136
+ mapping_rule_name: {
137
+ client_side_validation: true,
138
+ required: false,
139
+ serialized_name: 'properties.mappingRuleName',
140
+ type: {
141
+ name: 'String'
142
+ }
143
+ },
144
+ data_format: {
145
+ client_side_validation: true,
146
+ required: true,
147
+ serialized_name: 'properties.dataFormat',
148
+ type: {
149
+ name: 'String'
150
+ }
151
+ }
152
+ }
153
+ }
154
+ }
155
+ end
156
+ end
157
+ end
158
+ end