azure_mgmt_operational_insights 0.18.0 → 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/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +1 -1
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +1 -1
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights.rb +34 -31
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/data_collector_logs.rb +352 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/data_exports.rb +64 -114
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/linked_storage_accounts.rb +18 -9
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/azure_entity_resource.rb +3 -1
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_collector_log.rb +73 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_collector_logs_list_result.rb +56 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export.rb +1 -12
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb +3 -3
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_type.rb +3 -0
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb +5 -1
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_resource.rb +1 -1
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +4 -2
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb +8 -5
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/saved_search.rb +3 -3
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/tracked_resource.rb +4 -1
- data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +5 -1
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights.rb +123 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/available_service_tiers.rb +146 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/clusters.rb +959 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/data_exports.rb +473 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/data_sources.rb +603 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/deleted_workspaces.rb +211 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/gateways.rb +123 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/intelligence_packs.rb +351 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/linked_services.rb +577 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/linked_storage_accounts.rb +481 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/management_groups.rb +130 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/available_service_tier.rb +124 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/azure_entity_resource.rb +77 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster.rb +159 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_entity_status.rb +21 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_error_response.rb +48 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_list_result.rb +98 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_patch.rb +78 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_sku.rb +58 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_sku_name_enum.rb +15 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/core_summary.rb +57 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_export.rb +163 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_export_error_response.rb +48 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_export_list_result.rb +56 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_ingestion_status.rb +20 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source.rb +130 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source_filter.rb +61 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source_kind.rb +47 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +98 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source_type.rb +18 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/error_additional_info.rb +59 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/error_contract.rb +49 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/error_response.rb +117 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/identity.rb +72 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/identity_type.rb +16 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb +69 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/key_vault_properties.rb +71 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_service.rb +120 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_service_entity_status.rb +18 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb +55 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_list_result.rb +56 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_resource.rb +95 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/management_group.rb +128 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/metric_name.rb +57 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/operation.rb +59 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/operation_display.rb +79 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +101 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/operation_status.rb +102 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/private_link_scoped_resource.rb +58 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +65 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/public_network_access_type.rb +16 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/purge_state.rb +16 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/resource.rb +86 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/saved_search.rb +165 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +55 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb +67 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_metadata.rb +241 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb +57 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_schema_value.rb +123 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_sort.rb +58 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_sort_enum.rb +16 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/shared_keys.rb +57 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +21 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/storage_account.rb +58 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/storage_insight.rb +157 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +98 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/storage_insight_state.rb +16 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb +58 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/table.rb +79 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/tables_list_result.rb +55 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/tag.rb +57 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/tracked_resource.rb +95 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/type.rb +16 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/usage_metric.rb +103 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace.rb +213 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_capping.rb +72 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_entity_status.rb +21 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +56 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb +55 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb +56 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_patch.rb +206 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb +67 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb +85 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb +47 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb +47 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_sku.rb +85 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_sku_name_enum.rb +21 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/module_definition.rb +9 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/operation_statuses.rb +121 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +207 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/operations.rb +220 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/saved_searches.rb +457 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/schema.rb +130 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/shared_keys_operations.rb +238 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/storage_insight_configs.rb +592 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/tables.rb +359 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/usages.rb +130 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/workspace_purge.rb +277 -0
- data/lib/2020-08-01/generated/azure_mgmt_operational_insights/workspaces.rb +768 -0
- data/lib/azure_mgmt_operational_insights.rb +2 -1
- data/lib/profiles/latest/modules/operationalinsights_profile_module.rb +173 -173
- data/lib/version.rb +1 -1
- metadata +105 -3
@@ -0,0 +1,21 @@
|
|
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::OperationalInsights::Mgmt::V2020_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ClusterEntityStatus
|
10
|
+
#
|
11
|
+
module ClusterEntityStatus
|
12
|
+
Creating = "Creating"
|
13
|
+
Succeeded = "Succeeded"
|
14
|
+
Failed = "Failed"
|
15
|
+
Canceled = "Canceled"
|
16
|
+
Deleting = "Deleting"
|
17
|
+
ProvisioningAccount = "ProvisioningAccount"
|
18
|
+
Updating = "Updating"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_error_response.rb
ADDED
@@ -0,0 +1,48 @@
|
|
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::OperationalInsights::Mgmt::V2020_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Error response indicates that the service is not able to process the
|
10
|
+
# incoming request. The reason is provided in the error message.
|
11
|
+
#
|
12
|
+
class ClusterErrorResponse
|
13
|
+
|
14
|
+
include MsRestAzure
|
15
|
+
|
16
|
+
# @return [ErrorResponse] The details of the error.
|
17
|
+
attr_accessor :error
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for ClusterErrorResponse 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: 'ClusterErrorResponse',
|
29
|
+
type: {
|
30
|
+
name: 'Composite',
|
31
|
+
class_name: 'ClusterErrorResponse',
|
32
|
+
model_properties: {
|
33
|
+
error: {
|
34
|
+
client_side_validation: true,
|
35
|
+
required: false,
|
36
|
+
serialized_name: 'error',
|
37
|
+
type: {
|
38
|
+
name: 'Composite',
|
39
|
+
class_name: 'ErrorResponse'
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
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::OperationalInsights::Mgmt::V2020_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The list clusters operation response.
|
10
|
+
#
|
11
|
+
class ClusterListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [String] The link used to get the next page of recommendations.
|
17
|
+
attr_accessor :next_link
|
18
|
+
|
19
|
+
# @return [Array<Cluster>] A list of Log Analytics clusters.
|
20
|
+
attr_accessor :value
|
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<Cluster>] 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 [ClusterListResult] 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 ClusterListResult 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: 'ClusterListResult',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'ClusterListResult',
|
66
|
+
model_properties: {
|
67
|
+
next_link: {
|
68
|
+
client_side_validation: true,
|
69
|
+
required: false,
|
70
|
+
serialized_name: 'nextLink',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
value: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
serialized_name: 'value',
|
79
|
+
type: {
|
80
|
+
name: 'Sequence',
|
81
|
+
element: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'ClusterElementType',
|
85
|
+
type: {
|
86
|
+
name: 'Composite',
|
87
|
+
class_name: 'Cluster'
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
@@ -0,0 +1,78 @@
|
|
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::OperationalInsights::Mgmt::V2020_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The top level Log Analytics cluster resource container.
|
10
|
+
#
|
11
|
+
class ClusterPatch
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [KeyVaultProperties] The associated key properties.
|
16
|
+
attr_accessor :key_vault_properties
|
17
|
+
|
18
|
+
# @return [ClusterSku] The sku properties.
|
19
|
+
attr_accessor :sku
|
20
|
+
|
21
|
+
# @return [Hash{String => String}] Resource tags.
|
22
|
+
attr_accessor :tags
|
23
|
+
|
24
|
+
|
25
|
+
#
|
26
|
+
# Mapper for ClusterPatch 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: 'ClusterPatch',
|
34
|
+
type: {
|
35
|
+
name: 'Composite',
|
36
|
+
class_name: 'ClusterPatch',
|
37
|
+
model_properties: {
|
38
|
+
key_vault_properties: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'properties.keyVaultProperties',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'KeyVaultProperties'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
sku: {
|
48
|
+
client_side_validation: true,
|
49
|
+
required: false,
|
50
|
+
serialized_name: 'sku',
|
51
|
+
type: {
|
52
|
+
name: 'Composite',
|
53
|
+
class_name: 'ClusterSku'
|
54
|
+
}
|
55
|
+
},
|
56
|
+
tags: {
|
57
|
+
client_side_validation: true,
|
58
|
+
required: false,
|
59
|
+
serialized_name: 'tags',
|
60
|
+
type: {
|
61
|
+
name: 'Dictionary',
|
62
|
+
value: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'StringElementType',
|
66
|
+
type: {
|
67
|
+
name: 'String'
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
end
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
@@ -0,0 +1,58 @@
|
|
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::OperationalInsights::Mgmt::V2020_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The cluster sku definition.
|
10
|
+
#
|
11
|
+
class ClusterSku
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] The capacity value
|
16
|
+
attr_accessor :capacity
|
17
|
+
|
18
|
+
# @return [ClusterSkuNameEnum] The name of the SKU. Possible values
|
19
|
+
# include: 'CapacityReservation'
|
20
|
+
attr_accessor :name
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for ClusterSku class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
client_side_validation: true,
|
30
|
+
required: false,
|
31
|
+
serialized_name: 'ClusterSku',
|
32
|
+
type: {
|
33
|
+
name: 'Composite',
|
34
|
+
class_name: 'ClusterSku',
|
35
|
+
model_properties: {
|
36
|
+
capacity: {
|
37
|
+
client_side_validation: true,
|
38
|
+
required: false,
|
39
|
+
serialized_name: 'capacity',
|
40
|
+
type: {
|
41
|
+
name: 'Number'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
name: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
serialized_name: 'name',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
@@ -0,0 +1,15 @@
|
|
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::OperationalInsights::Mgmt::V2020_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for ClusterSkuNameEnum
|
10
|
+
#
|
11
|
+
module ClusterSkuNameEnum
|
12
|
+
CapacityReservation = "CapacityReservation"
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,57 @@
|
|
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::OperationalInsights::Mgmt::V2020_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The core summary of a search.
|
10
|
+
#
|
11
|
+
class CoreSummary
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The status of a core summary.
|
16
|
+
attr_accessor :status
|
17
|
+
|
18
|
+
# @return [Integer] The number of documents of a core summary.
|
19
|
+
attr_accessor :number_of_documents
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for CoreSummary 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: 'CoreSummary',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'CoreSummary',
|
34
|
+
model_properties: {
|
35
|
+
status: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
serialized_name: 'status',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
number_of_documents: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: true,
|
46
|
+
serialized_name: 'numberOfDocuments',
|
47
|
+
type: {
|
48
|
+
name: 'Number'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,163 @@
|
|
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::OperationalInsights::Mgmt::V2020_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The top level data export resource container.
|
10
|
+
#
|
11
|
+
class DataExport < ProxyResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The data export rule ID.
|
16
|
+
attr_accessor :data_export_id
|
17
|
+
|
18
|
+
# @return [Array<String>] An array of tables to export, for example:
|
19
|
+
# [“Heartbeat, SecurityEvent”].
|
20
|
+
attr_accessor :table_names
|
21
|
+
|
22
|
+
# @return [String] The destination resource ID. This can be copied from
|
23
|
+
# the Properties entry of the destination resource in Azure.
|
24
|
+
attr_accessor :resource_id
|
25
|
+
|
26
|
+
# @return [Type] The type of the destination resource. Possible values
|
27
|
+
# include: 'StorageAccount', 'EventHub'
|
28
|
+
attr_accessor :data_export_type
|
29
|
+
|
30
|
+
# @return [String] Optional. Allows to define an Event Hub name. Not
|
31
|
+
# applicable when destination is Storage Account.
|
32
|
+
attr_accessor :event_hub_name
|
33
|
+
|
34
|
+
# @return [Boolean] Active when enabled.
|
35
|
+
attr_accessor :enable
|
36
|
+
|
37
|
+
# @return [String] The latest data export rule modification time.
|
38
|
+
attr_accessor :created_date
|
39
|
+
|
40
|
+
# @return [String] Date and time when the export was last modified.
|
41
|
+
attr_accessor :last_modified_date
|
42
|
+
|
43
|
+
|
44
|
+
#
|
45
|
+
# Mapper for DataExport class as Ruby Hash.
|
46
|
+
# This will be used for serialization/deserialization.
|
47
|
+
#
|
48
|
+
def self.mapper()
|
49
|
+
{
|
50
|
+
client_side_validation: true,
|
51
|
+
required: false,
|
52
|
+
serialized_name: 'DataExport',
|
53
|
+
type: {
|
54
|
+
name: 'Composite',
|
55
|
+
class_name: 'DataExport',
|
56
|
+
model_properties: {
|
57
|
+
id: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
read_only: true,
|
61
|
+
serialized_name: 'id',
|
62
|
+
type: {
|
63
|
+
name: 'String'
|
64
|
+
}
|
65
|
+
},
|
66
|
+
name: {
|
67
|
+
client_side_validation: true,
|
68
|
+
required: false,
|
69
|
+
read_only: true,
|
70
|
+
serialized_name: 'name',
|
71
|
+
type: {
|
72
|
+
name: 'String'
|
73
|
+
}
|
74
|
+
},
|
75
|
+
type: {
|
76
|
+
client_side_validation: true,
|
77
|
+
required: false,
|
78
|
+
read_only: true,
|
79
|
+
serialized_name: 'type',
|
80
|
+
type: {
|
81
|
+
name: 'String'
|
82
|
+
}
|
83
|
+
},
|
84
|
+
data_export_id: {
|
85
|
+
client_side_validation: true,
|
86
|
+
required: false,
|
87
|
+
serialized_name: 'properties.dataExportId',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
table_names: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: true,
|
95
|
+
serialized_name: 'properties.tableNames',
|
96
|
+
type: {
|
97
|
+
name: 'Sequence',
|
98
|
+
element: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'StringElementType',
|
102
|
+
type: {
|
103
|
+
name: 'String'
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
},
|
108
|
+
resource_id: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: true,
|
111
|
+
serialized_name: 'properties.destination.resourceId',
|
112
|
+
type: {
|
113
|
+
name: 'String'
|
114
|
+
}
|
115
|
+
},
|
116
|
+
data_export_type: {
|
117
|
+
client_side_validation: true,
|
118
|
+
required: false,
|
119
|
+
read_only: true,
|
120
|
+
serialized_name: 'properties.destination.type',
|
121
|
+
type: {
|
122
|
+
name: 'String'
|
123
|
+
}
|
124
|
+
},
|
125
|
+
event_hub_name: {
|
126
|
+
client_side_validation: true,
|
127
|
+
required: false,
|
128
|
+
serialized_name: 'properties.destination.metaData.eventHubName',
|
129
|
+
type: {
|
130
|
+
name: 'String'
|
131
|
+
}
|
132
|
+
},
|
133
|
+
enable: {
|
134
|
+
client_side_validation: true,
|
135
|
+
required: false,
|
136
|
+
serialized_name: 'properties.enable',
|
137
|
+
type: {
|
138
|
+
name: 'Boolean'
|
139
|
+
}
|
140
|
+
},
|
141
|
+
created_date: {
|
142
|
+
client_side_validation: true,
|
143
|
+
required: false,
|
144
|
+
serialized_name: 'properties.createdDate',
|
145
|
+
type: {
|
146
|
+
name: 'String'
|
147
|
+
}
|
148
|
+
},
|
149
|
+
last_modified_date: {
|
150
|
+
client_side_validation: true,
|
151
|
+
required: false,
|
152
|
+
serialized_name: 'properties.lastModifiedDate',
|
153
|
+
type: {
|
154
|
+
name: 'String'
|
155
|
+
}
|
156
|
+
}
|
157
|
+
}
|
158
|
+
}
|
159
|
+
}
|
160
|
+
end
|
161
|
+
end
|
162
|
+
end
|
163
|
+
end
|