azure_mgmt_kusto 0.17.0 → 0.17.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
  3. data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
  4. data/lib/2019-01-21/generated/azure_mgmt_kusto.rb +71 -0
  5. data/lib/2019-01-21/generated/azure_mgmt_kusto/clusters.rb +1281 -0
  6. data/lib/2019-01-21/generated/azure_mgmt_kusto/data_connections.rb +836 -0
  7. data/lib/2019-01-21/generated/azure_mgmt_kusto/databases.rb +1131 -0
  8. data/lib/2019-01-21/generated/azure_mgmt_kusto/kusto_management_client.rb +145 -0
  9. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
  10. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
  11. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
  12. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
  13. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_sku.rb +71 -0
  14. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_sku_name.rb +21 -0
  15. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/check_name_result.rb +70 -0
  16. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster.rb +171 -0
  17. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
  18. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
  19. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster_update.rb +176 -0
  20. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
  21. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
  22. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
  23. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
  24. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
  25. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_format.rb +25 -0
  26. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database.rb +123 -0
  27. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_check_name_request.rb +61 -0
  28. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_list_result.rb +55 -0
  29. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal.rb +105 -0
  30. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
  31. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
  32. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
  33. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
  34. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
  35. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_update.rb +123 -0
  36. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +158 -0
  37. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +146 -0
  38. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
  39. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/list_skus_result.rb +56 -0
  40. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/operation.rb +82 -0
  41. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
  42. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
  43. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/provisioning_state.rb +19 -0
  44. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
  45. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/resource.rb +83 -0
  46. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/state.rb +23 -0
  47. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
  48. data/lib/2019-01-21/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
  49. data/lib/2019-01-21/generated/azure_mgmt_kusto/module_definition.rb +9 -0
  50. data/lib/2019-01-21/generated/azure_mgmt_kusto/operations.rb +217 -0
  51. data/lib/azure_mgmt_kusto.rb +1 -0
  52. data/lib/profiles/latest/modules/kusto_profile_module.rb +109 -105
  53. data/lib/version.rb +1 -1
  54. metadata +49 -2
@@ -0,0 +1,61 @@
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_01_21
7
+ module Models
8
+ #
9
+ # The result returned from a database check name availability request.
10
+ #
11
+ class DatabaseCheckNameRequest
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Database name.
16
+ attr_accessor :name
17
+
18
+ # @return [String] The type of resource,
19
+ # Microsoft.Kusto/clusters/databases. Default value:
20
+ # 'Microsoft.Kusto/clusters/databases' .
21
+ attr_accessor :type
22
+
23
+
24
+ #
25
+ # Mapper for DatabaseCheckNameRequest class as Ruby Hash.
26
+ # This will be used for serialization/deserialization.
27
+ #
28
+ def self.mapper()
29
+ {
30
+ client_side_validation: true,
31
+ required: false,
32
+ serialized_name: 'DatabaseCheckNameRequest',
33
+ type: {
34
+ name: 'Composite',
35
+ class_name: 'DatabaseCheckNameRequest',
36
+ model_properties: {
37
+ name: {
38
+ client_side_validation: true,
39
+ required: true,
40
+ serialized_name: 'name',
41
+ type: {
42
+ name: 'String'
43
+ }
44
+ },
45
+ type: {
46
+ client_side_validation: true,
47
+ required: true,
48
+ is_constant: true,
49
+ serialized_name: 'type',
50
+ default_value: 'Microsoft.Kusto/clusters/databases',
51
+ type: {
52
+ name: 'String'
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+ end
59
+ end
60
+ end
61
+ end
@@ -0,0 +1,55 @@
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_01_21
7
+ module Models
8
+ #
9
+ # The list Kusto databases operation response.
10
+ #
11
+ class DatabaseListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Database>] The list of Kusto databases.
16
+ attr_accessor :value
17
+
18
+
19
+ #
20
+ # Mapper for DatabaseListResult class as Ruby Hash.
21
+ # This will be used for serialization/deserialization.
22
+ #
23
+ def self.mapper()
24
+ {
25
+ client_side_validation: true,
26
+ required: false,
27
+ serialized_name: 'DatabaseListResult',
28
+ type: {
29
+ name: 'Composite',
30
+ class_name: 'DatabaseListResult',
31
+ model_properties: {
32
+ value: {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'value',
36
+ type: {
37
+ name: 'Sequence',
38
+ element: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ serialized_name: 'DatabaseElementType',
42
+ type: {
43
+ name: 'Composite',
44
+ class_name: 'Database'
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ end
53
+ end
54
+ end
55
+ end
@@ -0,0 +1,105 @@
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_01_21
7
+ module Models
8
+ #
9
+ # A class representing database principal entity.
10
+ #
11
+ class DatabasePrincipal
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [DatabasePrincipalRole] Database principal role. Possible
16
+ # values include: 'Admin', 'Ingestor', 'Monitor', 'User',
17
+ # 'UnrestrictedViewers', 'Viewer'
18
+ attr_accessor :role
19
+
20
+ # @return [String] Database principal name.
21
+ attr_accessor :name
22
+
23
+ # @return [DatabasePrincipalType] Database principal type. Possible
24
+ # values include: 'App', 'Group', 'User'
25
+ attr_accessor :type
26
+
27
+ # @return [String] Database principal fully qualified name.
28
+ attr_accessor :fqn
29
+
30
+ # @return [String] Database principal email if exists.
31
+ attr_accessor :email
32
+
33
+ # @return [String] Application id - relevant only for application
34
+ # principal type.
35
+ attr_accessor :app_id
36
+
37
+
38
+ #
39
+ # Mapper for DatabasePrincipal class as Ruby Hash.
40
+ # This will be used for serialization/deserialization.
41
+ #
42
+ def self.mapper()
43
+ {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'DatabasePrincipal',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'DatabasePrincipal',
50
+ model_properties: {
51
+ role: {
52
+ client_side_validation: true,
53
+ required: true,
54
+ serialized_name: 'role',
55
+ type: {
56
+ name: 'String'
57
+ }
58
+ },
59
+ name: {
60
+ client_side_validation: true,
61
+ required: true,
62
+ serialized_name: 'name',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ },
67
+ type: {
68
+ client_side_validation: true,
69
+ required: true,
70
+ serialized_name: 'type',
71
+ type: {
72
+ name: 'String'
73
+ }
74
+ },
75
+ fqn: {
76
+ client_side_validation: true,
77
+ required: false,
78
+ serialized_name: 'fqn',
79
+ type: {
80
+ name: 'String'
81
+ }
82
+ },
83
+ email: {
84
+ client_side_validation: true,
85
+ required: false,
86
+ serialized_name: 'email',
87
+ type: {
88
+ name: 'String'
89
+ }
90
+ },
91
+ app_id: {
92
+ client_side_validation: true,
93
+ required: false,
94
+ serialized_name: 'appId',
95
+ type: {
96
+ name: 'String'
97
+ }
98
+ }
99
+ }
100
+ }
101
+ }
102
+ end
103
+ end
104
+ end
105
+ 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_01_21
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_01_21
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_01_21
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_01_21
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_01_21
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_01_21
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'
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 that should be kept in cache for
28
+ # fast 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