azure_mgmt_operational_insights 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/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/operational_insights_management_client.rb +1 -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 +75 -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 +174 -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 +113 -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 +63 -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 +83 -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 +92 -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 +1 -0
- data/lib/profiles/latest/modules/operationalinsights_profile_module.rb +173 -173
- data/lib/version.rb +1 -1
- metadata +101 -2
@@ -0,0 +1,79 @@
|
|
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
|
+
# Workspace data table definition.
|
10
|
+
#
|
11
|
+
class Table < ProxyResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Integer] The data table data retention in days, between 30 and
|
16
|
+
# 730. Setting this property to null will default to the workspace
|
17
|
+
# retention.
|
18
|
+
attr_accessor :retention_in_days
|
19
|
+
|
20
|
+
|
21
|
+
#
|
22
|
+
# Mapper for Table class as Ruby Hash.
|
23
|
+
# This will be used for serialization/deserialization.
|
24
|
+
#
|
25
|
+
def self.mapper()
|
26
|
+
{
|
27
|
+
client_side_validation: true,
|
28
|
+
required: false,
|
29
|
+
serialized_name: 'Table',
|
30
|
+
type: {
|
31
|
+
name: 'Composite',
|
32
|
+
class_name: 'Table',
|
33
|
+
model_properties: {
|
34
|
+
id: {
|
35
|
+
client_side_validation: true,
|
36
|
+
required: false,
|
37
|
+
read_only: true,
|
38
|
+
serialized_name: 'id',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
name: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: false,
|
46
|
+
read_only: true,
|
47
|
+
serialized_name: 'name',
|
48
|
+
type: {
|
49
|
+
name: 'String'
|
50
|
+
}
|
51
|
+
},
|
52
|
+
type: {
|
53
|
+
client_side_validation: true,
|
54
|
+
required: false,
|
55
|
+
read_only: true,
|
56
|
+
serialized_name: 'type',
|
57
|
+
type: {
|
58
|
+
name: 'String'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
retention_in_days: {
|
62
|
+
client_side_validation: true,
|
63
|
+
required: false,
|
64
|
+
serialized_name: 'properties.retentionInDays',
|
65
|
+
constraints: {
|
66
|
+
InclusiveMaximum: 730,
|
67
|
+
InclusiveMinimum: 30
|
68
|
+
},
|
69
|
+
type: {
|
70
|
+
name: 'Number'
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
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::OperationalInsights::Mgmt::V2020_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# The list tables operation response.
|
10
|
+
#
|
11
|
+
class TablesListResult
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Array<Table>] A list of data tables.
|
16
|
+
attr_accessor :value
|
17
|
+
|
18
|
+
|
19
|
+
#
|
20
|
+
# Mapper for TablesListResult class as Ruby Hash.
|
21
|
+
# This will be used for serialization/deserialization.
|
22
|
+
#
|
23
|
+
def self.mapper()
|
24
|
+
{
|
25
|
+
client_side_validation: true,
|
26
|
+
required: false,
|
27
|
+
serialized_name: 'TablesListResult',
|
28
|
+
type: {
|
29
|
+
name: 'Composite',
|
30
|
+
class_name: 'TablesListResult',
|
31
|
+
model_properties: {
|
32
|
+
value: {
|
33
|
+
client_side_validation: true,
|
34
|
+
required: false,
|
35
|
+
serialized_name: 'value',
|
36
|
+
type: {
|
37
|
+
name: 'Sequence',
|
38
|
+
element: {
|
39
|
+
client_side_validation: true,
|
40
|
+
required: false,
|
41
|
+
serialized_name: 'TableElementType',
|
42
|
+
type: {
|
43
|
+
name: 'Composite',
|
44
|
+
class_name: 'Table'
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
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
|
+
# 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
|
+
client_side_validation: true,
|
29
|
+
required: false,
|
30
|
+
serialized_name: 'Tag',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'Tag',
|
34
|
+
model_properties: {
|
35
|
+
name: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: true,
|
38
|
+
serialized_name: 'name',
|
39
|
+
type: {
|
40
|
+
name: 'String'
|
41
|
+
}
|
42
|
+
},
|
43
|
+
value: {
|
44
|
+
client_side_validation: true,
|
45
|
+
required: true,
|
46
|
+
serialized_name: 'value',
|
47
|
+
type: {
|
48
|
+
name: 'String'
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,92 @@
|
|
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 resource model definition for a ARM tracked top level resource
|
10
|
+
#
|
11
|
+
class TrackedResource < Resource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [Hash{String => String}] Resource tags.
|
16
|
+
attr_accessor :tags
|
17
|
+
|
18
|
+
# @return [String] The geo-location where the resource lives
|
19
|
+
attr_accessor :location
|
20
|
+
|
21
|
+
|
22
|
+
#
|
23
|
+
# Mapper for TrackedResource 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: 'TrackedResource',
|
31
|
+
type: {
|
32
|
+
name: 'Composite',
|
33
|
+
class_name: 'TrackedResource',
|
34
|
+
model_properties: {
|
35
|
+
id: {
|
36
|
+
client_side_validation: true,
|
37
|
+
required: false,
|
38
|
+
read_only: true,
|
39
|
+
serialized_name: 'id',
|
40
|
+
type: {
|
41
|
+
name: 'String'
|
42
|
+
}
|
43
|
+
},
|
44
|
+
name: {
|
45
|
+
client_side_validation: true,
|
46
|
+
required: false,
|
47
|
+
read_only: true,
|
48
|
+
serialized_name: 'name',
|
49
|
+
type: {
|
50
|
+
name: 'String'
|
51
|
+
}
|
52
|
+
},
|
53
|
+
type: {
|
54
|
+
client_side_validation: true,
|
55
|
+
required: false,
|
56
|
+
read_only: true,
|
57
|
+
serialized_name: 'type',
|
58
|
+
type: {
|
59
|
+
name: 'String'
|
60
|
+
}
|
61
|
+
},
|
62
|
+
tags: {
|
63
|
+
client_side_validation: true,
|
64
|
+
required: false,
|
65
|
+
serialized_name: 'tags',
|
66
|
+
type: {
|
67
|
+
name: 'Dictionary',
|
68
|
+
value: {
|
69
|
+
client_side_validation: true,
|
70
|
+
required: false,
|
71
|
+
serialized_name: 'StringElementType',
|
72
|
+
type: {
|
73
|
+
name: 'String'
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
},
|
78
|
+
location: {
|
79
|
+
client_side_validation: true,
|
80
|
+
required: true,
|
81
|
+
serialized_name: 'location',
|
82
|
+
type: {
|
83
|
+
name: 'String'
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
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::OperationalInsights::Mgmt::V2020_08_01
|
7
|
+
module Models
|
8
|
+
#
|
9
|
+
# Defines values for Type
|
10
|
+
#
|
11
|
+
module Type
|
12
|
+
StorageAccount = "StorageAccount"
|
13
|
+
EventHub = "EventHub"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,103 @@
|
|
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
|
+
# A metric describing the usage of a resource.
|
10
|
+
#
|
11
|
+
class UsageMetric
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [MetricName] The name of the metric.
|
16
|
+
attr_accessor :name
|
17
|
+
|
18
|
+
# @return [String] The units used for the metric.
|
19
|
+
attr_accessor :unit
|
20
|
+
|
21
|
+
# @return [Float] The current value of the metric.
|
22
|
+
attr_accessor :current_value
|
23
|
+
|
24
|
+
# @return [Float] The quota limit for the metric.
|
25
|
+
attr_accessor :limit
|
26
|
+
|
27
|
+
# @return [DateTime] The time that the metric's value will reset.
|
28
|
+
attr_accessor :next_reset_time
|
29
|
+
|
30
|
+
# @return [String] The quota period that determines the length of time
|
31
|
+
# between value resets.
|
32
|
+
attr_accessor :quota_period
|
33
|
+
|
34
|
+
|
35
|
+
#
|
36
|
+
# Mapper for UsageMetric class as Ruby Hash.
|
37
|
+
# This will be used for serialization/deserialization.
|
38
|
+
#
|
39
|
+
def self.mapper()
|
40
|
+
{
|
41
|
+
client_side_validation: true,
|
42
|
+
required: false,
|
43
|
+
serialized_name: 'UsageMetric',
|
44
|
+
type: {
|
45
|
+
name: 'Composite',
|
46
|
+
class_name: 'UsageMetric',
|
47
|
+
model_properties: {
|
48
|
+
name: {
|
49
|
+
client_side_validation: true,
|
50
|
+
required: false,
|
51
|
+
serialized_name: 'name',
|
52
|
+
type: {
|
53
|
+
name: 'Composite',
|
54
|
+
class_name: 'MetricName'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
unit: {
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'unit',
|
61
|
+
type: {
|
62
|
+
name: 'String'
|
63
|
+
}
|
64
|
+
},
|
65
|
+
current_value: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
serialized_name: 'currentValue',
|
69
|
+
type: {
|
70
|
+
name: 'Double'
|
71
|
+
}
|
72
|
+
},
|
73
|
+
limit: {
|
74
|
+
client_side_validation: true,
|
75
|
+
required: false,
|
76
|
+
serialized_name: 'limit',
|
77
|
+
type: {
|
78
|
+
name: 'Double'
|
79
|
+
}
|
80
|
+
},
|
81
|
+
next_reset_time: {
|
82
|
+
client_side_validation: true,
|
83
|
+
required: false,
|
84
|
+
serialized_name: 'nextResetTime',
|
85
|
+
type: {
|
86
|
+
name: 'DateTime'
|
87
|
+
}
|
88
|
+
},
|
89
|
+
quota_period: {
|
90
|
+
client_side_validation: true,
|
91
|
+
required: false,
|
92
|
+
serialized_name: 'quotaPeriod',
|
93
|
+
type: {
|
94
|
+
name: 'String'
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
end
|
101
|
+
end
|
102
|
+
end
|
103
|
+
end
|
@@ -0,0 +1,213 @@
|
|
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 Workspace resource container.
|
10
|
+
#
|
11
|
+
class Workspace < TrackedResource
|
12
|
+
|
13
|
+
include MsRestAzure
|
14
|
+
|
15
|
+
# @return [WorkspaceEntityStatus] The provisioning state of the
|
16
|
+
# workspace. Possible values include: 'Creating', 'Succeeded', 'Failed',
|
17
|
+
# 'Canceled', 'Deleting', 'ProvisioningAccount', 'Updating'
|
18
|
+
attr_accessor :provisioning_state
|
19
|
+
|
20
|
+
# @return [String] This is a read-only property. Represents the ID
|
21
|
+
# associated with the workspace.
|
22
|
+
attr_accessor :customer_id
|
23
|
+
|
24
|
+
# @return [WorkspaceSku] The SKU of the workspace.
|
25
|
+
attr_accessor :sku
|
26
|
+
|
27
|
+
# @return [Integer] The workspace data retention in days, between 30 and
|
28
|
+
# 730.
|
29
|
+
attr_accessor :retention_in_days
|
30
|
+
|
31
|
+
# @return [WorkspaceCapping] The daily volume cap for ingestion.
|
32
|
+
attr_accessor :workspace_capping
|
33
|
+
|
34
|
+
# @return [PublicNetworkAccessType] The network access type for accessing
|
35
|
+
# Log Analytics ingestion. Possible values include: 'Enabled',
|
36
|
+
# 'Disabled'. Default value: 'Enabled' .
|
37
|
+
attr_accessor :public_network_access_for_ingestion
|
38
|
+
|
39
|
+
# @return [PublicNetworkAccessType] The network access type for accessing
|
40
|
+
# Log Analytics query. Possible values include: 'Enabled', 'Disabled'.
|
41
|
+
# Default value: 'Enabled' .
|
42
|
+
attr_accessor :public_network_access_for_query
|
43
|
+
|
44
|
+
# @return [Array<PrivateLinkScopedResource>] List of linked private link
|
45
|
+
# scope resources.
|
46
|
+
attr_accessor :private_link_scoped_resources
|
47
|
+
|
48
|
+
# @return [String] The ETag of the workspace.
|
49
|
+
attr_accessor :e_tag
|
50
|
+
|
51
|
+
|
52
|
+
#
|
53
|
+
# Mapper for Workspace class as Ruby Hash.
|
54
|
+
# This will be used for serialization/deserialization.
|
55
|
+
#
|
56
|
+
def self.mapper()
|
57
|
+
{
|
58
|
+
client_side_validation: true,
|
59
|
+
required: false,
|
60
|
+
serialized_name: 'Workspace',
|
61
|
+
type: {
|
62
|
+
name: 'Composite',
|
63
|
+
class_name: 'Workspace',
|
64
|
+
model_properties: {
|
65
|
+
id: {
|
66
|
+
client_side_validation: true,
|
67
|
+
required: false,
|
68
|
+
read_only: true,
|
69
|
+
serialized_name: 'id',
|
70
|
+
type: {
|
71
|
+
name: 'String'
|
72
|
+
}
|
73
|
+
},
|
74
|
+
name: {
|
75
|
+
client_side_validation: true,
|
76
|
+
required: false,
|
77
|
+
read_only: true,
|
78
|
+
serialized_name: 'name',
|
79
|
+
type: {
|
80
|
+
name: 'String'
|
81
|
+
}
|
82
|
+
},
|
83
|
+
type: {
|
84
|
+
client_side_validation: true,
|
85
|
+
required: false,
|
86
|
+
read_only: true,
|
87
|
+
serialized_name: 'type',
|
88
|
+
type: {
|
89
|
+
name: 'String'
|
90
|
+
}
|
91
|
+
},
|
92
|
+
tags: {
|
93
|
+
client_side_validation: true,
|
94
|
+
required: false,
|
95
|
+
serialized_name: 'tags',
|
96
|
+
type: {
|
97
|
+
name: 'Dictionary',
|
98
|
+
value: {
|
99
|
+
client_side_validation: true,
|
100
|
+
required: false,
|
101
|
+
serialized_name: 'StringElementType',
|
102
|
+
type: {
|
103
|
+
name: 'String'
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
},
|
108
|
+
location: {
|
109
|
+
client_side_validation: true,
|
110
|
+
required: true,
|
111
|
+
serialized_name: 'location',
|
112
|
+
type: {
|
113
|
+
name: 'String'
|
114
|
+
}
|
115
|
+
},
|
116
|
+
provisioning_state: {
|
117
|
+
client_side_validation: true,
|
118
|
+
required: false,
|
119
|
+
serialized_name: 'properties.provisioningState',
|
120
|
+
type: {
|
121
|
+
name: 'String'
|
122
|
+
}
|
123
|
+
},
|
124
|
+
customer_id: {
|
125
|
+
client_side_validation: true,
|
126
|
+
required: false,
|
127
|
+
read_only: true,
|
128
|
+
serialized_name: 'properties.customerId',
|
129
|
+
type: {
|
130
|
+
name: 'String'
|
131
|
+
}
|
132
|
+
},
|
133
|
+
sku: {
|
134
|
+
client_side_validation: true,
|
135
|
+
required: false,
|
136
|
+
serialized_name: 'properties.sku',
|
137
|
+
type: {
|
138
|
+
name: 'Composite',
|
139
|
+
class_name: 'WorkspaceSku'
|
140
|
+
}
|
141
|
+
},
|
142
|
+
retention_in_days: {
|
143
|
+
client_side_validation: true,
|
144
|
+
required: false,
|
145
|
+
serialized_name: 'properties.retentionInDays',
|
146
|
+
constraints: {
|
147
|
+
InclusiveMaximum: 730,
|
148
|
+
InclusiveMinimum: 30
|
149
|
+
},
|
150
|
+
type: {
|
151
|
+
name: 'Number'
|
152
|
+
}
|
153
|
+
},
|
154
|
+
workspace_capping: {
|
155
|
+
client_side_validation: true,
|
156
|
+
required: false,
|
157
|
+
serialized_name: 'properties.workspaceCapping',
|
158
|
+
type: {
|
159
|
+
name: 'Composite',
|
160
|
+
class_name: 'WorkspaceCapping'
|
161
|
+
}
|
162
|
+
},
|
163
|
+
public_network_access_for_ingestion: {
|
164
|
+
client_side_validation: true,
|
165
|
+
required: false,
|
166
|
+
serialized_name: 'properties.publicNetworkAccessForIngestion',
|
167
|
+
default_value: 'Enabled',
|
168
|
+
type: {
|
169
|
+
name: 'String'
|
170
|
+
}
|
171
|
+
},
|
172
|
+
public_network_access_for_query: {
|
173
|
+
client_side_validation: true,
|
174
|
+
required: false,
|
175
|
+
serialized_name: 'properties.publicNetworkAccessForQuery',
|
176
|
+
default_value: 'Enabled',
|
177
|
+
type: {
|
178
|
+
name: 'String'
|
179
|
+
}
|
180
|
+
},
|
181
|
+
private_link_scoped_resources: {
|
182
|
+
client_side_validation: true,
|
183
|
+
required: false,
|
184
|
+
read_only: true,
|
185
|
+
serialized_name: 'properties.privateLinkScopedResources',
|
186
|
+
type: {
|
187
|
+
name: 'Sequence',
|
188
|
+
element: {
|
189
|
+
client_side_validation: true,
|
190
|
+
required: false,
|
191
|
+
serialized_name: 'PrivateLinkScopedResourceElementType',
|
192
|
+
type: {
|
193
|
+
name: 'Composite',
|
194
|
+
class_name: 'PrivateLinkScopedResource'
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
},
|
199
|
+
e_tag: {
|
200
|
+
client_side_validation: true,
|
201
|
+
required: false,
|
202
|
+
serialized_name: 'eTag',
|
203
|
+
type: {
|
204
|
+
name: 'String'
|
205
|
+
}
|
206
|
+
}
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
end
|
211
|
+
end
|
212
|
+
end
|
213
|
+
end
|