azure_mgmt_operational_insights 0.15.1 → 0.15.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/models/core_summary.rb +3 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/link_target.rb +5 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +6 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/resource.rb +7 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_search.rb +9 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/saved_searches_list_result.rb +4 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_error.rb +3 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_get_schema_response.rb +4 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_highlight.rb +3 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata.rb +20 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_metadata_schema.rb +3 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_parameters.rb +6 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_results_response.rb +6 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_schema_value.rb +9 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/search_sort.rb +3 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_account.rb +3 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight.rb +13 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_list_result.rb +4 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/storage_insight_status.rb +3 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/models/tag.rb +3 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/operational_insights_management_client.rb +1 -3
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb +15 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb +12 -0
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/workspaces.rb +11 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/azure_log_analytics.rb +1 -3
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb +12 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb +12 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source.rb +9 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_filter.rb +2 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/data_source_list_result.rb +4 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/intelligence_pack.rb +3 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service.rb +7 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/linked_service_list_result.rb +3 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/management_group.rb +9 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/metric_name.rb +3 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb +6 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/resource.rb +7 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/shared_keys.rb +3 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/sku.rb +2 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/usage_metric.rb +7 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace.rb +14 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_management_groups_result.rb +3 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_result.rb +3 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/workspace_list_usages_result.rb +3 -0
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb +26 -0
- data/lib/profiles/latest/operationalinsights_latest_profile_client.rb +1 -3
- data/lib/version.rb +1 -1
- metadata +10 -9
- data/lib/2015-03-20/generated/azure_mgmt_operational_insights/version.rb +0 -8
- data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/version.rb +0 -8
- data/lib/profiles/common/configurable.rb +0 -86
- data/lib/profiles/common/default.rb +0 -57
@@ -25,6 +25,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
25
25
|
#
|
26
26
|
def self.mapper()
|
27
27
|
{
|
28
|
+
client_side_validation: true,
|
28
29
|
required: false,
|
29
30
|
serialized_name: 'MetricName',
|
30
31
|
type: {
|
@@ -32,6 +33,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
32
33
|
class_name: 'MetricName',
|
33
34
|
model_properties: {
|
34
35
|
value: {
|
36
|
+
client_side_validation: true,
|
35
37
|
required: false,
|
36
38
|
serialized_name: 'value',
|
37
39
|
type: {
|
@@ -39,6 +41,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
39
41
|
}
|
40
42
|
},
|
41
43
|
localized_value: {
|
44
|
+
client_side_validation: true,
|
42
45
|
required: false,
|
43
46
|
serialized_name: 'localizedValue',
|
44
47
|
type: {
|
data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/proxy_resource.rb
CHANGED
@@ -31,6 +31,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
31
31
|
#
|
32
32
|
def self.mapper()
|
33
33
|
{
|
34
|
+
client_side_validation: true,
|
34
35
|
required: false,
|
35
36
|
serialized_name: 'ProxyResource',
|
36
37
|
type: {
|
@@ -38,6 +39,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
38
39
|
class_name: 'ProxyResource',
|
39
40
|
model_properties: {
|
40
41
|
id: {
|
42
|
+
client_side_validation: true,
|
41
43
|
required: false,
|
42
44
|
read_only: true,
|
43
45
|
serialized_name: 'id',
|
@@ -46,6 +48,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
46
48
|
}
|
47
49
|
},
|
48
50
|
name: {
|
51
|
+
client_side_validation: true,
|
49
52
|
required: false,
|
50
53
|
read_only: true,
|
51
54
|
serialized_name: 'name',
|
@@ -54,6 +57,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
54
57
|
}
|
55
58
|
},
|
56
59
|
type: {
|
60
|
+
client_side_validation: true,
|
57
61
|
required: false,
|
58
62
|
read_only: true,
|
59
63
|
serialized_name: 'type',
|
@@ -62,11 +66,13 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
62
66
|
}
|
63
67
|
},
|
64
68
|
tags: {
|
69
|
+
client_side_validation: true,
|
65
70
|
required: false,
|
66
71
|
serialized_name: 'tags',
|
67
72
|
type: {
|
68
73
|
name: 'Dictionary',
|
69
74
|
value: {
|
75
|
+
client_side_validation: true,
|
70
76
|
required: false,
|
71
77
|
serialized_name: 'StringElementType',
|
72
78
|
type: {
|
@@ -34,6 +34,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
34
34
|
#
|
35
35
|
def self.mapper()
|
36
36
|
{
|
37
|
+
client_side_validation: true,
|
37
38
|
required: false,
|
38
39
|
serialized_name: 'Resource',
|
39
40
|
type: {
|
@@ -41,6 +42,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
41
42
|
class_name: 'Resource',
|
42
43
|
model_properties: {
|
43
44
|
id: {
|
45
|
+
client_side_validation: true,
|
44
46
|
required: false,
|
45
47
|
read_only: true,
|
46
48
|
serialized_name: 'id',
|
@@ -49,6 +51,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
49
51
|
}
|
50
52
|
},
|
51
53
|
name: {
|
54
|
+
client_side_validation: true,
|
52
55
|
required: false,
|
53
56
|
read_only: true,
|
54
57
|
serialized_name: 'name',
|
@@ -57,6 +60,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
57
60
|
}
|
58
61
|
},
|
59
62
|
type: {
|
63
|
+
client_side_validation: true,
|
60
64
|
required: false,
|
61
65
|
read_only: true,
|
62
66
|
serialized_name: 'type',
|
@@ -65,6 +69,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
65
69
|
}
|
66
70
|
},
|
67
71
|
location: {
|
72
|
+
client_side_validation: true,
|
68
73
|
required: true,
|
69
74
|
serialized_name: 'location',
|
70
75
|
type: {
|
@@ -72,11 +77,13 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
72
77
|
}
|
73
78
|
},
|
74
79
|
tags: {
|
80
|
+
client_side_validation: true,
|
75
81
|
required: false,
|
76
82
|
serialized_name: 'tags',
|
77
83
|
type: {
|
78
84
|
name: 'Dictionary',
|
79
85
|
value: {
|
86
|
+
client_side_validation: true,
|
80
87
|
required: false,
|
81
88
|
serialized_name: 'StringElementType',
|
82
89
|
type: {
|
@@ -25,6 +25,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
25
25
|
#
|
26
26
|
def self.mapper()
|
27
27
|
{
|
28
|
+
client_side_validation: true,
|
28
29
|
required: false,
|
29
30
|
serialized_name: 'SharedKeys',
|
30
31
|
type: {
|
@@ -32,6 +33,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
32
33
|
class_name: 'SharedKeys',
|
33
34
|
model_properties: {
|
34
35
|
primary_shared_key: {
|
36
|
+
client_side_validation: true,
|
35
37
|
required: false,
|
36
38
|
serialized_name: 'primarySharedKey',
|
37
39
|
type: {
|
@@ -39,6 +41,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
39
41
|
}
|
40
42
|
},
|
41
43
|
secondary_shared_key: {
|
44
|
+
client_side_validation: true,
|
42
45
|
required: false,
|
43
46
|
serialized_name: 'secondarySharedKey',
|
44
47
|
type: {
|
@@ -23,6 +23,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
23
23
|
#
|
24
24
|
def self.mapper()
|
25
25
|
{
|
26
|
+
client_side_validation: true,
|
26
27
|
required: false,
|
27
28
|
serialized_name: 'Sku',
|
28
29
|
type: {
|
@@ -30,6 +31,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
30
31
|
class_name: 'Sku',
|
31
32
|
model_properties: {
|
32
33
|
name: {
|
34
|
+
client_side_validation: true,
|
33
35
|
required: true,
|
34
36
|
serialized_name: 'name',
|
35
37
|
type: {
|
data/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/models/usage_metric.rb
CHANGED
@@ -38,6 +38,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
38
38
|
#
|
39
39
|
def self.mapper()
|
40
40
|
{
|
41
|
+
client_side_validation: true,
|
41
42
|
required: false,
|
42
43
|
serialized_name: 'UsageMetric',
|
43
44
|
type: {
|
@@ -45,6 +46,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
45
46
|
class_name: 'UsageMetric',
|
46
47
|
model_properties: {
|
47
48
|
name: {
|
49
|
+
client_side_validation: true,
|
48
50
|
required: false,
|
49
51
|
serialized_name: 'name',
|
50
52
|
type: {
|
@@ -53,6 +55,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
53
55
|
}
|
54
56
|
},
|
55
57
|
unit: {
|
58
|
+
client_side_validation: true,
|
56
59
|
required: false,
|
57
60
|
serialized_name: 'unit',
|
58
61
|
type: {
|
@@ -60,6 +63,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
60
63
|
}
|
61
64
|
},
|
62
65
|
current_value: {
|
66
|
+
client_side_validation: true,
|
63
67
|
required: false,
|
64
68
|
serialized_name: 'currentValue',
|
65
69
|
type: {
|
@@ -67,6 +71,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
67
71
|
}
|
68
72
|
},
|
69
73
|
limit: {
|
74
|
+
client_side_validation: true,
|
70
75
|
required: false,
|
71
76
|
serialized_name: 'limit',
|
72
77
|
type: {
|
@@ -74,6 +79,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
74
79
|
}
|
75
80
|
},
|
76
81
|
next_reset_time: {
|
82
|
+
client_side_validation: true,
|
77
83
|
required: false,
|
78
84
|
serialized_name: 'nextResetTime',
|
79
85
|
type: {
|
@@ -81,6 +87,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
81
87
|
}
|
82
88
|
},
|
83
89
|
quota_period: {
|
90
|
+
client_side_validation: true,
|
84
91
|
required: false,
|
85
92
|
serialized_name: 'quotaPeriod',
|
86
93
|
type: {
|
@@ -51,6 +51,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
51
51
|
#
|
52
52
|
def self.mapper()
|
53
53
|
{
|
54
|
+
client_side_validation: true,
|
54
55
|
required: false,
|
55
56
|
serialized_name: 'Workspace',
|
56
57
|
type: {
|
@@ -58,6 +59,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
58
59
|
class_name: 'Workspace',
|
59
60
|
model_properties: {
|
60
61
|
id: {
|
62
|
+
client_side_validation: true,
|
61
63
|
required: false,
|
62
64
|
read_only: true,
|
63
65
|
serialized_name: 'id',
|
@@ -66,6 +68,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
66
68
|
}
|
67
69
|
},
|
68
70
|
name: {
|
71
|
+
client_side_validation: true,
|
69
72
|
required: false,
|
70
73
|
read_only: true,
|
71
74
|
serialized_name: 'name',
|
@@ -74,6 +77,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
74
77
|
}
|
75
78
|
},
|
76
79
|
type: {
|
80
|
+
client_side_validation: true,
|
77
81
|
required: false,
|
78
82
|
read_only: true,
|
79
83
|
serialized_name: 'type',
|
@@ -82,6 +86,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
82
86
|
}
|
83
87
|
},
|
84
88
|
location: {
|
89
|
+
client_side_validation: true,
|
85
90
|
required: true,
|
86
91
|
serialized_name: 'location',
|
87
92
|
type: {
|
@@ -89,11 +94,13 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
89
94
|
}
|
90
95
|
},
|
91
96
|
tags: {
|
97
|
+
client_side_validation: true,
|
92
98
|
required: false,
|
93
99
|
serialized_name: 'tags',
|
94
100
|
type: {
|
95
101
|
name: 'Dictionary',
|
96
102
|
value: {
|
103
|
+
client_side_validation: true,
|
97
104
|
required: false,
|
98
105
|
serialized_name: 'StringElementType',
|
99
106
|
type: {
|
@@ -103,6 +110,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
103
110
|
}
|
104
111
|
},
|
105
112
|
provisioning_state: {
|
113
|
+
client_side_validation: true,
|
106
114
|
required: false,
|
107
115
|
serialized_name: 'properties.provisioningState',
|
108
116
|
type: {
|
@@ -110,6 +118,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
110
118
|
}
|
111
119
|
},
|
112
120
|
source: {
|
121
|
+
client_side_validation: true,
|
113
122
|
required: false,
|
114
123
|
serialized_name: 'properties.source',
|
115
124
|
type: {
|
@@ -117,6 +126,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
117
126
|
}
|
118
127
|
},
|
119
128
|
customer_id: {
|
129
|
+
client_side_validation: true,
|
120
130
|
required: false,
|
121
131
|
serialized_name: 'properties.customerId',
|
122
132
|
type: {
|
@@ -124,6 +134,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
124
134
|
}
|
125
135
|
},
|
126
136
|
portal_url: {
|
137
|
+
client_side_validation: true,
|
127
138
|
required: false,
|
128
139
|
serialized_name: 'properties.portalUrl',
|
129
140
|
type: {
|
@@ -131,6 +142,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
131
142
|
}
|
132
143
|
},
|
133
144
|
sku: {
|
145
|
+
client_side_validation: true,
|
134
146
|
required: false,
|
135
147
|
serialized_name: 'properties.sku',
|
136
148
|
type: {
|
@@ -139,6 +151,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
139
151
|
}
|
140
152
|
},
|
141
153
|
retention_in_days: {
|
154
|
+
client_side_validation: true,
|
142
155
|
required: false,
|
143
156
|
serialized_name: 'properties.retentionInDays',
|
144
157
|
constraints: {
|
@@ -150,6 +163,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
150
163
|
}
|
151
164
|
},
|
152
165
|
e_tag: {
|
166
|
+
client_side_validation: true,
|
153
167
|
required: false,
|
154
168
|
serialized_name: 'eTag',
|
155
169
|
type: {
|
@@ -23,6 +23,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
23
23
|
#
|
24
24
|
def self.mapper()
|
25
25
|
{
|
26
|
+
client_side_validation: true,
|
26
27
|
required: false,
|
27
28
|
serialized_name: 'WorkspaceListManagementGroupsResult',
|
28
29
|
type: {
|
@@ -30,11 +31,13 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
30
31
|
class_name: 'WorkspaceListManagementGroupsResult',
|
31
32
|
model_properties: {
|
32
33
|
value: {
|
34
|
+
client_side_validation: true,
|
33
35
|
required: false,
|
34
36
|
serialized_name: 'value',
|
35
37
|
type: {
|
36
38
|
name: 'Sequence',
|
37
39
|
element: {
|
40
|
+
client_side_validation: true,
|
38
41
|
required: false,
|
39
42
|
serialized_name: 'ManagementGroupElementType',
|
40
43
|
type: {
|
@@ -22,6 +22,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
22
22
|
#
|
23
23
|
def self.mapper()
|
24
24
|
{
|
25
|
+
client_side_validation: true,
|
25
26
|
required: false,
|
26
27
|
serialized_name: 'WorkspaceListResult',
|
27
28
|
type: {
|
@@ -29,11 +30,13 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
29
30
|
class_name: 'WorkspaceListResult',
|
30
31
|
model_properties: {
|
31
32
|
value: {
|
33
|
+
client_side_validation: true,
|
32
34
|
required: false,
|
33
35
|
serialized_name: 'value',
|
34
36
|
type: {
|
35
37
|
name: 'Sequence',
|
36
38
|
element: {
|
39
|
+
client_side_validation: true,
|
37
40
|
required: false,
|
38
41
|
serialized_name: 'WorkspaceElementType',
|
39
42
|
type: {
|
@@ -23,6 +23,7 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
23
23
|
#
|
24
24
|
def self.mapper()
|
25
25
|
{
|
26
|
+
client_side_validation: true,
|
26
27
|
required: false,
|
27
28
|
serialized_name: 'WorkspaceListUsagesResult',
|
28
29
|
type: {
|
@@ -30,11 +31,13 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
30
31
|
class_name: 'WorkspaceListUsagesResult',
|
31
32
|
model_properties: {
|
32
33
|
value: {
|
34
|
+
client_side_validation: true,
|
33
35
|
required: false,
|
34
36
|
serialized_name: 'value',
|
35
37
|
type: {
|
36
38
|
name: 'Sequence',
|
37
39
|
element: {
|
40
|
+
client_side_validation: true,
|
38
41
|
required: false,
|
39
42
|
serialized_name: 'UsageMetricElementType',
|
40
43
|
type: {
|
@@ -70,6 +70,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
70
70
|
#
|
71
71
|
def disable_intelligence_pack_async(resource_group_name, workspace_name, intelligence_pack_name, custom_headers = nil)
|
72
72
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
73
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
74
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
75
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
73
76
|
fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
|
74
77
|
fail ArgumentError, 'intelligence_pack_name is nil' if intelligence_pack_name.nil?
|
75
78
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -160,6 +163,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
160
163
|
#
|
161
164
|
def enable_intelligence_pack_async(resource_group_name, workspace_name, intelligence_pack_name, custom_headers = nil)
|
162
165
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
166
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
167
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
168
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
163
169
|
fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
|
164
170
|
fail ArgumentError, 'intelligence_pack_name is nil' if intelligence_pack_name.nil?
|
165
171
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
@@ -248,6 +254,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
248
254
|
#
|
249
255
|
def list_intelligence_packs_async(resource_group_name, workspace_name, custom_headers = nil)
|
250
256
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
257
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
258
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
259
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
251
260
|
fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
|
252
261
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
253
262
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -286,11 +295,13 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
286
295
|
begin
|
287
296
|
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
288
297
|
result_mapper = {
|
298
|
+
client_side_validation: true,
|
289
299
|
required: false,
|
290
300
|
serialized_name: 'parsed_response',
|
291
301
|
type: {
|
292
302
|
name: 'Sequence',
|
293
303
|
element: {
|
304
|
+
client_side_validation: true,
|
294
305
|
required: false,
|
295
306
|
serialized_name: 'IntelligencePackElementType',
|
296
307
|
type: {
|
@@ -356,6 +367,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
356
367
|
#
|
357
368
|
def get_shared_keys_async(resource_group_name, workspace_name, custom_headers = nil)
|
358
369
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
370
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
371
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
372
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
359
373
|
fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
|
360
374
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
361
375
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -450,6 +464,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
450
464
|
#
|
451
465
|
def list_usages_async(resource_group_name, workspace_name, custom_headers = nil)
|
452
466
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
467
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
468
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
469
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
453
470
|
fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
|
454
471
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
455
472
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -544,6 +561,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
544
561
|
#
|
545
562
|
def list_management_groups_async(resource_group_name, workspace_name, custom_headers = nil)
|
546
563
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
564
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
565
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
566
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
547
567
|
fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
|
548
568
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
549
569
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
@@ -635,6 +655,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
635
655
|
#
|
636
656
|
def list_by_resource_group_async(resource_group_name, custom_headers = nil)
|
637
657
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
658
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
659
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
660
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
638
661
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
639
662
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
640
663
|
|
@@ -1032,6 +1055,9 @@ module Azure::OperationalInsights::Mgmt::V2015_11_01_preview
|
|
1032
1055
|
def begin_create_or_update_async(resource_group_name, workspace_name, parameters, custom_headers = nil)
|
1033
1056
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
1034
1057
|
fail ArgumentError, 'workspace_name is nil' if workspace_name.nil?
|
1058
|
+
fail ArgumentError, "'workspace_name' should satisfy the constraint - 'MaxLength': '63'" if !workspace_name.nil? && workspace_name.length > 63
|
1059
|
+
fail ArgumentError, "'workspace_name' should satisfy the constraint - 'MinLength': '4'" if !workspace_name.nil? && workspace_name.length < 4
|
1060
|
+
fail ArgumentError, "'workspace_name' should satisfy the constraint - 'Pattern': '^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$'" if !workspace_name.nil? && workspace_name.match(Regexp.new('^^[A-Za-z0-9][A-Za-z0-9-]+[A-Za-z0-9]$$')).nil?
|
1035
1061
|
fail ArgumentError, 'parameters is nil' if parameters.nil?
|
1036
1062
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
1037
1063
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|