azure_mgmt_kusto 0.19.1 → 0.19.2
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.rb +109 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/attached_database_configurations.rb +558 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/cluster_principal_assignments.rb +656 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/clusters.rb +2087 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/data_connections.rb +983 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/database_principal_assignments.rb +683 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/databases.rb +1169 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/kusto_management_client.rb +157 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/attached_database_configuration.rb +144 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/attached_database_configuration_list_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_capacity.rb +80 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_entity_resource.rb +75 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_resource_sku.rb +70 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_scale_type.rb +17 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_sku.rb +77 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_sku_name.rb +35 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/azure_sku_tier.rb +16 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/check_name_request.rb +61 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/check_name_result.rb +82 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster.rb +301 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_check_name_request.rb +60 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_list_result.rb +55 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_principal_assignment.rb +147 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_principal_assignment_check_name_request.rb +62 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_principal_assignment_list_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_principal_role.rb +16 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/cluster_update.rb +288 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/compression.rb +16 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection.rb +82 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection_check_name_request.rb +61 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection_list_result.rb +57 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection_validation.rb +60 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection_validation_list_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/data_connection_validation_result.rb +47 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database.rb +82 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_list_result.rb +57 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal.rb +117 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_assignment.rb +148 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_assignment_check_name_request.rb +62 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_assignment_list_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_list_request.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_list_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_role.rb +20 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_principal_type.rb +17 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/database_statistics.rb +47 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/default_principals_modification_kind.rb +17 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/diagnose_virtual_network_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/event_grid_data_connection.rb +158 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/event_grid_data_format.rb +28 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/event_hub_data_connection.rb +177 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/event_hub_data_format.rb +28 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/follower_database_definition.rb +72 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/follower_database_list_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/identity.rb +95 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/identity_type.rb +16 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/identity_user_assigned_identities_value.rb +60 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/iot_hub_data_connection.rb +176 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/iot_hub_data_format.rb +28 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/key_vault_properties.rb +68 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/language_extension.rb +47 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/language_extension_name.rb +16 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/language_extensions_list.rb +55 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/list_resource_skus_result.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/operation.rb +82 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/operation_display.rb +80 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/operation_list_result.rb +98 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/optimized_autoscale.rb +80 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/principal_type.rb +17 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/principals_modification_kind.rb +17 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/provisioning_state.rb +20 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/proxy_resource.rb +63 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/read_only_following_database.rb +174 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/read_write_database.rb +147 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/reason.rb +16 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/resource.rb +83 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/sku_description.rb +132 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/sku_description_list.rb +56 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/sku_location_info_item.rb +65 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/state.rb +23 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/tracked_resource.rb +92 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/trusted_external_tenant.rb +46 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/type.rb +16 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/models/virtual_network_configuration.rb +69 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/module_definition.rb +9 -0
- data/lib/2020-02-15/generated/azure_mgmt_kusto/operations.rb +221 -0
- data/lib/azure_mgmt_kusto.rb +1 -0
- data/lib/profiles/latest/modules/kusto_profile_module.rb +169 -157
- data/lib/version.rb +1 -1
- metadata +89 -4
@@ -0,0 +1,70 @@
|
|
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_02_15
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Azure resource SKU definition.
|
10
|
+
#
|
11
|
+
class AzureResourceSku
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource Namespace and Type.
|
16
|
+
attr_accessor :resource_type
|
17
|
+
|
18
|
+
# @return [AzureSku] The SKU details.
|
19
|
+
attr_accessor :sku
|
20
|
+
|
21
|
+
# @return [AzureCapacity] The number of instances of the cluster.
|
22
|
+
attr_accessor :capacity
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for AzureResourceSku class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'AzureResourceSku',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'AzureResourceSku',
|
37
|
+
model_properties: {
|
38
|
+
resource_type: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'resourceType',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
sku: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: false,
|
49
|
+
serialized_name: 'sku',
|
50
|
+
type: {
|
51
|
+
name: 'Composite',
|
52
|
+
class_name: 'AzureSku'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
capacity: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'capacity',
|
59
|
+
type: {
|
60
|
+
name: 'Composite',
|
61
|
+
class_name: 'AzureCapacity'
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
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::V2020_02_15
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for AzureScaleType
|
10
|
+
#
|
11
|
+
module AzureScaleType
|
12
|
+
Automatic = "automatic"
|
13
|
+
Manual = "manual"
|
14
|
+
None = "none"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,77 @@
|
|
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_02_15
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Azure SKU definition.
|
10
|
+
#
|
11
|
+
class AzureSku
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [AzureSkuName] SKU name. Possible values include:
|
16
|
+
# 'Standard_DS13_v2+1TB_PS', 'Standard_DS13_v2+2TB_PS',
|
17
|
+
# 'Standard_DS14_v2+3TB_PS', 'Standard_DS14_v2+4TB_PS',
|
18
|
+
# 'Standard_D13_v2', 'Standard_D14_v2', 'Standard_L8s', 'Standard_L16s',
|
19
|
+
# 'Standard_D11_v2', 'Standard_D12_v2', 'Standard_L4s', 'Dev(No
|
20
|
+
# SLA)_Standard_D11_v2', 'Standard_E2a_v4', 'Standard_E4a_v4',
|
21
|
+
# 'Standard_E8a_v4', 'Standard_E16a_v4', 'Standard_E8as_v4+1TB_PS',
|
22
|
+
# 'Standard_E8as_v4+2TB_PS', 'Standard_E16as_v4+3TB_PS',
|
23
|
+
# 'Standard_E16as_v4+4TB_PS', 'Dev(No SLA)_Standard_E2a_v4'
|
24
|
+
attr_accessor :name
|
25
|
+
|
26
|
+
# @return [Integer] The number of instances of the cluster.
|
27
|
+
attr_accessor :capacity
|
28
|
+
|
29
|
+
# @return [AzureSkuTier] SKU tier. Possible values include: 'Basic',
|
30
|
+
# 'Standard'
|
31
|
+
attr_accessor :tier
|
32
|
+
|
33
|
+
|
34
|
+
#
|
35
|
+
# Mapper for AzureSku class as Ruby Hash.
|
36
|
+
# This will be used for serialization/deserialization.
|
37
|
+
#
|
38
|
+
def self.mapper()
|
39
|
+
{
|
40
|
+
client_side_validation: true,
|
41
|
+
required: false,
|
42
|
+
serialized_name: 'AzureSku',
|
43
|
+
type: {
|
44
|
+
name: 'Composite',
|
45
|
+
class_name: 'AzureSku',
|
46
|
+
model_properties: {
|
47
|
+
name: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: true,
|
50
|
+
serialized_name: 'name',
|
51
|
+
type: {
|
52
|
+
name: 'String'
|
53
|
+
}
|
54
|
+
},
|
55
|
+
capacity: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'capacity',
|
59
|
+
type: {
|
60
|
+
name: 'Number'
|
61
|
+
}
|
62
|
+
},
|
63
|
+
tier: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: true,
|
66
|
+
serialized_name: 'tier',
|
67
|
+
type: {
|
68
|
+
name: 'String'
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
@@ -0,0 +1,35 @@
|
|
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_02_15
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for AzureSkuName
|
10
|
+
#
|
11
|
+
module AzureSkuName
|
12
|
+
StandardDS13V21TBPS = "Standard_DS13_v2+1TB_PS"
|
13
|
+
StandardDS13V22TBPS = "Standard_DS13_v2+2TB_PS"
|
14
|
+
StandardDS14V23TBPS = "Standard_DS14_v2+3TB_PS"
|
15
|
+
StandardDS14V24TBPS = "Standard_DS14_v2+4TB_PS"
|
16
|
+
StandardD13V2 = "Standard_D13_v2"
|
17
|
+
StandardD14V2 = "Standard_D14_v2"
|
18
|
+
StandardL8s = "Standard_L8s"
|
19
|
+
StandardL16s = "Standard_L16s"
|
20
|
+
StandardD11V2 = "Standard_D11_v2"
|
21
|
+
StandardD12V2 = "Standard_D12_v2"
|
22
|
+
StandardL4s = "Standard_L4s"
|
23
|
+
DevNoSLAStandardD11V2 = "Dev(No SLA)_Standard_D11_v2"
|
24
|
+
StandardE2aV4 = "Standard_E2a_v4"
|
25
|
+
StandardE4aV4 = "Standard_E4a_v4"
|
26
|
+
StandardE8aV4 = "Standard_E8a_v4"
|
27
|
+
StandardE16aV4 = "Standard_E16a_v4"
|
28
|
+
StandardE8asV41TBPS = "Standard_E8as_v4+1TB_PS"
|
29
|
+
StandardE8asV42TBPS = "Standard_E8as_v4+2TB_PS"
|
30
|
+
StandardE16asV43TBPS = "Standard_E16as_v4+3TB_PS"
|
31
|
+
StandardE16asV44TBPS = "Standard_E16as_v4+4TB_PS"
|
32
|
+
DevNoSLAStandardE2aV4 = "Dev(No SLA)_Standard_E2a_v4"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,16 @@
|
|
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_02_15
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for AzureSkuTier
|
10
|
+
#
|
11
|
+
module AzureSkuTier
|
12
|
+
Basic = "Basic"
|
13
|
+
Standard = "Standard"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -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::V2020_02_15
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The result returned from a database check name availability request.
|
10
|
+
#
|
11
|
+
class CheckNameRequest
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] Resource name.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [Type] The type of resource, for instance
|
19
|
+
# Microsoft.Kusto/clusters/databases. Possible values include:
|
20
|
+
# 'Microsoft.Kusto/clusters/databases',
|
21
|
+
# 'Microsoft.Kusto/clusters/attachedDatabaseConfigurations'
|
22
|
+
attr_accessor :type
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for CheckNameRequest class as Ruby Hash.
|
27
|
+
# This will be used for serialization/deserialization.
|
28
|
+
#
|
29
|
+
def self.mapper()
|
30
|
+
{
|
31
|
+
client_side_validation: true,
|
32
|
+
required: false,
|
33
|
+
serialized_name: 'CheckNameRequest',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'CheckNameRequest',
|
37
|
+
model_properties: {
|
38
|
+
name: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: true,
|
41
|
+
serialized_name: 'name',
|
42
|
+
type: {
|
43
|
+
name: 'String'
|
44
|
+
}
|
45
|
+
},
|
46
|
+
type: {
|
47
|
+
client_side_validation: true,
|
48
|
+
required: true,
|
49
|
+
serialized_name: 'type',
|
50
|
+
type: {
|
51
|
+
name: 'Enum',
|
52
|
+
module: 'Type'
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
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_02_15
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The result returned from a check name availability request.
|
10
|
+
#
|
11
|
+
class CheckNameResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Boolean] Specifies a Boolean value that indicates if the name
|
16
|
+
# is available.
|
17
|
+
attr_accessor :name_available
|
18
|
+
|
19
|
+
# @return [String] The name that was checked.
|
20
|
+
attr_accessor :name
|
21
|
+
|
22
|
+
# @return [String] Message indicating an unavailable name due to a
|
23
|
+
# conflict, or a description of the naming rules that are violated.
|
24
|
+
attr_accessor :message
|
25
|
+
|
26
|
+
# @return [Reason] Message providing the reason why the given name is
|
27
|
+
# invalid. Possible values include: 'Invalid', 'AlreadyExists'
|
28
|
+
attr_accessor :reason
|
29
|
+
|
30
|
+
|
31
|
+
#
|
32
|
+
# Mapper for CheckNameResult class as Ruby Hash.
|
33
|
+
# This will be used for serialization/deserialization.
|
34
|
+
#
|
35
|
+
def self.mapper()
|
36
|
+
{
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'CheckNameResult',
|
40
|
+
type: {
|
41
|
+
name: 'Composite',
|
42
|
+
class_name: 'CheckNameResult',
|
43
|
+
model_properties: {
|
44
|
+
name_available: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'nameAvailable',
|
48
|
+
type: {
|
49
|
+
name: 'Boolean'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
name: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
serialized_name: 'name',
|
56
|
+
type: {
|
57
|
+
name: 'String'
|
58
|
+
}
|
59
|
+
},
|
60
|
+
message: {
|
61
|
+
client_side_validation: true,
|
62
|
+
required: false,
|
63
|
+
serialized_name: 'message',
|
64
|
+
type: {
|
65
|
+
name: 'String'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
reason: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'reason',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
82
|
+
end
|
@@ -0,0 +1,301 @@
|
|
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_02_15
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Class representing a Kusto cluster.
|
10
|
+
#
|
11
|
+
class Cluster < TrackedResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [AzureSku] The SKU of the cluster.
|
16
|
+
attr_accessor :sku
|
17
|
+
|
18
|
+
# @return [Array<String>] The availability zones of the cluster.
|
19
|
+
attr_accessor :zones
|
20
|
+
|
21
|
+
# @return [Identity] The identity of the cluster, if configured.
|
22
|
+
attr_accessor :identity
|
23
|
+
|
24
|
+
# @return [State] The state of the resource. Possible values include:
|
25
|
+
# 'Creating', 'Unavailable', 'Running', 'Deleting', 'Deleted',
|
26
|
+
# 'Stopping', 'Stopped', 'Starting', 'Updating'
|
27
|
+
attr_accessor :state
|
28
|
+
|
29
|
+
# @return [ProvisioningState] The provisioned state of the resource.
|
30
|
+
# Possible values include: 'Running', 'Creating', 'Deleting',
|
31
|
+
# 'Succeeded', 'Failed', 'Moving'
|
32
|
+
attr_accessor :provisioning_state
|
33
|
+
|
34
|
+
# @return [String] The cluster URI.
|
35
|
+
attr_accessor :uri
|
36
|
+
|
37
|
+
# @return [String] The cluster data ingestion URI.
|
38
|
+
attr_accessor :data_ingestion_uri
|
39
|
+
|
40
|
+
# @return [String] The reason for the cluster's current state.
|
41
|
+
attr_accessor :state_reason
|
42
|
+
|
43
|
+
# @return [Array<TrustedExternalTenant>] The cluster's external tenants.
|
44
|
+
attr_accessor :trusted_external_tenants
|
45
|
+
|
46
|
+
# @return [OptimizedAutoscale] Optimized auto scale definition.
|
47
|
+
attr_accessor :optimized_autoscale
|
48
|
+
|
49
|
+
# @return [Boolean] A boolean value that indicates if the cluster's disks
|
50
|
+
# are encrypted.
|
51
|
+
attr_accessor :enable_disk_encryption
|
52
|
+
|
53
|
+
# @return [Boolean] A boolean value that indicates if the streaming
|
54
|
+
# ingest is enabled. Default value: false .
|
55
|
+
attr_accessor :enable_streaming_ingest
|
56
|
+
|
57
|
+
# @return [VirtualNetworkConfiguration] Virtual network definition.
|
58
|
+
attr_accessor :virtual_network_configuration
|
59
|
+
|
60
|
+
# @return [KeyVaultProperties] KeyVault properties for the cluster
|
61
|
+
# encryption.
|
62
|
+
attr_accessor :key_vault_properties
|
63
|
+
|
64
|
+
# @return [Boolean] A boolean value that indicates if the purge
|
65
|
+
# operations are enabled. Default value: false .
|
66
|
+
attr_accessor :enable_purge
|
67
|
+
|
68
|
+
# @return [LanguageExtensionsList] List of the cluster's language
|
69
|
+
# extensions.
|
70
|
+
attr_accessor :language_extensions
|
71
|
+
|
72
|
+
|
73
|
+
#
|
74
|
+
# Mapper for Cluster class as Ruby Hash.
|
75
|
+
# This will be used for serialization/deserialization.
|
76
|
+
#
|
77
|
+
def self.mapper()
|
78
|
+
{
|
79
|
+
client_side_validation: true,
|
80
|
+
required: false,
|
81
|
+
serialized_name: 'Cluster',
|
82
|
+
type: {
|
83
|
+
name: 'Composite',
|
84
|
+
class_name: 'Cluster',
|
85
|
+
model_properties: {
|
86
|
+
id: {
|
87
|
+
client_side_validation: true,
|
88
|
+
required: false,
|
89
|
+
read_only: true,
|
90
|
+
serialized_name: 'id',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
},
|
95
|
+
name: {
|
96
|
+
client_side_validation: true,
|
97
|
+
required: false,
|
98
|
+
read_only: true,
|
99
|
+
serialized_name: 'name',
|
100
|
+
type: {
|
101
|
+
name: 'String'
|
102
|
+
}
|
103
|
+
},
|
104
|
+
type: {
|
105
|
+
client_side_validation: true,
|
106
|
+
required: false,
|
107
|
+
read_only: true,
|
108
|
+
serialized_name: 'type',
|
109
|
+
type: {
|
110
|
+
name: 'String'
|
111
|
+
}
|
112
|
+
},
|
113
|
+
tags: {
|
114
|
+
client_side_validation: true,
|
115
|
+
required: false,
|
116
|
+
serialized_name: 'tags',
|
117
|
+
type: {
|
118
|
+
name: 'Dictionary',
|
119
|
+
value: {
|
120
|
+
client_side_validation: true,
|
121
|
+
required: false,
|
122
|
+
serialized_name: 'StringElementType',
|
123
|
+
type: {
|
124
|
+
name: 'String'
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
128
|
+
},
|
129
|
+
location: {
|
130
|
+
client_side_validation: true,
|
131
|
+
required: true,
|
132
|
+
serialized_name: 'location',
|
133
|
+
type: {
|
134
|
+
name: 'String'
|
135
|
+
}
|
136
|
+
},
|
137
|
+
sku: {
|
138
|
+
client_side_validation: true,
|
139
|
+
required: true,
|
140
|
+
serialized_name: 'sku',
|
141
|
+
type: {
|
142
|
+
name: 'Composite',
|
143
|
+
class_name: 'AzureSku'
|
144
|
+
}
|
145
|
+
},
|
146
|
+
zones: {
|
147
|
+
client_side_validation: true,
|
148
|
+
required: false,
|
149
|
+
serialized_name: 'zones',
|
150
|
+
type: {
|
151
|
+
name: 'Sequence',
|
152
|
+
element: {
|
153
|
+
client_side_validation: true,
|
154
|
+
required: false,
|
155
|
+
serialized_name: 'StringElementType',
|
156
|
+
type: {
|
157
|
+
name: 'String'
|
158
|
+
}
|
159
|
+
}
|
160
|
+
}
|
161
|
+
},
|
162
|
+
identity: {
|
163
|
+
client_side_validation: true,
|
164
|
+
required: false,
|
165
|
+
serialized_name: 'identity',
|
166
|
+
type: {
|
167
|
+
name: 'Composite',
|
168
|
+
class_name: 'Identity'
|
169
|
+
}
|
170
|
+
},
|
171
|
+
state: {
|
172
|
+
client_side_validation: true,
|
173
|
+
required: false,
|
174
|
+
read_only: true,
|
175
|
+
serialized_name: 'properties.state',
|
176
|
+
type: {
|
177
|
+
name: 'String'
|
178
|
+
}
|
179
|
+
},
|
180
|
+
provisioning_state: {
|
181
|
+
client_side_validation: true,
|
182
|
+
required: false,
|
183
|
+
read_only: true,
|
184
|
+
serialized_name: 'properties.provisioningState',
|
185
|
+
type: {
|
186
|
+
name: 'String'
|
187
|
+
}
|
188
|
+
},
|
189
|
+
uri: {
|
190
|
+
client_side_validation: true,
|
191
|
+
required: false,
|
192
|
+
read_only: true,
|
193
|
+
serialized_name: 'properties.uri',
|
194
|
+
type: {
|
195
|
+
name: 'String'
|
196
|
+
}
|
197
|
+
},
|
198
|
+
data_ingestion_uri: {
|
199
|
+
client_side_validation: true,
|
200
|
+
required: false,
|
201
|
+
read_only: true,
|
202
|
+
serialized_name: 'properties.dataIngestionUri',
|
203
|
+
type: {
|
204
|
+
name: 'String'
|
205
|
+
}
|
206
|
+
},
|
207
|
+
state_reason: {
|
208
|
+
client_side_validation: true,
|
209
|
+
required: false,
|
210
|
+
read_only: true,
|
211
|
+
serialized_name: 'properties.stateReason',
|
212
|
+
type: {
|
213
|
+
name: 'String'
|
214
|
+
}
|
215
|
+
},
|
216
|
+
trusted_external_tenants: {
|
217
|
+
client_side_validation: true,
|
218
|
+
required: false,
|
219
|
+
serialized_name: 'properties.trustedExternalTenants',
|
220
|
+
type: {
|
221
|
+
name: 'Sequence',
|
222
|
+
element: {
|
223
|
+
client_side_validation: true,
|
224
|
+
required: false,
|
225
|
+
serialized_name: 'TrustedExternalTenantElementType',
|
226
|
+
type: {
|
227
|
+
name: 'Composite',
|
228
|
+
class_name: 'TrustedExternalTenant'
|
229
|
+
}
|
230
|
+
}
|
231
|
+
}
|
232
|
+
},
|
233
|
+
optimized_autoscale: {
|
234
|
+
client_side_validation: true,
|
235
|
+
required: false,
|
236
|
+
serialized_name: 'properties.optimizedAutoscale',
|
237
|
+
type: {
|
238
|
+
name: 'Composite',
|
239
|
+
class_name: 'OptimizedAutoscale'
|
240
|
+
}
|
241
|
+
},
|
242
|
+
enable_disk_encryption: {
|
243
|
+
client_side_validation: true,
|
244
|
+
required: false,
|
245
|
+
serialized_name: 'properties.enableDiskEncryption',
|
246
|
+
type: {
|
247
|
+
name: 'Boolean'
|
248
|
+
}
|
249
|
+
},
|
250
|
+
enable_streaming_ingest: {
|
251
|
+
client_side_validation: true,
|
252
|
+
required: false,
|
253
|
+
serialized_name: 'properties.enableStreamingIngest',
|
254
|
+
default_value: false,
|
255
|
+
type: {
|
256
|
+
name: 'Boolean'
|
257
|
+
}
|
258
|
+
},
|
259
|
+
virtual_network_configuration: {
|
260
|
+
client_side_validation: true,
|
261
|
+
required: false,
|
262
|
+
serialized_name: 'properties.virtualNetworkConfiguration',
|
263
|
+
type: {
|
264
|
+
name: 'Composite',
|
265
|
+
class_name: 'VirtualNetworkConfiguration'
|
266
|
+
}
|
267
|
+
},
|
268
|
+
key_vault_properties: {
|
269
|
+
client_side_validation: true,
|
270
|
+
required: false,
|
271
|
+
serialized_name: 'properties.keyVaultProperties',
|
272
|
+
type: {
|
273
|
+
name: 'Composite',
|
274
|
+
class_name: 'KeyVaultProperties'
|
275
|
+
}
|
276
|
+
},
|
277
|
+
enable_purge: {
|
278
|
+
client_side_validation: true,
|
279
|
+
required: false,
|
280
|
+
serialized_name: 'properties.enablePurge',
|
281
|
+
default_value: false,
|
282
|
+
type: {
|
283
|
+
name: 'Boolean'
|
284
|
+
}
|
285
|
+
},
|
286
|
+
language_extensions: {
|
287
|
+
client_side_validation: true,
|
288
|
+
required: false,
|
289
|
+
serialized_name: 'properties.languageExtensions',
|
290
|
+
type: {
|
291
|
+
name: 'Composite',
|
292
|
+
class_name: 'LanguageExtensionsList'
|
293
|
+
}
|
294
|
+
}
|
295
|
+
}
|
296
|
+
}
|
297
|
+
}
|
298
|
+
end
|
299
|
+
end
|
300
|
+
end
|
301
|
+
end
|