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,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_02_15
|
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
|
@@ -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 PrincipalType
|
10
|
+
#
|
11
|
+
module PrincipalType
|
12
|
+
App = "App"
|
13
|
+
Group = "Group"
|
14
|
+
User = "User"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
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 PrincipalsModificationKind
|
10
|
+
#
|
11
|
+
module PrincipalsModificationKind
|
12
|
+
Union = "Union"
|
13
|
+
Replace = "Replace"
|
14
|
+
None = "None"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
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::V2020_02_15
|
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
|
+
Moving = "Moving"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
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::V2020_02_15
|
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,174 @@
|
|
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 read only following database.
|
10
|
+
#
|
11
|
+
class ReadOnlyFollowingDatabase < Database
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@kind = "ReadOnlyFollowing"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :kind
|
21
|
+
|
22
|
+
# @return [ProvisioningState] The provisioned state of the resource.
|
23
|
+
# Possible values include: 'Running', 'Creating', 'Deleting',
|
24
|
+
# 'Succeeded', 'Failed', 'Moving'
|
25
|
+
attr_accessor :provisioning_state
|
26
|
+
|
27
|
+
# @return [Duration] The time the data should be kept before it stops
|
28
|
+
# being accessible to queries in TimeSpan.
|
29
|
+
attr_accessor :soft_delete_period
|
30
|
+
|
31
|
+
# @return [Duration] The time the data should be kept in cache for fast
|
32
|
+
# queries in TimeSpan.
|
33
|
+
attr_accessor :hot_cache_period
|
34
|
+
|
35
|
+
# @return [DatabaseStatistics] The statistics of the database.
|
36
|
+
attr_accessor :statistics
|
37
|
+
|
38
|
+
# @return [String] The name of the leader cluster
|
39
|
+
attr_accessor :leader_cluster_resource_id
|
40
|
+
|
41
|
+
# @return [String] The name of the attached database configuration
|
42
|
+
# cluster
|
43
|
+
attr_accessor :attached_database_configuration_name
|
44
|
+
|
45
|
+
# @return [PrincipalsModificationKind] The principals modification kind
|
46
|
+
# of the database. Possible values include: 'Union', 'Replace', 'None'
|
47
|
+
attr_accessor :principals_modification_kind
|
48
|
+
|
49
|
+
|
50
|
+
#
|
51
|
+
# Mapper for ReadOnlyFollowingDatabase class as Ruby Hash.
|
52
|
+
# This will be used for serialization/deserialization.
|
53
|
+
#
|
54
|
+
def self.mapper()
|
55
|
+
{
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
serialized_name: 'ReadOnlyFollowing',
|
59
|
+
type: {
|
60
|
+
name: 'Composite',
|
61
|
+
class_name: 'ReadOnlyFollowingDatabase',
|
62
|
+
model_properties: {
|
63
|
+
id: {
|
64
|
+
client_side_validation: true,
|
65
|
+
required: false,
|
66
|
+
read_only: true,
|
67
|
+
serialized_name: 'id',
|
68
|
+
type: {
|
69
|
+
name: 'String'
|
70
|
+
}
|
71
|
+
},
|
72
|
+
name: {
|
73
|
+
client_side_validation: true,
|
74
|
+
required: false,
|
75
|
+
read_only: true,
|
76
|
+
serialized_name: 'name',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
type: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
read_only: true,
|
85
|
+
serialized_name: 'type',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
location: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: false,
|
93
|
+
serialized_name: 'location',
|
94
|
+
type: {
|
95
|
+
name: 'String'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
kind: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: true,
|
101
|
+
serialized_name: 'kind',
|
102
|
+
type: {
|
103
|
+
name: 'String'
|
104
|
+
}
|
105
|
+
},
|
106
|
+
provisioning_state: {
|
107
|
+
client_side_validation: true,
|
108
|
+
required: false,
|
109
|
+
read_only: true,
|
110
|
+
serialized_name: 'properties.provisioningState',
|
111
|
+
type: {
|
112
|
+
name: 'String'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
soft_delete_period: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
read_only: true,
|
119
|
+
serialized_name: 'properties.softDeletePeriod',
|
120
|
+
type: {
|
121
|
+
name: 'TimeSpan'
|
122
|
+
}
|
123
|
+
},
|
124
|
+
hot_cache_period: {
|
125
|
+
client_side_validation: true,
|
126
|
+
required: false,
|
127
|
+
serialized_name: 'properties.hotCachePeriod',
|
128
|
+
type: {
|
129
|
+
name: 'TimeSpan'
|
130
|
+
}
|
131
|
+
},
|
132
|
+
statistics: {
|
133
|
+
client_side_validation: true,
|
134
|
+
required: false,
|
135
|
+
serialized_name: 'properties.statistics',
|
136
|
+
type: {
|
137
|
+
name: 'Composite',
|
138
|
+
class_name: 'DatabaseStatistics'
|
139
|
+
}
|
140
|
+
},
|
141
|
+
leader_cluster_resource_id: {
|
142
|
+
client_side_validation: true,
|
143
|
+
required: false,
|
144
|
+
read_only: true,
|
145
|
+
serialized_name: 'properties.leaderClusterResourceId',
|
146
|
+
type: {
|
147
|
+
name: 'String'
|
148
|
+
}
|
149
|
+
},
|
150
|
+
attached_database_configuration_name: {
|
151
|
+
client_side_validation: true,
|
152
|
+
required: false,
|
153
|
+
read_only: true,
|
154
|
+
serialized_name: 'properties.attachedDatabaseConfigurationName',
|
155
|
+
type: {
|
156
|
+
name: 'String'
|
157
|
+
}
|
158
|
+
},
|
159
|
+
principals_modification_kind: {
|
160
|
+
client_side_validation: true,
|
161
|
+
required: false,
|
162
|
+
read_only: true,
|
163
|
+
serialized_name: 'properties.principalsModificationKind',
|
164
|
+
type: {
|
165
|
+
name: 'String'
|
166
|
+
}
|
167
|
+
}
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}
|
171
|
+
end
|
172
|
+
end
|
173
|
+
end
|
174
|
+
end
|
@@ -0,0 +1,147 @@
|
|
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 read write database.
|
10
|
+
#
|
11
|
+
class ReadWriteDatabase < Database
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
|
16
|
+
def initialize
|
17
|
+
@kind = "ReadWrite"
|
18
|
+
end
|
19
|
+
|
20
|
+
attr_accessor :kind
|
21
|
+
|
22
|
+
# @return [ProvisioningState] The provisioned state of the resource.
|
23
|
+
# Possible values include: 'Running', 'Creating', 'Deleting',
|
24
|
+
# 'Succeeded', 'Failed', 'Moving'
|
25
|
+
attr_accessor :provisioning_state
|
26
|
+
|
27
|
+
# @return [Duration] The time the data should be kept before it stops
|
28
|
+
# being accessible to queries in TimeSpan.
|
29
|
+
attr_accessor :soft_delete_period
|
30
|
+
|
31
|
+
# @return [Duration] The time the data should be kept in cache for fast
|
32
|
+
# queries in TimeSpan.
|
33
|
+
attr_accessor :hot_cache_period
|
34
|
+
|
35
|
+
# @return [DatabaseStatistics] The statistics of the database.
|
36
|
+
attr_accessor :statistics
|
37
|
+
|
38
|
+
# @return [Boolean] Indicates whether the database is followed.
|
39
|
+
attr_accessor :is_followed
|
40
|
+
|
41
|
+
|
42
|
+
#
|
43
|
+
# Mapper for ReadWriteDatabase class as Ruby Hash.
|
44
|
+
# This will be used for serialization/deserialization.
|
45
|
+
#
|
46
|
+
def self.mapper()
|
47
|
+
{
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'ReadWrite',
|
51
|
+
type: {
|
52
|
+
name: 'Composite',
|
53
|
+
class_name: 'ReadWriteDatabase',
|
54
|
+
model_properties: {
|
55
|
+
id: {
|
56
|
+
client_side_validation: true,
|
57
|
+
required: false,
|
58
|
+
read_only: true,
|
59
|
+
serialized_name: 'id',
|
60
|
+
type: {
|
61
|
+
name: 'String'
|
62
|
+
}
|
63
|
+
},
|
64
|
+
name: {
|
65
|
+
client_side_validation: true,
|
66
|
+
required: false,
|
67
|
+
read_only: true,
|
68
|
+
serialized_name: 'name',
|
69
|
+
type: {
|
70
|
+
name: 'String'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
type: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
read_only: true,
|
77
|
+
serialized_name: 'type',
|
78
|
+
type: {
|
79
|
+
name: 'String'
|
80
|
+
}
|
81
|
+
},
|
82
|
+
location: {
|
83
|
+
client_side_validation: true,
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'location',
|
86
|
+
type: {
|
87
|
+
name: 'String'
|
88
|
+
}
|
89
|
+
},
|
90
|
+
kind: {
|
91
|
+
client_side_validation: true,
|
92
|
+
required: true,
|
93
|
+
serialized_name: 'kind',
|
94
|
+
type: {
|
95
|
+
name: 'String'
|
96
|
+
}
|
97
|
+
},
|
98
|
+
provisioning_state: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
read_only: true,
|
102
|
+
serialized_name: 'properties.provisioningState',
|
103
|
+
type: {
|
104
|
+
name: 'String'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
soft_delete_period: {
|
108
|
+
client_side_validation: true,
|
109
|
+
required: false,
|
110
|
+
serialized_name: 'properties.softDeletePeriod',
|
111
|
+
type: {
|
112
|
+
name: 'TimeSpan'
|
113
|
+
}
|
114
|
+
},
|
115
|
+
hot_cache_period: {
|
116
|
+
client_side_validation: true,
|
117
|
+
required: false,
|
118
|
+
serialized_name: 'properties.hotCachePeriod',
|
119
|
+
type: {
|
120
|
+
name: 'TimeSpan'
|
121
|
+
}
|
122
|
+
},
|
123
|
+
statistics: {
|
124
|
+
client_side_validation: true,
|
125
|
+
required: false,
|
126
|
+
serialized_name: 'properties.statistics',
|
127
|
+
type: {
|
128
|
+
name: 'Composite',
|
129
|
+
class_name: 'DatabaseStatistics'
|
130
|
+
}
|
131
|
+
},
|
132
|
+
is_followed: {
|
133
|
+
client_side_validation: true,
|
134
|
+
required: false,
|
135
|
+
read_only: true,
|
136
|
+
serialized_name: 'properties.isFollowed',
|
137
|
+
type: {
|
138
|
+
name: 'Boolean'
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
end
|
145
|
+
end
|
146
|
+
end
|
147
|
+
end
|