azure_sdk 0.17.11 → 0.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/azure_sdk/version.rb +1 -1
- data/lib/latest/latest_profile_client.rb +1 -21
- data/lib/latest/modules/apimanagement_profile_module.rb +616 -558
- data/lib/latest/modules/automation_profile_module.rb +364 -318
- data/lib/latest/modules/billing_profile_module.rb +43 -33
- data/lib/latest/modules/cognitiveservices_profile_module.rb +75 -29
- data/lib/latest/modules/compute_profile_module.rb +660 -530
- data/lib/latest/modules/computervision_profile_module.rb +103 -95
- data/lib/latest/modules/consumption_profile_module.rb +160 -78
- data/lib/latest/modules/containerinstance_profile_module.rb +116 -84
- data/lib/latest/modules/containerregistry_profile_module.rb +90 -50
- data/lib/latest/modules/containerservice_profile_module.rb +149 -49
- data/lib/latest/modules/contentmoderator_profile_module.rb +42 -30
- data/lib/latest/modules/datalakestore_profile_module.rb +61 -35
- data/lib/latest/modules/eventgrid_profile_module.rb +108 -36
- data/lib/latest/modules/eventhub_profile_module.rb +61 -111
- data/lib/latest/modules/face_profile_module.rb +0 -4
- data/lib/latest/modules/iotcentral_profile_module.rb +29 -29
- data/lib/latest/modules/iothub_profile_module.rb +240 -162
- data/lib/latest/modules/keyvault_profile_module.rb +361 -297
- data/lib/latest/modules/logic_profile_module.rb +359 -205
- data/lib/latest/modules/machinelearning_profile_module.rb +68 -54
- data/lib/latest/modules/managedapplications_profile_module.rb +39 -39
- data/lib/latest/modules/mediaservices_profile_module.rb +412 -416
- data/lib/latest/modules/monitor_profile_module.rb +0 -4
- data/lib/latest/modules/network_profile_module.rb +945 -705
- data/lib/latest/modules/notificationhubs_profile_module.rb +53 -39
- data/lib/latest/modules/operationalinsights_profile_module.rb +49 -29
- data/lib/latest/modules/policy_profile_module.rb +36 -44
- data/lib/latest/modules/recoveryservicesbackup_profile_module.rb +399 -313
- data/lib/latest/modules/recoveryservicessiterecovery_profile_module.rb +1071 -993
- data/lib/latest/modules/redis_profile_module.rb +107 -83
- data/lib/latest/modules/resources_profile_module.rb +138 -122
- data/lib/latest/modules/resourcesmanagement_profile_module.rb +99 -37
- data/lib/latest/modules/search_profile_module.rb +23 -19
- data/lib/latest/modules/security_profile_module.rb +3 -3
- data/lib/latest/modules/servicebus_profile_module.rb +64 -54
- data/lib/latest/modules/servicefabric_profile_module.rb +136 -112
- data/lib/latest/modules/sql_profile_module.rb +855 -411
- data/lib/latest/modules/textanalytics_profile_module.rb +39 -27
- data/lib/latest/modules/trafficmanager_profile_module.rb +98 -86
- data/lib/latest/modules/web_profile_module.rb +1045 -969
- metadata +151 -181
- data/lib/latest/modules/mobileengagement_profile_module.rb +0 -417
- data/lib/latest/modules/servermanagement_profile_module.rb +0 -175
@@ -7,38 +7,41 @@ require 'azure_mgmt_notification_hubs'
|
|
7
7
|
module Azure::Profiles::Latest
|
8
8
|
module NotificationHubs
|
9
9
|
module Mgmt
|
10
|
+
Operations = Azure::NotificationHubs::Mgmt::V2017_04_01::Operations
|
10
11
|
Namespaces = Azure::NotificationHubs::Mgmt::V2017_04_01::Namespaces
|
11
|
-
Name = Azure::NotificationHubs::Mgmt::V2017_04_01::Name
|
12
12
|
NotificationHubs = Azure::NotificationHubs::Mgmt::V2017_04_01::NotificationHubs
|
13
|
-
Hubs = Azure::NotificationHubs::Mgmt::V2017_04_01::Hubs
|
14
13
|
|
15
14
|
module Models
|
16
15
|
ResourceListKeys = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ResourceListKeys
|
17
16
|
PolicykeyResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource
|
18
|
-
|
17
|
+
Operation = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation
|
19
18
|
ApnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential
|
20
|
-
|
19
|
+
ErrorResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse
|
21
20
|
WnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential
|
22
|
-
|
23
|
-
|
21
|
+
CheckAvailabilityParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters
|
22
|
+
GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential
|
23
|
+
OperationDisplay = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay
|
24
|
+
OperationListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult
|
24
25
|
Sku = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku
|
25
|
-
|
26
|
+
SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
|
26
27
|
SubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource
|
27
|
-
BaiduCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential
|
28
|
-
NamespaceListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult
|
29
28
|
NotificationHubListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult
|
30
|
-
GcmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential
|
31
29
|
SharedAccessAuthorizationRuleListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult
|
32
|
-
MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential
|
33
30
|
Resource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource
|
31
|
+
SharedAccessAuthorizationRuleProperties = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties
|
32
|
+
MpnsCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential
|
33
|
+
NamespacePatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters
|
34
34
|
AdmCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential
|
35
|
+
NamespaceListResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult
|
36
|
+
BaiduCredential = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential
|
35
37
|
CheckAvailabilityResult = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult
|
36
38
|
NamespaceCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceCreateOrUpdateParameters
|
37
39
|
NamespaceResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource
|
38
|
-
SharedAccessAuthorizationRuleCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
|
39
40
|
SharedAccessAuthorizationRuleResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource
|
40
41
|
NotificationHubCreateOrUpdateParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters
|
42
|
+
NotificationHubPatchParameters = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters
|
41
43
|
NotificationHubResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource
|
44
|
+
DebugSendResponse = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse
|
42
45
|
PnsCredentialsResource = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource
|
43
46
|
SkuName = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SkuName
|
44
47
|
NamespaceType = Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceType
|
@@ -46,7 +49,7 @@ module Azure::Profiles::Latest
|
|
46
49
|
end
|
47
50
|
|
48
51
|
class NotificationHubsManagementClass
|
49
|
-
attr_reader :
|
52
|
+
attr_reader :operations, :namespaces, :notification_hubs, :configurable, :base_url, :options, :model_classes
|
50
53
|
|
51
54
|
def initialize(configurable, base_url=nil, options=nil)
|
52
55
|
@configurable, @base_url, @options = configurable, base_url, options
|
@@ -56,10 +59,9 @@ module Azure::Profiles::Latest
|
|
56
59
|
@client_0.subscription_id = configurable.subscription_id
|
57
60
|
end
|
58
61
|
add_telemetry(@client_0)
|
62
|
+
@operations = @client_0.operations
|
59
63
|
@namespaces = @client_0.namespaces
|
60
|
-
@name = @client_0.name
|
61
64
|
@notification_hubs = @client_0.notification_hubs
|
62
|
-
@hubs = @client_0.hubs
|
63
65
|
|
64
66
|
@model_classes = ModelClasses.new
|
65
67
|
end
|
@@ -84,57 +86,66 @@ module Azure::Profiles::Latest
|
|
84
86
|
def policykey_resource
|
85
87
|
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PolicykeyResource
|
86
88
|
end
|
87
|
-
def
|
88
|
-
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::
|
89
|
+
def operation
|
90
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Operation
|
89
91
|
end
|
90
92
|
def apns_credential
|
91
93
|
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ApnsCredential
|
92
94
|
end
|
93
|
-
def
|
94
|
-
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::
|
95
|
+
def error_response
|
96
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::ErrorResponse
|
95
97
|
end
|
96
98
|
def wns_credential
|
97
99
|
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::WnsCredential
|
98
100
|
end
|
99
|
-
def
|
100
|
-
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::
|
101
|
+
def check_availability_parameters
|
102
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityParameters
|
101
103
|
end
|
102
|
-
def
|
103
|
-
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::
|
104
|
+
def gcm_credential
|
105
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential
|
106
|
+
end
|
107
|
+
def operation_display
|
108
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationDisplay
|
109
|
+
end
|
110
|
+
def operation_list_result
|
111
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::OperationListResult
|
104
112
|
end
|
105
113
|
def sku
|
106
114
|
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Sku
|
107
115
|
end
|
108
|
-
def
|
109
|
-
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::
|
116
|
+
def shared_access_authorization_rule_create_or_update_parameters
|
117
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
|
110
118
|
end
|
111
119
|
def sub_resource
|
112
120
|
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SubResource
|
113
121
|
end
|
114
|
-
def baidu_credential
|
115
|
-
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential
|
116
|
-
end
|
117
|
-
def namespace_list_result
|
118
|
-
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult
|
119
|
-
end
|
120
122
|
def notification_hub_list_result
|
121
123
|
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubListResult
|
122
124
|
end
|
123
|
-
def gcm_credential
|
124
|
-
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::GcmCredential
|
125
|
-
end
|
126
125
|
def shared_access_authorization_rule_list_result
|
127
126
|
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleListResult
|
128
127
|
end
|
128
|
+
def resource
|
129
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::Resource
|
130
|
+
end
|
131
|
+
def shared_access_authorization_rule_properties
|
132
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleProperties
|
133
|
+
end
|
129
134
|
def mpns_credential
|
130
135
|
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::MpnsCredential
|
131
136
|
end
|
132
|
-
def
|
133
|
-
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::
|
137
|
+
def namespace_patch_parameters
|
138
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespacePatchParameters
|
134
139
|
end
|
135
140
|
def adm_credential
|
136
141
|
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::AdmCredential
|
137
142
|
end
|
143
|
+
def namespace_list_result
|
144
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceListResult
|
145
|
+
end
|
146
|
+
def baidu_credential
|
147
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::BaiduCredential
|
148
|
+
end
|
138
149
|
def check_availability_result
|
139
150
|
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::CheckAvailabilityResult
|
140
151
|
end
|
@@ -144,18 +155,21 @@ module Azure::Profiles::Latest
|
|
144
155
|
def namespace_resource
|
145
156
|
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NamespaceResource
|
146
157
|
end
|
147
|
-
def shared_access_authorization_rule_create_or_update_parameters
|
148
|
-
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleCreateOrUpdateParameters
|
149
|
-
end
|
150
158
|
def shared_access_authorization_rule_resource
|
151
159
|
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::SharedAccessAuthorizationRuleResource
|
152
160
|
end
|
153
161
|
def notification_hub_create_or_update_parameters
|
154
162
|
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubCreateOrUpdateParameters
|
155
163
|
end
|
164
|
+
def notification_hub_patch_parameters
|
165
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubPatchParameters
|
166
|
+
end
|
156
167
|
def notification_hub_resource
|
157
168
|
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::NotificationHubResource
|
158
169
|
end
|
170
|
+
def debug_send_response
|
171
|
+
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::DebugSendResponse
|
172
|
+
end
|
159
173
|
def pns_credentials_resource
|
160
174
|
Azure::NotificationHubs::Mgmt::V2017_04_01::Models::PnsCredentialsResource
|
161
175
|
end
|
@@ -15,26 +15,31 @@ module Azure::Profiles::Latest
|
|
15
15
|
Operations = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Operations
|
16
16
|
|
17
17
|
module Models
|
18
|
-
SearchError = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError
|
19
|
-
SearchResultsResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse
|
20
18
|
SearchSchemaValue = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue
|
21
|
-
LinkTarget = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget
|
22
19
|
SearchGetSchemaResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse
|
23
|
-
CoreSummary = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary
|
24
20
|
SearchHighlight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight
|
25
|
-
|
21
|
+
LinkTarget = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget
|
26
22
|
SearchParameters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters
|
27
|
-
|
23
|
+
CoreSummary = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary
|
28
24
|
StorageAccount = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount
|
25
|
+
SearchMetadataSchema = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema
|
29
26
|
StorageInsightStatus = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus
|
30
|
-
|
31
|
-
SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort
|
27
|
+
SavedSearch = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch
|
32
28
|
SavedSearchesListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult
|
29
|
+
SearchResultsResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse
|
33
30
|
StorageInsightListResult = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult
|
31
|
+
SearchSort = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort
|
32
|
+
SearchError = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError
|
33
|
+
WorkspacePurgeBodyFilters = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters
|
34
|
+
Tag = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag
|
35
|
+
WorkspacePurgeBody = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody
|
36
|
+
WorkspacePurgeResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse
|
34
37
|
SearchMetadata = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata
|
38
|
+
WorkspacePurgeStatusResponse = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse
|
35
39
|
StorageInsight = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight
|
36
40
|
SearchSortEnum = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSortEnum
|
37
41
|
StorageInsightState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState
|
42
|
+
PurgeState = Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState
|
38
43
|
MetricName = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName
|
39
44
|
OperationDisplay = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::OperationDisplay
|
40
45
|
UsageMetric = Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::UsageMetric
|
@@ -103,57 +108,69 @@ module Azure::Profiles::Latest
|
|
103
108
|
end
|
104
109
|
|
105
110
|
class ModelClasses
|
106
|
-
def search_error
|
107
|
-
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError
|
108
|
-
end
|
109
|
-
def search_results_response
|
110
|
-
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse
|
111
|
-
end
|
112
111
|
def search_schema_value
|
113
112
|
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSchemaValue
|
114
113
|
end
|
115
|
-
def link_target
|
116
|
-
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget
|
117
|
-
end
|
118
114
|
def search_get_schema_response
|
119
115
|
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchGetSchemaResponse
|
120
116
|
end
|
121
|
-
def core_summary
|
122
|
-
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary
|
123
|
-
end
|
124
117
|
def search_highlight
|
125
118
|
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchHighlight
|
126
119
|
end
|
127
|
-
def
|
128
|
-
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::
|
120
|
+
def link_target
|
121
|
+
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::LinkTarget
|
129
122
|
end
|
130
123
|
def search_parameters
|
131
124
|
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchParameters
|
132
125
|
end
|
133
|
-
def
|
134
|
-
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::
|
126
|
+
def core_summary
|
127
|
+
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::CoreSummary
|
135
128
|
end
|
136
129
|
def storage_account
|
137
130
|
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageAccount
|
138
131
|
end
|
132
|
+
def search_metadata_schema
|
133
|
+
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadataSchema
|
134
|
+
end
|
139
135
|
def storage_insight_status
|
140
136
|
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightStatus
|
141
137
|
end
|
142
|
-
def
|
143
|
-
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::
|
144
|
-
end
|
145
|
-
def search_sort
|
146
|
-
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort
|
138
|
+
def saved_search
|
139
|
+
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearch
|
147
140
|
end
|
148
141
|
def saved_searches_list_result
|
149
142
|
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SavedSearchesListResult
|
150
143
|
end
|
144
|
+
def search_results_response
|
145
|
+
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchResultsResponse
|
146
|
+
end
|
151
147
|
def storage_insight_list_result
|
152
148
|
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightListResult
|
153
149
|
end
|
150
|
+
def search_sort
|
151
|
+
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchSort
|
152
|
+
end
|
153
|
+
def search_error
|
154
|
+
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchError
|
155
|
+
end
|
156
|
+
def workspace_purge_body_filters
|
157
|
+
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBodyFilters
|
158
|
+
end
|
159
|
+
def tag
|
160
|
+
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::Tag
|
161
|
+
end
|
162
|
+
def workspace_purge_body
|
163
|
+
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeBody
|
164
|
+
end
|
165
|
+
def workspace_purge_response
|
166
|
+
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeResponse
|
167
|
+
end
|
154
168
|
def search_metadata
|
155
169
|
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::SearchMetadata
|
156
170
|
end
|
171
|
+
def workspace_purge_status_response
|
172
|
+
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::WorkspacePurgeStatusResponse
|
173
|
+
end
|
157
174
|
def storage_insight
|
158
175
|
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsight
|
159
176
|
end
|
@@ -163,6 +180,9 @@ module Azure::Profiles::Latest
|
|
163
180
|
def storage_insight_state
|
164
181
|
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::StorageInsightState
|
165
182
|
end
|
183
|
+
def purge_state
|
184
|
+
Azure::OperationalInsights::Mgmt::V2015_03_20::Models::PurgeState
|
185
|
+
end
|
166
186
|
def metric_name
|
167
187
|
Azure::OperationalInsights::Mgmt::V2015_11_01_preview::Models::MetricName
|
168
188
|
end
|
@@ -7,44 +7,38 @@ require 'azure_mgmt_policy'
|
|
7
7
|
module Azure::Profiles::Latest
|
8
8
|
module Policy
|
9
9
|
module Mgmt
|
10
|
-
|
11
|
-
|
12
|
-
PolicySetDefinitions = Azure::Policy::Mgmt::
|
10
|
+
PolicyAssignments = Azure::Policy::Mgmt::V2018_03_01::PolicyAssignments
|
11
|
+
PolicyDefinitions = Azure::Policy::Mgmt::V2018_03_01::PolicyDefinitions
|
12
|
+
PolicySetDefinitions = Azure::Policy::Mgmt::V2018_03_01::PolicySetDefinitions
|
13
13
|
|
14
14
|
module Models
|
15
|
-
PolicyDefinition = Azure::Policy::Mgmt::
|
16
|
-
PolicyDefinitionListResult = Azure::Policy::Mgmt::
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
15
|
+
PolicyDefinition = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinition
|
16
|
+
PolicyDefinitionListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionListResult
|
17
|
+
PolicyAssignment = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignment
|
18
|
+
PolicyDefinitionReference = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference
|
19
|
+
ErrorResponse = Azure::Policy::Mgmt::V2018_03_01::Models::ErrorResponse
|
20
|
+
PolicySetDefinition = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinition
|
21
|
+
PolicyAssignmentListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignmentListResult
|
22
|
+
PolicySetDefinitionListResult = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinitionListResult
|
23
|
+
PolicySku = Azure::Policy::Mgmt::V2018_03_01::Models::PolicySku
|
24
|
+
PolicyType = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyType
|
25
|
+
PolicyMode = Azure::Policy::Mgmt::V2018_03_01::Models::PolicyMode
|
26
26
|
end
|
27
27
|
|
28
28
|
class PolicyManagementClass
|
29
|
-
attr_reader :
|
29
|
+
attr_reader :policy_assignments, :policy_definitions, :policy_set_definitions, :configurable, :base_url, :options, :model_classes
|
30
30
|
|
31
31
|
def initialize(configurable, base_url=nil, options=nil)
|
32
32
|
@configurable, @base_url, @options = configurable, base_url, options
|
33
33
|
|
34
|
-
@client_0 = Azure::Policy::Mgmt::
|
34
|
+
@client_0 = Azure::Policy::Mgmt::V2018_03_01::PolicyClient.new(configurable.credentials, base_url, options)
|
35
35
|
if(@client_0.respond_to?(:subscription_id))
|
36
36
|
@client_0.subscription_id = configurable.subscription_id
|
37
37
|
end
|
38
38
|
add_telemetry(@client_0)
|
39
|
+
@policy_assignments = @client_0.policy_assignments
|
39
40
|
@policy_definitions = @client_0.policy_definitions
|
40
|
-
|
41
|
-
@client_1 = Azure::Policy::Mgmt::V2017_06_01_preview::PolicyClient.new(configurable.credentials, base_url, options)
|
42
|
-
if(@client_1.respond_to?(:subscription_id))
|
43
|
-
@client_1.subscription_id = configurable.subscription_id
|
44
|
-
end
|
45
|
-
add_telemetry(@client_1)
|
46
|
-
@policy_assignments = @client_1.policy_assignments
|
47
|
-
@policy_set_definitions = @client_1.policy_set_definitions
|
41
|
+
@policy_set_definitions = @client_0.policy_set_definitions
|
48
42
|
|
49
43
|
@model_classes = ModelClasses.new
|
50
44
|
end
|
@@ -55,9 +49,7 @@ module Azure::Profiles::Latest
|
|
55
49
|
end
|
56
50
|
|
57
51
|
def method_missing(method, *args)
|
58
|
-
if @
|
59
|
-
@client_1.send(method, *args)
|
60
|
-
elsif @client_0.respond_to?method
|
52
|
+
if @client_0.respond_to?method
|
61
53
|
@client_0.send(method, *args)
|
62
54
|
else
|
63
55
|
super
|
@@ -66,37 +58,37 @@ module Azure::Profiles::Latest
|
|
66
58
|
|
67
59
|
class ModelClasses
|
68
60
|
def policy_definition
|
69
|
-
Azure::Policy::Mgmt::
|
61
|
+
Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinition
|
70
62
|
end
|
71
63
|
def policy_definition_list_result
|
72
|
-
Azure::Policy::Mgmt::
|
73
|
-
end
|
74
|
-
def policy_mode
|
75
|
-
Azure::Policy::Mgmt::V2016_12_01::Models::PolicyMode
|
64
|
+
Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionListResult
|
76
65
|
end
|
77
|
-
def
|
78
|
-
Azure::Policy::Mgmt::
|
66
|
+
def policy_assignment
|
67
|
+
Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignment
|
79
68
|
end
|
80
69
|
def policy_definition_reference
|
81
|
-
Azure::Policy::Mgmt::
|
70
|
+
Azure::Policy::Mgmt::V2018_03_01::Models::PolicyDefinitionReference
|
82
71
|
end
|
83
|
-
def
|
84
|
-
Azure::Policy::Mgmt::
|
72
|
+
def error_response
|
73
|
+
Azure::Policy::Mgmt::V2018_03_01::Models::ErrorResponse
|
85
74
|
end
|
86
75
|
def policy_set_definition
|
87
|
-
Azure::Policy::Mgmt::
|
76
|
+
Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinition
|
88
77
|
end
|
89
|
-
def
|
90
|
-
Azure::Policy::Mgmt::
|
78
|
+
def policy_assignment_list_result
|
79
|
+
Azure::Policy::Mgmt::V2018_03_01::Models::PolicyAssignmentListResult
|
91
80
|
end
|
92
81
|
def policy_set_definition_list_result
|
93
|
-
Azure::Policy::Mgmt::
|
82
|
+
Azure::Policy::Mgmt::V2018_03_01::Models::PolicySetDefinitionListResult
|
94
83
|
end
|
95
|
-
def
|
96
|
-
Azure::Policy::Mgmt::
|
84
|
+
def policy_sku
|
85
|
+
Azure::Policy::Mgmt::V2018_03_01::Models::PolicySku
|
97
86
|
end
|
98
87
|
def policy_type
|
99
|
-
Azure::Policy::Mgmt::
|
88
|
+
Azure::Policy::Mgmt::V2018_03_01::Models::PolicyType
|
89
|
+
end
|
90
|
+
def policy_mode
|
91
|
+
Azure::Policy::Mgmt::V2018_03_01::Models::PolicyMode
|
100
92
|
end
|
101
93
|
end
|
102
94
|
end
|