azure_mgmt_operational_insights 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/azure_mgmt_operational_insights.rb +8 -0
- data/lib/generated/azure_mgmt_operational_insights.rb +72 -0
- data/lib/generated/azure_mgmt_operational_insights/data_sources.rb +567 -0
- data/lib/generated/azure_mgmt_operational_insights/linked_services.rb +440 -0
- data/lib/generated/azure_mgmt_operational_insights/models/core_summary.rb +54 -0
- data/lib/generated/azure_mgmt_operational_insights/models/data_source.rb +108 -0
- data/lib/generated/azure_mgmt_operational_insights/models/data_source_filter.rb +49 -0
- data/lib/generated/azure_mgmt_operational_insights/models/data_source_kind.rb +29 -0
- data/lib/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +94 -0
- data/lib/generated/azure_mgmt_operational_insights/models/entity_status.rb +20 -0
- data/lib/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb +55 -0
- data/lib/generated/azure_mgmt_operational_insights/models/link_target.rb +74 -0
- data/lib/generated/azure_mgmt_operational_insights/models/linked_service.rb +83 -0
- data/lib/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb +53 -0
- data/lib/generated/azure_mgmt_operational_insights/models/management_group.rb +119 -0
- data/lib/generated/azure_mgmt_operational_insights/models/metric_name.rb +54 -0
- data/lib/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +84 -0
- data/lib/generated/azure_mgmt_operational_insights/models/resource.rb +94 -0
- data/lib/generated/azure_mgmt_operational_insights/models/saved_search.rb +121 -0
- data/lib/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +63 -0
- data/lib/generated/azure_mgmt_operational_insights/models/search_error.rb +54 -0
- data/lib/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb +63 -0
- data/lib/generated/azure_mgmt_operational_insights/models/search_highlight.rb +54 -0
- data/lib/generated/azure_mgmt_operational_insights/models/search_metadata.rb +221 -0
- data/lib/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb +54 -0
- data/lib/generated/azure_mgmt_operational_insights/models/search_parameters.rb +88 -0
- data/lib/generated/azure_mgmt_operational_insights/models/search_results_response.rb +84 -0
- data/lib/generated/azure_mgmt_operational_insights/models/search_schema_value.rb +114 -0
- data/lib/generated/azure_mgmt_operational_insights/models/search_sort.rb +55 -0
- data/lib/generated/azure_mgmt_operational_insights/models/search_sort_enum.rb +16 -0
- data/lib/generated/azure_mgmt_operational_insights/models/shared_keys.rb +54 -0
- data/lib/generated/azure_mgmt_operational_insights/models/sku.rb +45 -0
- data/lib/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +20 -0
- data/lib/generated/azure_mgmt_operational_insights/models/storage_account.rb +55 -0
- data/lib/generated/azure_mgmt_operational_insights/models/storage_insight.rb +141 -0
- data/lib/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +95 -0
- data/lib/generated/azure_mgmt_operational_insights/models/storage_insight_state.rb +16 -0
- data/lib/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb +55 -0
- data/lib/generated/azure_mgmt_operational_insights/models/tag.rb +54 -0
- data/lib/generated/azure_mgmt_operational_insights/models/usage_metric.rb +96 -0
- data/lib/generated/azure_mgmt_operational_insights/models/workspace.rb +165 -0
- data/lib/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +53 -0
- data/lib/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb +52 -0
- data/lib/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb +53 -0
- data/lib/generated/azure_mgmt_operational_insights/module_definition.rb +8 -0
- data/lib/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +143 -0
- data/lib/generated/azure_mgmt_operational_insights/saved_searches.rb +513 -0
- data/lib/generated/azure_mgmt_operational_insights/storage_insights.rb +560 -0
- data/lib/generated/azure_mgmt_operational_insights/version.rb +8 -0
- data/lib/generated/azure_mgmt_operational_insights/workspaces.rb +1569 -0
- metadata +164 -0
@@ -0,0 +1,45 @@
|
|
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::ARM::OperationalInsights
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The SKU (tier) of a workspace.
|
10
|
+
#
|
11
|
+
class Sku
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [SkuNameEnum] The name of the SKU. Possible values include:
|
16
|
+
# 'Free', 'Standard', 'Premium', 'Unlimited', 'PerNode', 'Standalone'
|
17
|
+
attr_accessor :name
|
18
|
+
|
19
|
+
|
20
|
+
#
|
21
|
+
# Mapper for Sku class as Ruby Hash.
|
22
|
+
# This will be used for serialization/deserialization.
|
23
|
+
#
|
24
|
+
def self.mapper()
|
25
|
+
{
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'Sku',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'Sku',
|
31
|
+
model_properties: {
|
32
|
+
name: {
|
33
|
+
required: true,
|
34
|
+
serialized_name: 'name',
|
35
|
+
type: {
|
36
|
+
name: 'String'
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
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::ARM::OperationalInsights
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for SkuNameEnum
|
10
|
+
#
|
11
|
+
module SkuNameEnum
|
12
|
+
Free = "Free"
|
13
|
+
Standard = "Standard"
|
14
|
+
Premium = "Premium"
|
15
|
+
Unlimited = "Unlimited"
|
16
|
+
PerNode = "PerNode"
|
17
|
+
Standalone = "Standalone"
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -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::ARM::OperationalInsights
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Describes a storage account connection.
|
10
|
+
#
|
11
|
+
class StorageAccount
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The Azure Resource Manager ID of the storage account
|
16
|
+
# resource.
|
17
|
+
attr_accessor :id
|
18
|
+
|
19
|
+
# @return [String] The storage account key.
|
20
|
+
attr_accessor :key
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for StorageAccount class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'StorageAccount',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'StorageAccount',
|
34
|
+
model_properties: {
|
35
|
+
id: {
|
36
|
+
required: true,
|
37
|
+
serialized_name: 'id',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
key: {
|
43
|
+
required: true,
|
44
|
+
serialized_name: 'key',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,141 @@
|
|
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::ARM::OperationalInsights
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The top level storage insight resource container.
|
10
|
+
#
|
11
|
+
class StorageInsight < ProxyResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<String>] The names of the blob containers that the
|
16
|
+
# workspace should read
|
17
|
+
attr_accessor :containers
|
18
|
+
|
19
|
+
# @return [Array<String>] The names of the Azure tables that the
|
20
|
+
# workspace should read
|
21
|
+
attr_accessor :tables
|
22
|
+
|
23
|
+
# @return [StorageAccount] The storage account connection details
|
24
|
+
attr_accessor :storage_account
|
25
|
+
|
26
|
+
# @return [StorageInsightStatus] The status of the storage insight
|
27
|
+
attr_accessor :status
|
28
|
+
|
29
|
+
# @return [String] The ETag of the storage insight.
|
30
|
+
attr_accessor :e_tag
|
31
|
+
|
32
|
+
|
33
|
+
#
|
34
|
+
# Mapper for StorageInsight class as Ruby Hash.
|
35
|
+
# This will be used for serialization/deserialization.
|
36
|
+
#
|
37
|
+
def self.mapper()
|
38
|
+
{
|
39
|
+
required: false,
|
40
|
+
serialized_name: 'StorageInsight',
|
41
|
+
type: {
|
42
|
+
name: 'Composite',
|
43
|
+
class_name: 'StorageInsight',
|
44
|
+
model_properties: {
|
45
|
+
id: {
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'id',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
name: {
|
54
|
+
required: false,
|
55
|
+
read_only: true,
|
56
|
+
serialized_name: 'name',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
type: {
|
62
|
+
required: false,
|
63
|
+
read_only: true,
|
64
|
+
serialized_name: 'type',
|
65
|
+
type: {
|
66
|
+
name: 'String'
|
67
|
+
}
|
68
|
+
},
|
69
|
+
tags: {
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'tags',
|
72
|
+
type: {
|
73
|
+
name: 'Dictionary',
|
74
|
+
value: {
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'StringElementType',
|
77
|
+
type: {
|
78
|
+
name: 'String'
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
},
|
83
|
+
containers: {
|
84
|
+
required: false,
|
85
|
+
serialized_name: 'properties.containers',
|
86
|
+
type: {
|
87
|
+
name: 'Sequence',
|
88
|
+
element: {
|
89
|
+
required: false,
|
90
|
+
serialized_name: 'StringElementType',
|
91
|
+
type: {
|
92
|
+
name: 'String'
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
},
|
97
|
+
tables: {
|
98
|
+
required: false,
|
99
|
+
serialized_name: 'properties.tables',
|
100
|
+
type: {
|
101
|
+
name: 'Sequence',
|
102
|
+
element: {
|
103
|
+
required: false,
|
104
|
+
serialized_name: 'StringElementType',
|
105
|
+
type: {
|
106
|
+
name: 'String'
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
},
|
111
|
+
storage_account: {
|
112
|
+
required: true,
|
113
|
+
serialized_name: 'properties.storageAccount',
|
114
|
+
type: {
|
115
|
+
name: 'Composite',
|
116
|
+
class_name: 'StorageAccount'
|
117
|
+
}
|
118
|
+
},
|
119
|
+
status: {
|
120
|
+
required: false,
|
121
|
+
read_only: true,
|
122
|
+
serialized_name: 'properties.status',
|
123
|
+
type: {
|
124
|
+
name: 'Composite',
|
125
|
+
class_name: 'StorageInsightStatus'
|
126
|
+
}
|
127
|
+
},
|
128
|
+
e_tag: {
|
129
|
+
required: false,
|
130
|
+
serialized_name: 'eTag',
|
131
|
+
type: {
|
132
|
+
name: 'String'
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
end
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
@@ -0,0 +1,95 @@
|
|
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::ARM::OperationalInsights
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The list storage insights operation response.
|
10
|
+
#
|
11
|
+
class StorageInsightListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
include MsRest::JSONable
|
16
|
+
# @return [Array<StorageInsight>] Gets or sets a list of storage insight
|
17
|
+
# instances.
|
18
|
+
attr_accessor :value
|
19
|
+
|
20
|
+
# @return [String] The link (url) to the next page of results.
|
21
|
+
attr_accessor :odata_next_link
|
22
|
+
|
23
|
+
# return [Proc] with next page method call.
|
24
|
+
attr_accessor :next_method
|
25
|
+
|
26
|
+
#
|
27
|
+
# Gets the rest of the items for the request, enabling auto-pagination.
|
28
|
+
#
|
29
|
+
# @return [Array<StorageInsight>] operation results.
|
30
|
+
#
|
31
|
+
def get_all_items
|
32
|
+
items = @value
|
33
|
+
page = self
|
34
|
+
while page.odatanext_link != nil do
|
35
|
+
page = page.get_next_page
|
36
|
+
items.concat(page.value)
|
37
|
+
end
|
38
|
+
items
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the next page of results.
|
43
|
+
#
|
44
|
+
# @return [StorageInsightListResult] with next page content.
|
45
|
+
#
|
46
|
+
def get_next_page
|
47
|
+
response = @next_method.call(@odatanext_link).value! unless @next_method.nil?
|
48
|
+
unless response.nil?
|
49
|
+
@odatanext_link = response.body.odatanext_link
|
50
|
+
@value = response.body.value
|
51
|
+
self
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
#
|
56
|
+
# Mapper for StorageInsightListResult class as Ruby Hash.
|
57
|
+
# This will be used for serialization/deserialization.
|
58
|
+
#
|
59
|
+
def self.mapper()
|
60
|
+
{
|
61
|
+
required: false,
|
62
|
+
serialized_name: 'StorageInsightListResult',
|
63
|
+
type: {
|
64
|
+
name: 'Composite',
|
65
|
+
class_name: 'StorageInsightListResult',
|
66
|
+
model_properties: {
|
67
|
+
value: {
|
68
|
+
required: false,
|
69
|
+
serialized_name: 'value',
|
70
|
+
type: {
|
71
|
+
name: 'Sequence',
|
72
|
+
element: {
|
73
|
+
required: false,
|
74
|
+
serialized_name: 'StorageInsightElementType',
|
75
|
+
type: {
|
76
|
+
name: 'Composite',
|
77
|
+
class_name: 'StorageInsight'
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
},
|
82
|
+
odata_next_link: {
|
83
|
+
required: false,
|
84
|
+
serialized_name: '@odata\\.nextLink',
|
85
|
+
type: {
|
86
|
+
name: 'String'
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
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::ARM::OperationalInsights
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for StorageInsightState
|
10
|
+
#
|
11
|
+
module StorageInsightState
|
12
|
+
OK = "OK"
|
13
|
+
ERROR = "ERROR"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -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::ARM::OperationalInsights
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The status of the storage insight.
|
10
|
+
#
|
11
|
+
class StorageInsightStatus
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [StorageInsightState] The state of the storage insight
|
16
|
+
# connection to the workspace. Possible values include: 'OK', 'ERROR'
|
17
|
+
attr_accessor :state
|
18
|
+
|
19
|
+
# @return [String] Description of the state of the storage insight.
|
20
|
+
attr_accessor :description
|
21
|
+
|
22
|
+
|
23
|
+
#
|
24
|
+
# Mapper for StorageInsightStatus class as Ruby Hash.
|
25
|
+
# This will be used for serialization/deserialization.
|
26
|
+
#
|
27
|
+
def self.mapper()
|
28
|
+
{
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'StorageInsightStatus',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'StorageInsightStatus',
|
34
|
+
model_properties: {
|
35
|
+
state: {
|
36
|
+
required: true,
|
37
|
+
serialized_name: 'state',
|
38
|
+
type: {
|
39
|
+
name: 'String'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
description: {
|
43
|
+
required: false,
|
44
|
+
serialized_name: 'description',
|
45
|
+
type: {
|
46
|
+
name: 'String'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,54 @@
|
|
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::ARM::OperationalInsights
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# A tag of a saved search.
|
10
|
+
#
|
11
|
+
class Tag
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [String] The tag name.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] The tag value.
|
19
|
+
attr_accessor :value
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for Tag class as Ruby Hash.
|
24
|
+
# This will be used for serialization/deserialization.
|
25
|
+
#
|
26
|
+
def self.mapper()
|
27
|
+
{
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'Tag',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'Tag',
|
33
|
+
model_properties: {
|
34
|
+
name: {
|
35
|
+
required: true,
|
36
|
+
serialized_name: 'Name',
|
37
|
+
type: {
|
38
|
+
name: 'String'
|
39
|
+
}
|
40
|
+
},
|
41
|
+
value: {
|
42
|
+
required: true,
|
43
|
+
serialized_name: 'Value',
|
44
|
+
type: {
|
45
|
+
name: 'String'
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|