azure_mgmt_devtestlabs 0.15.2 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs.rb +70 -62
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/arm_templates.rb +21 -18
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/artifact_sources.rb +39 -37
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/artifacts.rb +27 -25
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/costs.rb +12 -12
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/custom_images.rb +41 -38
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb +12 -1
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/disks.rb +61 -60
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/environments.rb +41 -38
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/formulas.rb +37 -34
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/gallery_images.rb +15 -13
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/global_schedules.rb +74 -70
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/labs.rb +113 -109
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/cost_threshold_properties.rb +1 -1
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/http_status_code.rb +56 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/identity_properties.rb +1 -1
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_error.rb +57 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_metadata.rb +59 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_metadata_display.rb +80 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_result.rb +82 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/provider_operation_result.rb +101 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/notification_channels.rb +45 -44
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/operations.rb +117 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/policies.rb +39 -37
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/policy_sets.rb +6 -7
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/provider_operations.rb +215 -0
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/schedules.rb +64 -59
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/secrets.rb +33 -30
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/service_runners.rb +33 -30
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/users.rb +43 -41
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_machine_schedules.rb +49 -46
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_machines.rb +113 -110
- data/lib/2016-05-15/generated/azure_mgmt_devtestlabs/virtual_networks.rb +47 -45
- data/lib/profiles/latest/devtestlabs_latest_profile_client.rb +28 -9
- data/lib/profiles/latest/devtestlabs_module_definition.rb +0 -1
- data/lib/profiles/latest/modules/devtestlabs_profile_module.rb +589 -542
- data/lib/version.rb +1 -1
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d033f2d46ca50ee0a7cf70e94527c4858cea633
|
4
|
+
data.tar.gz: f776bc2d1cd765534dd5e440e3a771eb129581ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 926ec0d9e7180e0ad49e39eedea77e4b72798b25e98e5cefa3d400af104ffccaf39b9f9647366ffb2cf884d6d906b302ef5282cf4006c458b344d48878ea41dd
|
7
|
+
data.tar.gz: 224ee0dcdf7f9fbda3cb898c997a9725a84a9df4812533455abebaf1c6f1f9e10004c1515ba1797bf7f93afe33fb243c884f90ab77a94907a530c61c428b0dc1
|
@@ -20,7 +20,9 @@ require '2016-05-15/generated/azure_mgmt_devtestlabs/module_definition'
|
|
20
20
|
require 'ms_rest_azure'
|
21
21
|
|
22
22
|
module Azure::DevTestLabs::Mgmt::V2016_05_15
|
23
|
+
autoload :ProviderOperations, '2016-05-15/generated/azure_mgmt_devtestlabs/provider_operations.rb'
|
23
24
|
autoload :Labs, '2016-05-15/generated/azure_mgmt_devtestlabs/labs.rb'
|
25
|
+
autoload :Operations, '2016-05-15/generated/azure_mgmt_devtestlabs/operations.rb'
|
24
26
|
autoload :GlobalSchedules, '2016-05-15/generated/azure_mgmt_devtestlabs/global_schedules.rb'
|
25
27
|
autoload :ArtifactSources, '2016-05-15/generated/azure_mgmt_devtestlabs/artifact_sources.rb'
|
26
28
|
autoload :ArmTemplates, '2016-05-15/generated/azure_mgmt_devtestlabs/arm_templates.rb'
|
@@ -44,106 +46,111 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
44
46
|
autoload :DevTestLabsClient, '2016-05-15/generated/azure_mgmt_devtestlabs/dev_test_labs_client.rb'
|
45
47
|
|
46
48
|
module Models
|
47
|
-
autoload :
|
48
|
-
autoload :
|
49
|
+
autoload :ExternalSubnetFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/external_subnet_fragment.rb'
|
50
|
+
autoload :GalleryImageReference, '2016-05-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb'
|
51
|
+
autoload :DayDetails, '2016-05-15/generated/azure_mgmt_devtestlabs/models/day_details.rb'
|
52
|
+
autoload :InboundNatRule, '2016-05-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule.rb'
|
53
|
+
autoload :NotificationSettings, '2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_settings.rb'
|
54
|
+
autoload :SharedPublicIpAddressConfiguration, '2016-05-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration.rb'
|
49
55
|
autoload :ExportResourceUsageParameters, '2016-05-15/generated/azure_mgmt_devtestlabs/models/export_resource_usage_parameters.rb'
|
56
|
+
autoload :WeekDetailsFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/week_details_fragment.rb'
|
50
57
|
autoload :ExternalSubnet, '2016-05-15/generated/azure_mgmt_devtestlabs/models/external_subnet.rb'
|
51
|
-
autoload :
|
52
|
-
autoload :
|
53
|
-
autoload :
|
54
|
-
autoload :Event, '2016-05-15/generated/azure_mgmt_devtestlabs/models/event.rb'
|
55
|
-
autoload :DayDetailsFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/day_details_fragment.rb'
|
56
|
-
autoload :EventFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/event_fragment.rb'
|
57
|
-
autoload :NotificationSettingsFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_settings_fragment.rb'
|
58
|
+
autoload :HourDetailsFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/hour_details_fragment.rb'
|
59
|
+
autoload :WeekDetails, '2016-05-15/generated/azure_mgmt_devtestlabs/models/week_details.rb'
|
60
|
+
autoload :UserSecretStore, '2016-05-15/generated/azure_mgmt_devtestlabs/models/user_secret_store.rb'
|
58
61
|
autoload :HourDetails, '2016-05-15/generated/azure_mgmt_devtestlabs/models/hour_details.rb'
|
59
|
-
autoload :ResponseWithContinuationServiceRunner, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_service_runner.rb'
|
60
62
|
autoload :ArtifactParameterProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties.rb'
|
63
|
+
autoload :ArtifactInstallProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties.rb'
|
61
64
|
autoload :ResponseWithContinuationLab, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab.rb'
|
62
|
-
autoload :
|
63
|
-
autoload :
|
64
|
-
autoload :
|
65
|
-
autoload :GalleryImageReference, '2016-05-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference.rb'
|
66
|
-
autoload :ArmTemplateParameterProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties.rb'
|
67
|
-
autoload :InboundNatRule, '2016-05-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule.rb'
|
68
|
-
autoload :ArtifactDeploymentStatusProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb'
|
69
|
-
autoload :SharedPublicIpAddressConfiguration, '2016-05-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration.rb'
|
70
|
-
autoload :ArtifactParameterPropertiesFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties_fragment.rb'
|
65
|
+
autoload :ParametersValueFileInfo, '2016-05-15/generated/azure_mgmt_devtestlabs/models/parameters_value_file_info.rb'
|
66
|
+
autoload :ResponseWithContinuationLabVirtualMachine, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_virtual_machine.rb'
|
67
|
+
autoload :ArmTemplateInfo, '2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb'
|
71
68
|
autoload :NetworkInterfaceProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties.rb'
|
72
69
|
autoload :ResponseWithContinuationUser, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_user.rb'
|
73
70
|
autoload :LabVirtualMachineCreationParameter, '2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine_creation_parameter.rb'
|
74
|
-
autoload :
|
75
|
-
autoload :
|
76
|
-
autoload :
|
71
|
+
autoload :ArtifactDeploymentStatusPropertiesFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties_fragment.rb'
|
72
|
+
autoload :FormulaPropertiesFromVm, '2016-05-15/generated/azure_mgmt_devtestlabs/models/formula_properties_from_vm.rb'
|
73
|
+
autoload :ArtifactInstallPropertiesFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_install_properties_fragment.rb'
|
74
|
+
autoload :ResponseWithContinuationLabVhd, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_lab_vhd.rb'
|
75
|
+
autoload :Subnet, '2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet.rb'
|
77
76
|
autoload :UserSecretStoreFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/user_secret_store_fragment.rb'
|
78
|
-
autoload :
|
79
|
-
autoload :ComputeDataDiskFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk_fragment.rb'
|
77
|
+
autoload :AttachNewDataDiskOptions, '2016-05-15/generated/azure_mgmt_devtestlabs/models/attach_new_data_disk_options.rb'
|
80
78
|
autoload :GalleryImageReferenceFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/gallery_image_reference_fragment.rb'
|
81
|
-
autoload :ComputeVmInstanceViewStatusFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status_fragment.rb'
|
82
79
|
autoload :ParameterInfo, '2016-05-15/generated/azure_mgmt_devtestlabs/models/parameter_info.rb'
|
83
|
-
autoload :
|
80
|
+
autoload :ComputeDataDisk, '2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk.rb'
|
84
81
|
autoload :GenerateArmTemplateRequest, '2016-05-15/generated/azure_mgmt_devtestlabs/models/generate_arm_template_request.rb'
|
85
|
-
autoload :
|
82
|
+
autoload :ComputeVmInstanceViewStatus, '2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status.rb'
|
86
83
|
autoload :GenerateUploadUriParameter, '2016-05-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_parameter.rb'
|
87
|
-
autoload :
|
84
|
+
autoload :ComputeVmProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties.rb'
|
88
85
|
autoload :GenerateUploadUriResponse, '2016-05-15/generated/azure_mgmt_devtestlabs/models/generate_upload_uri_response.rb'
|
89
|
-
autoload :
|
86
|
+
autoload :PercentageCostThresholdProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/percentage_cost_threshold_properties.rb'
|
90
87
|
autoload :IdentityProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/identity_properties.rb'
|
91
|
-
autoload :
|
88
|
+
autoload :WindowsOsInfo, '2016-05-15/generated/azure_mgmt_devtestlabs/models/windows_os_info.rb'
|
92
89
|
autoload :InboundNatRuleFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/inbound_nat_rule_fragment.rb'
|
93
|
-
autoload :
|
94
|
-
autoload :
|
95
|
-
autoload :
|
90
|
+
autoload :CustomImagePropertiesFromVm, '2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_from_vm.rb'
|
91
|
+
autoload :UserIdentityFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/user_identity_fragment.rb'
|
92
|
+
autoload :ResponseWithContinuationSchedule, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_schedule.rb'
|
96
93
|
autoload :TargetCostProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/target_cost_properties.rb'
|
97
|
-
autoload :
|
94
|
+
autoload :DetachDataDiskProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/detach_data_disk_properties.rb'
|
98
95
|
autoload :LabCostSummaryProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost_summary_properties.rb'
|
99
|
-
autoload :
|
96
|
+
autoload :ResponseWithContinuationPolicy, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_policy.rb'
|
100
97
|
autoload :LabCostDetailsProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_cost_details_properties.rb'
|
101
|
-
autoload :
|
98
|
+
autoload :ResponseWithContinuationNotificationChannel, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_notification_channel.rb'
|
102
99
|
autoload :LabResourceCostProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_resource_cost_properties.rb'
|
103
|
-
autoload :
|
100
|
+
autoload :EvaluatePoliciesRequest, '2016-05-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_request.rb'
|
101
|
+
autoload :SubnetOverrideFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_override_fragment.rb'
|
102
|
+
autoload :PolicySetResult, '2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_set_result.rb'
|
104
103
|
autoload :SubnetSharedPublicIpAddressConfigurationFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration_fragment.rb'
|
105
|
-
autoload :
|
106
|
-
autoload :SubnetFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_fragment.rb'
|
107
|
-
autoload :ResponseWithContinuationSecret, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_secret.rb'
|
104
|
+
autoload :Event, '2016-05-15/generated/azure_mgmt_devtestlabs/models/event.rb'
|
108
105
|
autoload :LabVhd, '2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_vhd.rb'
|
109
|
-
autoload :
|
110
|
-
autoload :
|
111
|
-
autoload :
|
106
|
+
autoload :DayDetailsFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/day_details_fragment.rb'
|
107
|
+
autoload :SubnetFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_fragment.rb'
|
108
|
+
autoload :UserIdentity, '2016-05-15/generated/azure_mgmt_devtestlabs/models/user_identity.rb'
|
112
109
|
autoload :SharedPublicIpAddressConfigurationFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/shared_public_ip_address_configuration_fragment.rb'
|
113
|
-
autoload :
|
110
|
+
autoload :ResponseWithContinuationServiceRunner, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_service_runner.rb'
|
114
111
|
autoload :NetworkInterfacePropertiesFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/network_interface_properties_fragment.rb'
|
115
|
-
autoload :
|
112
|
+
autoload :ArtifactDeploymentStatusProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_deployment_status_properties.rb'
|
113
|
+
autoload :ShutdownNotificationContent, '2016-05-15/generated/azure_mgmt_devtestlabs/models/shutdown_notification_content.rb'
|
114
|
+
autoload :ResponseWithContinuationSecret, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_secret.rb'
|
116
115
|
autoload :RetargetScheduleProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/retarget_schedule_properties.rb'
|
117
|
-
autoload :
|
116
|
+
autoload :BulkCreationParameters, '2016-05-15/generated/azure_mgmt_devtestlabs/models/bulk_creation_parameters.rb'
|
118
117
|
autoload :ResponseWithContinuationVirtualNetwork, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_virtual_network.rb'
|
119
|
-
autoload :
|
120
|
-
autoload :SubnetOverride, '2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_override.rb'
|
121
|
-
autoload :ResponseWithContinuationNotificationChannel, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_notification_channel.rb'
|
118
|
+
autoload :ComputeDataDiskFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_data_disk_fragment.rb'
|
122
119
|
autoload :NotifyParameters, '2016-05-15/generated/azure_mgmt_devtestlabs/models/notify_parameters.rb'
|
123
|
-
autoload :
|
120
|
+
autoload :ComputeVmPropertiesFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_properties_fragment.rb'
|
121
|
+
autoload :OperationError, '2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_error.rb'
|
122
|
+
autoload :LinuxOsInfo, '2016-05-15/generated/azure_mgmt_devtestlabs/models/linux_os_info.rb'
|
123
|
+
autoload :OperationMetadataDisplay, '2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_metadata_display.rb'
|
124
|
+
autoload :DataDiskProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/data_disk_properties.rb'
|
125
|
+
autoload :OperationMetadata, '2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_metadata.rb'
|
126
|
+
autoload :EnvironmentDeploymentProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/environment_deployment_properties.rb'
|
127
|
+
autoload :OperationResult, '2016-05-15/generated/azure_mgmt_devtestlabs/models/operation_result.rb'
|
128
|
+
autoload :PolicyViolation, '2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_violation.rb'
|
129
|
+
autoload :SubnetOverride, '2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_override.rb'
|
130
|
+
autoload :EventFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/event_fragment.rb'
|
124
131
|
autoload :SubnetSharedPublicIpAddressConfiguration, '2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet_shared_public_ip_address_configuration.rb'
|
125
|
-
autoload :
|
126
|
-
autoload :Subnet, '2016-05-15/generated/azure_mgmt_devtestlabs/models/subnet.rb'
|
127
|
-
autoload :ArmTemplateInfo, '2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template_info.rb'
|
132
|
+
autoload :ApplyArtifactsRequest, '2016-05-15/generated/azure_mgmt_devtestlabs/models/apply_artifacts_request.rb'
|
128
133
|
autoload :Port, '2016-05-15/generated/azure_mgmt_devtestlabs/models/port.rb'
|
129
|
-
autoload :
|
134
|
+
autoload :ArtifactParameterPropertiesFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/artifact_parameter_properties_fragment.rb'
|
130
135
|
autoload :PortFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/port_fragment.rb'
|
131
|
-
autoload :
|
136
|
+
autoload :ProviderOperationResult, '2016-05-15/generated/azure_mgmt_devtestlabs/models/provider_operation_result.rb'
|
137
|
+
autoload :CostThresholdProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/cost_threshold_properties.rb'
|
132
138
|
autoload :Resource, '2016-05-15/generated/azure_mgmt_devtestlabs/models/resource.rb'
|
133
|
-
autoload :
|
139
|
+
autoload :DetachDiskProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/detach_disk_properties.rb'
|
134
140
|
autoload :ResponseWithContinuationArmTemplate, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_arm_template.rb'
|
135
|
-
autoload :
|
141
|
+
autoload :EvaluatePoliciesResponse, '2016-05-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_response.rb'
|
136
142
|
autoload :ResponseWithContinuationArtifact, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact.rb'
|
137
|
-
autoload :
|
143
|
+
autoload :ArmTemplateParameterProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/arm_template_parameter_properties.rb'
|
138
144
|
autoload :ResponseWithContinuationArtifactSource, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_artifact_source.rb'
|
145
|
+
autoload :ComputeVmInstanceViewStatusFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/compute_vm_instance_view_status_fragment.rb'
|
139
146
|
autoload :ResponseWithContinuationCustomImage, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_custom_image.rb'
|
140
|
-
autoload :
|
147
|
+
autoload :EvaluatePoliciesProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/evaluate_policies_properties.rb'
|
141
148
|
autoload :ResponseWithContinuationDisk, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_disk.rb'
|
142
|
-
autoload :
|
149
|
+
autoload :AttachDiskProperties, '2016-05-15/generated/azure_mgmt_devtestlabs/models/attach_disk_properties.rb'
|
143
150
|
autoload :ResponseWithContinuationDtlEnvironment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_dtl_environment.rb'
|
144
|
-
autoload :
|
151
|
+
autoload :NotificationSettingsFragment, '2016-05-15/generated/azure_mgmt_devtestlabs/models/notification_settings_fragment.rb'
|
145
152
|
autoload :ResponseWithContinuationFormula, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_formula.rb'
|
146
|
-
autoload :
|
153
|
+
autoload :CustomImagePropertiesCustom, '2016-05-15/generated/azure_mgmt_devtestlabs/models/custom_image_properties_custom.rb'
|
147
154
|
autoload :ResponseWithContinuationGalleryImage, '2016-05-15/generated/azure_mgmt_devtestlabs/models/response_with_continuation_gallery_image.rb'
|
148
155
|
autoload :Schedule, '2016-05-15/generated/azure_mgmt_devtestlabs/models/schedule.rb'
|
149
156
|
autoload :ApplicableSchedule, '2016-05-15/generated/azure_mgmt_devtestlabs/models/applicable_schedule.rb'
|
@@ -190,6 +197,7 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
190
197
|
autoload :TargetCostStatus, '2016-05-15/generated/azure_mgmt_devtestlabs/models/target_cost_status.rb'
|
191
198
|
autoload :ReportingCycleType, '2016-05-15/generated/azure_mgmt_devtestlabs/models/reporting_cycle_type.rb'
|
192
199
|
autoload :CostType, '2016-05-15/generated/azure_mgmt_devtestlabs/models/cost_type.rb'
|
200
|
+
autoload :HttpStatusCode, '2016-05-15/generated/azure_mgmt_devtestlabs/models/http_status_code.rb'
|
193
201
|
autoload :PolicyStatus, '2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_status.rb'
|
194
202
|
autoload :PolicyFactName, '2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_fact_name.rb'
|
195
203
|
autoload :PolicyEvaluatorType, '2016-05-15/generated/azure_mgmt_devtestlabs/models/policy_evaluator_type.rb'
|
@@ -39,8 +39,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
39
39
|
#
|
40
40
|
# @return [Array<ArmTemplate>] operation results.
|
41
41
|
#
|
42
|
-
def list(resource_group_name, lab_name, artifact_source_name, expand
|
43
|
-
first_page = list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers)
|
42
|
+
def list(resource_group_name, lab_name, artifact_source_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil)
|
43
|
+
first_page = list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers)
|
44
44
|
first_page.get_all_items
|
45
45
|
end
|
46
46
|
|
@@ -62,8 +62,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
62
62
|
#
|
63
63
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
64
64
|
#
|
65
|
-
def list_with_http_info(resource_group_name, lab_name, artifact_source_name, expand
|
66
|
-
list_async(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers).value!
|
65
|
+
def list_with_http_info(resource_group_name, lab_name, artifact_source_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil)
|
66
|
+
list_async(resource_group_name, lab_name, artifact_source_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value!
|
67
67
|
end
|
68
68
|
|
69
69
|
#
|
@@ -84,7 +84,7 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
84
84
|
#
|
85
85
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
86
86
|
#
|
87
|
-
def list_async(resource_group_name, lab_name, artifact_source_name, expand
|
87
|
+
def list_async(resource_group_name, lab_name, artifact_source_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil)
|
88
88
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
89
89
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
90
90
|
fail ArgumentError, 'lab_name is nil' if lab_name.nil?
|
@@ -93,6 +93,7 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
93
93
|
|
94
94
|
|
95
95
|
request_headers = {}
|
96
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
96
97
|
|
97
98
|
# Set Headers
|
98
99
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -151,8 +152,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
151
152
|
#
|
152
153
|
# @return [ArmTemplate] operation results.
|
153
154
|
#
|
154
|
-
def get(resource_group_name, lab_name, artifact_source_name, name, expand
|
155
|
-
response = get_async(resource_group_name, lab_name, artifact_source_name, name, expand, custom_headers).value!
|
155
|
+
def get(resource_group_name, lab_name, artifact_source_name, name, expand:nil, custom_headers:nil)
|
156
|
+
response = get_async(resource_group_name, lab_name, artifact_source_name, name, expand:expand, custom_headers:custom_headers).value!
|
156
157
|
response.body unless response.nil?
|
157
158
|
end
|
158
159
|
|
@@ -170,8 +171,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
170
171
|
#
|
171
172
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
172
173
|
#
|
173
|
-
def get_with_http_info(resource_group_name, lab_name, artifact_source_name, name, expand
|
174
|
-
get_async(resource_group_name, lab_name, artifact_source_name, name, expand, custom_headers).value!
|
174
|
+
def get_with_http_info(resource_group_name, lab_name, artifact_source_name, name, expand:nil, custom_headers:nil)
|
175
|
+
get_async(resource_group_name, lab_name, artifact_source_name, name, expand:expand, custom_headers:custom_headers).value!
|
175
176
|
end
|
176
177
|
|
177
178
|
#
|
@@ -188,7 +189,7 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
188
189
|
#
|
189
190
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
190
191
|
#
|
191
|
-
def get_async(resource_group_name, lab_name, artifact_source_name, name, expand
|
192
|
+
def get_async(resource_group_name, lab_name, artifact_source_name, name, expand:nil, custom_headers:nil)
|
192
193
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
193
194
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
194
195
|
fail ArgumentError, 'lab_name is nil' if lab_name.nil?
|
@@ -198,6 +199,7 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
198
199
|
|
199
200
|
|
200
201
|
request_headers = {}
|
202
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
201
203
|
|
202
204
|
# Set Headers
|
203
205
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -252,8 +254,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
252
254
|
#
|
253
255
|
# @return [ResponseWithContinuationArmTemplate] operation results.
|
254
256
|
#
|
255
|
-
def list_next(next_page_link, custom_headers
|
256
|
-
response = list_next_async(next_page_link, custom_headers).value!
|
257
|
+
def list_next(next_page_link, custom_headers:nil)
|
258
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
257
259
|
response.body unless response.nil?
|
258
260
|
end
|
259
261
|
|
@@ -267,8 +269,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
267
269
|
#
|
268
270
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
269
271
|
#
|
270
|
-
def list_next_with_http_info(next_page_link, custom_headers
|
271
|
-
list_next_async(next_page_link, custom_headers).value!
|
272
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
273
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
272
274
|
end
|
273
275
|
|
274
276
|
#
|
@@ -281,11 +283,12 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
281
283
|
#
|
282
284
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
283
285
|
#
|
284
|
-
def list_next_async(next_page_link, custom_headers
|
286
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
285
287
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
286
288
|
|
287
289
|
|
288
290
|
request_headers = {}
|
291
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
289
292
|
|
290
293
|
# Set Headers
|
291
294
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -348,12 +351,12 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
348
351
|
# @return [ResponseWithContinuationArmTemplate] which provide lazy access to
|
349
352
|
# pages of the response.
|
350
353
|
#
|
351
|
-
def list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand
|
352
|
-
response = list_async(resource_group_name, lab_name, artifact_source_name, expand, filter, top, orderby, custom_headers).value!
|
354
|
+
def list_as_lazy(resource_group_name, lab_name, artifact_source_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil)
|
355
|
+
response = list_async(resource_group_name, lab_name, artifact_source_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value!
|
353
356
|
unless response.nil?
|
354
357
|
page = response.body
|
355
358
|
page.next_method = Proc.new do |next_page_link|
|
356
|
-
list_next_async(next_page_link, custom_headers)
|
359
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
357
360
|
end
|
358
361
|
page
|
359
362
|
end
|
@@ -38,8 +38,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
38
38
|
#
|
39
39
|
# @return [Array<ArtifactSource>] operation results.
|
40
40
|
#
|
41
|
-
def list(resource_group_name, lab_name, expand
|
42
|
-
first_page = list_as_lazy(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers)
|
41
|
+
def list(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil)
|
42
|
+
first_page = list_as_lazy(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers)
|
43
43
|
first_page.get_all_items
|
44
44
|
end
|
45
45
|
|
@@ -60,8 +60,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
60
60
|
#
|
61
61
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
62
62
|
#
|
63
|
-
def list_with_http_info(resource_group_name, lab_name, expand
|
64
|
-
list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value!
|
63
|
+
def list_with_http_info(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil)
|
64
|
+
list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value!
|
65
65
|
end
|
66
66
|
|
67
67
|
#
|
@@ -81,7 +81,7 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
81
81
|
#
|
82
82
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
83
83
|
#
|
84
|
-
def list_async(resource_group_name, lab_name, expand
|
84
|
+
def list_async(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil)
|
85
85
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
86
86
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
87
87
|
fail ArgumentError, 'lab_name is nil' if lab_name.nil?
|
@@ -89,6 +89,7 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
89
89
|
|
90
90
|
|
91
91
|
request_headers = {}
|
92
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
92
93
|
|
93
94
|
# Set Headers
|
94
95
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -146,8 +147,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
146
147
|
#
|
147
148
|
# @return [ArtifactSource] operation results.
|
148
149
|
#
|
149
|
-
def get(resource_group_name, lab_name, name, expand
|
150
|
-
response = get_async(resource_group_name, lab_name, name, expand, custom_headers).value!
|
150
|
+
def get(resource_group_name, lab_name, name, expand:nil, custom_headers:nil)
|
151
|
+
response = get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value!
|
151
152
|
response.body unless response.nil?
|
152
153
|
end
|
153
154
|
|
@@ -164,8 +165,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
164
165
|
#
|
165
166
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
166
167
|
#
|
167
|
-
def get_with_http_info(resource_group_name, lab_name, name, expand
|
168
|
-
get_async(resource_group_name, lab_name, name, expand, custom_headers).value!
|
168
|
+
def get_with_http_info(resource_group_name, lab_name, name, expand:nil, custom_headers:nil)
|
169
|
+
get_async(resource_group_name, lab_name, name, expand:expand, custom_headers:custom_headers).value!
|
169
170
|
end
|
170
171
|
|
171
172
|
#
|
@@ -181,7 +182,7 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
181
182
|
#
|
182
183
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
183
184
|
#
|
184
|
-
def get_async(resource_group_name, lab_name, name, expand
|
185
|
+
def get_async(resource_group_name, lab_name, name, expand:nil, custom_headers:nil)
|
185
186
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
186
187
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
187
188
|
fail ArgumentError, 'lab_name is nil' if lab_name.nil?
|
@@ -190,6 +191,7 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
190
191
|
|
191
192
|
|
192
193
|
request_headers = {}
|
194
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
193
195
|
|
194
196
|
# Set Headers
|
195
197
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -246,8 +248,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
246
248
|
#
|
247
249
|
# @return [ArtifactSource] operation results.
|
248
250
|
#
|
249
|
-
def create_or_update(resource_group_name, lab_name, name, artifact_source, custom_headers
|
250
|
-
response = create_or_update_async(resource_group_name, lab_name, name, artifact_source, custom_headers).value!
|
251
|
+
def create_or_update(resource_group_name, lab_name, name, artifact_source, custom_headers:nil)
|
252
|
+
response = create_or_update_async(resource_group_name, lab_name, name, artifact_source, custom_headers:custom_headers).value!
|
251
253
|
response.body unless response.nil?
|
252
254
|
end
|
253
255
|
|
@@ -263,8 +265,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
263
265
|
#
|
264
266
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
265
267
|
#
|
266
|
-
def create_or_update_with_http_info(resource_group_name, lab_name, name, artifact_source, custom_headers
|
267
|
-
create_or_update_async(resource_group_name, lab_name, name, artifact_source, custom_headers).value!
|
268
|
+
def create_or_update_with_http_info(resource_group_name, lab_name, name, artifact_source, custom_headers:nil)
|
269
|
+
create_or_update_async(resource_group_name, lab_name, name, artifact_source, custom_headers:custom_headers).value!
|
268
270
|
end
|
269
271
|
|
270
272
|
#
|
@@ -279,7 +281,7 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
279
281
|
#
|
280
282
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
281
283
|
#
|
282
|
-
def create_or_update_async(resource_group_name, lab_name, name, artifact_source, custom_headers
|
284
|
+
def create_or_update_async(resource_group_name, lab_name, name, artifact_source, custom_headers:nil)
|
283
285
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
284
286
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
285
287
|
fail ArgumentError, 'lab_name is nil' if lab_name.nil?
|
@@ -289,13 +291,12 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
289
291
|
|
290
292
|
|
291
293
|
request_headers = {}
|
294
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
292
295
|
|
293
296
|
# Set Headers
|
294
297
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
295
298
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
296
299
|
|
297
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
298
|
-
|
299
300
|
# Serialize Request
|
300
301
|
request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSource.mapper()
|
301
302
|
request_content = @client.serialize(request_mapper, artifact_source)
|
@@ -362,8 +363,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
362
363
|
# will be added to the HTTP request.
|
363
364
|
#
|
364
365
|
#
|
365
|
-
def delete(resource_group_name, lab_name, name, custom_headers
|
366
|
-
response = delete_async(resource_group_name, lab_name, name, custom_headers).value!
|
366
|
+
def delete(resource_group_name, lab_name, name, custom_headers:nil)
|
367
|
+
response = delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value!
|
367
368
|
nil
|
368
369
|
end
|
369
370
|
|
@@ -378,8 +379,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
378
379
|
#
|
379
380
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
380
381
|
#
|
381
|
-
def delete_with_http_info(resource_group_name, lab_name, name, custom_headers
|
382
|
-
delete_async(resource_group_name, lab_name, name, custom_headers).value!
|
382
|
+
def delete_with_http_info(resource_group_name, lab_name, name, custom_headers:nil)
|
383
|
+
delete_async(resource_group_name, lab_name, name, custom_headers:custom_headers).value!
|
383
384
|
end
|
384
385
|
|
385
386
|
#
|
@@ -393,7 +394,7 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
393
394
|
#
|
394
395
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
395
396
|
#
|
396
|
-
def delete_async(resource_group_name, lab_name, name, custom_headers
|
397
|
+
def delete_async(resource_group_name, lab_name, name, custom_headers:nil)
|
397
398
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
398
399
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
399
400
|
fail ArgumentError, 'lab_name is nil' if lab_name.nil?
|
@@ -402,6 +403,7 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
402
403
|
|
403
404
|
|
404
405
|
request_headers = {}
|
406
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
405
407
|
|
406
408
|
# Set Headers
|
407
409
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -449,8 +451,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
449
451
|
#
|
450
452
|
# @return [ArtifactSource] operation results.
|
451
453
|
#
|
452
|
-
def update(resource_group_name, lab_name, name, artifact_source, custom_headers
|
453
|
-
response = update_async(resource_group_name, lab_name, name, artifact_source, custom_headers).value!
|
454
|
+
def update(resource_group_name, lab_name, name, artifact_source, custom_headers:nil)
|
455
|
+
response = update_async(resource_group_name, lab_name, name, artifact_source, custom_headers:custom_headers).value!
|
454
456
|
response.body unless response.nil?
|
455
457
|
end
|
456
458
|
|
@@ -467,8 +469,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
467
469
|
#
|
468
470
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
469
471
|
#
|
470
|
-
def update_with_http_info(resource_group_name, lab_name, name, artifact_source, custom_headers
|
471
|
-
update_async(resource_group_name, lab_name, name, artifact_source, custom_headers).value!
|
472
|
+
def update_with_http_info(resource_group_name, lab_name, name, artifact_source, custom_headers:nil)
|
473
|
+
update_async(resource_group_name, lab_name, name, artifact_source, custom_headers:custom_headers).value!
|
472
474
|
end
|
473
475
|
|
474
476
|
#
|
@@ -484,7 +486,7 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
484
486
|
#
|
485
487
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
486
488
|
#
|
487
|
-
def update_async(resource_group_name, lab_name, name, artifact_source, custom_headers
|
489
|
+
def update_async(resource_group_name, lab_name, name, artifact_source, custom_headers:nil)
|
488
490
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
489
491
|
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
490
492
|
fail ArgumentError, 'lab_name is nil' if lab_name.nil?
|
@@ -494,13 +496,12 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
494
496
|
|
495
497
|
|
496
498
|
request_headers = {}
|
499
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
497
500
|
|
498
501
|
# Set Headers
|
499
502
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
500
503
|
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
501
504
|
|
502
|
-
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
503
|
-
|
504
505
|
# Serialize Request
|
505
506
|
request_mapper = Azure::DevTestLabs::Mgmt::V2016_05_15::Models::ArtifactSourceFragment.mapper()
|
506
507
|
request_content = @client.serialize(request_mapper, artifact_source)
|
@@ -557,8 +558,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
557
558
|
#
|
558
559
|
# @return [ResponseWithContinuationArtifactSource] operation results.
|
559
560
|
#
|
560
|
-
def list_next(next_page_link, custom_headers
|
561
|
-
response = list_next_async(next_page_link, custom_headers).value!
|
561
|
+
def list_next(next_page_link, custom_headers:nil)
|
562
|
+
response = list_next_async(next_page_link, custom_headers:custom_headers).value!
|
562
563
|
response.body unless response.nil?
|
563
564
|
end
|
564
565
|
|
@@ -572,8 +573,8 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
572
573
|
#
|
573
574
|
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
574
575
|
#
|
575
|
-
def list_next_with_http_info(next_page_link, custom_headers
|
576
|
-
list_next_async(next_page_link, custom_headers).value!
|
576
|
+
def list_next_with_http_info(next_page_link, custom_headers:nil)
|
577
|
+
list_next_async(next_page_link, custom_headers:custom_headers).value!
|
577
578
|
end
|
578
579
|
|
579
580
|
#
|
@@ -586,11 +587,12 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
586
587
|
#
|
587
588
|
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
588
589
|
#
|
589
|
-
def list_next_async(next_page_link, custom_headers
|
590
|
+
def list_next_async(next_page_link, custom_headers:nil)
|
590
591
|
fail ArgumentError, 'next_page_link is nil' if next_page_link.nil?
|
591
592
|
|
592
593
|
|
593
594
|
request_headers = {}
|
595
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
594
596
|
|
595
597
|
# Set Headers
|
596
598
|
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
@@ -652,12 +654,12 @@ module Azure::DevTestLabs::Mgmt::V2016_05_15
|
|
652
654
|
# @return [ResponseWithContinuationArtifactSource] which provide lazy access to
|
653
655
|
# pages of the response.
|
654
656
|
#
|
655
|
-
def list_as_lazy(resource_group_name, lab_name, expand
|
656
|
-
response = list_async(resource_group_name, lab_name, expand, filter, top, orderby, custom_headers).value!
|
657
|
+
def list_as_lazy(resource_group_name, lab_name, expand:nil, filter:nil, top:nil, orderby:nil, custom_headers:nil)
|
658
|
+
response = list_async(resource_group_name, lab_name, expand:expand, filter:filter, top:top, orderby:orderby, custom_headers:custom_headers).value!
|
657
659
|
unless response.nil?
|
658
660
|
page = response.body
|
659
661
|
page.next_method = Proc.new do |next_page_link|
|
660
|
-
list_next_async(next_page_link, custom_headers)
|
662
|
+
list_next_async(next_page_link, custom_headers:custom_headers)
|
661
663
|
end
|
662
664
|
page
|
663
665
|
end
|