azure_mgmt_kusto 0.19.3 → 0.20.0
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/kusto_management_client.rb +1 -1
- data/lib/2019-05-15/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
- data/lib/2019-09-07/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
- data/lib/2019-11-09/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
- data/lib/2020-02-15/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
- data/lib/2020-06-14/generated/azure_mgmt_kusto/kusto_management_client.rb +1 -1
- data/lib/2020-09-18/generated/azure_mgmt_kusto.rb +111 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/attached_database_configurations.rb +558 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/cluster_principal_assignments.rb +656 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/clusters.rb +2087 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/data_connections.rb +1033 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/database_principal_assignments.rb +683 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/databases.rb +1169 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/kusto_management_client.rb +157 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/attached_database_configuration.rb +144 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/attached_database_configuration_list_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/azure_sku.rb +78 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/azure_sku_name.rb +36 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/blob_storage_event_type.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/check_name_request.rb +61 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/check_name_result.rb +82 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster.rb +327 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster_principal_assignment.rb +147 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster_principal_assignment_check_name_request.rb +62 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster_principal_assignment_list_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster_principal_role.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/cluster_update.rb +314 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/compression.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +61 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database.rb +82 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_list_result.rb +57 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal.rb +117 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal_assignment.rb +148 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal_assignment_check_name_request.rb +62 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal_assignment_list_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/default_principals_modification_kind.rb +17 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/diagnose_virtual_network_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/engine_type.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +198 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/event_grid_data_format.rb +30 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +192 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/event_hub_data_format.rb +30 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/follower_database_definition.rb +72 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/follower_database_list_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/identity.rb +97 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/identity_type.rb +18 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb +191 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/iot_hub_data_format.rb +30 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/key_vault_properties.rb +80 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/language_extension.rb +47 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/language_extension_name.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/language_extensions_list.rb +55 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/operation.rb +82 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/optimized_autoscale.rb +80 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/principal_type.rb +17 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/principals_modification_kind.rb +17 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/provisioning_state.rb +20 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/read_only_following_database.rb +174 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/read_write_database.rb +147 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/reason.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/resource.rb +83 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/sku_description.rb +132 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/sku_description_list.rb +56 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/sku_location_info_item.rb +65 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/state.rb +23 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/type.rb +16 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb +69 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/module_definition.rb +9 -0
- data/lib/2020-09-18/generated/azure_mgmt_kusto/operations.rb +221 -0
- data/lib/azure_mgmt_kusto.rb +4 -3
- data/lib/profiles/latest/modules/kusto_profile_module.rb +164 -160
- data/lib/version.rb +1 -1
- metadata +90 -3
@@ -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::V2020_09_18
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The list of language extension objects.
|
10
|
+
#
|
11
|
+
class LanguageExtensionsList
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<LanguageExtension>] The list of language extensions.
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for LanguageExtensionsList 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: 'LanguageExtensionsList',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'LanguageExtensionsList',
|
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: 'LanguageExtensionElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'LanguageExtension'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
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::V2020_09_18
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# List of available SKUs for a Kusto Cluster.
|
10
|
+
#
|
11
|
+
class ListResourceSkusResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<AzureResourceSku>] The collection of available SKUs for
|
16
|
+
# an existing resource.
|
17
|
+
attr_accessor :value
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ListResourceSkusResult 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: 'ListResourceSkusResult',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ListResourceSkusResult',
|
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: 'AzureResourceSkuElementType',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'AzureResourceSku'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
@@ -0,0 +1,82 @@
|
|
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::V2020_09_18
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A REST API operation
|
10
|
+
#
|
11
|
+
#
|
12
|
+
class Operation
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [String] The operation name. This is of the format
|
17
|
+
# {provider}/{resource}/{operation}.
|
18
|
+
attr_accessor :name
|
19
|
+
|
20
|
+
# @return [OperationDisplay] The object that describes the operation.
|
21
|
+
attr_accessor :display
|
22
|
+
|
23
|
+
# @return [String] The intended executor of the operation.
|
24
|
+
attr_accessor :origin
|
25
|
+
|
26
|
+
# @return Properties of the operation.
|
27
|
+
attr_accessor :properties
|
28
|
+
|
29
|
+
|
30
|
+
#
|
31
|
+
# Mapper for Operation class as Ruby Hash.
|
32
|
+
# This will be used for serialization/deserialization.
|
33
|
+
#
|
34
|
+
def self.mapper()
|
35
|
+
{
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'Operation',
|
39
|
+
type: {
|
40
|
+
name: 'Composite',
|
41
|
+
class_name: 'Operation',
|
42
|
+
model_properties: {
|
43
|
+
name: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
serialized_name: 'name',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
},
|
51
|
+
display: {
|
52
|
+
client_side_validation: true,
|
53
|
+
required: false,
|
54
|
+
serialized_name: 'display',
|
55
|
+
type: {
|
56
|
+
name: 'Composite',
|
57
|
+
class_name: 'OperationDisplay'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
origin: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'origin',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
properties: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'properties',
|
72
|
+
type: {
|
73
|
+
name: 'Object'
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
@@ -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::V2020_09_18
|
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::V2020_09_18
|
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 && !page.next_link.strip.empty? 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,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::V2020_09_18
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A class that contains the optimized auto scale definition.
|
10
|
+
#
|
11
|
+
class OptimizedAutoscale
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] The version of the template defined, for instance 1.
|
16
|
+
attr_accessor :version
|
17
|
+
|
18
|
+
# @return [Boolean] A boolean value that indicate if the optimized
|
19
|
+
# autoscale feature is enabled or not.
|
20
|
+
attr_accessor :is_enabled
|
21
|
+
|
22
|
+
# @return [Integer] Minimum allowed instances count.
|
23
|
+
attr_accessor :minimum
|
24
|
+
|
25
|
+
# @return [Integer] Maximum allowed instances count.
|
26
|
+
attr_accessor :maximum
|
27
|
+
|
28
|
+
|
29
|
+
#
|
30
|
+
# Mapper for OptimizedAutoscale 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: 'OptimizedAutoscale',
|
38
|
+
type: {
|
39
|
+
name: 'Composite',
|
40
|
+
class_name: 'OptimizedAutoscale',
|
41
|
+
model_properties: {
|
42
|
+
version: {
|
43
|
+
client_side_validation: true,
|
44
|
+
required: true,
|
45
|
+
serialized_name: 'version',
|
46
|
+
type: {
|
47
|
+
name: 'Number'
|
48
|
+
}
|
49
|
+
},
|
50
|
+
is_enabled: {
|
51
|
+
client_side_validation: true,
|
52
|
+
required: true,
|
53
|
+
serialized_name: 'isEnabled',
|
54
|
+
type: {
|
55
|
+
name: 'Boolean'
|
56
|
+
}
|
57
|
+
},
|
58
|
+
minimum: {
|
59
|
+
client_side_validation: true,
|
60
|
+
required: true,
|
61
|
+
serialized_name: 'minimum',
|
62
|
+
type: {
|
63
|
+
name: 'Number'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
maximum: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: true,
|
69
|
+
serialized_name: 'maximum',
|
70
|
+
type: {
|
71
|
+
name: 'Number'
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|