pulpcore_client 3.21.32 → 3.22.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 +147 -143
- data/docs/AccessPoliciesApi.md +28 -28
- data/docs/ArtifactDistributionResponse.md +29 -0
- data/docs/ArtifactsApi.md +21 -21
- data/docs/ContentApi.md +6 -6
- data/docs/ContentSettingsResponse.md +19 -0
- data/docs/ContentguardsApi.md +8 -8
- data/docs/ContentguardsContentRedirectApi.md +53 -53
- data/docs/ContentguardsRbacApi.md +53 -53
- data/docs/DistributionResponse.md +1 -1
- data/docs/DistributionsApi.md +11 -11
- data/docs/DistributionsArtifactsApi.md +154 -0
- data/docs/ExportersFilesystemApi.md +33 -33
- data/docs/ExportersFilesystemExportsApi.md +21 -21
- data/docs/ExportersPulpApi.md +33 -33
- data/docs/ExportersPulpExportsApi.md +21 -21
- data/docs/FilesystemExport.md +1 -3
- data/docs/GroupsApi.md +51 -51
- data/docs/GroupsRolesApi.md +21 -21
- data/docs/GroupsUsersApi.md +16 -16
- data/docs/ImportersPulpApi.md +33 -33
- data/docs/ImportersPulpImportCheckApi.md +1 -1
- data/docs/ImportersPulpImportsApi.md +21 -21
- data/docs/OrphansApi.md +6 -6
- data/docs/OrphansCleanupApi.md +6 -6
- data/docs/PaginatedArtifactDistributionResponseList.md +23 -0
- data/docs/PublicationsApi.md +8 -8
- data/docs/RemoteResponse.md +4 -2
- data/docs/RemoteResponseHiddenFields.md +19 -0
- data/docs/RemotesApi.md +10 -10
- data/docs/RepairApi.md +6 -6
- data/docs/RepositoriesApi.md +9 -9
- data/docs/RepositoriesReclaimSpaceApi.md +6 -6
- data/docs/RepositoryResponse.md +1 -1
- data/docs/RepositoryVersionsApi.md +10 -10
- data/docs/RolesApi.md +31 -31
- data/docs/SigningServicesApi.md +15 -13
- data/docs/StatusApi.md +1 -1
- data/docs/StatusResponse.md +3 -1
- data/docs/TaskGroupsApi.md +11 -13
- data/docs/TaskSchedulesApi.md +35 -35
- data/docs/TasksApi.md +128 -114
- data/docs/UploadsApi.md +61 -51
- data/docs/UserResponse.md +3 -1
- data/docs/UsersApi.md +31 -31
- data/docs/UsersRolesApi.md +21 -21
- data/docs/WorkersApi.md +15 -15
- data/lib/pulpcore_client/api/access_policies_api.rb +34 -34
- data/lib/pulpcore_client/api/artifacts_api.rb +30 -30
- data/lib/pulpcore_client/api/content_api.rb +5 -5
- data/lib/pulpcore_client/api/contentguards_api.rb +8 -8
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +66 -66
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +66 -66
- data/lib/pulpcore_client/api/distributions_api.rb +12 -12
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +198 -0
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +40 -40
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +40 -40
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_api.rb +64 -64
- data/lib/pulpcore_client/api/groups_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -19
- data/lib/pulpcore_client/api/importers_pulp_api.rb +40 -40
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +25 -25
- data/lib/pulpcore_client/api/orphans_api.rb +5 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +6 -6
- data/lib/pulpcore_client/api/publications_api.rb +8 -8
- data/lib/pulpcore_client/api/remotes_api.rb +10 -10
- data/lib/pulpcore_client/api/repair_api.rb +6 -6
- data/lib/pulpcore_client/api/repositories_api.rb +8 -8
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +6 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +10 -10
- data/lib/pulpcore_client/api/roles_api.rb +38 -38
- data/lib/pulpcore_client/api/signing_services_api.rb +20 -13
- data/lib/pulpcore_client/api/task_groups_api.rb +11 -18
- data/lib/pulpcore_client/api/task_schedules_api.rb +42 -42
- data/lib/pulpcore_client/api/tasks_api.rb +159 -138
- data/lib/pulpcore_client/api/uploads_api.rb +84 -65
- data/lib/pulpcore_client/api/users_api.rb +38 -38
- data/lib/pulpcore_client/api/users_roles_api.rb +25 -25
- data/lib/pulpcore_client/api/workers_api.rb +16 -16
- data/lib/pulpcore_client/configuration.rb +3 -3
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +279 -0
- data/lib/pulpcore_client/models/content_settings_response.rb +228 -0
- data/lib/pulpcore_client/models/distribution_response.rb +4 -2
- data/lib/pulpcore_client/models/filesystem_export.rb +4 -14
- data/lib/pulpcore_client/models/group_role.rb +19 -0
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +237 -0
- data/lib/pulpcore_client/models/remote_response.rb +41 -27
- data/lib/pulpcore_client/models/remote_response_hidden_fields.rb +215 -0
- data/lib/pulpcore_client/models/repository_response.rb +4 -2
- data/lib/pulpcore_client/models/status_response.rb +19 -4
- data/lib/pulpcore_client/models/user_response.rb +16 -4
- data/lib/pulpcore_client/models/user_role.rb +19 -0
- data/lib/pulpcore_client/version.rb +1 -1
- data/lib/pulpcore_client.rb +5 -2
- data/spec/api/access_policies_api_spec.rb +11 -11
- data/spec/api/artifacts_api_spec.rb +8 -8
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/contentguards_api_spec.rb +3 -3
- data/spec/api/contentguards_content_redirect_api_spec.rb +21 -21
- data/spec/api/contentguards_rbac_api_spec.rb +21 -21
- data/spec/api/distributions_api_spec.rb +5 -5
- data/spec/api/distributions_artifacts_api_spec.rb +76 -0
- data/spec/api/exporters_filesystem_api_spec.rb +13 -13
- data/spec/api/exporters_filesystem_exports_api_spec.rb +8 -8
- data/spec/api/exporters_pulp_api_spec.rb +13 -13
- data/spec/api/exporters_pulp_exports_api_spec.rb +8 -8
- data/spec/api/groups_api_spec.rb +20 -20
- data/spec/api/groups_roles_api_spec.rb +8 -8
- data/spec/api/groups_users_api_spec.rb +6 -6
- data/spec/api/importers_pulp_api_spec.rb +13 -13
- data/spec/api/importers_pulp_imports_api_spec.rb +8 -8
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +3 -3
- data/spec/api/remotes_api_spec.rb +4 -4
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +3 -3
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +4 -4
- data/spec/api/roles_api_spec.rb +12 -12
- data/spec/api/signing_services_api_spec.rb +6 -5
- data/spec/api/task_groups_api_spec.rb +4 -5
- data/spec/api/task_schedules_api_spec.rb +14 -14
- data/spec/api/tasks_api_spec.rb +45 -38
- data/spec/api/uploads_api_spec.rb +25 -20
- data/spec/api/users_api_spec.rb +12 -12
- data/spec/api/users_roles_api_spec.rb +8 -8
- data/spec/api/workers_api_spec.rb +6 -6
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/artifact_distribution_response_spec.rb +77 -0
- data/spec/models/content_settings_response_spec.rb +47 -0
- data/spec/models/filesystem_export_spec.rb +0 -6
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +59 -0
- data/spec/models/remote_response_hidden_fields_spec.rb +47 -0
- data/spec/models/remote_response_spec.rb +6 -0
- data/spec/models/status_response_spec.rb +6 -0
- data/spec/models/user_response_spec.rb +6 -0
- metadata +162 -150
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/lib/pulpcore_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulpcore_client/api/docs_api_yaml_api.rb +0 -89
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
data/docs/RolesApi.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
# PulpcoreClient::RolesApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
9
|
-
[**
|
|
10
|
-
[**
|
|
11
|
-
[**
|
|
12
|
-
[**
|
|
7
|
+
[**create**](RolesApi.md#create) | **POST** /pulp/api/v3/roles/ | Create a role
|
|
8
|
+
[**delete**](RolesApi.md#delete) | **DELETE** {role_href} | Delete a role
|
|
9
|
+
[**list**](RolesApi.md#list) | **GET** /pulp/api/v3/roles/ | List roles
|
|
10
|
+
[**partial_update**](RolesApi.md#partial_update) | **PATCH** {role_href} | Update a role
|
|
11
|
+
[**read**](RolesApi.md#read) | **GET** {role_href} | Inspect a role
|
|
12
|
+
[**update**](RolesApi.md#update) | **PUT** {role_href} | Update a role
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
##
|
|
16
|
+
## create
|
|
17
17
|
|
|
18
|
-
> RoleResponse
|
|
18
|
+
> RoleResponse create(role)
|
|
19
19
|
|
|
20
20
|
Create a role
|
|
21
21
|
|
|
@@ -38,10 +38,10 @@ role = PulpcoreClient::Role.new # Role |
|
|
|
38
38
|
|
|
39
39
|
begin
|
|
40
40
|
#Create a role
|
|
41
|
-
result = api_instance.
|
|
41
|
+
result = api_instance.create(role)
|
|
42
42
|
p result
|
|
43
43
|
rescue PulpcoreClient::ApiError => e
|
|
44
|
-
puts "Exception when calling RolesApi->
|
|
44
|
+
puts "Exception when calling RolesApi->create: #{e}"
|
|
45
45
|
end
|
|
46
46
|
```
|
|
47
47
|
|
|
@@ -66,9 +66,9 @@ Name | Type | Description | Notes
|
|
|
66
66
|
- **Accept**: application/json
|
|
67
67
|
|
|
68
68
|
|
|
69
|
-
##
|
|
69
|
+
## delete
|
|
70
70
|
|
|
71
|
-
>
|
|
71
|
+
> delete(role_href)
|
|
72
72
|
|
|
73
73
|
Delete a role
|
|
74
74
|
|
|
@@ -91,9 +91,9 @@ role_href = 'role_href_example' # String |
|
|
|
91
91
|
|
|
92
92
|
begin
|
|
93
93
|
#Delete a role
|
|
94
|
-
api_instance.
|
|
94
|
+
api_instance.delete(role_href)
|
|
95
95
|
rescue PulpcoreClient::ApiError => e
|
|
96
|
-
puts "Exception when calling RolesApi->
|
|
96
|
+
puts "Exception when calling RolesApi->delete: #{e}"
|
|
97
97
|
end
|
|
98
98
|
```
|
|
99
99
|
|
|
@@ -118,9 +118,9 @@ nil (empty response body)
|
|
|
118
118
|
- **Accept**: Not defined
|
|
119
119
|
|
|
120
120
|
|
|
121
|
-
##
|
|
121
|
+
## list
|
|
122
122
|
|
|
123
|
-
> PaginatedRoleResponseList
|
|
123
|
+
> PaginatedRoleResponseList list(opts)
|
|
124
124
|
|
|
125
125
|
List roles
|
|
126
126
|
|
|
@@ -161,10 +161,10 @@ opts = {
|
|
|
161
161
|
|
|
162
162
|
begin
|
|
163
163
|
#List roles
|
|
164
|
-
result = api_instance.
|
|
164
|
+
result = api_instance.list(opts)
|
|
165
165
|
p result
|
|
166
166
|
rescue PulpcoreClient::ApiError => e
|
|
167
|
-
puts "Exception when calling RolesApi->
|
|
167
|
+
puts "Exception when calling RolesApi->list: #{e}"
|
|
168
168
|
end
|
|
169
169
|
```
|
|
170
170
|
|
|
@@ -205,9 +205,9 @@ Name | Type | Description | Notes
|
|
|
205
205
|
- **Accept**: application/json
|
|
206
206
|
|
|
207
207
|
|
|
208
|
-
##
|
|
208
|
+
## partial_update
|
|
209
209
|
|
|
210
|
-
> RoleResponse
|
|
210
|
+
> RoleResponse partial_update(role_href, patched_role)
|
|
211
211
|
|
|
212
212
|
Update a role
|
|
213
213
|
|
|
@@ -231,10 +231,10 @@ patched_role = PulpcoreClient::PatchedRole.new # PatchedRole |
|
|
|
231
231
|
|
|
232
232
|
begin
|
|
233
233
|
#Update a role
|
|
234
|
-
result = api_instance.
|
|
234
|
+
result = api_instance.partial_update(role_href, patched_role)
|
|
235
235
|
p result
|
|
236
236
|
rescue PulpcoreClient::ApiError => e
|
|
237
|
-
puts "Exception when calling RolesApi->
|
|
237
|
+
puts "Exception when calling RolesApi->partial_update: #{e}"
|
|
238
238
|
end
|
|
239
239
|
```
|
|
240
240
|
|
|
@@ -260,9 +260,9 @@ Name | Type | Description | Notes
|
|
|
260
260
|
- **Accept**: application/json
|
|
261
261
|
|
|
262
262
|
|
|
263
|
-
##
|
|
263
|
+
## read
|
|
264
264
|
|
|
265
|
-
> RoleResponse
|
|
265
|
+
> RoleResponse read(role_href, opts)
|
|
266
266
|
|
|
267
267
|
Inspect a role
|
|
268
268
|
|
|
@@ -289,10 +289,10 @@ opts = {
|
|
|
289
289
|
|
|
290
290
|
begin
|
|
291
291
|
#Inspect a role
|
|
292
|
-
result = api_instance.
|
|
292
|
+
result = api_instance.read(role_href, opts)
|
|
293
293
|
p result
|
|
294
294
|
rescue PulpcoreClient::ApiError => e
|
|
295
|
-
puts "Exception when calling RolesApi->
|
|
295
|
+
puts "Exception when calling RolesApi->read: #{e}"
|
|
296
296
|
end
|
|
297
297
|
```
|
|
298
298
|
|
|
@@ -319,9 +319,9 @@ Name | Type | Description | Notes
|
|
|
319
319
|
- **Accept**: application/json
|
|
320
320
|
|
|
321
321
|
|
|
322
|
-
##
|
|
322
|
+
## update
|
|
323
323
|
|
|
324
|
-
> RoleResponse
|
|
324
|
+
> RoleResponse update(role_href, role)
|
|
325
325
|
|
|
326
326
|
Update a role
|
|
327
327
|
|
|
@@ -345,10 +345,10 @@ role = PulpcoreClient::Role.new # Role |
|
|
|
345
345
|
|
|
346
346
|
begin
|
|
347
347
|
#Update a role
|
|
348
|
-
result = api_instance.
|
|
348
|
+
result = api_instance.update(role_href, role)
|
|
349
349
|
p result
|
|
350
350
|
rescue PulpcoreClient::ApiError => e
|
|
351
|
-
puts "Exception when calling RolesApi->
|
|
351
|
+
puts "Exception when calling RolesApi->update: #{e}"
|
|
352
352
|
end
|
|
353
353
|
```
|
|
354
354
|
|
data/docs/SigningServicesApi.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
# PulpcoreClient::SigningServicesApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
7
|
+
[**list**](SigningServicesApi.md#list) | **GET** /pulp/api/v3/signing-services/ | List signing services
|
|
8
|
+
[**read**](SigningServicesApi.md#read) | **GET** {signing_service_href} | Inspect a signing service
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## list
|
|
13
13
|
|
|
14
|
-
> PaginatedSigningServiceResponseList
|
|
14
|
+
> PaginatedSigningServiceResponseList list(opts)
|
|
15
15
|
|
|
16
16
|
List signing services
|
|
17
17
|
|
|
@@ -32,18 +32,19 @@ end
|
|
|
32
32
|
api_instance = PulpcoreClient::SigningServicesApi.new
|
|
33
33
|
opts = {
|
|
34
34
|
limit: 56, # Integer | Number of results to return per page.
|
|
35
|
-
name: 'name_example', # String |
|
|
35
|
+
name: 'name_example', # String | Filter results where name matches value
|
|
36
36
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
37
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
37
38
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
38
39
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
39
40
|
}
|
|
40
41
|
|
|
41
42
|
begin
|
|
42
43
|
#List signing services
|
|
43
|
-
result = api_instance.
|
|
44
|
+
result = api_instance.list(opts)
|
|
44
45
|
p result
|
|
45
46
|
rescue PulpcoreClient::ApiError => e
|
|
46
|
-
puts "Exception when calling SigningServicesApi->
|
|
47
|
+
puts "Exception when calling SigningServicesApi->list: #{e}"
|
|
47
48
|
end
|
|
48
49
|
```
|
|
49
50
|
|
|
@@ -53,8 +54,9 @@ end
|
|
|
53
54
|
Name | Type | Description | Notes
|
|
54
55
|
------------- | ------------- | ------------- | -------------
|
|
55
56
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
56
|
-
**name** | **String**|
|
|
57
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
|
57
58
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
59
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
58
60
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
59
61
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
60
62
|
|
|
@@ -72,9 +74,9 @@ Name | Type | Description | Notes
|
|
|
72
74
|
- **Accept**: application/json
|
|
73
75
|
|
|
74
76
|
|
|
75
|
-
##
|
|
77
|
+
## read
|
|
76
78
|
|
|
77
|
-
> SigningServiceResponse
|
|
79
|
+
> SigningServiceResponse read(signing_service_href, opts)
|
|
78
80
|
|
|
79
81
|
Inspect a signing service
|
|
80
82
|
|
|
@@ -101,10 +103,10 @@ opts = {
|
|
|
101
103
|
|
|
102
104
|
begin
|
|
103
105
|
#Inspect a signing service
|
|
104
|
-
result = api_instance.
|
|
106
|
+
result = api_instance.read(signing_service_href, opts)
|
|
105
107
|
p result
|
|
106
108
|
rescue PulpcoreClient::ApiError => e
|
|
107
|
-
puts "Exception when calling SigningServicesApi->
|
|
109
|
+
puts "Exception when calling SigningServicesApi->read: #{e}"
|
|
108
110
|
end
|
|
109
111
|
```
|
|
110
112
|
|
data/docs/StatusApi.md
CHANGED
data/docs/StatusResponse.md
CHANGED
|
@@ -10,6 +10,7 @@ Name | Type | Description | Notes
|
|
|
10
10
|
**database_connection** | [**DatabaseConnectionResponse**](DatabaseConnectionResponse.md) | Database connection information |
|
|
11
11
|
**redis_connection** | [**RedisConnectionResponse**](RedisConnectionResponse.md) | Redis connection information | [optional]
|
|
12
12
|
**storage** | [**StorageResponse**](StorageResponse.md) | Storage information | [optional]
|
|
13
|
+
**content_settings** | [**ContentSettingsResponse**](ContentSettingsResponse.md) | Content-app settings |
|
|
13
14
|
|
|
14
15
|
## Code Sample
|
|
15
16
|
|
|
@@ -21,7 +22,8 @@ instance = PulpcoreClient::StatusResponse.new(versions: null,
|
|
|
21
22
|
online_content_apps: null,
|
|
22
23
|
database_connection: null,
|
|
23
24
|
redis_connection: null,
|
|
24
|
-
storage: null
|
|
25
|
+
storage: null,
|
|
26
|
+
content_settings: null)
|
|
25
27
|
```
|
|
26
28
|
|
|
27
29
|
|
data/docs/TaskGroupsApi.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
# PulpcoreClient::TaskGroupsApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
7
|
+
[**list**](TaskGroupsApi.md#list) | **GET** /pulp/api/v3/task-groups/ | List task groups
|
|
8
|
+
[**read**](TaskGroupsApi.md#read) | **GET** {task_group_href} | Inspect a task group
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
##
|
|
12
|
+
## list
|
|
13
13
|
|
|
14
|
-
> PaginatedTaskGroupResponseList
|
|
14
|
+
> PaginatedTaskGroupResponseList list(opts)
|
|
15
15
|
|
|
16
16
|
List task groups
|
|
17
17
|
|
|
@@ -33,17 +33,16 @@ api_instance = PulpcoreClient::TaskGroupsApi.new
|
|
|
33
33
|
opts = {
|
|
34
34
|
limit: 56, # Integer | Number of results to return per page.
|
|
35
35
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
36
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
37
36
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
38
37
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
39
38
|
}
|
|
40
39
|
|
|
41
40
|
begin
|
|
42
41
|
#List task groups
|
|
43
|
-
result = api_instance.
|
|
42
|
+
result = api_instance.list(opts)
|
|
44
43
|
p result
|
|
45
44
|
rescue PulpcoreClient::ApiError => e
|
|
46
|
-
puts "Exception when calling TaskGroupsApi->
|
|
45
|
+
puts "Exception when calling TaskGroupsApi->list: #{e}"
|
|
47
46
|
end
|
|
48
47
|
```
|
|
49
48
|
|
|
@@ -54,7 +53,6 @@ Name | Type | Description | Notes
|
|
|
54
53
|
------------- | ------------- | ------------- | -------------
|
|
55
54
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
56
55
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
57
|
-
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
58
56
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
59
57
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
60
58
|
|
|
@@ -72,9 +70,9 @@ Name | Type | Description | Notes
|
|
|
72
70
|
- **Accept**: application/json
|
|
73
71
|
|
|
74
72
|
|
|
75
|
-
##
|
|
73
|
+
## read
|
|
76
74
|
|
|
77
|
-
> TaskGroupResponse
|
|
75
|
+
> TaskGroupResponse read(task_group_href, opts)
|
|
78
76
|
|
|
79
77
|
Inspect a task group
|
|
80
78
|
|
|
@@ -101,10 +99,10 @@ opts = {
|
|
|
101
99
|
|
|
102
100
|
begin
|
|
103
101
|
#Inspect a task group
|
|
104
|
-
result = api_instance.
|
|
102
|
+
result = api_instance.read(task_group_href, opts)
|
|
105
103
|
p result
|
|
106
104
|
rescue PulpcoreClient::ApiError => e
|
|
107
|
-
puts "Exception when calling TaskGroupsApi->
|
|
105
|
+
puts "Exception when calling TaskGroupsApi->read: #{e}"
|
|
108
106
|
end
|
|
109
107
|
```
|
|
110
108
|
|
data/docs/TaskSchedulesApi.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
# PulpcoreClient::TaskSchedulesApi
|
|
2
2
|
|
|
3
|
-
All URIs are relative to *
|
|
3
|
+
All URIs are relative to *https://pulp*
|
|
4
4
|
|
|
5
5
|
Method | HTTP request | Description
|
|
6
6
|
------------- | ------------- | -------------
|
|
7
|
-
[**
|
|
8
|
-
[**
|
|
9
|
-
[**
|
|
10
|
-
[**
|
|
11
|
-
[**
|
|
12
|
-
[**
|
|
7
|
+
[**add_role**](TaskSchedulesApi.md#add_role) | **POST** {task_schedule_href}add_role/ |
|
|
8
|
+
[**list**](TaskSchedulesApi.md#list) | **GET** /pulp/api/v3/task-schedules/ | List task schedules
|
|
9
|
+
[**list_roles**](TaskSchedulesApi.md#list_roles) | **GET** {task_schedule_href}list_roles/ |
|
|
10
|
+
[**my_permissions**](TaskSchedulesApi.md#my_permissions) | **GET** {task_schedule_href}my_permissions/ |
|
|
11
|
+
[**read**](TaskSchedulesApi.md#read) | **GET** {task_schedule_href} | Inspect a task schedule
|
|
12
|
+
[**remove_role**](TaskSchedulesApi.md#remove_role) | **POST** {task_schedule_href}remove_role/ |
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
##
|
|
16
|
+
## add_role
|
|
17
17
|
|
|
18
|
-
> NestedRoleResponse
|
|
18
|
+
> NestedRoleResponse add_role(task_schedule_href, nested_role)
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
@@ -38,10 +38,10 @@ task_schedule_href = 'task_schedule_href_example' # String |
|
|
|
38
38
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
|
39
39
|
|
|
40
40
|
begin
|
|
41
|
-
result = api_instance.
|
|
41
|
+
result = api_instance.add_role(task_schedule_href, nested_role)
|
|
42
42
|
p result
|
|
43
43
|
rescue PulpcoreClient::ApiError => e
|
|
44
|
-
puts "Exception when calling TaskSchedulesApi->
|
|
44
|
+
puts "Exception when calling TaskSchedulesApi->add_role: #{e}"
|
|
45
45
|
end
|
|
46
46
|
```
|
|
47
47
|
|
|
@@ -67,9 +67,9 @@ Name | Type | Description | Notes
|
|
|
67
67
|
- **Accept**: application/json
|
|
68
68
|
|
|
69
69
|
|
|
70
|
-
##
|
|
70
|
+
## list
|
|
71
71
|
|
|
72
|
-
> PaginatedTaskScheduleResponseList
|
|
72
|
+
> PaginatedTaskScheduleResponseList list(opts)
|
|
73
73
|
|
|
74
74
|
List task schedules
|
|
75
75
|
|
|
@@ -90,11 +90,11 @@ end
|
|
|
90
90
|
api_instance = PulpcoreClient::TaskSchedulesApi.new
|
|
91
91
|
opts = {
|
|
92
92
|
limit: 56, # Integer | Number of results to return per page.
|
|
93
|
-
name: 'name_example', # String |
|
|
93
|
+
name: 'name_example', # String | Filter results where name matches value
|
|
94
94
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
|
95
95
|
offset: 56, # Integer | The initial index from which to return the results.
|
|
96
96
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
|
97
|
-
task_name: 'task_name_example', # String |
|
|
97
|
+
task_name: 'task_name_example', # String | Filter results where task_name matches value
|
|
98
98
|
task_name__contains: 'task_name__contains_example', # String | Filter results where task_name contains value
|
|
99
99
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
|
100
100
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
|
@@ -102,10 +102,10 @@ opts = {
|
|
|
102
102
|
|
|
103
103
|
begin
|
|
104
104
|
#List task schedules
|
|
105
|
-
result = api_instance.
|
|
105
|
+
result = api_instance.list(opts)
|
|
106
106
|
p result
|
|
107
107
|
rescue PulpcoreClient::ApiError => e
|
|
108
|
-
puts "Exception when calling TaskSchedulesApi->
|
|
108
|
+
puts "Exception when calling TaskSchedulesApi->list: #{e}"
|
|
109
109
|
end
|
|
110
110
|
```
|
|
111
111
|
|
|
@@ -115,11 +115,11 @@ end
|
|
|
115
115
|
Name | Type | Description | Notes
|
|
116
116
|
------------- | ------------- | ------------- | -------------
|
|
117
117
|
**limit** | **Integer**| Number of results to return per page. | [optional]
|
|
118
|
-
**name** | **String**|
|
|
118
|
+
**name** | **String**| Filter results where name matches value | [optional]
|
|
119
119
|
**name__contains** | **String**| Filter results where name contains value | [optional]
|
|
120
120
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
|
121
121
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
|
122
|
-
**task_name** | **String**|
|
|
122
|
+
**task_name** | **String**| Filter results where task_name matches value | [optional]
|
|
123
123
|
**task_name__contains** | **String**| Filter results where task_name contains value | [optional]
|
|
124
124
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
|
125
125
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
|
@@ -138,9 +138,9 @@ Name | Type | Description | Notes
|
|
|
138
138
|
- **Accept**: application/json
|
|
139
139
|
|
|
140
140
|
|
|
141
|
-
##
|
|
141
|
+
## list_roles
|
|
142
142
|
|
|
143
|
-
> ObjectRolesResponse
|
|
143
|
+
> ObjectRolesResponse list_roles(task_schedule_href, opts)
|
|
144
144
|
|
|
145
145
|
|
|
146
146
|
|
|
@@ -166,10 +166,10 @@ opts = {
|
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
begin
|
|
169
|
-
result = api_instance.
|
|
169
|
+
result = api_instance.list_roles(task_schedule_href, opts)
|
|
170
170
|
p result
|
|
171
171
|
rescue PulpcoreClient::ApiError => e
|
|
172
|
-
puts "Exception when calling TaskSchedulesApi->
|
|
172
|
+
puts "Exception when calling TaskSchedulesApi->list_roles: #{e}"
|
|
173
173
|
end
|
|
174
174
|
```
|
|
175
175
|
|
|
@@ -196,9 +196,9 @@ Name | Type | Description | Notes
|
|
|
196
196
|
- **Accept**: application/json
|
|
197
197
|
|
|
198
198
|
|
|
199
|
-
##
|
|
199
|
+
## my_permissions
|
|
200
200
|
|
|
201
|
-
> MyPermissionsResponse
|
|
201
|
+
> MyPermissionsResponse my_permissions(task_schedule_href, opts)
|
|
202
202
|
|
|
203
203
|
|
|
204
204
|
|
|
@@ -224,10 +224,10 @@ opts = {
|
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
begin
|
|
227
|
-
result = api_instance.
|
|
227
|
+
result = api_instance.my_permissions(task_schedule_href, opts)
|
|
228
228
|
p result
|
|
229
229
|
rescue PulpcoreClient::ApiError => e
|
|
230
|
-
puts "Exception when calling TaskSchedulesApi->
|
|
230
|
+
puts "Exception when calling TaskSchedulesApi->my_permissions: #{e}"
|
|
231
231
|
end
|
|
232
232
|
```
|
|
233
233
|
|
|
@@ -254,9 +254,9 @@ Name | Type | Description | Notes
|
|
|
254
254
|
- **Accept**: application/json
|
|
255
255
|
|
|
256
256
|
|
|
257
|
-
##
|
|
257
|
+
## read
|
|
258
258
|
|
|
259
|
-
> TaskScheduleResponse
|
|
259
|
+
> TaskScheduleResponse read(task_schedule_href, opts)
|
|
260
260
|
|
|
261
261
|
Inspect a task schedule
|
|
262
262
|
|
|
@@ -283,10 +283,10 @@ opts = {
|
|
|
283
283
|
|
|
284
284
|
begin
|
|
285
285
|
#Inspect a task schedule
|
|
286
|
-
result = api_instance.
|
|
286
|
+
result = api_instance.read(task_schedule_href, opts)
|
|
287
287
|
p result
|
|
288
288
|
rescue PulpcoreClient::ApiError => e
|
|
289
|
-
puts "Exception when calling TaskSchedulesApi->
|
|
289
|
+
puts "Exception when calling TaskSchedulesApi->read: #{e}"
|
|
290
290
|
end
|
|
291
291
|
```
|
|
292
292
|
|
|
@@ -313,9 +313,9 @@ Name | Type | Description | Notes
|
|
|
313
313
|
- **Accept**: application/json
|
|
314
314
|
|
|
315
315
|
|
|
316
|
-
##
|
|
316
|
+
## remove_role
|
|
317
317
|
|
|
318
|
-
> NestedRoleResponse
|
|
318
|
+
> NestedRoleResponse remove_role(task_schedule_href, nested_role)
|
|
319
319
|
|
|
320
320
|
|
|
321
321
|
|
|
@@ -338,10 +338,10 @@ task_schedule_href = 'task_schedule_href_example' # String |
|
|
|
338
338
|
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
|
339
339
|
|
|
340
340
|
begin
|
|
341
|
-
result = api_instance.
|
|
341
|
+
result = api_instance.remove_role(task_schedule_href, nested_role)
|
|
342
342
|
p result
|
|
343
343
|
rescue PulpcoreClient::ApiError => e
|
|
344
|
-
puts "Exception when calling TaskSchedulesApi->
|
|
344
|
+
puts "Exception when calling TaskSchedulesApi->remove_role: #{e}"
|
|
345
345
|
end
|
|
346
346
|
```
|
|
347
347
|
|