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.
- checksums.yaml +4 -4
- data/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
- data/lib/2018-09-07-preview/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
- data/lib/2019-01-21/generated/azure_mgmt_kusto.rb +71 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/clusters.rb +1281 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/data_connections.rb +836 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/databases.rb +1131 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/kusto_management_client.rb +145 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_sku.rb +71 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_sku_name.rb +21 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/check_name_result.rb +70 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster.rb +171 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/cluster_update.rb +176 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/data_format.rb +25 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database.rb +123 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_check_name_request.rb +61 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_list_result.rb +55 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal.rb +105 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/database_update.rb +123 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +158 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +146 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/list_skus_result.rb +56 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/operation.rb +82 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/provisioning_state.rb +19 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/resource.rb +83 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/state.rb +23 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/module_definition.rb +9 -0
- data/lib/2019-01-21/generated/azure_mgmt_kusto/operations.rb +217 -0
- data/lib/azure_mgmt_kusto.rb +1 -0
- data/lib/profiles/latest/modules/kusto_profile_module.rb +109 -105
- data/lib/version.rb +1 -1
- metadata +49 -2
@@ -0,0 +1,80 @@
|
|
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 object that describes the operation.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class OperationDisplay
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Friendly name of the resource provider.
|
17
|
+
attr_accessor :provider
|
18
|
+
|
19
|
+
# @return [String] The operation type. For example: read, write, delete.
|
20
|
+
attr_accessor :operation
|
21
|
+
|
22
|
+
# @return [String] The resource type on which the operation is performed.
|
23
|
+
attr_accessor :resource
|
24
|
+
|
25
|
+
# @return [String] The friendly name of the operation.
|
26
|
+
attr_accessor :description
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for OperationDisplay class as Ruby Hash.
|
31
|
+
# This will be used for serialization/deserialization.
|
32
|
+
#
|
33
|
+
def self.mapper()
|
34
|
+
{
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
serialized_name: 'Operation_display',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'OperationDisplay',
|
41
|
+
model_properties: {
|
42
|
+
provider: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'provider',
|
46
|
+
type: {
|
47
|
+
name: 'String'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
operation: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
serialized_name: 'operation',
|
54
|
+
type: {
|
55
|
+
name: 'String'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
resource: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: false,
|
61
|
+
serialized_name: 'resource',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
description: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'description',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
@@ -0,0 +1,98 @@
|
|
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
|
+
# Model object.
|
10
|
+
#
|
11
|
+
class OperationListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<Operation>]
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
# @return [String]
|
20
|
+
attr_accessor :next_link
|
21
|
+
|
22
|
+
# return [Proc] with next page method call.
|
23
|
+
attr_accessor :next_method
|
24
|
+
|
25
|
+
#
|
26
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
27
|
+
#
|
28
|
+
# @return [Array<Operation>] operation results.
|
29
|
+
#
|
30
|
+
def get_all_items
|
31
|
+
items = @value
|
32
|
+
page = self
|
33
|
+
while page.next_link != nil do
|
34
|
+
page = page.get_next_page
|
35
|
+
items.concat(page.value)
|
36
|
+
end
|
37
|
+
items
|
38
|
+
end
|
39
|
+
|
40
|
+
#
|
41
|
+
# Gets the next page of results.
|
42
|
+
#
|
43
|
+
# @return [OperationListResult] with next page content.
|
44
|
+
#
|
45
|
+
def get_next_page
|
46
|
+
response = @next_method.call(@next_link).value! unless @next_method.nil?
|
47
|
+
unless response.nil?
|
48
|
+
@next_link = response.body.next_link
|
49
|
+
@value = response.body.value
|
50
|
+
self
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
#
|
55
|
+
# Mapper for OperationListResult class as Ruby Hash.
|
56
|
+
# This will be used for serialization/deserialization.
|
57
|
+
#
|
58
|
+
def self.mapper()
|
59
|
+
{
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'OperationListResult',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'OperationListResult',
|
66
|
+
model_properties: {
|
67
|
+
value: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'value',
|
71
|
+
type: {
|
72
|
+
name: 'Sequence',
|
73
|
+
element: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'OperationElementType',
|
77
|
+
type: {
|
78
|
+
name: 'Composite',
|
79
|
+
class_name: 'Operation'
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
83
|
+
},
|
84
|
+
next_link: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'nextLink',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,19 @@
|
|
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 ProvisioningState
|
10
|
+
#
|
11
|
+
module ProvisioningState
|
12
|
+
Running = "Running"
|
13
|
+
Creating = "Creating"
|
14
|
+
Deleting = "Deleting"
|
15
|
+
Succeeded = "Succeeded"
|
16
|
+
Failed = "Failed"
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
@@ -0,0 +1,63 @@
|
|
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 resource model definition for a ARM proxy resource. It will have
|
10
|
+
# everything other than required location and tags
|
11
|
+
#
|
12
|
+
class ProxyResource < Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
|
17
|
+
#
|
18
|
+
# Mapper for ProxyResource class as Ruby Hash.
|
19
|
+
# This will be used for serialization/deserialization.
|
20
|
+
#
|
21
|
+
def self.mapper()
|
22
|
+
{
|
23
|
+
client_side_validation: true,
|
24
|
+
required: false,
|
25
|
+
serialized_name: 'ProxyResource',
|
26
|
+
type: {
|
27
|
+
name: 'Composite',
|
28
|
+
class_name: 'ProxyResource',
|
29
|
+
model_properties: {
|
30
|
+
id: {
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
read_only: true,
|
34
|
+
serialized_name: 'id',
|
35
|
+
type: {
|
36
|
+
name: 'String'
|
37
|
+
}
|
38
|
+
},
|
39
|
+
name: {
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
read_only: true,
|
43
|
+
serialized_name: 'name',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
type: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
read_only: true,
|
52
|
+
serialized_name: 'type',
|
53
|
+
type: {
|
54
|
+
name: 'String'
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,83 @@
|
|
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
|
+
# Model object.
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class Resource
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] Fully qualified resource Id for the resource. Ex -
|
17
|
+
# /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
|
18
|
+
attr_accessor :id
|
19
|
+
|
20
|
+
# @return [String] The name of the resource
|
21
|
+
attr_accessor :name
|
22
|
+
|
23
|
+
# @return [String] The type of the resource. Ex-
|
24
|
+
# Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
|
25
|
+
attr_accessor :type
|
26
|
+
|
27
|
+
|
28
|
+
# @return [String] the name of the resource group of the resource.
|
29
|
+
def resource_group
|
30
|
+
unless self.id.nil?
|
31
|
+
groups = self.id.match(/.+\/resourceGroups\/([^\/]+)\/.+/)
|
32
|
+
groups.captures[0].strip if groups
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
|
37
|
+
#
|
38
|
+
# Mapper for Resource class as Ruby Hash.
|
39
|
+
# This will be used for serialization/deserialization.
|
40
|
+
#
|
41
|
+
def self.mapper()
|
42
|
+
{
|
43
|
+
client_side_validation: true,
|
44
|
+
required: false,
|
45
|
+
serialized_name: 'Resource',
|
46
|
+
type: {
|
47
|
+
name: 'Composite',
|
48
|
+
class_name: 'Resource',
|
49
|
+
model_properties: {
|
50
|
+
id: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: false,
|
53
|
+
read_only: true,
|
54
|
+
serialized_name: 'id',
|
55
|
+
type: {
|
56
|
+
name: 'String'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
name: {
|
60
|
+
client_side_validation: true,
|
61
|
+
required: false,
|
62
|
+
read_only: true,
|
63
|
+
serialized_name: 'name',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
type: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
read_only: true,
|
72
|
+
serialized_name: 'type',
|
73
|
+
type: {
|
74
|
+
name: 'String'
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
83
|
+
end
|
@@ -0,0 +1,23 @@
|
|
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 State
|
10
|
+
#
|
11
|
+
module State
|
12
|
+
Creating = "Creating"
|
13
|
+
Unavailable = "Unavailable"
|
14
|
+
Running = "Running"
|
15
|
+
Deleting = "Deleting"
|
16
|
+
Deleted = "Deleted"
|
17
|
+
Stopping = "Stopping"
|
18
|
+
Stopped = "Stopped"
|
19
|
+
Starting = "Starting"
|
20
|
+
Updating = "Updating"
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,92 @@
|
|
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 resource model definition for a ARM tracked top level resource
|
10
|
+
#
|
11
|
+
class TrackedResource < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] Resource tags.
|
16
|
+
attr_accessor :tags
|
17
|
+
|
18
|
+
# @return [String] The geo-location where the resource lives
|
19
|
+
attr_accessor :location
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for TrackedResource 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: 'TrackedResource',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'TrackedResource',
|
34
|
+
model_properties: {
|
35
|
+
id: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
read_only: true,
|
39
|
+
serialized_name: 'id',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
name: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'name',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
type: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'type',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
tags: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'tags',
|
66
|
+
type: {
|
67
|
+
name: 'Dictionary',
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'StringElementType',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
},
|
78
|
+
location: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: true,
|
81
|
+
serialized_name: 'location',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
end
|