pulpcore_client 3.49.53 → 3.49.55
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 +22 -6
- data/docs/ArtifactDistributionResponse.md +5 -5
- data/docs/ArtifactsApi.md +12 -2
- data/docs/ContentApi.md +2 -0
- data/docs/ContentguardsApi.md +2 -0
- data/docs/ContentguardsCompositeApi.md +44 -12
- data/docs/ContentguardsContentRedirectApi.md +44 -12
- data/docs/ContentguardsHeaderApi.md +44 -12
- data/docs/ContentguardsRbacApi.md +44 -12
- data/docs/DistributionsApi.md +2 -0
- data/docs/DistributionsArtifactsApi.md +4 -0
- data/docs/DomainsApi.md +28 -8
- data/docs/ExportersFilesystemApi.md +28 -8
- data/docs/ExportersFilesystemExportsApi.md +16 -4
- data/docs/ExportersPulpApi.md +28 -8
- data/docs/ExportersPulpExportsApi.md +16 -4
- data/docs/GroupsApi.md +44 -12
- data/docs/GroupsRolesApi.md +16 -4
- data/docs/GroupsUsersApi.md +14 -4
- data/docs/ImportersPulpApi.md +28 -8
- data/docs/ImportersPulpImportCheckApi.md +6 -2
- data/docs/ImportersPulpImportsApi.md +16 -4
- data/docs/OrphansApi.md +9 -3
- data/docs/OrphansCleanupApi.md +6 -2
- data/docs/PublicationsApi.md +2 -0
- data/docs/RemotesApi.md +2 -0
- data/docs/RepairApi.md +6 -2
- data/docs/RepositoriesApi.md +2 -0
- data/docs/RepositoriesReclaimSpaceApi.md +6 -2
- data/docs/RepositoryVersionsApi.md +2 -0
- data/docs/RolesApi.md +28 -8
- data/docs/SigningServicesApi.md +4 -0
- data/docs/StatusApi.md +13 -3
- data/docs/TaskGroupsApi.md +4 -0
- data/docs/TaskSchedulesApi.md +20 -4
- data/docs/TasksApi.md +38 -10
- data/docs/UploadsApi.md +40 -10
- data/docs/UpstreamPulpsApi.md +50 -14
- data/docs/UsersApi.md +28 -8
- data/docs/UsersRolesApi.md +16 -4
- 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/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/domains_api.rb +18 -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/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_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 +6 -0
- data/lib/pulpcore_client/api/task_schedules_api.rb +18 -0
- data/lib/pulpcore_client/api/tasks_api.rb +27 -0
- 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 +21 -21
- 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/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/domains_api_spec.rb +6 -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/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_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 +2 -0
- data/spec/api/task_schedules_api_spec.rb +6 -0
- data/spec/api/tasks_api_spec.rb +9 -0
- 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 +3 -3
- metadata +2 -2
data/docs/RolesApi.md
CHANGED
|
@@ -15,7 +15,7 @@ Method | HTTP request | Description
|
|
|
15
15
|
|
|
16
16
|
## create
|
|
17
17
|
|
|
18
|
-
> RoleResponse create(role)
|
|
18
|
+
> RoleResponse create(role, opts)
|
|
19
19
|
|
|
20
20
|
Create a role
|
|
21
21
|
|
|
@@ -35,10 +35,13 @@ end
|
|
|
35
35
|
|
|
36
36
|
api_instance = PulpcoreClient::RolesApi.new
|
|
37
37
|
role = PulpcoreClient::Role.new # Role |
|
|
38
|
+
opts = {
|
|
39
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
40
|
+
}
|
|
38
41
|
|
|
39
42
|
begin
|
|
40
43
|
#Create a role
|
|
41
|
-
result = api_instance.create(role)
|
|
44
|
+
result = api_instance.create(role, opts)
|
|
42
45
|
p result
|
|
43
46
|
rescue PulpcoreClient::ApiError => e
|
|
44
47
|
puts "Exception when calling RolesApi->create: #{e}"
|
|
@@ -51,6 +54,7 @@ end
|
|
|
51
54
|
Name | Type | Description | Notes
|
|
52
55
|
------------- | ------------- | ------------- | -------------
|
|
53
56
|
**role** | [**Role**](Role.md)| |
|
|
57
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
54
58
|
|
|
55
59
|
### Return type
|
|
56
60
|
|
|
@@ -68,7 +72,7 @@ Name | Type | Description | Notes
|
|
|
68
72
|
|
|
69
73
|
## delete
|
|
70
74
|
|
|
71
|
-
> delete(role_href)
|
|
75
|
+
> delete(role_href, opts)
|
|
72
76
|
|
|
73
77
|
Delete a role
|
|
74
78
|
|
|
@@ -88,10 +92,13 @@ end
|
|
|
88
92
|
|
|
89
93
|
api_instance = PulpcoreClient::RolesApi.new
|
|
90
94
|
role_href = 'role_href_example' # String |
|
|
95
|
+
opts = {
|
|
96
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
97
|
+
}
|
|
91
98
|
|
|
92
99
|
begin
|
|
93
100
|
#Delete a role
|
|
94
|
-
api_instance.delete(role_href)
|
|
101
|
+
api_instance.delete(role_href, opts)
|
|
95
102
|
rescue PulpcoreClient::ApiError => e
|
|
96
103
|
puts "Exception when calling RolesApi->delete: #{e}"
|
|
97
104
|
end
|
|
@@ -103,6 +110,7 @@ end
|
|
|
103
110
|
Name | Type | Description | Notes
|
|
104
111
|
------------- | ------------- | ------------- | -------------
|
|
105
112
|
**role_href** | **String**| |
|
|
113
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
106
114
|
|
|
107
115
|
### Return type
|
|
108
116
|
|
|
@@ -140,6 +148,7 @@ end
|
|
|
140
148
|
|
|
141
149
|
api_instance = PulpcoreClient::RolesApi.new
|
|
142
150
|
opts = {
|
|
151
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
143
152
|
contains_permission: ['contains_permission_example'], # Array<String> | Filter roles that have any of the permissions in the list.
|
|
144
153
|
description: 'description_example', # String | Filter results where description matches value
|
|
145
154
|
description__contains: 'description__contains_example', # String | Filter results where description contains value
|
|
@@ -180,6 +189,7 @@ end
|
|
|
180
189
|
|
|
181
190
|
Name | Type | Description | Notes
|
|
182
191
|
------------- | ------------- | ------------- | -------------
|
|
192
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
183
193
|
**contains_permission** | [**Array<String>**](String.md)| Filter roles that have any of the permissions in the list. | [optional]
|
|
184
194
|
**description** | **String**| Filter results where description matches value | [optional]
|
|
185
195
|
**description__contains** | **String**| Filter results where description contains value | [optional]
|
|
@@ -221,7 +231,7 @@ Name | Type | Description | Notes
|
|
|
221
231
|
|
|
222
232
|
## partial_update
|
|
223
233
|
|
|
224
|
-
> RoleResponse partial_update(role_href, patched_role)
|
|
234
|
+
> RoleResponse partial_update(role_href, patched_role, opts)
|
|
225
235
|
|
|
226
236
|
Update a role
|
|
227
237
|
|
|
@@ -242,10 +252,13 @@ end
|
|
|
242
252
|
api_instance = PulpcoreClient::RolesApi.new
|
|
243
253
|
role_href = 'role_href_example' # String |
|
|
244
254
|
patched_role = PulpcoreClient::PatchedRole.new # PatchedRole |
|
|
255
|
+
opts = {
|
|
256
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
257
|
+
}
|
|
245
258
|
|
|
246
259
|
begin
|
|
247
260
|
#Update a role
|
|
248
|
-
result = api_instance.partial_update(role_href, patched_role)
|
|
261
|
+
result = api_instance.partial_update(role_href, patched_role, opts)
|
|
249
262
|
p result
|
|
250
263
|
rescue PulpcoreClient::ApiError => e
|
|
251
264
|
puts "Exception when calling RolesApi->partial_update: #{e}"
|
|
@@ -259,6 +272,7 @@ Name | Type | Description | Notes
|
|
|
259
272
|
------------- | ------------- | ------------- | -------------
|
|
260
273
|
**role_href** | **String**| |
|
|
261
274
|
**patched_role** | [**PatchedRole**](PatchedRole.md)| |
|
|
275
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
262
276
|
|
|
263
277
|
### Return type
|
|
264
278
|
|
|
@@ -297,6 +311,7 @@ end
|
|
|
297
311
|
api_instance = PulpcoreClient::RolesApi.new
|
|
298
312
|
role_href = 'role_href_example' # String |
|
|
299
313
|
opts = {
|
|
314
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
300
315
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
301
316
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
302
317
|
}
|
|
@@ -316,6 +331,7 @@ end
|
|
|
316
331
|
Name | Type | Description | Notes
|
|
317
332
|
------------- | ------------- | ------------- | -------------
|
|
318
333
|
**role_href** | **String**| |
|
|
334
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
319
335
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
320
336
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
321
337
|
|
|
@@ -335,7 +351,7 @@ Name | Type | Description | Notes
|
|
|
335
351
|
|
|
336
352
|
## update
|
|
337
353
|
|
|
338
|
-
> RoleResponse update(role_href, role)
|
|
354
|
+
> RoleResponse update(role_href, role, opts)
|
|
339
355
|
|
|
340
356
|
Update a role
|
|
341
357
|
|
|
@@ -356,10 +372,13 @@ end
|
|
|
356
372
|
api_instance = PulpcoreClient::RolesApi.new
|
|
357
373
|
role_href = 'role_href_example' # String |
|
|
358
374
|
role = PulpcoreClient::Role.new # Role |
|
|
375
|
+
opts = {
|
|
376
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
377
|
+
}
|
|
359
378
|
|
|
360
379
|
begin
|
|
361
380
|
#Update a role
|
|
362
|
-
result = api_instance.update(role_href, role)
|
|
381
|
+
result = api_instance.update(role_href, role, opts)
|
|
363
382
|
p result
|
|
364
383
|
rescue PulpcoreClient::ApiError => e
|
|
365
384
|
puts "Exception when calling RolesApi->update: #{e}"
|
|
@@ -373,6 +392,7 @@ Name | Type | Description | Notes
|
|
|
373
392
|
------------- | ------------- | ------------- | -------------
|
|
374
393
|
**role_href** | **String**| |
|
|
375
394
|
**role** | [**Role**](Role.md)| |
|
|
395
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
376
396
|
|
|
377
397
|
### Return type
|
|
378
398
|
|
data/docs/SigningServicesApi.md
CHANGED
|
@@ -31,6 +31,7 @@ end
|
|
|
31
31
|
|
|
32
32
|
api_instance = PulpcoreClient::SigningServicesApi.new
|
|
33
33
|
opts = {
|
|
34
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
34
35
|
limit: 56, # Integer | Number of results to return per page.
|
|
35
36
|
name: 'name_example', # String | Filter results where name matches value
|
|
36
37
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
@@ -56,6 +57,7 @@ end
|
|
|
56
57
|
|
|
57
58
|
Name | Type | Description | Notes
|
|
58
59
|
------------- | ------------- | ------------- | -------------
|
|
60
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
59
61
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
60
62
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
61
63
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
@@ -103,6 +105,7 @@ end
|
|
|
103
105
|
api_instance = PulpcoreClient::SigningServicesApi.new
|
|
104
106
|
signing_service_href = 'signing_service_href_example' # String |
|
|
105
107
|
opts = {
|
|
108
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
106
109
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
107
110
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
108
111
|
}
|
|
@@ -122,6 +125,7 @@ end
|
|
|
122
125
|
Name | Type | Description | Notes
|
|
123
126
|
------------- | ------------- | ------------- | -------------
|
|
124
127
|
**signing_service_href** | **String**| |
|
|
128
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
125
129
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
126
130
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
127
131
|
|
data/docs/StatusApi.md
CHANGED
|
@@ -10,7 +10,7 @@ Method | HTTP request | Description
|
|
|
10
10
|
|
|
11
11
|
## status_read
|
|
12
12
|
|
|
13
|
-
> StatusResponse status_read
|
|
13
|
+
> StatusResponse status_read(opts)
|
|
14
14
|
|
|
15
15
|
Inspect status of Pulp
|
|
16
16
|
|
|
@@ -23,10 +23,15 @@ Returns status and app information about Pulp. Information includes: * version
|
|
|
23
23
|
require 'pulpcore_client'
|
|
24
24
|
|
|
25
25
|
api_instance = PulpcoreClient::StatusApi.new
|
|
26
|
+
opts = {
|
|
27
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
28
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
29
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
30
|
+
}
|
|
26
31
|
|
|
27
32
|
begin
|
|
28
33
|
#Inspect status of Pulp
|
|
29
|
-
result = api_instance.status_read
|
|
34
|
+
result = api_instance.status_read(opts)
|
|
30
35
|
p result
|
|
31
36
|
rescue PulpcoreClient::ApiError => e
|
|
32
37
|
puts "Exception when calling StatusApi->status_read: #{e}"
|
|
@@ -35,7 +40,12 @@ end
|
|
|
35
40
|
|
|
36
41
|
### Parameters
|
|
37
42
|
|
|
38
|
-
|
|
43
|
+
|
|
44
|
+
Name | Type | Description | Notes
|
|
45
|
+
------------- | ------------- | ------------- | -------------
|
|
46
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
47
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
48
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
39
49
|
|
|
40
50
|
### Return type
|
|
41
51
|
|
data/docs/TaskGroupsApi.md
CHANGED
|
@@ -31,6 +31,7 @@ end
|
|
|
31
31
|
|
|
32
32
|
api_instance = PulpcoreClient::TaskGroupsApi.new
|
|
33
33
|
opts = {
|
|
34
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
34
35
|
limit: 56, # Integer | Number of results to return per page.
|
|
35
36
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
36
37
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
@@ -51,6 +52,7 @@ end
|
|
|
51
52
|
|
|
52
53
|
Name | Type | Description | Notes
|
|
53
54
|
------------- | ------------- | ------------- | -------------
|
|
55
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
54
56
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
55
57
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
56
58
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
@@ -93,6 +95,7 @@ end
|
|
|
93
95
|
api_instance = PulpcoreClient::TaskGroupsApi.new
|
|
94
96
|
task_group_href = 'task_group_href_example' # String |
|
|
95
97
|
opts = {
|
|
98
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
96
99
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
97
100
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
98
101
|
}
|
|
@@ -112,6 +115,7 @@ end
|
|
|
112
115
|
Name | Type | Description | Notes
|
|
113
116
|
------------- | ------------- | ------------- | -------------
|
|
114
117
|
**task_group_href** | **String**| |
|
|
118
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
115
119
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
116
120
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
117
121
|
|
data/docs/TaskSchedulesApi.md
CHANGED
|
@@ -15,7 +15,7 @@ Method | HTTP request | Description
|
|
|
15
15
|
|
|
16
16
|
## add_role
|
|
17
17
|
|
|
18
|
-
> NestedRoleResponse add_role(task_schedule_href, nested_role)
|
|
18
|
+
> NestedRoleResponse add_role(task_schedule_href, nested_role, opts)
|
|
19
19
|
|
|
20
20
|
Add a role
|
|
21
21
|
|
|
@@ -36,10 +36,13 @@ end
|
|
|
36
36
|
api_instance = PulpcoreClient::TaskSchedulesApi.new
|
|
37
37
|
task_schedule_href = 'task_schedule_href_example' # String |
|
|
38
38
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
|
39
|
+
opts = {
|
|
40
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
41
|
+
}
|
|
39
42
|
|
|
40
43
|
begin
|
|
41
44
|
#Add a role
|
|
42
|
-
result = api_instance.add_role(task_schedule_href, nested_role)
|
|
45
|
+
result = api_instance.add_role(task_schedule_href, nested_role, opts)
|
|
43
46
|
p result
|
|
44
47
|
rescue PulpcoreClient::ApiError => e
|
|
45
48
|
puts "Exception when calling TaskSchedulesApi->add_role: #{e}"
|
|
@@ -53,6 +56,7 @@ Name | Type | Description | Notes
|
|
|
53
56
|
------------- | ------------- | ------------- | -------------
|
|
54
57
|
**task_schedule_href** | **String**| |
|
|
55
58
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
59
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
56
60
|
|
|
57
61
|
### Return type
|
|
58
62
|
|
|
@@ -90,6 +94,7 @@ end
|
|
|
90
94
|
|
|
91
95
|
api_instance = PulpcoreClient::TaskSchedulesApi.new
|
|
92
96
|
opts = {
|
|
97
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
93
98
|
limit: 56, # Integer | Number of results to return per page.
|
|
94
99
|
name: 'name_example', # String | Filter results where name matches value
|
|
95
100
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
@@ -118,6 +123,7 @@ end
|
|
|
118
123
|
|
|
119
124
|
Name | Type | Description | Notes
|
|
120
125
|
------------- | ------------- | ------------- | -------------
|
|
126
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
121
127
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
122
128
|
**name** | **String**| Filter results where name matches value | [optional]
|
|
123
129
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
@@ -168,6 +174,7 @@ end
|
|
|
168
174
|
api_instance = PulpcoreClient::TaskSchedulesApi.new
|
|
169
175
|
task_schedule_href = 'task_schedule_href_example' # String |
|
|
170
176
|
opts = {
|
|
177
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
171
178
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
172
179
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
173
180
|
}
|
|
@@ -187,6 +194,7 @@ end
|
|
|
187
194
|
Name | Type | Description | Notes
|
|
188
195
|
------------- | ------------- | ------------- | -------------
|
|
189
196
|
**task_schedule_href** | **String**| |
|
|
197
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
190
198
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
191
199
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
192
200
|
|
|
@@ -227,6 +235,7 @@ end
|
|
|
227
235
|
api_instance = PulpcoreClient::TaskSchedulesApi.new
|
|
228
236
|
task_schedule_href = 'task_schedule_href_example' # String |
|
|
229
237
|
opts = {
|
|
238
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
230
239
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
231
240
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
232
241
|
}
|
|
@@ -246,6 +255,7 @@ end
|
|
|
246
255
|
Name | Type | Description | Notes
|
|
247
256
|
------------- | ------------- | ------------- | -------------
|
|
248
257
|
**task_schedule_href** | **String**| |
|
|
258
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
249
259
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
250
260
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
251
261
|
|
|
@@ -286,6 +296,7 @@ end
|
|
|
286
296
|
api_instance = PulpcoreClient::TaskSchedulesApi.new
|
|
287
297
|
task_schedule_href = 'task_schedule_href_example' # String |
|
|
288
298
|
opts = {
|
|
299
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
289
300
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
290
301
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
291
302
|
}
|
|
@@ -305,6 +316,7 @@ end
|
|
|
305
316
|
Name | Type | Description | Notes
|
|
306
317
|
------------- | ------------- | ------------- | -------------
|
|
307
318
|
**task_schedule_href** | **String**| |
|
|
319
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
308
320
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
309
321
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
310
322
|
|
|
@@ -324,7 +336,7 @@ Name | Type | Description | Notes
|
|
|
324
336
|
|
|
325
337
|
## remove_role
|
|
326
338
|
|
|
327
|
-
> NestedRoleResponse remove_role(task_schedule_href, nested_role)
|
|
339
|
+
> NestedRoleResponse remove_role(task_schedule_href, nested_role, opts)
|
|
328
340
|
|
|
329
341
|
Remove a role
|
|
330
342
|
|
|
@@ -345,10 +357,13 @@ end
|
|
|
345
357
|
api_instance = PulpcoreClient::TaskSchedulesApi.new
|
|
346
358
|
task_schedule_href = 'task_schedule_href_example' # String |
|
|
347
359
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
|
360
|
+
opts = {
|
|
361
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
362
|
+
}
|
|
348
363
|
|
|
349
364
|
begin
|
|
350
365
|
#Remove a role
|
|
351
|
-
result = api_instance.remove_role(task_schedule_href, nested_role)
|
|
366
|
+
result = api_instance.remove_role(task_schedule_href, nested_role, opts)
|
|
352
367
|
p result
|
|
353
368
|
rescue PulpcoreClient::ApiError => e
|
|
354
369
|
puts "Exception when calling TaskSchedulesApi->remove_role: #{e}"
|
|
@@ -362,6 +377,7 @@ Name | Type | Description | Notes
|
|
|
362
377
|
------------- | ------------- | ------------- | -------------
|
|
363
378
|
**task_schedule_href** | **String**| |
|
|
364
379
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
380
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
365
381
|
|
|
366
382
|
### Return type
|
|
367
383
|
|
data/docs/TasksApi.md
CHANGED
|
@@ -18,7 +18,7 @@ Method | HTTP request | Description
|
|
|
18
18
|
|
|
19
19
|
## add_role
|
|
20
20
|
|
|
21
|
-
> NestedRoleResponse add_role(task_href, nested_role)
|
|
21
|
+
> NestedRoleResponse add_role(task_href, nested_role, opts)
|
|
22
22
|
|
|
23
23
|
Add a role
|
|
24
24
|
|
|
@@ -39,10 +39,13 @@ end
|
|
|
39
39
|
api_instance = PulpcoreClient::TasksApi.new
|
|
40
40
|
task_href = 'task_href_example' # String |
|
|
41
41
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
|
42
|
+
opts = {
|
|
43
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
44
|
+
}
|
|
42
45
|
|
|
43
46
|
begin
|
|
44
47
|
#Add a role
|
|
45
|
-
result = api_instance.add_role(task_href, nested_role)
|
|
48
|
+
result = api_instance.add_role(task_href, nested_role, opts)
|
|
46
49
|
p result
|
|
47
50
|
rescue PulpcoreClient::ApiError => e
|
|
48
51
|
puts "Exception when calling TasksApi->add_role: #{e}"
|
|
@@ -56,6 +59,7 @@ Name | Type | Description | Notes
|
|
|
56
59
|
------------- | ------------- | ------------- | -------------
|
|
57
60
|
**task_href** | **String**| |
|
|
58
61
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
62
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
59
63
|
|
|
60
64
|
### Return type
|
|
61
65
|
|
|
@@ -73,7 +77,7 @@ Name | Type | Description | Notes
|
|
|
73
77
|
|
|
74
78
|
## delete
|
|
75
79
|
|
|
76
|
-
> delete(task_href)
|
|
80
|
+
> delete(task_href, opts)
|
|
77
81
|
|
|
78
82
|
Delete a task
|
|
79
83
|
|
|
@@ -93,10 +97,13 @@ end
|
|
|
93
97
|
|
|
94
98
|
api_instance = PulpcoreClient::TasksApi.new
|
|
95
99
|
task_href = 'task_href_example' # String |
|
|
100
|
+
opts = {
|
|
101
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
102
|
+
}
|
|
96
103
|
|
|
97
104
|
begin
|
|
98
105
|
#Delete a task
|
|
99
|
-
api_instance.delete(task_href)
|
|
106
|
+
api_instance.delete(task_href, opts)
|
|
100
107
|
rescue PulpcoreClient::ApiError => e
|
|
101
108
|
puts "Exception when calling TasksApi->delete: #{e}"
|
|
102
109
|
end
|
|
@@ -108,6 +115,7 @@ end
|
|
|
108
115
|
Name | Type | Description | Notes
|
|
109
116
|
------------- | ------------- | ------------- | -------------
|
|
110
117
|
**task_href** | **String**| |
|
|
118
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
111
119
|
|
|
112
120
|
### Return type
|
|
113
121
|
|
|
@@ -145,6 +153,7 @@ end
|
|
|
145
153
|
|
|
146
154
|
api_instance = PulpcoreClient::TasksApi.new
|
|
147
155
|
opts = {
|
|
156
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
148
157
|
child_tasks: 'child_tasks_example', # String | Filter results where child_tasks matches value
|
|
149
158
|
created_resources: 'created_resources_example', # String |
|
|
150
159
|
exclusive_resources: 'exclusive_resources_example', # String |
|
|
@@ -204,6 +213,7 @@ end
|
|
|
204
213
|
|
|
205
214
|
Name | Type | Description | Notes
|
|
206
215
|
------------- | ------------- | ------------- | -------------
|
|
216
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
207
217
|
**child_tasks** | [**String**](.md)| Filter results where child_tasks matches value | [optional]
|
|
208
218
|
**created_resources** | [**String**](.md)| | [optional]
|
|
209
219
|
**exclusive_resources** | **String**| | [optional]
|
|
@@ -285,6 +295,7 @@ end
|
|
|
285
295
|
api_instance = PulpcoreClient::TasksApi.new
|
|
286
296
|
task_href = 'task_href_example' # String |
|
|
287
297
|
opts = {
|
|
298
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
288
299
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
289
300
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
290
301
|
}
|
|
@@ -304,6 +315,7 @@ end
|
|
|
304
315
|
Name | Type | Description | Notes
|
|
305
316
|
------------- | ------------- | ------------- | -------------
|
|
306
317
|
**task_href** | **String**| |
|
|
318
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
307
319
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
308
320
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
309
321
|
|
|
@@ -344,6 +356,7 @@ end
|
|
|
344
356
|
api_instance = PulpcoreClient::TasksApi.new
|
|
345
357
|
task_href = 'task_href_example' # String |
|
|
346
358
|
opts = {
|
|
359
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
347
360
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
348
361
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
349
362
|
}
|
|
@@ -363,6 +376,7 @@ end
|
|
|
363
376
|
Name | Type | Description | Notes
|
|
364
377
|
------------- | ------------- | ------------- | -------------
|
|
365
378
|
**task_href** | **String**| |
|
|
379
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
366
380
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
367
381
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
368
382
|
|
|
@@ -382,7 +396,7 @@ Name | Type | Description | Notes
|
|
|
382
396
|
|
|
383
397
|
## purge
|
|
384
398
|
|
|
385
|
-
> AsyncOperationResponse purge(purge)
|
|
399
|
+
> AsyncOperationResponse purge(purge, opts)
|
|
386
400
|
|
|
387
401
|
Purge Completed Tasks
|
|
388
402
|
|
|
@@ -402,10 +416,13 @@ end
|
|
|
402
416
|
|
|
403
417
|
api_instance = PulpcoreClient::TasksApi.new
|
|
404
418
|
purge = PulpcoreClient::Purge.new # Purge |
|
|
419
|
+
opts = {
|
|
420
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
421
|
+
}
|
|
405
422
|
|
|
406
423
|
begin
|
|
407
424
|
#Purge Completed Tasks
|
|
408
|
-
result = api_instance.purge(purge)
|
|
425
|
+
result = api_instance.purge(purge, opts)
|
|
409
426
|
p result
|
|
410
427
|
rescue PulpcoreClient::ApiError => e
|
|
411
428
|
puts "Exception when calling TasksApi->purge: #{e}"
|
|
@@ -418,6 +435,7 @@ end
|
|
|
418
435
|
Name | Type | Description | Notes
|
|
419
436
|
------------- | ------------- | ------------- | -------------
|
|
420
437
|
**purge** | [**Purge**](Purge.md)| |
|
|
438
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
421
439
|
|
|
422
440
|
### Return type
|
|
423
441
|
|
|
@@ -456,6 +474,7 @@ end
|
|
|
456
474
|
api_instance = PulpcoreClient::TasksApi.new
|
|
457
475
|
task_href = 'task_href_example' # String |
|
|
458
476
|
opts = {
|
|
477
|
+
x_task_diagnostics: ['x_task_diagnostics_example'], # Array<String> | List of profilers to use on tasks.
|
|
459
478
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
460
479
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
461
480
|
}
|
|
@@ -475,6 +494,7 @@ end
|
|
|
475
494
|
Name | Type | Description | Notes
|
|
476
495
|
------------- | ------------- | ------------- | -------------
|
|
477
496
|
**task_href** | **String**| |
|
|
497
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
478
498
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
479
499
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
480
500
|
|
|
@@ -494,7 +514,7 @@ Name | Type | Description | Notes
|
|
|
494
514
|
|
|
495
515
|
## remove_role
|
|
496
516
|
|
|
497
|
-
> NestedRoleResponse remove_role(task_href, nested_role)
|
|
517
|
+
> NestedRoleResponse remove_role(task_href, nested_role, opts)
|
|
498
518
|
|
|
499
519
|
Remove a role
|
|
500
520
|
|
|
@@ -515,10 +535,13 @@ end
|
|
|
515
535
|
api_instance = PulpcoreClient::TasksApi.new
|
|
516
536
|
task_href = 'task_href_example' # String |
|
|
517
537
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
|
538
|
+
opts = {
|
|
539
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
540
|
+
}
|
|
518
541
|
|
|
519
542
|
begin
|
|
520
543
|
#Remove a role
|
|
521
|
-
result = api_instance.remove_role(task_href, nested_role)
|
|
544
|
+
result = api_instance.remove_role(task_href, nested_role, opts)
|
|
522
545
|
p result
|
|
523
546
|
rescue PulpcoreClient::ApiError => e
|
|
524
547
|
puts "Exception when calling TasksApi->remove_role: #{e}"
|
|
@@ -532,6 +555,7 @@ Name | Type | Description | Notes
|
|
|
532
555
|
------------- | ------------- | ------------- | -------------
|
|
533
556
|
**task_href** | **String**| |
|
|
534
557
|
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
|
558
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
535
559
|
|
|
536
560
|
### Return type
|
|
537
561
|
|
|
@@ -549,7 +573,7 @@ Name | Type | Description | Notes
|
|
|
549
573
|
|
|
550
574
|
## tasks_cancel
|
|
551
575
|
|
|
552
|
-
> TaskResponse tasks_cancel(task_href, patched_task_cancel)
|
|
576
|
+
> TaskResponse tasks_cancel(task_href, patched_task_cancel, opts)
|
|
553
577
|
|
|
554
578
|
Cancel a task
|
|
555
579
|
|
|
@@ -570,10 +594,13 @@ end
|
|
|
570
594
|
api_instance = PulpcoreClient::TasksApi.new
|
|
571
595
|
task_href = 'task_href_example' # String |
|
|
572
596
|
patched_task_cancel = PulpcoreClient::PatchedTaskCancel.new # PatchedTaskCancel |
|
|
597
|
+
opts = {
|
|
598
|
+
x_task_diagnostics: ['x_task_diagnostics_example'] # Array<String> | List of profilers to use on tasks.
|
|
599
|
+
}
|
|
573
600
|
|
|
574
601
|
begin
|
|
575
602
|
#Cancel a task
|
|
576
|
-
result = api_instance.tasks_cancel(task_href, patched_task_cancel)
|
|
603
|
+
result = api_instance.tasks_cancel(task_href, patched_task_cancel, opts)
|
|
577
604
|
p result
|
|
578
605
|
rescue PulpcoreClient::ApiError => e
|
|
579
606
|
puts "Exception when calling TasksApi->tasks_cancel: #{e}"
|
|
@@ -587,6 +614,7 @@ Name | Type | Description | Notes
|
|
|
587
614
|
------------- | ------------- | ------------- | -------------
|
|
588
615
|
**task_href** | **String**| |
|
|
589
616
|
**patched_task_cancel** | [**PatchedTaskCancel**](PatchedTaskCancel.md)| |
|
|
617
|
+
**x_task_diagnostics** | [**Array<String>**](String.md)| List of profilers to use on tasks. | [optional]
|
|
590
618
|
|
|
591
619
|
### Return type
|
|
592
620
|
|