pulpcore_client 3.80.2 → 3.82.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/docs/AccessPoliciesApi.md +28 -12
- data/docs/ArtifactDistributionResponse.md +13 -13
- data/docs/ArtifactsApi.md +14 -4
- data/docs/ContentApi.md +2 -0
- data/docs/ContentOpenpgpPublickeyApi.md +22 -8
- data/docs/ContentOpenpgpPublicsubkeyApi.md +20 -8
- data/docs/ContentOpenpgpSignatureApi.md +20 -8
- data/docs/ContentOpenpgpUserattributeApi.md +20 -8
- data/docs/ContentOpenpgpUseridApi.md +20 -8
- data/docs/ContentguardsApi.md +2 -0
- data/docs/ContentguardsCompositeApi.md +56 -24
- data/docs/ContentguardsContentRedirectApi.md +56 -24
- data/docs/ContentguardsHeaderApi.md +56 -24
- data/docs/ContentguardsRbacApi.md +56 -24
- data/docs/DistributionsApi.md +2 -0
- data/docs/DistributionsArtifactsApi.md +4 -0
- data/docs/DistributionsOpenpgpApi.md +52 -24
- data/docs/DomainsApi.md +60 -28
- data/docs/ExportersFilesystemApi.md +36 -16
- data/docs/ExportersFilesystemExportsApi.md +20 -8
- data/docs/ExportersPulpApi.md +36 -16
- data/docs/ExportersPulpExportsApi.md +20 -8
- data/docs/GroupsApi.md +56 -24
- data/docs/GroupsRolesApi.md +20 -8
- data/docs/GroupsUsersApi.md +18 -8
- data/docs/ImportersPulpApi.md +36 -16
- data/docs/ImportersPulpImportCheckApi.md +8 -4
- data/docs/ImportersPulpImportsApi.md +20 -8
- data/docs/LivezApi.md +14 -5
- data/docs/LoginApi.md +34 -15
- data/docs/OrphansApi.md +10 -5
- data/docs/OrphansCleanupApi.md +8 -4
- data/docs/PublicationsApi.md +2 -0
- data/docs/RemotesApi.md +2 -0
- data/docs/RepairApi.md +8 -4
- data/docs/RepositoriesApi.md +2 -0
- data/docs/RepositoriesOpenpgpKeyringApi.md +80 -36
- data/docs/RepositoriesReclaimSpaceApi.md +8 -4
- data/docs/RepositoryVersionsApi.md +2 -0
- data/docs/RolesApi.md +36 -16
- data/docs/SigningServicesApi.md +4 -0
- data/docs/StatusApi.md +14 -5
- data/docs/TaskGroupsApi.md +12 -4
- data/docs/TaskSchedulesApi.md +24 -8
- data/docs/TasksApi.md +52 -22
- data/docs/UploadsApi.md +50 -20
- data/docs/UpstreamPulpsApi.md +64 -28
- data/docs/UsersApi.md +36 -16
- data/docs/UsersRolesApi.md +20 -8
- data/docs/WorkersApi.md +4 -0
- data/lib/pulpcore_client/api/access_policies_api.rb +15 -0
- data/lib/pulpcore_client/api/artifacts_api.rb +12 -0
- data/lib/pulpcore_client/api/content_api.rb +3 -0
- data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +15 -0
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +12 -0
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +12 -0
- data/lib/pulpcore_client/api/contentguards_api.rb +3 -0
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_header_api.rb +30 -0
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +30 -0
- data/lib/pulpcore_client/api/distributions_api.rb +3 -0
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +6 -0
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +24 -0
- data/lib/pulpcore_client/api/domains_api.rb +27 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +12 -0
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +18 -0
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +12 -0
- data/lib/pulpcore_client/api/groups_api.rb +30 -0
- data/lib/pulpcore_client/api/groups_roles_api.rb +12 -0
- data/lib/pulpcore_client/api/groups_users_api.rb +9 -0
- data/lib/pulpcore_client/api/importers_pulp_api.rb +18 -0
- data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +3 -0
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +12 -0
- data/lib/pulpcore_client/api/livez_api.rb +9 -0
- data/lib/pulpcore_client/api/login_api.rb +15 -0
- data/lib/pulpcore_client/api/orphans_api.rb +3 -0
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +3 -0
- data/lib/pulpcore_client/api/publications_api.rb +3 -0
- data/lib/pulpcore_client/api/remotes_api.rb +3 -0
- data/lib/pulpcore_client/api/repair_api.rb +3 -0
- data/lib/pulpcore_client/api/repositories_api.rb +3 -0
- data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +39 -0
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +3 -0
- data/lib/pulpcore_client/api/repository_versions_api.rb +3 -0
- data/lib/pulpcore_client/api/roles_api.rb +18 -0
- data/lib/pulpcore_client/api/signing_services_api.rb +6 -0
- data/lib/pulpcore_client/api/status_api.rb +9 -0
- data/lib/pulpcore_client/api/task_groups_api.rb +9 -0
- data/lib/pulpcore_client/api/task_schedules_api.rb +18 -0
- data/lib/pulpcore_client/api/tasks_api.rb +33 -3
- data/lib/pulpcore_client/api/uploads_api.rb +30 -0
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +33 -0
- data/lib/pulpcore_client/api/users_api.rb +18 -0
- data/lib/pulpcore_client/api/users_roles_api.rb +12 -0
- data/lib/pulpcore_client/api/workers_api.rb +6 -0
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +61 -61
- data/lib/pulpcore_client/models/composite_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/composite_content_guard_response.rb +1 -1
- data/lib/pulpcore_client/models/content_guard_response.rb +1 -1
- data/lib/pulpcore_client/models/patched_composite_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/rbac_content_guard.rb +1 -1
- data/lib/pulpcore_client/models/rbac_content_guard_response.rb +1 -1
- data/lib/pulpcore_client/version.rb +1 -1
- data/spec/api/access_policies_api_spec.rb +5 -0
- data/spec/api/artifacts_api_spec.rb +4 -0
- data/spec/api/content_api_spec.rb +1 -0
- data/spec/api/content_openpgp_publickey_api_spec.rb +5 -0
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +4 -0
- data/spec/api/content_openpgp_signature_api_spec.rb +4 -0
- data/spec/api/content_openpgp_userattribute_api_spec.rb +4 -0
- data/spec/api/content_openpgp_userid_api_spec.rb +4 -0
- data/spec/api/contentguards_api_spec.rb +1 -0
- data/spec/api/contentguards_composite_api_spec.rb +10 -0
- data/spec/api/contentguards_content_redirect_api_spec.rb +10 -0
- data/spec/api/contentguards_header_api_spec.rb +10 -0
- data/spec/api/contentguards_rbac_api_spec.rb +10 -0
- data/spec/api/distributions_api_spec.rb +1 -0
- data/spec/api/distributions_artifacts_api_spec.rb +2 -0
- data/spec/api/distributions_openpgp_api_spec.rb +8 -0
- data/spec/api/domains_api_spec.rb +9 -0
- data/spec/api/exporters_filesystem_api_spec.rb +6 -0
- data/spec/api/exporters_filesystem_exports_api_spec.rb +4 -0
- data/spec/api/exporters_pulp_api_spec.rb +6 -0
- data/spec/api/exporters_pulp_exports_api_spec.rb +4 -0
- data/spec/api/groups_api_spec.rb +10 -0
- data/spec/api/groups_roles_api_spec.rb +4 -0
- data/spec/api/groups_users_api_spec.rb +3 -0
- data/spec/api/importers_pulp_api_spec.rb +6 -0
- data/spec/api/importers_pulp_import_check_api_spec.rb +1 -0
- data/spec/api/importers_pulp_imports_api_spec.rb +4 -0
- data/spec/api/livez_api_spec.rb +3 -0
- data/spec/api/login_api_spec.rb +5 -0
- data/spec/api/orphans_api_spec.rb +1 -0
- data/spec/api/orphans_cleanup_api_spec.rb +1 -0
- data/spec/api/publications_api_spec.rb +1 -0
- data/spec/api/remotes_api_spec.rb +1 -0
- data/spec/api/repair_api_spec.rb +1 -0
- data/spec/api/repositories_api_spec.rb +1 -0
- data/spec/api/repositories_openpgp_keyring_api_spec.rb +13 -0
- data/spec/api/repositories_reclaim_space_api_spec.rb +1 -0
- data/spec/api/repository_versions_api_spec.rb +1 -0
- data/spec/api/roles_api_spec.rb +6 -0
- data/spec/api/signing_services_api_spec.rb +2 -0
- data/spec/api/status_api_spec.rb +3 -0
- data/spec/api/task_groups_api_spec.rb +3 -0
- data/spec/api/task_schedules_api_spec.rb +6 -0
- data/spec/api/tasks_api_spec.rb +11 -1
- data/spec/api/uploads_api_spec.rb +10 -0
- data/spec/api/upstream_pulps_api_spec.rb +11 -0
- data/spec/api/users_api_spec.rb +6 -0
- data/spec/api/users_roles_api_spec.rb +4 -0
- data/spec/api/workers_api_spec.rb +2 -0
- data/spec/models/artifact_distribution_response_spec.rb +11 -11
- metadata +190 -190
@@ -23,6 +23,7 @@ module PulpcoreClient
|
|
23
23
|
# ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
24
24
|
# @param domain [Domain]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [DomainResponse]
|
27
28
|
def create(domain, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(domain, opts)
|
@@ -33,6 +34,7 @@ module PulpcoreClient
|
|
33
34
|
# ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
34
35
|
# @param domain [Domain]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(DomainResponse, Integer, Hash)>] DomainResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(domain, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpcoreClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -91,6 +94,7 @@ module PulpcoreClient
|
|
91
94
|
# Trigger an asynchronous delete task
|
92
95
|
# @param domain_href [String]
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [AsyncOperationResponse]
|
95
99
|
def delete(domain_href, opts = {})
|
96
100
|
data, _status_code, _headers = delete_with_http_info(domain_href, opts)
|
@@ -101,6 +105,7 @@ module PulpcoreClient
|
|
101
105
|
# Trigger an asynchronous delete task
|
102
106
|
# @param domain_href [String]
|
103
107
|
# @param [Hash] opts the optional parameters
|
108
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
104
109
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
105
110
|
def delete_with_http_info(domain_href, opts = {})
|
106
111
|
if @api_client.config.debugging
|
@@ -120,6 +125,7 @@ module PulpcoreClient
|
|
120
125
|
header_params = opts[:header_params] || {}
|
121
126
|
# HTTP header 'Accept' (if needed)
|
122
127
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
128
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
123
129
|
|
124
130
|
# form parameters
|
125
131
|
form_params = opts[:form_params] || {}
|
@@ -153,6 +159,7 @@ module PulpcoreClient
|
|
153
159
|
# List domains
|
154
160
|
# ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
155
161
|
# @param [Hash] opts the optional parameters
|
162
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
156
163
|
# @option opts [Integer] :limit Number of results to return per page.
|
157
164
|
# @option opts [String] :name Filter results where name matches value
|
158
165
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -181,6 +188,7 @@ module PulpcoreClient
|
|
181
188
|
# List domains
|
182
189
|
# ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
183
190
|
# @param [Hash] opts the optional parameters
|
191
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
184
192
|
# @option opts [Integer] :limit Number of results to return per page.
|
185
193
|
# @option opts [String] :name Filter results where name matches value
|
186
194
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -238,6 +246,7 @@ module PulpcoreClient
|
|
238
246
|
header_params = opts[:header_params] || {}
|
239
247
|
# HTTP header 'Accept' (if needed)
|
240
248
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
249
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
241
250
|
|
242
251
|
# form parameters
|
243
252
|
form_params = opts[:form_params] || {}
|
@@ -272,6 +281,7 @@ module PulpcoreClient
|
|
272
281
|
# Migrate the domain's storage backend to a new one. Launches a background task to copy the domain's artifacts over to the supplied storage backend. Then updates the domain's storage settings to the new storage backend. This task does not delete the stored files of the artifacts from the previous backend. **IMPORTANT** This task will block all other tasks within the domain until the migration is completed, essentially putting the domain into a read only state. Content will still be served from the old storage backend until the migration has completed, so don't remove the old backend until then. Note, this endpoint is not allowed on the default domain. This feature is in Tech Preview and is subject to future change and thus not guaranteed to be backwards compatible.
|
273
282
|
# @param domain_backend_migrator [DomainBackendMigrator]
|
274
283
|
# @param [Hash] opts the optional parameters
|
284
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
275
285
|
# @return [AsyncOperationResponse]
|
276
286
|
def migrate(domain_backend_migrator, opts = {})
|
277
287
|
data, _status_code, _headers = migrate_with_http_info(domain_backend_migrator, opts)
|
@@ -282,6 +292,7 @@ module PulpcoreClient
|
|
282
292
|
# Migrate the domain's storage backend to a new one. Launches a background task to copy the domain's artifacts over to the supplied storage backend. Then updates the domain's storage settings to the new storage backend. This task does not delete the stored files of the artifacts from the previous backend. **IMPORTANT** This task will block all other tasks within the domain until the migration is completed, essentially putting the domain into a read only state. Content will still be served from the old storage backend until the migration has completed, so don't remove the old backend until then. Note, this endpoint is not allowed on the default domain. This feature is in Tech Preview and is subject to future change and thus not guaranteed to be backwards compatible.
|
283
293
|
# @param domain_backend_migrator [DomainBackendMigrator]
|
284
294
|
# @param [Hash] opts the optional parameters
|
295
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
285
296
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
286
297
|
def migrate_with_http_info(domain_backend_migrator, opts = {})
|
287
298
|
if @api_client.config.debugging
|
@@ -306,6 +317,7 @@ module PulpcoreClient
|
|
306
317
|
if !content_type.nil?
|
307
318
|
header_params['Content-Type'] = content_type
|
308
319
|
end
|
320
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
309
321
|
|
310
322
|
# form parameters
|
311
323
|
form_params = opts[:form_params] || {}
|
@@ -341,6 +353,7 @@ module PulpcoreClient
|
|
341
353
|
# @param domain_href [String]
|
342
354
|
# @param patched_domain [PatchedDomain]
|
343
355
|
# @param [Hash] opts the optional parameters
|
356
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
344
357
|
# @return [AsyncOperationResponse]
|
345
358
|
def partial_update(domain_href, patched_domain, opts = {})
|
346
359
|
data, _status_code, _headers = partial_update_with_http_info(domain_href, patched_domain, opts)
|
@@ -352,6 +365,7 @@ module PulpcoreClient
|
|
352
365
|
# @param domain_href [String]
|
353
366
|
# @param patched_domain [PatchedDomain]
|
354
367
|
# @param [Hash] opts the optional parameters
|
368
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
355
369
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
356
370
|
def partial_update_with_http_info(domain_href, patched_domain, opts = {})
|
357
371
|
if @api_client.config.debugging
|
@@ -380,6 +394,7 @@ module PulpcoreClient
|
|
380
394
|
if !content_type.nil?
|
381
395
|
header_params['Content-Type'] = content_type
|
382
396
|
end
|
397
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
383
398
|
|
384
399
|
# form parameters
|
385
400
|
form_params = opts[:form_params] || {}
|
@@ -414,6 +429,7 @@ module PulpcoreClient
|
|
414
429
|
# ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
415
430
|
# @param domain_href [String]
|
416
431
|
# @param [Hash] opts the optional parameters
|
432
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
417
433
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
418
434
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
419
435
|
# @return [DomainResponse]
|
@@ -426,6 +442,7 @@ module PulpcoreClient
|
|
426
442
|
# ViewSet for Domain. NOTE: This API endpoint is in \"tech preview\" and subject to change
|
427
443
|
# @param domain_href [String]
|
428
444
|
# @param [Hash] opts the optional parameters
|
445
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
429
446
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
430
447
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
431
448
|
# @return [Array<(DomainResponse, Integer, Hash)>] DomainResponse data, response status code and response headers
|
@@ -449,6 +466,7 @@ module PulpcoreClient
|
|
449
466
|
header_params = opts[:header_params] || {}
|
450
467
|
# HTTP header 'Accept' (if needed)
|
451
468
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
469
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
452
470
|
|
453
471
|
# form parameters
|
454
472
|
form_params = opts[:form_params] || {}
|
@@ -484,6 +502,7 @@ module PulpcoreClient
|
|
484
502
|
# @param domain_href [String]
|
485
503
|
# @param set_label [SetLabel]
|
486
504
|
# @param [Hash] opts the optional parameters
|
505
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
487
506
|
# @return [SetLabelResponse]
|
488
507
|
def set_label(domain_href, set_label, opts = {})
|
489
508
|
data, _status_code, _headers = set_label_with_http_info(domain_href, set_label, opts)
|
@@ -495,6 +514,7 @@ module PulpcoreClient
|
|
495
514
|
# @param domain_href [String]
|
496
515
|
# @param set_label [SetLabel]
|
497
516
|
# @param [Hash] opts the optional parameters
|
517
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
498
518
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
499
519
|
def set_label_with_http_info(domain_href, set_label, opts = {})
|
500
520
|
if @api_client.config.debugging
|
@@ -523,6 +543,7 @@ module PulpcoreClient
|
|
523
543
|
if !content_type.nil?
|
524
544
|
header_params['Content-Type'] = content_type
|
525
545
|
end
|
546
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
526
547
|
|
527
548
|
# form parameters
|
528
549
|
form_params = opts[:form_params] || {}
|
@@ -558,6 +579,7 @@ module PulpcoreClient
|
|
558
579
|
# @param domain_href [String]
|
559
580
|
# @param unset_label [UnsetLabel]
|
560
581
|
# @param [Hash] opts the optional parameters
|
582
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
561
583
|
# @return [UnsetLabelResponse]
|
562
584
|
def unset_label(domain_href, unset_label, opts = {})
|
563
585
|
data, _status_code, _headers = unset_label_with_http_info(domain_href, unset_label, opts)
|
@@ -569,6 +591,7 @@ module PulpcoreClient
|
|
569
591
|
# @param domain_href [String]
|
570
592
|
# @param unset_label [UnsetLabel]
|
571
593
|
# @param [Hash] opts the optional parameters
|
594
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
572
595
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
573
596
|
def unset_label_with_http_info(domain_href, unset_label, opts = {})
|
574
597
|
if @api_client.config.debugging
|
@@ -597,6 +620,7 @@ module PulpcoreClient
|
|
597
620
|
if !content_type.nil?
|
598
621
|
header_params['Content-Type'] = content_type
|
599
622
|
end
|
623
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
600
624
|
|
601
625
|
# form parameters
|
602
626
|
form_params = opts[:form_params] || {}
|
@@ -632,6 +656,7 @@ module PulpcoreClient
|
|
632
656
|
# @param domain_href [String]
|
633
657
|
# @param domain [Domain]
|
634
658
|
# @param [Hash] opts the optional parameters
|
659
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
635
660
|
# @return [AsyncOperationResponse]
|
636
661
|
def update(domain_href, domain, opts = {})
|
637
662
|
data, _status_code, _headers = update_with_http_info(domain_href, domain, opts)
|
@@ -643,6 +668,7 @@ module PulpcoreClient
|
|
643
668
|
# @param domain_href [String]
|
644
669
|
# @param domain [Domain]
|
645
670
|
# @param [Hash] opts the optional parameters
|
671
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
646
672
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
647
673
|
def update_with_http_info(domain_href, domain, opts = {})
|
648
674
|
if @api_client.config.debugging
|
@@ -671,6 +697,7 @@ module PulpcoreClient
|
|
671
697
|
if !content_type.nil?
|
672
698
|
header_params['Content-Type'] = content_type
|
673
699
|
end
|
700
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
674
701
|
|
675
702
|
# form parameters
|
676
703
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpcoreClient
|
|
23
23
|
# Endpoint for managing FilesystemExporters.
|
24
24
|
# @param filesystem_exporter [FilesystemExporter]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [FilesystemExporterResponse]
|
27
28
|
def create(filesystem_exporter, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(filesystem_exporter, opts)
|
@@ -33,6 +34,7 @@ module PulpcoreClient
|
|
33
34
|
# Endpoint for managing FilesystemExporters.
|
34
35
|
# @param filesystem_exporter [FilesystemExporter]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(FilesystemExporterResponse, Integer, Hash)>] FilesystemExporterResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(filesystem_exporter, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpcoreClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -91,6 +94,7 @@ module PulpcoreClient
|
|
91
94
|
# Trigger an asynchronous delete task
|
92
95
|
# @param filesystem_exporter_href [String]
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [AsyncOperationResponse]
|
95
99
|
def delete(filesystem_exporter_href, opts = {})
|
96
100
|
data, _status_code, _headers = delete_with_http_info(filesystem_exporter_href, opts)
|
@@ -101,6 +105,7 @@ module PulpcoreClient
|
|
101
105
|
# Trigger an asynchronous delete task
|
102
106
|
# @param filesystem_exporter_href [String]
|
103
107
|
# @param [Hash] opts the optional parameters
|
108
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
104
109
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
105
110
|
def delete_with_http_info(filesystem_exporter_href, opts = {})
|
106
111
|
if @api_client.config.debugging
|
@@ -120,6 +125,7 @@ module PulpcoreClient
|
|
120
125
|
header_params = opts[:header_params] || {}
|
121
126
|
# HTTP header 'Accept' (if needed)
|
122
127
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
128
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
123
129
|
|
124
130
|
# form parameters
|
125
131
|
form_params = opts[:form_params] || {}
|
@@ -153,6 +159,7 @@ module PulpcoreClient
|
|
153
159
|
# List filesystem exporters
|
154
160
|
# Endpoint for managing FilesystemExporters.
|
155
161
|
# @param [Hash] opts the optional parameters
|
162
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
156
163
|
# @option opts [Integer] :limit Number of results to return per page.
|
157
164
|
# @option opts [String] :name Filter results where name matches value
|
158
165
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -180,6 +187,7 @@ module PulpcoreClient
|
|
180
187
|
# List filesystem exporters
|
181
188
|
# Endpoint for managing FilesystemExporters.
|
182
189
|
# @param [Hash] opts the optional parameters
|
190
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
183
191
|
# @option opts [Integer] :limit Number of results to return per page.
|
184
192
|
# @option opts [String] :name Filter results where name matches value
|
185
193
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -235,6 +243,7 @@ module PulpcoreClient
|
|
235
243
|
header_params = opts[:header_params] || {}
|
236
244
|
# HTTP header 'Accept' (if needed)
|
237
245
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
246
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
238
247
|
|
239
248
|
# form parameters
|
240
249
|
form_params = opts[:form_params] || {}
|
@@ -270,6 +279,7 @@ module PulpcoreClient
|
|
270
279
|
# @param filesystem_exporter_href [String]
|
271
280
|
# @param patched_filesystem_exporter [PatchedFilesystemExporter]
|
272
281
|
# @param [Hash] opts the optional parameters
|
282
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
273
283
|
# @return [AsyncOperationResponse]
|
274
284
|
def partial_update(filesystem_exporter_href, patched_filesystem_exporter, opts = {})
|
275
285
|
data, _status_code, _headers = partial_update_with_http_info(filesystem_exporter_href, patched_filesystem_exporter, opts)
|
@@ -281,6 +291,7 @@ module PulpcoreClient
|
|
281
291
|
# @param filesystem_exporter_href [String]
|
282
292
|
# @param patched_filesystem_exporter [PatchedFilesystemExporter]
|
283
293
|
# @param [Hash] opts the optional parameters
|
294
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
284
295
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
285
296
|
def partial_update_with_http_info(filesystem_exporter_href, patched_filesystem_exporter, opts = {})
|
286
297
|
if @api_client.config.debugging
|
@@ -309,6 +320,7 @@ module PulpcoreClient
|
|
309
320
|
if !content_type.nil?
|
310
321
|
header_params['Content-Type'] = content_type
|
311
322
|
end
|
323
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
312
324
|
|
313
325
|
# form parameters
|
314
326
|
form_params = opts[:form_params] || {}
|
@@ -343,6 +355,7 @@ module PulpcoreClient
|
|
343
355
|
# Endpoint for managing FilesystemExporters.
|
344
356
|
# @param filesystem_exporter_href [String]
|
345
357
|
# @param [Hash] opts the optional parameters
|
358
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
346
359
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
347
360
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
348
361
|
# @return [FilesystemExporterResponse]
|
@@ -355,6 +368,7 @@ module PulpcoreClient
|
|
355
368
|
# Endpoint for managing FilesystemExporters.
|
356
369
|
# @param filesystem_exporter_href [String]
|
357
370
|
# @param [Hash] opts the optional parameters
|
371
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
358
372
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
359
373
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
360
374
|
# @return [Array<(FilesystemExporterResponse, Integer, Hash)>] FilesystemExporterResponse data, response status code and response headers
|
@@ -378,6 +392,7 @@ module PulpcoreClient
|
|
378
392
|
header_params = opts[:header_params] || {}
|
379
393
|
# HTTP header 'Accept' (if needed)
|
380
394
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
395
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
381
396
|
|
382
397
|
# form parameters
|
383
398
|
form_params = opts[:form_params] || {}
|
@@ -413,6 +428,7 @@ module PulpcoreClient
|
|
413
428
|
# @param filesystem_exporter_href [String]
|
414
429
|
# @param filesystem_exporter [FilesystemExporter]
|
415
430
|
# @param [Hash] opts the optional parameters
|
431
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
416
432
|
# @return [AsyncOperationResponse]
|
417
433
|
def update(filesystem_exporter_href, filesystem_exporter, opts = {})
|
418
434
|
data, _status_code, _headers = update_with_http_info(filesystem_exporter_href, filesystem_exporter, opts)
|
@@ -424,6 +440,7 @@ module PulpcoreClient
|
|
424
440
|
# @param filesystem_exporter_href [String]
|
425
441
|
# @param filesystem_exporter [FilesystemExporter]
|
426
442
|
# @param [Hash] opts the optional parameters
|
443
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
427
444
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
428
445
|
def update_with_http_info(filesystem_exporter_href, filesystem_exporter, opts = {})
|
429
446
|
if @api_client.config.debugging
|
@@ -452,6 +469,7 @@ module PulpcoreClient
|
|
452
469
|
if !content_type.nil?
|
453
470
|
header_params['Content-Type'] = content_type
|
454
471
|
end
|
472
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
455
473
|
|
456
474
|
# form parameters
|
457
475
|
form_params = opts[:form_params] || {}
|
@@ -24,6 +24,7 @@ module PulpcoreClient
|
|
24
24
|
# @param filesystem_exporter_href [String]
|
25
25
|
# @param filesystem_export [FilesystemExport]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
27
28
|
# @return [AsyncOperationResponse]
|
28
29
|
def create(filesystem_exporter_href, filesystem_export, opts = {})
|
29
30
|
data, _status_code, _headers = create_with_http_info(filesystem_exporter_href, filesystem_export, opts)
|
@@ -35,6 +36,7 @@ module PulpcoreClient
|
|
35
36
|
# @param filesystem_exporter_href [String]
|
36
37
|
# @param filesystem_export [FilesystemExport]
|
37
38
|
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
38
40
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
39
41
|
def create_with_http_info(filesystem_exporter_href, filesystem_export, opts = {})
|
40
42
|
if @api_client.config.debugging
|
@@ -63,6 +65,7 @@ module PulpcoreClient
|
|
63
65
|
if !content_type.nil?
|
64
66
|
header_params['Content-Type'] = content_type
|
65
67
|
end
|
68
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
66
69
|
|
67
70
|
# form parameters
|
68
71
|
form_params = opts[:form_params] || {}
|
@@ -97,6 +100,7 @@ module PulpcoreClient
|
|
97
100
|
# Endpoint for managing FilesystemExports.
|
98
101
|
# @param filesystem_filesystem_export_href [String]
|
99
102
|
# @param [Hash] opts the optional parameters
|
103
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
100
104
|
# @return [nil]
|
101
105
|
def delete(filesystem_filesystem_export_href, opts = {})
|
102
106
|
delete_with_http_info(filesystem_filesystem_export_href, opts)
|
@@ -107,6 +111,7 @@ module PulpcoreClient
|
|
107
111
|
# Endpoint for managing FilesystemExports.
|
108
112
|
# @param filesystem_filesystem_export_href [String]
|
109
113
|
# @param [Hash] opts the optional parameters
|
114
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
110
115
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
111
116
|
def delete_with_http_info(filesystem_filesystem_export_href, opts = {})
|
112
117
|
if @api_client.config.debugging
|
@@ -124,6 +129,7 @@ module PulpcoreClient
|
|
124
129
|
|
125
130
|
# header parameters
|
126
131
|
header_params = opts[:header_params] || {}
|
132
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
127
133
|
|
128
134
|
# form parameters
|
129
135
|
form_params = opts[:form_params] || {}
|
@@ -158,6 +164,7 @@ module PulpcoreClient
|
|
158
164
|
# Endpoint for managing FilesystemExports.
|
159
165
|
# @param filesystem_exporter_href [String]
|
160
166
|
# @param [Hash] opts the optional parameters
|
167
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
161
168
|
# @option opts [Integer] :limit Number of results to return per page.
|
162
169
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
163
170
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -172,6 +179,7 @@ module PulpcoreClient
|
|
172
179
|
# Endpoint for managing FilesystemExports.
|
173
180
|
# @param filesystem_exporter_href [String]
|
174
181
|
# @param [Hash] opts the optional parameters
|
182
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
175
183
|
# @option opts [Integer] :limit Number of results to return per page.
|
176
184
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
177
185
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
@@ -199,6 +207,7 @@ module PulpcoreClient
|
|
199
207
|
header_params = opts[:header_params] || {}
|
200
208
|
# HTTP header 'Accept' (if needed)
|
201
209
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
210
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
202
211
|
|
203
212
|
# form parameters
|
204
213
|
form_params = opts[:form_params] || {}
|
@@ -233,6 +242,7 @@ module PulpcoreClient
|
|
233
242
|
# Endpoint for managing FilesystemExports.
|
234
243
|
# @param filesystem_filesystem_export_href [String]
|
235
244
|
# @param [Hash] opts the optional parameters
|
245
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
236
246
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
237
247
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
238
248
|
# @return [FilesystemExportResponse]
|
@@ -245,6 +255,7 @@ module PulpcoreClient
|
|
245
255
|
# Endpoint for managing FilesystemExports.
|
246
256
|
# @param filesystem_filesystem_export_href [String]
|
247
257
|
# @param [Hash] opts the optional parameters
|
258
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
248
259
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
249
260
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
250
261
|
# @return [Array<(FilesystemExportResponse, Integer, Hash)>] FilesystemExportResponse data, response status code and response headers
|
@@ -268,6 +279,7 @@ module PulpcoreClient
|
|
268
279
|
header_params = opts[:header_params] || {}
|
269
280
|
# HTTP header 'Accept' (if needed)
|
270
281
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
282
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
271
283
|
|
272
284
|
# form parameters
|
273
285
|
form_params = opts[:form_params] || {}
|
@@ -23,6 +23,7 @@ module PulpcoreClient
|
|
23
23
|
# ViewSet for viewing PulpExporters.
|
24
24
|
# @param pulp_exporter [PulpExporter]
|
25
25
|
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
26
27
|
# @return [PulpExporterResponse]
|
27
28
|
def create(pulp_exporter, opts = {})
|
28
29
|
data, _status_code, _headers = create_with_http_info(pulp_exporter, opts)
|
@@ -33,6 +34,7 @@ module PulpcoreClient
|
|
33
34
|
# ViewSet for viewing PulpExporters.
|
34
35
|
# @param pulp_exporter [PulpExporter]
|
35
36
|
# @param [Hash] opts the optional parameters
|
37
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
36
38
|
# @return [Array<(PulpExporterResponse, Integer, Hash)>] PulpExporterResponse data, response status code and response headers
|
37
39
|
def create_with_http_info(pulp_exporter, opts = {})
|
38
40
|
if @api_client.config.debugging
|
@@ -57,6 +59,7 @@ module PulpcoreClient
|
|
57
59
|
if !content_type.nil?
|
58
60
|
header_params['Content-Type'] = content_type
|
59
61
|
end
|
62
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
60
63
|
|
61
64
|
# form parameters
|
62
65
|
form_params = opts[:form_params] || {}
|
@@ -91,6 +94,7 @@ module PulpcoreClient
|
|
91
94
|
# Trigger an asynchronous delete task
|
92
95
|
# @param pulp_exporter_href [String]
|
93
96
|
# @param [Hash] opts the optional parameters
|
97
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
94
98
|
# @return [AsyncOperationResponse]
|
95
99
|
def delete(pulp_exporter_href, opts = {})
|
96
100
|
data, _status_code, _headers = delete_with_http_info(pulp_exporter_href, opts)
|
@@ -101,6 +105,7 @@ module PulpcoreClient
|
|
101
105
|
# Trigger an asynchronous delete task
|
102
106
|
# @param pulp_exporter_href [String]
|
103
107
|
# @param [Hash] opts the optional parameters
|
108
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
104
109
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
105
110
|
def delete_with_http_info(pulp_exporter_href, opts = {})
|
106
111
|
if @api_client.config.debugging
|
@@ -120,6 +125,7 @@ module PulpcoreClient
|
|
120
125
|
header_params = opts[:header_params] || {}
|
121
126
|
# HTTP header 'Accept' (if needed)
|
122
127
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
128
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
123
129
|
|
124
130
|
# form parameters
|
125
131
|
form_params = opts[:form_params] || {}
|
@@ -153,6 +159,7 @@ module PulpcoreClient
|
|
153
159
|
# List pulp exporters
|
154
160
|
# ViewSet for viewing PulpExporters.
|
155
161
|
# @param [Hash] opts the optional parameters
|
162
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
156
163
|
# @option opts [Integer] :limit Number of results to return per page.
|
157
164
|
# @option opts [String] :name Filter results where name matches value
|
158
165
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -180,6 +187,7 @@ module PulpcoreClient
|
|
180
187
|
# List pulp exporters
|
181
188
|
# ViewSet for viewing PulpExporters.
|
182
189
|
# @param [Hash] opts the optional parameters
|
190
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
183
191
|
# @option opts [Integer] :limit Number of results to return per page.
|
184
192
|
# @option opts [String] :name Filter results where name matches value
|
185
193
|
# @option opts [String] :name__contains Filter results where name contains value
|
@@ -235,6 +243,7 @@ module PulpcoreClient
|
|
235
243
|
header_params = opts[:header_params] || {}
|
236
244
|
# HTTP header 'Accept' (if needed)
|
237
245
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
246
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
238
247
|
|
239
248
|
# form parameters
|
240
249
|
form_params = opts[:form_params] || {}
|
@@ -270,6 +279,7 @@ module PulpcoreClient
|
|
270
279
|
# @param pulp_exporter_href [String]
|
271
280
|
# @param patched_pulp_exporter [PatchedPulpExporter]
|
272
281
|
# @param [Hash] opts the optional parameters
|
282
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
273
283
|
# @return [AsyncOperationResponse]
|
274
284
|
def partial_update(pulp_exporter_href, patched_pulp_exporter, opts = {})
|
275
285
|
data, _status_code, _headers = partial_update_with_http_info(pulp_exporter_href, patched_pulp_exporter, opts)
|
@@ -281,6 +291,7 @@ module PulpcoreClient
|
|
281
291
|
# @param pulp_exporter_href [String]
|
282
292
|
# @param patched_pulp_exporter [PatchedPulpExporter]
|
283
293
|
# @param [Hash] opts the optional parameters
|
294
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
284
295
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
285
296
|
def partial_update_with_http_info(pulp_exporter_href, patched_pulp_exporter, opts = {})
|
286
297
|
if @api_client.config.debugging
|
@@ -309,6 +320,7 @@ module PulpcoreClient
|
|
309
320
|
if !content_type.nil?
|
310
321
|
header_params['Content-Type'] = content_type
|
311
322
|
end
|
323
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
312
324
|
|
313
325
|
# form parameters
|
314
326
|
form_params = opts[:form_params] || {}
|
@@ -343,6 +355,7 @@ module PulpcoreClient
|
|
343
355
|
# ViewSet for viewing PulpExporters.
|
344
356
|
# @param pulp_exporter_href [String]
|
345
357
|
# @param [Hash] opts the optional parameters
|
358
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
346
359
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
347
360
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
348
361
|
# @return [PulpExporterResponse]
|
@@ -355,6 +368,7 @@ module PulpcoreClient
|
|
355
368
|
# ViewSet for viewing PulpExporters.
|
356
369
|
# @param pulp_exporter_href [String]
|
357
370
|
# @param [Hash] opts the optional parameters
|
371
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
358
372
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
359
373
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
360
374
|
# @return [Array<(PulpExporterResponse, Integer, Hash)>] PulpExporterResponse data, response status code and response headers
|
@@ -378,6 +392,7 @@ module PulpcoreClient
|
|
378
392
|
header_params = opts[:header_params] || {}
|
379
393
|
# HTTP header 'Accept' (if needed)
|
380
394
|
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
395
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
381
396
|
|
382
397
|
# form parameters
|
383
398
|
form_params = opts[:form_params] || {}
|
@@ -413,6 +428,7 @@ module PulpcoreClient
|
|
413
428
|
# @param pulp_exporter_href [String]
|
414
429
|
# @param pulp_exporter [PulpExporter]
|
415
430
|
# @param [Hash] opts the optional parameters
|
431
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
416
432
|
# @return [AsyncOperationResponse]
|
417
433
|
def update(pulp_exporter_href, pulp_exporter, opts = {})
|
418
434
|
data, _status_code, _headers = update_with_http_info(pulp_exporter_href, pulp_exporter, opts)
|
@@ -424,6 +440,7 @@ module PulpcoreClient
|
|
424
440
|
# @param pulp_exporter_href [String]
|
425
441
|
# @param pulp_exporter [PulpExporter]
|
426
442
|
# @param [Hash] opts the optional parameters
|
443
|
+
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
427
444
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
428
445
|
def update_with_http_info(pulp_exporter_href, pulp_exporter, opts = {})
|
429
446
|
if @api_client.config.debugging
|
@@ -452,6 +469,7 @@ module PulpcoreClient
|
|
452
469
|
if !content_type.nil?
|
453
470
|
header_params['Content-Type'] = content_type
|
454
471
|
end
|
472
|
+
header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
|
455
473
|
|
456
474
|
# form parameters
|
457
475
|
form_params = opts[:form_params] || {}
|