azure_mgmt_netapp 0.21.0 → 0.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-05-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-06-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-07-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-08-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-10-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2019-11-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-02-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-06-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-07-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +1 -1
- data/lib/2020-09-01/generated/azure_mgmt_netapp.rb +104 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/account_backups.rb +373 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/accounts.rb +709 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb +173 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/backup_policies.rb +691 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/backups.rb +747 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/active_directory.rb +275 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/active_directory_status.rb +19 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/authorize_request.rb +46 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/backup.rb +158 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/backup_patch.rb +130 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/backup_policies_list.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/backup_policy.rb +212 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/backup_policy_details.rb +212 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/backup_policy_patch.rb +212 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/backups_list.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/break_replication_request.rb +47 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/capacity_pool.rb +198 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb +132 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/check_availability_response.rb +78 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/check_quota_name_resource_types.rb +18 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/daily_schedule.rb +81 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/dimension.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/endpoint_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb +205 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/hourly_schedule.rb +69 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/metric_specification.rb +145 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/mirror_state.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb +93 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/mount_target.rb +159 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb +93 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/net_app_account.rb +133 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb +133 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/operation.rb +83 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/operation_display.rb +79 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/operation_list_result.rb +57 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/pool_change_request.rb +46 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/qos_type.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/quota_availability_request.rb +73 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/relationship_status.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/replication_object.rb +94 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/replication_schedule.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/replication_status.rb +93 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb +72 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/security_style.rb +16 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/service_level.rb +17 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/service_specification.rb +56 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/snapshot.rb +123 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/snapshot_policy.rb +185 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/snapshot_policy_details.rb +185 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/snapshot_policy_patch.rb +185 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/snapshot_policy_volume_list.rb +54 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/snapshots_list.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/vault.rb +93 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/vault_list.rb +55 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume.rb +409 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_backup_properties.rb +79 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_backups.rb +68 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_list.rb +98 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_patch.rb +178 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb +50 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb +58 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb +74 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb +58 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_revert.rb +46 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb +46 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/models/weekly_schedule.rb +94 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/module_definition.rb +9 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/net_app_resource.rb +424 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/operations.rb +115 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/pools.rb +737 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/snapshot_policies.rb +700 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/snapshots.rb +794 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/vaults.rb +128 -0
- data/lib/2020-09-01/generated/azure_mgmt_netapp/volumes.rb +2143 -0
- data/lib/azure_mgmt_netapp.rb +1 -0
- data/lib/profiles/latest/modules/netapp_profile_module.rb +144 -144
- data/lib/version.rb +1 -1
- metadata +82 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8915f2f9d1a13e5bb363b1b7650f3b833296df46f420c51c554429051401ab5
|
4
|
+
data.tar.gz: c31c88e2a0eb12817868daba9d15e77b5d98a569fc28e23154dc94e5167d9d19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c995cbc588b90eff0c3224ee565645b3aee25c96507b1c3fb6a215ccdf62d09f47af310b29525b6ac201d47e51a51950d14a62de0788502b029cd09e0dfe61e
|
7
|
+
data.tar.gz: 3cc2094c01d806a7629906ef83c8d9196fb51722f0a31871b34f183751a7a7a50cbfaa580ff5ca0484f8a2ed3556f5b29315edac3e1ee05ffd75d619f6c02ac8
|
data/lib/2017-08-15-preview/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb
CHANGED
@@ -146,7 +146,7 @@ module Azure::NetApp::Mgmt::V2017_08_15_preview
|
|
146
146
|
#
|
147
147
|
def add_telemetry
|
148
148
|
sdk_information = 'azure_mgmt_netapp'
|
149
|
-
sdk_information = "#{sdk_information}/0.
|
149
|
+
sdk_information = "#{sdk_information}/0.22.0"
|
150
150
|
add_user_agent_information(sdk_information)
|
151
151
|
end
|
152
152
|
end
|
@@ -412,7 +412,7 @@ module Azure::NetApp::Mgmt::V2019_05_01
|
|
412
412
|
#
|
413
413
|
def add_telemetry
|
414
414
|
sdk_information = 'azure_mgmt_netapp'
|
415
|
-
sdk_information = "#{sdk_information}/0.
|
415
|
+
sdk_information = "#{sdk_information}/0.22.0"
|
416
416
|
add_user_agent_information(sdk_information)
|
417
417
|
end
|
418
418
|
end
|
@@ -412,7 +412,7 @@ module Azure::NetApp::Mgmt::V2019_06_01
|
|
412
412
|
#
|
413
413
|
def add_telemetry
|
414
414
|
sdk_information = 'azure_mgmt_netapp'
|
415
|
-
sdk_information = "#{sdk_information}/0.
|
415
|
+
sdk_information = "#{sdk_information}/0.22.0"
|
416
416
|
add_user_agent_information(sdk_information)
|
417
417
|
end
|
418
418
|
end
|
@@ -412,7 +412,7 @@ module Azure::NetApp::Mgmt::V2019_07_01
|
|
412
412
|
#
|
413
413
|
def add_telemetry
|
414
414
|
sdk_information = 'azure_mgmt_netapp'
|
415
|
-
sdk_information = "#{sdk_information}/0.
|
415
|
+
sdk_information = "#{sdk_information}/0.22.0"
|
416
416
|
add_user_agent_information(sdk_information)
|
417
417
|
end
|
418
418
|
end
|
@@ -150,7 +150,7 @@ module Azure::NetApp::Mgmt::V2019_08_01
|
|
150
150
|
#
|
151
151
|
def add_telemetry
|
152
152
|
sdk_information = 'azure_mgmt_netapp'
|
153
|
-
sdk_information = "#{sdk_information}/0.
|
153
|
+
sdk_information = "#{sdk_information}/0.22.0"
|
154
154
|
add_user_agent_information(sdk_information)
|
155
155
|
end
|
156
156
|
end
|
@@ -150,7 +150,7 @@ module Azure::NetApp::Mgmt::V2019_10_01
|
|
150
150
|
#
|
151
151
|
def add_telemetry
|
152
152
|
sdk_information = 'azure_mgmt_netapp'
|
153
|
-
sdk_information = "#{sdk_information}/0.
|
153
|
+
sdk_information = "#{sdk_information}/0.22.0"
|
154
154
|
add_user_agent_information(sdk_information)
|
155
155
|
end
|
156
156
|
end
|
@@ -146,7 +146,7 @@ module Azure::NetApp::Mgmt::V2019_11_01
|
|
146
146
|
#
|
147
147
|
def add_telemetry
|
148
148
|
sdk_information = 'azure_mgmt_netapp'
|
149
|
-
sdk_information = "#{sdk_information}/0.
|
149
|
+
sdk_information = "#{sdk_information}/0.22.0"
|
150
150
|
add_user_agent_information(sdk_information)
|
151
151
|
end
|
152
152
|
end
|
@@ -146,7 +146,7 @@ module Azure::NetApp::Mgmt::V2020_02_01
|
|
146
146
|
#
|
147
147
|
def add_telemetry
|
148
148
|
sdk_information = 'azure_mgmt_netapp'
|
149
|
-
sdk_information = "#{sdk_information}/0.
|
149
|
+
sdk_information = "#{sdk_information}/0.22.0"
|
150
150
|
add_user_agent_information(sdk_information)
|
151
151
|
end
|
152
152
|
end
|
@@ -166,7 +166,7 @@ module Azure::NetApp::Mgmt::V2020_06_01
|
|
166
166
|
#
|
167
167
|
def add_telemetry
|
168
168
|
sdk_information = 'azure_mgmt_netapp'
|
169
|
-
sdk_information = "#{sdk_information}/0.
|
169
|
+
sdk_information = "#{sdk_information}/0.22.0"
|
170
170
|
add_user_agent_information(sdk_information)
|
171
171
|
end
|
172
172
|
end
|
@@ -166,7 +166,7 @@ module Azure::NetApp::Mgmt::V2020_07_01
|
|
166
166
|
#
|
167
167
|
def add_telemetry
|
168
168
|
sdk_information = 'azure_mgmt_netapp'
|
169
|
-
sdk_information = "#{sdk_information}/0.
|
169
|
+
sdk_information = "#{sdk_information}/0.22.0"
|
170
170
|
add_user_agent_information(sdk_information)
|
171
171
|
end
|
172
172
|
end
|
@@ -0,0 +1,104 @@
|
|
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
|
+
require 'uri'
|
7
|
+
require 'cgi'
|
8
|
+
require 'date'
|
9
|
+
require 'json'
|
10
|
+
require 'base64'
|
11
|
+
require 'erb'
|
12
|
+
require 'securerandom'
|
13
|
+
require 'time'
|
14
|
+
require 'timeliness'
|
15
|
+
require 'faraday'
|
16
|
+
require 'faraday-cookie_jar'
|
17
|
+
require 'concurrent'
|
18
|
+
require 'ms_rest'
|
19
|
+
require '2020-09-01/generated/azure_mgmt_netapp/module_definition'
|
20
|
+
require 'ms_rest_azure'
|
21
|
+
|
22
|
+
module Azure::NetApp::Mgmt::V2020_09_01
|
23
|
+
autoload :Operations, '2020-09-01/generated/azure_mgmt_netapp/operations.rb'
|
24
|
+
autoload :NetAppResource, '2020-09-01/generated/azure_mgmt_netapp/net_app_resource.rb'
|
25
|
+
autoload :Accounts, '2020-09-01/generated/azure_mgmt_netapp/accounts.rb'
|
26
|
+
autoload :Pools, '2020-09-01/generated/azure_mgmt_netapp/pools.rb'
|
27
|
+
autoload :Volumes, '2020-09-01/generated/azure_mgmt_netapp/volumes.rb'
|
28
|
+
autoload :Snapshots, '2020-09-01/generated/azure_mgmt_netapp/snapshots.rb'
|
29
|
+
autoload :SnapshotPolicies, '2020-09-01/generated/azure_mgmt_netapp/snapshot_policies.rb'
|
30
|
+
autoload :AccountBackups, '2020-09-01/generated/azure_mgmt_netapp/account_backups.rb'
|
31
|
+
autoload :Backups, '2020-09-01/generated/azure_mgmt_netapp/backups.rb'
|
32
|
+
autoload :BackupPolicies, '2020-09-01/generated/azure_mgmt_netapp/backup_policies.rb'
|
33
|
+
autoload :Vaults, '2020-09-01/generated/azure_mgmt_netapp/vaults.rb'
|
34
|
+
autoload :AzureNetAppFilesManagementClient, '2020-09-01/generated/azure_mgmt_netapp/azure_net_app_files_management_client.rb'
|
35
|
+
|
36
|
+
module Models
|
37
|
+
autoload :VolumePatchPropertiesDataProtection, '2020-09-01/generated/azure_mgmt_netapp/models/volume_patch_properties_data_protection.rb'
|
38
|
+
autoload :VolumePatch, '2020-09-01/generated/azure_mgmt_netapp/models/volume_patch.rb'
|
39
|
+
autoload :Dimension, '2020-09-01/generated/azure_mgmt_netapp/models/dimension.rb'
|
40
|
+
autoload :MountTarget, '2020-09-01/generated/azure_mgmt_netapp/models/mount_target.rb'
|
41
|
+
autoload :ServiceSpecification, '2020-09-01/generated/azure_mgmt_netapp/models/service_specification.rb'
|
42
|
+
autoload :Snapshot, '2020-09-01/generated/azure_mgmt_netapp/models/snapshot.rb'
|
43
|
+
autoload :OperationListResult, '2020-09-01/generated/azure_mgmt_netapp/models/operation_list_result.rb'
|
44
|
+
autoload :SnapshotsList, '2020-09-01/generated/azure_mgmt_netapp/models/snapshots_list.rb'
|
45
|
+
autoload :ResourceNameAvailabilityRequest, '2020-09-01/generated/azure_mgmt_netapp/models/resource_name_availability_request.rb'
|
46
|
+
autoload :HourlySchedule, '2020-09-01/generated/azure_mgmt_netapp/models/hourly_schedule.rb'
|
47
|
+
autoload :ActiveDirectory, '2020-09-01/generated/azure_mgmt_netapp/models/active_directory.rb'
|
48
|
+
autoload :DailySchedule, '2020-09-01/generated/azure_mgmt_netapp/models/daily_schedule.rb'
|
49
|
+
autoload :NetAppAccountList, '2020-09-01/generated/azure_mgmt_netapp/models/net_app_account_list.rb'
|
50
|
+
autoload :WeeklySchedule, '2020-09-01/generated/azure_mgmt_netapp/models/weekly_schedule.rb'
|
51
|
+
autoload :CapacityPool, '2020-09-01/generated/azure_mgmt_netapp/models/capacity_pool.rb'
|
52
|
+
autoload :MonthlySchedule, '2020-09-01/generated/azure_mgmt_netapp/models/monthly_schedule.rb'
|
53
|
+
autoload :CapacityPoolPatch, '2020-09-01/generated/azure_mgmt_netapp/models/capacity_pool_patch.rb'
|
54
|
+
autoload :SnapshotPolicy, '2020-09-01/generated/azure_mgmt_netapp/models/snapshot_policy.rb'
|
55
|
+
autoload :VolumePropertiesExportPolicy, '2020-09-01/generated/azure_mgmt_netapp/models/volume_properties_export_policy.rb'
|
56
|
+
autoload :SnapshotPoliciesList, '2020-09-01/generated/azure_mgmt_netapp/models/snapshot_policies_list.rb'
|
57
|
+
autoload :VolumeBackupProperties, '2020-09-01/generated/azure_mgmt_netapp/models/volume_backup_properties.rb'
|
58
|
+
autoload :SnapshotPolicyDetails, '2020-09-01/generated/azure_mgmt_netapp/models/snapshot_policy_details.rb'
|
59
|
+
autoload :VolumeSnapshotProperties, '2020-09-01/generated/azure_mgmt_netapp/models/volume_snapshot_properties.rb'
|
60
|
+
autoload :SnapshotPolicyPatch, '2020-09-01/generated/azure_mgmt_netapp/models/snapshot_policy_patch.rb'
|
61
|
+
autoload :Volume, '2020-09-01/generated/azure_mgmt_netapp/models/volume.rb'
|
62
|
+
autoload :SnapshotPolicyVolumeList, '2020-09-01/generated/azure_mgmt_netapp/models/snapshot_policy_volume_list.rb'
|
63
|
+
autoload :ReplicationStatus, '2020-09-01/generated/azure_mgmt_netapp/models/replication_status.rb'
|
64
|
+
autoload :VolumeRevert, '2020-09-01/generated/azure_mgmt_netapp/models/volume_revert.rb'
|
65
|
+
autoload :OperationDisplay, '2020-09-01/generated/azure_mgmt_netapp/models/operation_display.rb'
|
66
|
+
autoload :AuthorizeRequest, '2020-09-01/generated/azure_mgmt_netapp/models/authorize_request.rb'
|
67
|
+
autoload :Operation, '2020-09-01/generated/azure_mgmt_netapp/models/operation.rb'
|
68
|
+
autoload :BreakReplicationRequest, '2020-09-01/generated/azure_mgmt_netapp/models/break_replication_request.rb'
|
69
|
+
autoload :QuotaAvailabilityRequest, '2020-09-01/generated/azure_mgmt_netapp/models/quota_availability_request.rb'
|
70
|
+
autoload :PoolChangeRequest, '2020-09-01/generated/azure_mgmt_netapp/models/pool_change_request.rb'
|
71
|
+
autoload :NetAppAccountPatch, '2020-09-01/generated/azure_mgmt_netapp/models/net_app_account_patch.rb'
|
72
|
+
autoload :Backup, '2020-09-01/generated/azure_mgmt_netapp/models/backup.rb'
|
73
|
+
autoload :ExportPolicyRule, '2020-09-01/generated/azure_mgmt_netapp/models/export_policy_rule.rb'
|
74
|
+
autoload :BackupsList, '2020-09-01/generated/azure_mgmt_netapp/models/backups_list.rb'
|
75
|
+
autoload :ReplicationObject, '2020-09-01/generated/azure_mgmt_netapp/models/replication_object.rb'
|
76
|
+
autoload :BackupPatch, '2020-09-01/generated/azure_mgmt_netapp/models/backup_patch.rb'
|
77
|
+
autoload :VolumeList, '2020-09-01/generated/azure_mgmt_netapp/models/volume_list.rb'
|
78
|
+
autoload :VolumeBackups, '2020-09-01/generated/azure_mgmt_netapp/models/volume_backups.rb'
|
79
|
+
autoload :MetricSpecification, '2020-09-01/generated/azure_mgmt_netapp/models/metric_specification.rb'
|
80
|
+
autoload :BackupPolicy, '2020-09-01/generated/azure_mgmt_netapp/models/backup_policy.rb'
|
81
|
+
autoload :NetAppAccount, '2020-09-01/generated/azure_mgmt_netapp/models/net_app_account.rb'
|
82
|
+
autoload :BackupPoliciesList, '2020-09-01/generated/azure_mgmt_netapp/models/backup_policies_list.rb'
|
83
|
+
autoload :MountTargetProperties, '2020-09-01/generated/azure_mgmt_netapp/models/mount_target_properties.rb'
|
84
|
+
autoload :BackupPolicyDetails, '2020-09-01/generated/azure_mgmt_netapp/models/backup_policy_details.rb'
|
85
|
+
autoload :VolumePatchPropertiesExportPolicy, '2020-09-01/generated/azure_mgmt_netapp/models/volume_patch_properties_export_policy.rb'
|
86
|
+
autoload :BackupPolicyPatch, '2020-09-01/generated/azure_mgmt_netapp/models/backup_policy_patch.rb'
|
87
|
+
autoload :CapacityPoolList, '2020-09-01/generated/azure_mgmt_netapp/models/capacity_pool_list.rb'
|
88
|
+
autoload :Vault, '2020-09-01/generated/azure_mgmt_netapp/models/vault.rb'
|
89
|
+
autoload :CheckAvailabilityResponse, '2020-09-01/generated/azure_mgmt_netapp/models/check_availability_response.rb'
|
90
|
+
autoload :VaultList, '2020-09-01/generated/azure_mgmt_netapp/models/vault_list.rb'
|
91
|
+
autoload :VolumePropertiesDataProtection, '2020-09-01/generated/azure_mgmt_netapp/models/volume_properties_data_protection.rb'
|
92
|
+
autoload :InAvailabilityReasonType, '2020-09-01/generated/azure_mgmt_netapp/models/in_availability_reason_type.rb'
|
93
|
+
autoload :CheckNameResourceTypes, '2020-09-01/generated/azure_mgmt_netapp/models/check_name_resource_types.rb'
|
94
|
+
autoload :CheckQuotaNameResourceTypes, '2020-09-01/generated/azure_mgmt_netapp/models/check_quota_name_resource_types.rb'
|
95
|
+
autoload :ActiveDirectoryStatus, '2020-09-01/generated/azure_mgmt_netapp/models/active_directory_status.rb'
|
96
|
+
autoload :ServiceLevel, '2020-09-01/generated/azure_mgmt_netapp/models/service_level.rb'
|
97
|
+
autoload :QosType, '2020-09-01/generated/azure_mgmt_netapp/models/qos_type.rb'
|
98
|
+
autoload :EndpointType, '2020-09-01/generated/azure_mgmt_netapp/models/endpoint_type.rb'
|
99
|
+
autoload :ReplicationSchedule, '2020-09-01/generated/azure_mgmt_netapp/models/replication_schedule.rb'
|
100
|
+
autoload :SecurityStyle, '2020-09-01/generated/azure_mgmt_netapp/models/security_style.rb'
|
101
|
+
autoload :RelationshipStatus, '2020-09-01/generated/azure_mgmt_netapp/models/relationship_status.rb'
|
102
|
+
autoload :MirrorState, '2020-09-01/generated/azure_mgmt_netapp/models/mirror_state.rb'
|
103
|
+
end
|
104
|
+
end
|
@@ -0,0 +1,373 @@
|
|
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::NetApp::Mgmt::V2020_09_01
|
7
|
+
#
|
8
|
+
# Microsoft NetApp Azure Resource Provider specification
|
9
|
+
#
|
10
|
+
class AccountBackups
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the AccountBackups class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [AzureNetAppFilesManagementClient] reference to the AzureNetAppFilesManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# List Backups for a Netapp Account
|
26
|
+
#
|
27
|
+
# List all Backups for a Netapp Account
|
28
|
+
#
|
29
|
+
# @param resource_group_name [String] The name of the resource group.
|
30
|
+
# @param account_name [String] The name of the NetApp account
|
31
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
32
|
+
# will be added to the HTTP request.
|
33
|
+
#
|
34
|
+
# @return [BackupsList] operation results.
|
35
|
+
#
|
36
|
+
def list(resource_group_name, account_name, custom_headers:nil)
|
37
|
+
response = list_async(resource_group_name, account_name, custom_headers:custom_headers).value!
|
38
|
+
response.body unless response.nil?
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# List Backups for a Netapp Account
|
43
|
+
#
|
44
|
+
# List all Backups for a Netapp Account
|
45
|
+
#
|
46
|
+
# @param resource_group_name [String] The name of the resource group.
|
47
|
+
# @param account_name [String] The name of the NetApp account
|
48
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
|
+
# will be added to the HTTP request.
|
50
|
+
#
|
51
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
52
|
+
#
|
53
|
+
def list_with_http_info(resource_group_name, account_name, custom_headers:nil)
|
54
|
+
list_async(resource_group_name, account_name, custom_headers:custom_headers).value!
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# List Backups for a Netapp Account
|
59
|
+
#
|
60
|
+
# List all Backups for a Netapp Account
|
61
|
+
#
|
62
|
+
# @param resource_group_name [String] The name of the resource group.
|
63
|
+
# @param account_name [String] The name of the NetApp account
|
64
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
65
|
+
# to the HTTP request.
|
66
|
+
#
|
67
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
68
|
+
#
|
69
|
+
def list_async(resource_group_name, account_name, custom_headers:nil)
|
70
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
71
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
72
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
73
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
74
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
75
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
76
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
77
|
+
|
78
|
+
|
79
|
+
request_headers = {}
|
80
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
81
|
+
|
82
|
+
# Set Headers
|
83
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
84
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
85
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/accountBackups'
|
86
|
+
|
87
|
+
request_url = @base_url || @client.base_url
|
88
|
+
|
89
|
+
options = {
|
90
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
91
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name},
|
92
|
+
query_params: {'api-version' => @client.api_version},
|
93
|
+
headers: request_headers.merge(custom_headers || {}),
|
94
|
+
base_url: request_url
|
95
|
+
}
|
96
|
+
promise = @client.make_request_async(:get, path_template, options)
|
97
|
+
|
98
|
+
promise = promise.then do |result|
|
99
|
+
http_response = result.response
|
100
|
+
status_code = http_response.status
|
101
|
+
response_content = http_response.body
|
102
|
+
unless status_code == 200
|
103
|
+
error_model = JSON.load(response_content)
|
104
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
105
|
+
end
|
106
|
+
|
107
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
108
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
109
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
110
|
+
# Deserialize Response
|
111
|
+
if status_code == 200
|
112
|
+
begin
|
113
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
114
|
+
result_mapper = Azure::NetApp::Mgmt::V2020_09_01::Models::BackupsList.mapper()
|
115
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
116
|
+
rescue Exception => e
|
117
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
118
|
+
end
|
119
|
+
end
|
120
|
+
|
121
|
+
result
|
122
|
+
end
|
123
|
+
|
124
|
+
promise.execute
|
125
|
+
end
|
126
|
+
|
127
|
+
#
|
128
|
+
# Get Backup for a Netapp Account
|
129
|
+
#
|
130
|
+
# Get Backup for a Netapp Account
|
131
|
+
#
|
132
|
+
# @param resource_group_name [String] The name of the resource group.
|
133
|
+
# @param account_name [String] The name of the NetApp account
|
134
|
+
# @param backup_name [String] The name of the backup
|
135
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
136
|
+
# will be added to the HTTP request.
|
137
|
+
#
|
138
|
+
# @return [Backup] operation results.
|
139
|
+
#
|
140
|
+
def get(resource_group_name, account_name, backup_name, custom_headers:nil)
|
141
|
+
response = get_async(resource_group_name, account_name, backup_name, custom_headers:custom_headers).value!
|
142
|
+
response.body unless response.nil?
|
143
|
+
end
|
144
|
+
|
145
|
+
#
|
146
|
+
# Get Backup for a Netapp Account
|
147
|
+
#
|
148
|
+
# Get Backup for a Netapp Account
|
149
|
+
#
|
150
|
+
# @param resource_group_name [String] The name of the resource group.
|
151
|
+
# @param account_name [String] The name of the NetApp account
|
152
|
+
# @param backup_name [String] The name of the backup
|
153
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
154
|
+
# will be added to the HTTP request.
|
155
|
+
#
|
156
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
157
|
+
#
|
158
|
+
def get_with_http_info(resource_group_name, account_name, backup_name, custom_headers:nil)
|
159
|
+
get_async(resource_group_name, account_name, backup_name, custom_headers:custom_headers).value!
|
160
|
+
end
|
161
|
+
|
162
|
+
#
|
163
|
+
# Get Backup for a Netapp Account
|
164
|
+
#
|
165
|
+
# Get Backup for a Netapp Account
|
166
|
+
#
|
167
|
+
# @param resource_group_name [String] The name of the resource group.
|
168
|
+
# @param account_name [String] The name of the NetApp account
|
169
|
+
# @param backup_name [String] The name of the backup
|
170
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
171
|
+
# to the HTTP request.
|
172
|
+
#
|
173
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
174
|
+
#
|
175
|
+
def get_async(resource_group_name, account_name, backup_name, custom_headers:nil)
|
176
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
177
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
178
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
179
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
180
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
181
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
182
|
+
fail ArgumentError, 'backup_name is nil' if backup_name.nil?
|
183
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
184
|
+
|
185
|
+
|
186
|
+
request_headers = {}
|
187
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
188
|
+
|
189
|
+
# Set Headers
|
190
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
191
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
192
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/accountBackups/{backupName}'
|
193
|
+
|
194
|
+
request_url = @base_url || @client.base_url
|
195
|
+
|
196
|
+
options = {
|
197
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
198
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'backupName' => backup_name},
|
199
|
+
query_params: {'api-version' => @client.api_version},
|
200
|
+
headers: request_headers.merge(custom_headers || {}),
|
201
|
+
base_url: request_url
|
202
|
+
}
|
203
|
+
promise = @client.make_request_async(:get, path_template, options)
|
204
|
+
|
205
|
+
promise = promise.then do |result|
|
206
|
+
http_response = result.response
|
207
|
+
status_code = http_response.status
|
208
|
+
response_content = http_response.body
|
209
|
+
unless status_code == 200
|
210
|
+
error_model = JSON.load(response_content)
|
211
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
212
|
+
end
|
213
|
+
|
214
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
215
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
216
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
217
|
+
# Deserialize Response
|
218
|
+
if status_code == 200
|
219
|
+
begin
|
220
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
221
|
+
result_mapper = Azure::NetApp::Mgmt::V2020_09_01::Models::Backup.mapper()
|
222
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
223
|
+
rescue Exception => e
|
224
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
225
|
+
end
|
226
|
+
end
|
227
|
+
|
228
|
+
result
|
229
|
+
end
|
230
|
+
|
231
|
+
promise.execute
|
232
|
+
end
|
233
|
+
|
234
|
+
#
|
235
|
+
# Delete Backup for a Netapp Account
|
236
|
+
#
|
237
|
+
# Delete Backup for a Netapp Account
|
238
|
+
#
|
239
|
+
# @param resource_group_name [String] The name of the resource group.
|
240
|
+
# @param account_name [String] The name of the NetApp account
|
241
|
+
# @param backup_name [String] The name of the backup
|
242
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
243
|
+
# will be added to the HTTP request.
|
244
|
+
#
|
245
|
+
def delete(resource_group_name, account_name, backup_name, custom_headers:nil)
|
246
|
+
response = delete_async(resource_group_name, account_name, backup_name, custom_headers:custom_headers).value!
|
247
|
+
nil
|
248
|
+
end
|
249
|
+
|
250
|
+
#
|
251
|
+
# @param resource_group_name [String] The name of the resource group.
|
252
|
+
# @param account_name [String] The name of the NetApp account
|
253
|
+
# @param backup_name [String] The name of the backup
|
254
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
255
|
+
# will be added to the HTTP request.
|
256
|
+
#
|
257
|
+
# @return [Concurrent::Promise] promise which provides async access to http
|
258
|
+
# response.
|
259
|
+
#
|
260
|
+
def delete_async(resource_group_name, account_name, backup_name, custom_headers:nil)
|
261
|
+
# Send request
|
262
|
+
promise = begin_delete_async(resource_group_name, account_name, backup_name, custom_headers:custom_headers)
|
263
|
+
|
264
|
+
promise = promise.then do |response|
|
265
|
+
# Defining deserialization method.
|
266
|
+
deserialize_method = lambda do |parsed_response|
|
267
|
+
end
|
268
|
+
|
269
|
+
# Waiting for response.
|
270
|
+
@client.get_long_running_operation_result(response, deserialize_method)
|
271
|
+
end
|
272
|
+
|
273
|
+
promise
|
274
|
+
end
|
275
|
+
|
276
|
+
#
|
277
|
+
# Delete Backup for a Netapp Account
|
278
|
+
#
|
279
|
+
# Delete Backup for a Netapp Account
|
280
|
+
#
|
281
|
+
# @param resource_group_name [String] The name of the resource group.
|
282
|
+
# @param account_name [String] The name of the NetApp account
|
283
|
+
# @param backup_name [String] The name of the backup
|
284
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
285
|
+
# will be added to the HTTP request.
|
286
|
+
#
|
287
|
+
#
|
288
|
+
def begin_delete(resource_group_name, account_name, backup_name, custom_headers:nil)
|
289
|
+
response = begin_delete_async(resource_group_name, account_name, backup_name, custom_headers:custom_headers).value!
|
290
|
+
nil
|
291
|
+
end
|
292
|
+
|
293
|
+
#
|
294
|
+
# Delete Backup for a Netapp Account
|
295
|
+
#
|
296
|
+
# Delete Backup for a Netapp Account
|
297
|
+
#
|
298
|
+
# @param resource_group_name [String] The name of the resource group.
|
299
|
+
# @param account_name [String] The name of the NetApp account
|
300
|
+
# @param backup_name [String] The name of the backup
|
301
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
302
|
+
# will be added to the HTTP request.
|
303
|
+
#
|
304
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
305
|
+
#
|
306
|
+
def begin_delete_with_http_info(resource_group_name, account_name, backup_name, custom_headers:nil)
|
307
|
+
begin_delete_async(resource_group_name, account_name, backup_name, custom_headers:custom_headers).value!
|
308
|
+
end
|
309
|
+
|
310
|
+
#
|
311
|
+
# Delete Backup for a Netapp Account
|
312
|
+
#
|
313
|
+
# Delete Backup for a Netapp Account
|
314
|
+
#
|
315
|
+
# @param resource_group_name [String] The name of the resource group.
|
316
|
+
# @param account_name [String] The name of the NetApp account
|
317
|
+
# @param backup_name [String] The name of the backup
|
318
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
319
|
+
# to the HTTP request.
|
320
|
+
#
|
321
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
322
|
+
#
|
323
|
+
def begin_delete_async(resource_group_name, account_name, backup_name, custom_headers:nil)
|
324
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
325
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
326
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
327
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
328
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
329
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
330
|
+
fail ArgumentError, 'backup_name is nil' if backup_name.nil?
|
331
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
332
|
+
|
333
|
+
|
334
|
+
request_headers = {}
|
335
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
336
|
+
|
337
|
+
# Set Headers
|
338
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
339
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
340
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.NetApp/netAppAccounts/{accountName}/accountBackups/{backupName}'
|
341
|
+
|
342
|
+
request_url = @base_url || @client.base_url
|
343
|
+
|
344
|
+
options = {
|
345
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
346
|
+
path_params: {'subscriptionId' => @client.subscription_id,'resourceGroupName' => resource_group_name,'accountName' => account_name,'backupName' => backup_name},
|
347
|
+
query_params: {'api-version' => @client.api_version},
|
348
|
+
headers: request_headers.merge(custom_headers || {}),
|
349
|
+
base_url: request_url
|
350
|
+
}
|
351
|
+
promise = @client.make_request_async(:delete, path_template, options)
|
352
|
+
|
353
|
+
promise = promise.then do |result|
|
354
|
+
http_response = result.response
|
355
|
+
status_code = http_response.status
|
356
|
+
response_content = http_response.body
|
357
|
+
unless status_code == 200 || status_code == 202 || status_code == 204
|
358
|
+
error_model = JSON.load(response_content)
|
359
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
360
|
+
end
|
361
|
+
|
362
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
363
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
364
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
365
|
+
|
366
|
+
result
|
367
|
+
end
|
368
|
+
|
369
|
+
promise.execute
|
370
|
+
end
|
371
|
+
|
372
|
+
end
|
373
|
+
end
|