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.
Files changed (123) hide show
  1. checksums.yaml +4 -4
  2. data/lib/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +1 -1
  3. data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +1 -1
  4. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights.rb +34 -31
  5. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/data_collector_logs.rb +352 -0
  6. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/data_exports.rb +64 -114
  7. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/linked_storage_accounts.rb +18 -9
  8. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/azure_entity_resource.rb +3 -1
  9. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_collector_log.rb +73 -0
  10. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_collector_logs_list_result.rb +56 -0
  11. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_export.rb +1 -12
  12. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb +3 -3
  13. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/data_source_type.rb +3 -0
  14. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/error_response.rb +5 -1
  15. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_resource.rb +1 -1
  16. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +4 -2
  17. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb +8 -5
  18. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/saved_search.rb +3 -3
  19. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/models/tracked_resource.rb +4 -1
  20. data/lib/2020-03-01-preview/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +5 -1
  21. data/lib/2020-08-01/generated/azure_mgmt_operational_insights.rb +123 -0
  22. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/available_service_tiers.rb +146 -0
  23. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/clusters.rb +959 -0
  24. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/data_exports.rb +473 -0
  25. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/data_sources.rb +603 -0
  26. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/deleted_workspaces.rb +211 -0
  27. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/gateways.rb +123 -0
  28. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/intelligence_packs.rb +351 -0
  29. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/linked_services.rb +577 -0
  30. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/linked_storage_accounts.rb +481 -0
  31. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/management_groups.rb +130 -0
  32. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/available_service_tier.rb +124 -0
  33. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/azure_entity_resource.rb +77 -0
  34. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster.rb +159 -0
  35. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_entity_status.rb +21 -0
  36. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_error_response.rb +48 -0
  37. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_list_result.rb +98 -0
  38. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_patch.rb +78 -0
  39. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_sku.rb +58 -0
  40. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/cluster_sku_name_enum.rb +15 -0
  41. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/core_summary.rb +57 -0
  42. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_export.rb +163 -0
  43. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_export_error_response.rb +48 -0
  44. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_export_list_result.rb +56 -0
  45. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_ingestion_status.rb +20 -0
  46. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source.rb +130 -0
  47. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source_filter.rb +61 -0
  48. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source_kind.rb +47 -0
  49. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +98 -0
  50. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/data_source_type.rb +18 -0
  51. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/error_additional_info.rb +59 -0
  52. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/error_contract.rb +49 -0
  53. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/error_response.rb +117 -0
  54. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/identity.rb +72 -0
  55. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/identity_type.rb +16 -0
  56. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb +69 -0
  57. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/key_vault_properties.rb +71 -0
  58. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_service.rb +120 -0
  59. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_service_entity_status.rb +18 -0
  60. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb +55 -0
  61. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_list_result.rb +56 -0
  62. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/linked_storage_accounts_resource.rb +95 -0
  63. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/management_group.rb +128 -0
  64. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/metric_name.rb +57 -0
  65. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/operation.rb +59 -0
  66. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/operation_display.rb +79 -0
  67. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/operation_list_result.rb +101 -0
  68. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/operation_status.rb +102 -0
  69. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/private_link_scoped_resource.rb +58 -0
  70. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +65 -0
  71. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/public_network_access_type.rb +16 -0
  72. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/purge_state.rb +16 -0
  73. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/resource.rb +86 -0
  74. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/saved_search.rb +165 -0
  75. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +55 -0
  76. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb +67 -0
  77. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_metadata.rb +241 -0
  78. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb +57 -0
  79. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_schema_value.rb +123 -0
  80. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_sort.rb +58 -0
  81. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/search_sort_enum.rb +16 -0
  82. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/shared_keys.rb +57 -0
  83. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/sku_name_enum.rb +21 -0
  84. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/storage_account.rb +58 -0
  85. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/storage_insight.rb +157 -0
  86. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +98 -0
  87. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/storage_insight_state.rb +16 -0
  88. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb +58 -0
  89. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/table.rb +79 -0
  90. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/tables_list_result.rb +55 -0
  91. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/tag.rb +57 -0
  92. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/tracked_resource.rb +95 -0
  93. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/type.rb +16 -0
  94. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/usage_metric.rb +103 -0
  95. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace.rb +213 -0
  96. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_capping.rb +72 -0
  97. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_entity_status.rb +21 -0
  98. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +56 -0
  99. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb +55 -0
  100. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb +56 -0
  101. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_patch.rb +206 -0
  102. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_purge_body.rb +67 -0
  103. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_purge_body_filters.rb +85 -0
  104. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_purge_response.rb +47 -0
  105. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_purge_status_response.rb +47 -0
  106. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_sku.rb +85 -0
  107. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/models/workspace_sku_name_enum.rb +21 -0
  108. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/module_definition.rb +9 -0
  109. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/operation_statuses.rb +121 -0
  110. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +207 -0
  111. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/operations.rb +220 -0
  112. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/saved_searches.rb +457 -0
  113. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/schema.rb +130 -0
  114. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/shared_keys_operations.rb +238 -0
  115. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/storage_insight_configs.rb +592 -0
  116. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/tables.rb +359 -0
  117. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/usages.rb +130 -0
  118. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/workspace_purge.rb +277 -0
  119. data/lib/2020-08-01/generated/azure_mgmt_operational_insights/workspaces.rb +768 -0
  120. data/lib/azure_mgmt_operational_insights.rb +2 -1
  121. data/lib/profiles/latest/modules/operationalinsights_profile_module.rb +173 -173
  122. data/lib/version.rb +1 -1
  123. metadata +105 -3
@@ -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,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::OperationalInsights::Mgmt::V2020_08_01
7
+ module Models
8
+ #
9
+ # Tracked Resource
10
+
11
+ # The resource model definition for an Azure Resource Manager tracked top
12
+ # level resource which has 'tags' and a 'location'
13
+ #
14
+ class TrackedResource < Resource
15
+
16
+ include MsRestAzure
17
+
18
+ # @return [Hash{String => String}] Resource tags.
19
+ attr_accessor :tags
20
+
21
+ # @return [String] The geo-location where the resource lives
22
+ attr_accessor :location
23
+
24
+
25
+ #
26
+ # Mapper for TrackedResource 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: 'TrackedResource',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'TrackedResource',
37
+ model_properties: {
38
+ id: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'id',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ name: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'name',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ type: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'type',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ tags: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'tags',
69
+ type: {
70
+ name: 'Dictionary',
71
+ value: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'StringElementType',
75
+ type: {
76
+ name: 'String'
77
+ }
78
+ }
79
+ }
80
+ },
81
+ location: {
82
+ client_side_validation: true,
83
+ required: true,
84
+ serialized_name: 'location',
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::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