pulp_ansible_client 0.16.4 → 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +89 -21
- data/docs/AnsibleAnsibleNamespaceMetadata.md +29 -0
- data/docs/AnsibleAnsibleNamespaceMetadataResponse.md +35 -0
- data/docs/AnsibleAnsibleRepository.md +4 -2
- data/docs/AnsibleAnsibleRepositoryResponse.md +6 -2
- data/docs/AnsibleCollectionRemoteResponse.md +3 -1
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionMark.md +19 -0
- data/docs/AnsibleCollectionVersionMarkResponse.md +23 -0
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleCollectionsApi.md +229 -1
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRepositoryMark.md +19 -0
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ApiCollectionsApi.md +1 -1
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- data/docs/CollectionNamespaceResponse.md +3 -1
- data/docs/CollectionSummaryResponse.md +35 -0
- data/docs/CollectionVersionCopyMove.md +21 -0
- data/docs/CollectionVersionListResponse.md +3 -1
- data/docs/CollectionVersionResponse.md +2 -0
- data/docs/CollectionVersionSearchList.md +27 -0
- data/docs/CollectionVersionSearchListResponse.md +29 -0
- data/docs/ContentCollectionDeprecationsApi.md +1 -1
- data/docs/ContentCollectionMarksApi.md +198 -0
- data/docs/ContentCollectionSignaturesApi.md +1 -1
- data/docs/ContentCollectionVersionsApi.md +5 -5
- data/docs/ContentNamespacesApi.md +220 -0
- data/docs/ContentRolesApi.md +1 -1
- data/docs/DistributionsAnsibleApi.md +233 -1
- data/docs/GalaxyDetailApi.md +1 -1
- data/docs/MyPermissionsResponse.md +17 -0
- data/docs/NamespaceLink.md +19 -0
- data/docs/NamespaceLinkResponse.md +19 -0
- data/docs/NestedRole.md +21 -0
- data/docs/NestedRoleResponse.md +21 -0
- data/docs/ObjectRolesResponse.md +17 -0
- data/docs/PaginatedCollectionVersionSearchListResponseList.md +21 -0
- data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +23 -0
- data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +23 -0
- data/docs/PatchedansibleAnsibleNamespaceMetadata.md +29 -0
- data/docs/PatchedansibleAnsibleRepository.md +4 -2
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/ProgressReportResponse.md +27 -0
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +158 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +7 -7
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +363 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md +168 -0
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +154 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +7 -7
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +353 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +164 -0
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +237 -1
- data/docs/RemotesGitApi.md +229 -1
- data/docs/RemotesRoleApi.md +229 -1
- data/docs/RepositoriesAnsibleApi.md +465 -1
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
- data/docs/Repository.md +25 -0
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/RepositoryResponse.md +33 -0
- data/docs/Task.md +19 -0
- data/docs/TaskResponse.md +45 -0
- data/docs/UnpaginatedCollectionVersionResponse.md +2 -0
- data/docs/VersionsApi.md +11 -11
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +268 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +247 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +276 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +274 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +209 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +8 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +531 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb +229 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +197 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +7 -7
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +501 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +217 -0
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +281 -1
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +268 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +268 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +564 -0
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/configuration.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +359 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +402 -0
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +15 -6
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +24 -6
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +33 -24
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_mark.rb +258 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_mark_response.rb +268 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +219 -219
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +147 -147
- data/lib/pulp_ansible_client/models/ansible_repository_mark.rb +260 -0
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +13 -4
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +359 -0
- data/lib/pulp_ansible_client/models/collection_version_copy_move.rb +242 -0
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +16 -5
- data/lib/pulp_ansible_client/models/collection_version_response.rb +12 -1
- data/lib/pulp_ansible_client/models/collection_version_search_list.rb +279 -0
- data/lib/pulp_ansible_client/models/collection_version_search_list_response.rb +287 -0
- data/lib/pulp_ansible_client/models/my_permissions_response.rb +213 -0
- data/lib/pulp_ansible_client/models/namespace_link.rb +282 -0
- data/lib/pulp_ansible_client/models/namespace_link_response.rb +264 -0
- data/lib/pulp_ansible_client/models/nested_role.rb +253 -0
- data/lib/pulp_ansible_client/models/nested_role_response.rb +234 -0
- data/lib/pulp_ansible_client/models/object_roles_response.rb +213 -0
- data/lib/pulp_ansible_client/models/paginated_collection_version_search_list_response_list.rb +226 -0
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +237 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +237 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_namespace_metadata.rb +350 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +15 -6
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +211 -211
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/progress_report_response.rb +259 -0
- data/lib/pulp_ansible_client/models/repository.rb +306 -0
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_ansible_client/models/repository_response.rb +309 -0
- data/lib/pulp_ansible_client/models/task.rb +266 -0
- data/lib/pulp_ansible_client/models/task_response.rb +366 -0
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +12 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +32 -0
- data/spec/api/ansible_collections_api_spec.rb +50 -0
- data/spec/api/content_collection_marks_api_spec.rb +83 -0
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/api/content_namespaces_api_spec.rb +93 -0
- data/spec/api/distributions_ansible_api_spec.rb +52 -0
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +77 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +131 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +83 -0
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +75 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +126 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +81 -0
- data/spec/api/remotes_collection_api_spec.rb +54 -0
- data/spec/api/remotes_git_api_spec.rb +50 -0
- data/spec/api/remotes_role_api_spec.rb +50 -0
- data/spec/api/repositories_ansible_api_spec.rb +106 -0
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/ansible_ansible_namespace_metadata_response_spec.rb +95 -0
- data/spec/models/ansible_ansible_namespace_metadata_spec.rb +77 -0
- data/spec/models/ansible_ansible_repository_response_spec.rb +12 -0
- data/spec/models/ansible_ansible_repository_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_mark_response_spec.rb +59 -0
- data/spec/models/ansible_collection_version_mark_spec.rb +47 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +17 -17
- data/spec/models/ansible_repository_mark_spec.rb +47 -0
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/collection_namespace_response_spec.rb +6 -0
- data/spec/models/collection_summary_response_spec.rb +95 -0
- data/spec/models/collection_version_copy_move_spec.rb +53 -0
- data/spec/models/collection_version_list_response_spec.rb +6 -0
- data/spec/models/collection_version_response_spec.rb +6 -0
- data/spec/models/collection_version_search_list_response_spec.rb +77 -0
- data/spec/models/collection_version_search_list_spec.rb +71 -0
- data/spec/models/my_permissions_response_spec.rb +41 -0
- data/spec/models/namespace_link_response_spec.rb +47 -0
- data/spec/models/namespace_link_spec.rb +47 -0
- data/spec/models/nested_role_response_spec.rb +53 -0
- data/spec/models/nested_role_spec.rb +53 -0
- data/spec/models/object_roles_response_spec.rb +41 -0
- data/spec/models/paginated_collection_version_search_list_response_list_spec.rb +53 -0
- data/spec/models/paginatedansible_ansible_namespace_metadata_response_list_spec.rb +59 -0
- data/spec/models/paginatedansible_collection_version_mark_response_list_spec.rb +59 -0
- data/spec/models/patchedansible_ansible_namespace_metadata_spec.rb +77 -0
- data/spec/models/patchedansible_ansible_repository_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +17 -17
- data/spec/models/progress_report_response_spec.rb +71 -0
- data/spec/models/repository_response_spec.rb +89 -0
- data/spec/models/repository_spec.rb +65 -0
- data/spec/models/task_response_spec.rb +125 -0
- data/spec/models/task_spec.rb +47 -0
- data/spec/models/unpaginated_collection_version_response_spec.rb +6 -0
- metadata +241 -113
@@ -1,22 +1,138 @@
|
|
1
1
|
# PulpAnsibleClient::RepositoriesAnsibleApi
|
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
|
+
[**add_role**](RepositoriesAnsibleApi.md#add_role) | **POST** {ansible_ansible_repository_href}add_role/ |
|
8
|
+
[**copy_collection_version**](RepositoriesAnsibleApi.md#copy_collection_version) | **POST** {ansible_ansible_repository_href}copy_collection_version/ |
|
7
9
|
[**create**](RepositoriesAnsibleApi.md#create) | **POST** /pulp/api/v3/repositories/ansible/ansible/ | Create an ansible repository
|
8
10
|
[**delete**](RepositoriesAnsibleApi.md#delete) | **DELETE** {ansible_ansible_repository_href} | Delete an ansible repository
|
9
11
|
[**list**](RepositoriesAnsibleApi.md#list) | **GET** /pulp/api/v3/repositories/ansible/ansible/ | List ansible repositorys
|
12
|
+
[**list_roles**](RepositoriesAnsibleApi.md#list_roles) | **GET** {ansible_ansible_repository_href}list_roles/ |
|
13
|
+
[**mark**](RepositoriesAnsibleApi.md#mark) | **POST** {ansible_ansible_repository_href}mark/ |
|
10
14
|
[**modify**](RepositoriesAnsibleApi.md#modify) | **POST** {ansible_ansible_repository_href}modify/ | Modify Repository Content
|
15
|
+
[**move_collection_version**](RepositoriesAnsibleApi.md#move_collection_version) | **POST** {ansible_ansible_repository_href}move_collection_version/ |
|
16
|
+
[**my_permissions**](RepositoriesAnsibleApi.md#my_permissions) | **GET** {ansible_ansible_repository_href}my_permissions/ |
|
11
17
|
[**partial_update**](RepositoriesAnsibleApi.md#partial_update) | **PATCH** {ansible_ansible_repository_href} | Update an ansible repository
|
12
18
|
[**read**](RepositoriesAnsibleApi.md#read) | **GET** {ansible_ansible_repository_href} | Inspect an ansible repository
|
13
19
|
[**rebuild_metadata**](RepositoriesAnsibleApi.md#rebuild_metadata) | **POST** {ansible_ansible_repository_href}rebuild_metadata/ |
|
20
|
+
[**remove_role**](RepositoriesAnsibleApi.md#remove_role) | **POST** {ansible_ansible_repository_href}remove_role/ |
|
14
21
|
[**sign**](RepositoriesAnsibleApi.md#sign) | **POST** {ansible_ansible_repository_href}sign/ |
|
15
22
|
[**sync**](RepositoriesAnsibleApi.md#sync) | **POST** {ansible_ansible_repository_href}sync/ |
|
23
|
+
[**unmark**](RepositoriesAnsibleApi.md#unmark) | **POST** {ansible_ansible_repository_href}unmark/ |
|
16
24
|
[**update**](RepositoriesAnsibleApi.md#update) | **PUT** {ansible_ansible_repository_href} | Update an ansible repository
|
17
25
|
|
18
26
|
|
19
27
|
|
28
|
+
## add_role
|
29
|
+
|
30
|
+
> NestedRoleResponse add_role(ansible_ansible_repository_href, nested_role)
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
Add a role for this object to users/groups.
|
35
|
+
|
36
|
+
### Example
|
37
|
+
|
38
|
+
```ruby
|
39
|
+
# load the gem
|
40
|
+
require 'pulp_ansible_client'
|
41
|
+
# setup authorization
|
42
|
+
PulpAnsibleClient.configure do |config|
|
43
|
+
# Configure HTTP basic authorization: basicAuth
|
44
|
+
config.username = 'YOUR USERNAME'
|
45
|
+
config.password = 'YOUR PASSWORD'
|
46
|
+
end
|
47
|
+
|
48
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
49
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
50
|
+
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
51
|
+
|
52
|
+
begin
|
53
|
+
result = api_instance.add_role(ansible_ansible_repository_href, nested_role)
|
54
|
+
p result
|
55
|
+
rescue PulpAnsibleClient::ApiError => e
|
56
|
+
puts "Exception when calling RepositoriesAnsibleApi->add_role: #{e}"
|
57
|
+
end
|
58
|
+
```
|
59
|
+
|
60
|
+
### Parameters
|
61
|
+
|
62
|
+
|
63
|
+
Name | Type | Description | Notes
|
64
|
+
------------- | ------------- | ------------- | -------------
|
65
|
+
**ansible_ansible_repository_href** | **String**| |
|
66
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
67
|
+
|
68
|
+
### Return type
|
69
|
+
|
70
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
71
|
+
|
72
|
+
### Authorization
|
73
|
+
|
74
|
+
[basicAuth](../README.md#basicAuth)
|
75
|
+
|
76
|
+
### HTTP request headers
|
77
|
+
|
78
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
79
|
+
- **Accept**: application/json
|
80
|
+
|
81
|
+
|
82
|
+
## copy_collection_version
|
83
|
+
|
84
|
+
> AsyncOperationResponse copy_collection_version(ansible_ansible_repository_href, collection_version_copy_move)
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
Trigger an asynchronous task to copy collection versions.
|
89
|
+
|
90
|
+
### Example
|
91
|
+
|
92
|
+
```ruby
|
93
|
+
# load the gem
|
94
|
+
require 'pulp_ansible_client'
|
95
|
+
# setup authorization
|
96
|
+
PulpAnsibleClient.configure do |config|
|
97
|
+
# Configure HTTP basic authorization: basicAuth
|
98
|
+
config.username = 'YOUR USERNAME'
|
99
|
+
config.password = 'YOUR PASSWORD'
|
100
|
+
end
|
101
|
+
|
102
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
103
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
104
|
+
collection_version_copy_move = PulpAnsibleClient::CollectionVersionCopyMove.new # CollectionVersionCopyMove |
|
105
|
+
|
106
|
+
begin
|
107
|
+
result = api_instance.copy_collection_version(ansible_ansible_repository_href, collection_version_copy_move)
|
108
|
+
p result
|
109
|
+
rescue PulpAnsibleClient::ApiError => e
|
110
|
+
puts "Exception when calling RepositoriesAnsibleApi->copy_collection_version: #{e}"
|
111
|
+
end
|
112
|
+
```
|
113
|
+
|
114
|
+
### Parameters
|
115
|
+
|
116
|
+
|
117
|
+
Name | Type | Description | Notes
|
118
|
+
------------- | ------------- | ------------- | -------------
|
119
|
+
**ansible_ansible_repository_href** | **String**| |
|
120
|
+
**collection_version_copy_move** | [**CollectionVersionCopyMove**](CollectionVersionCopyMove.md)| |
|
121
|
+
|
122
|
+
### Return type
|
123
|
+
|
124
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
125
|
+
|
126
|
+
### Authorization
|
127
|
+
|
128
|
+
[basicAuth](../README.md#basicAuth)
|
129
|
+
|
130
|
+
### HTTP request headers
|
131
|
+
|
132
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
133
|
+
- **Accept**: application/json
|
134
|
+
|
135
|
+
|
20
136
|
## create
|
21
137
|
|
22
138
|
> AnsibleAnsibleRepositoryResponse create(ansible_ansible_repository)
|
@@ -155,6 +271,14 @@ opts = {
|
|
155
271
|
ordering: ['ordering_example'], # Array<String> | Ordering
|
156
272
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
157
273
|
remote: 'remote_example', # String | Foreign Key referenced by HREF
|
274
|
+
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
275
|
+
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
276
|
+
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
277
|
+
retain_repo_versions__isnull: true, # Boolean | Filter results where retain_repo_versions has a null value
|
278
|
+
retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
|
279
|
+
retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
|
280
|
+
retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
|
281
|
+
retain_repo_versions__range: [56], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
|
158
282
|
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
159
283
|
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
160
284
|
}
|
@@ -183,6 +307,14 @@ Name | Type | Description | Notes
|
|
183
307
|
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
184
308
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
185
309
|
**remote** | **String**| Foreign Key referenced by HREF | [optional]
|
310
|
+
**retain_repo_versions** | **Integer**| Filter results where retain_repo_versions matches value | [optional]
|
311
|
+
**retain_repo_versions__gt** | **Integer**| Filter results where retain_repo_versions is greater than value | [optional]
|
312
|
+
**retain_repo_versions__gte** | **Integer**| Filter results where retain_repo_versions is greater than or equal to value | [optional]
|
313
|
+
**retain_repo_versions__isnull** | **Boolean**| Filter results where retain_repo_versions has a null value | [optional]
|
314
|
+
**retain_repo_versions__lt** | **Integer**| Filter results where retain_repo_versions is less than value | [optional]
|
315
|
+
**retain_repo_versions__lte** | **Integer**| Filter results where retain_repo_versions is less than or equal to value | [optional]
|
316
|
+
**retain_repo_versions__ne** | **Integer**| Filter results where retain_repo_versions not equal to value | [optional]
|
317
|
+
**retain_repo_versions__range** | [**Array<Integer>**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
|
186
318
|
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
187
319
|
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
188
320
|
|
@@ -200,6 +332,118 @@ Name | Type | Description | Notes
|
|
200
332
|
- **Accept**: application/json
|
201
333
|
|
202
334
|
|
335
|
+
## list_roles
|
336
|
+
|
337
|
+
> ObjectRolesResponse list_roles(ansible_ansible_repository_href, opts)
|
338
|
+
|
339
|
+
|
340
|
+
|
341
|
+
List roles assigned to this object.
|
342
|
+
|
343
|
+
### Example
|
344
|
+
|
345
|
+
```ruby
|
346
|
+
# load the gem
|
347
|
+
require 'pulp_ansible_client'
|
348
|
+
# setup authorization
|
349
|
+
PulpAnsibleClient.configure do |config|
|
350
|
+
# Configure HTTP basic authorization: basicAuth
|
351
|
+
config.username = 'YOUR USERNAME'
|
352
|
+
config.password = 'YOUR PASSWORD'
|
353
|
+
end
|
354
|
+
|
355
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
356
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
357
|
+
opts = {
|
358
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
359
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
360
|
+
}
|
361
|
+
|
362
|
+
begin
|
363
|
+
result = api_instance.list_roles(ansible_ansible_repository_href, opts)
|
364
|
+
p result
|
365
|
+
rescue PulpAnsibleClient::ApiError => e
|
366
|
+
puts "Exception when calling RepositoriesAnsibleApi->list_roles: #{e}"
|
367
|
+
end
|
368
|
+
```
|
369
|
+
|
370
|
+
### Parameters
|
371
|
+
|
372
|
+
|
373
|
+
Name | Type | Description | Notes
|
374
|
+
------------- | ------------- | ------------- | -------------
|
375
|
+
**ansible_ansible_repository_href** | **String**| |
|
376
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
377
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
378
|
+
|
379
|
+
### Return type
|
380
|
+
|
381
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
382
|
+
|
383
|
+
### Authorization
|
384
|
+
|
385
|
+
[basicAuth](../README.md#basicAuth)
|
386
|
+
|
387
|
+
### HTTP request headers
|
388
|
+
|
389
|
+
- **Content-Type**: Not defined
|
390
|
+
- **Accept**: application/json
|
391
|
+
|
392
|
+
|
393
|
+
## mark
|
394
|
+
|
395
|
+
> AsyncOperationResponse mark(ansible_ansible_repository_href, ansible_repository_mark)
|
396
|
+
|
397
|
+
|
398
|
+
|
399
|
+
Trigger an asynchronous task to mark Ansible content.
|
400
|
+
|
401
|
+
### Example
|
402
|
+
|
403
|
+
```ruby
|
404
|
+
# load the gem
|
405
|
+
require 'pulp_ansible_client'
|
406
|
+
# setup authorization
|
407
|
+
PulpAnsibleClient.configure do |config|
|
408
|
+
# Configure HTTP basic authorization: basicAuth
|
409
|
+
config.username = 'YOUR USERNAME'
|
410
|
+
config.password = 'YOUR PASSWORD'
|
411
|
+
end
|
412
|
+
|
413
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
414
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
415
|
+
ansible_repository_mark = PulpAnsibleClient::AnsibleRepositoryMark.new # AnsibleRepositoryMark |
|
416
|
+
|
417
|
+
begin
|
418
|
+
result = api_instance.mark(ansible_ansible_repository_href, ansible_repository_mark)
|
419
|
+
p result
|
420
|
+
rescue PulpAnsibleClient::ApiError => e
|
421
|
+
puts "Exception when calling RepositoriesAnsibleApi->mark: #{e}"
|
422
|
+
end
|
423
|
+
```
|
424
|
+
|
425
|
+
### Parameters
|
426
|
+
|
427
|
+
|
428
|
+
Name | Type | Description | Notes
|
429
|
+
------------- | ------------- | ------------- | -------------
|
430
|
+
**ansible_ansible_repository_href** | **String**| |
|
431
|
+
**ansible_repository_mark** | [**AnsibleRepositoryMark**](AnsibleRepositoryMark.md)| |
|
432
|
+
|
433
|
+
### Return type
|
434
|
+
|
435
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
436
|
+
|
437
|
+
### Authorization
|
438
|
+
|
439
|
+
[basicAuth](../README.md#basicAuth)
|
440
|
+
|
441
|
+
### HTTP request headers
|
442
|
+
|
443
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
444
|
+
- **Accept**: application/json
|
445
|
+
|
446
|
+
|
203
447
|
## modify
|
204
448
|
|
205
449
|
> AsyncOperationResponse modify(ansible_ansible_repository_href, repository_add_remove_content)
|
@@ -255,6 +499,118 @@ Name | Type | Description | Notes
|
|
255
499
|
- **Accept**: application/json
|
256
500
|
|
257
501
|
|
502
|
+
## move_collection_version
|
503
|
+
|
504
|
+
> AsyncOperationResponse move_collection_version(ansible_ansible_repository_href, collection_version_copy_move)
|
505
|
+
|
506
|
+
|
507
|
+
|
508
|
+
Trigger an asynchronous task to move collection versions.
|
509
|
+
|
510
|
+
### Example
|
511
|
+
|
512
|
+
```ruby
|
513
|
+
# load the gem
|
514
|
+
require 'pulp_ansible_client'
|
515
|
+
# setup authorization
|
516
|
+
PulpAnsibleClient.configure do |config|
|
517
|
+
# Configure HTTP basic authorization: basicAuth
|
518
|
+
config.username = 'YOUR USERNAME'
|
519
|
+
config.password = 'YOUR PASSWORD'
|
520
|
+
end
|
521
|
+
|
522
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
523
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
524
|
+
collection_version_copy_move = PulpAnsibleClient::CollectionVersionCopyMove.new # CollectionVersionCopyMove |
|
525
|
+
|
526
|
+
begin
|
527
|
+
result = api_instance.move_collection_version(ansible_ansible_repository_href, collection_version_copy_move)
|
528
|
+
p result
|
529
|
+
rescue PulpAnsibleClient::ApiError => e
|
530
|
+
puts "Exception when calling RepositoriesAnsibleApi->move_collection_version: #{e}"
|
531
|
+
end
|
532
|
+
```
|
533
|
+
|
534
|
+
### Parameters
|
535
|
+
|
536
|
+
|
537
|
+
Name | Type | Description | Notes
|
538
|
+
------------- | ------------- | ------------- | -------------
|
539
|
+
**ansible_ansible_repository_href** | **String**| |
|
540
|
+
**collection_version_copy_move** | [**CollectionVersionCopyMove**](CollectionVersionCopyMove.md)| |
|
541
|
+
|
542
|
+
### Return type
|
543
|
+
|
544
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
545
|
+
|
546
|
+
### Authorization
|
547
|
+
|
548
|
+
[basicAuth](../README.md#basicAuth)
|
549
|
+
|
550
|
+
### HTTP request headers
|
551
|
+
|
552
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
553
|
+
- **Accept**: application/json
|
554
|
+
|
555
|
+
|
556
|
+
## my_permissions
|
557
|
+
|
558
|
+
> MyPermissionsResponse my_permissions(ansible_ansible_repository_href, opts)
|
559
|
+
|
560
|
+
|
561
|
+
|
562
|
+
List permissions available to the current user on this object.
|
563
|
+
|
564
|
+
### Example
|
565
|
+
|
566
|
+
```ruby
|
567
|
+
# load the gem
|
568
|
+
require 'pulp_ansible_client'
|
569
|
+
# setup authorization
|
570
|
+
PulpAnsibleClient.configure do |config|
|
571
|
+
# Configure HTTP basic authorization: basicAuth
|
572
|
+
config.username = 'YOUR USERNAME'
|
573
|
+
config.password = 'YOUR PASSWORD'
|
574
|
+
end
|
575
|
+
|
576
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
577
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
578
|
+
opts = {
|
579
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
580
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
581
|
+
}
|
582
|
+
|
583
|
+
begin
|
584
|
+
result = api_instance.my_permissions(ansible_ansible_repository_href, opts)
|
585
|
+
p result
|
586
|
+
rescue PulpAnsibleClient::ApiError => e
|
587
|
+
puts "Exception when calling RepositoriesAnsibleApi->my_permissions: #{e}"
|
588
|
+
end
|
589
|
+
```
|
590
|
+
|
591
|
+
### Parameters
|
592
|
+
|
593
|
+
|
594
|
+
Name | Type | Description | Notes
|
595
|
+
------------- | ------------- | ------------- | -------------
|
596
|
+
**ansible_ansible_repository_href** | **String**| |
|
597
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
598
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
599
|
+
|
600
|
+
### Return type
|
601
|
+
|
602
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
603
|
+
|
604
|
+
### Authorization
|
605
|
+
|
606
|
+
[basicAuth](../README.md#basicAuth)
|
607
|
+
|
608
|
+
### HTTP request headers
|
609
|
+
|
610
|
+
- **Content-Type**: Not defined
|
611
|
+
- **Accept**: application/json
|
612
|
+
|
613
|
+
|
258
614
|
## partial_update
|
259
615
|
|
260
616
|
> AsyncOperationResponse partial_update(ansible_ansible_repository_href, patchedansible_ansible_repository)
|
@@ -423,6 +779,60 @@ Name | Type | Description | Notes
|
|
423
779
|
- **Accept**: application/json
|
424
780
|
|
425
781
|
|
782
|
+
## remove_role
|
783
|
+
|
784
|
+
> NestedRoleResponse remove_role(ansible_ansible_repository_href, nested_role)
|
785
|
+
|
786
|
+
|
787
|
+
|
788
|
+
Remove a role for this object from users/groups.
|
789
|
+
|
790
|
+
### Example
|
791
|
+
|
792
|
+
```ruby
|
793
|
+
# load the gem
|
794
|
+
require 'pulp_ansible_client'
|
795
|
+
# setup authorization
|
796
|
+
PulpAnsibleClient.configure do |config|
|
797
|
+
# Configure HTTP basic authorization: basicAuth
|
798
|
+
config.username = 'YOUR USERNAME'
|
799
|
+
config.password = 'YOUR PASSWORD'
|
800
|
+
end
|
801
|
+
|
802
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
803
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
804
|
+
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
805
|
+
|
806
|
+
begin
|
807
|
+
result = api_instance.remove_role(ansible_ansible_repository_href, nested_role)
|
808
|
+
p result
|
809
|
+
rescue PulpAnsibleClient::ApiError => e
|
810
|
+
puts "Exception when calling RepositoriesAnsibleApi->remove_role: #{e}"
|
811
|
+
end
|
812
|
+
```
|
813
|
+
|
814
|
+
### Parameters
|
815
|
+
|
816
|
+
|
817
|
+
Name | Type | Description | Notes
|
818
|
+
------------- | ------------- | ------------- | -------------
|
819
|
+
**ansible_ansible_repository_href** | **String**| |
|
820
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
821
|
+
|
822
|
+
### Return type
|
823
|
+
|
824
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
825
|
+
|
826
|
+
### Authorization
|
827
|
+
|
828
|
+
[basicAuth](../README.md#basicAuth)
|
829
|
+
|
830
|
+
### HTTP request headers
|
831
|
+
|
832
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
833
|
+
- **Accept**: application/json
|
834
|
+
|
835
|
+
|
426
836
|
## sign
|
427
837
|
|
428
838
|
> AsyncOperationResponse sign(ansible_ansible_repository_href, ansible_repository_signature)
|
@@ -531,6 +941,60 @@ Name | Type | Description | Notes
|
|
531
941
|
- **Accept**: application/json
|
532
942
|
|
533
943
|
|
944
|
+
## unmark
|
945
|
+
|
946
|
+
> AsyncOperationResponse unmark(ansible_ansible_repository_href, ansible_repository_mark)
|
947
|
+
|
948
|
+
|
949
|
+
|
950
|
+
Trigger an asynchronous task to unmark Ansible content.
|
951
|
+
|
952
|
+
### Example
|
953
|
+
|
954
|
+
```ruby
|
955
|
+
# load the gem
|
956
|
+
require 'pulp_ansible_client'
|
957
|
+
# setup authorization
|
958
|
+
PulpAnsibleClient.configure do |config|
|
959
|
+
# Configure HTTP basic authorization: basicAuth
|
960
|
+
config.username = 'YOUR USERNAME'
|
961
|
+
config.password = 'YOUR PASSWORD'
|
962
|
+
end
|
963
|
+
|
964
|
+
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
965
|
+
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
966
|
+
ansible_repository_mark = PulpAnsibleClient::AnsibleRepositoryMark.new # AnsibleRepositoryMark |
|
967
|
+
|
968
|
+
begin
|
969
|
+
result = api_instance.unmark(ansible_ansible_repository_href, ansible_repository_mark)
|
970
|
+
p result
|
971
|
+
rescue PulpAnsibleClient::ApiError => e
|
972
|
+
puts "Exception when calling RepositoriesAnsibleApi->unmark: #{e}"
|
973
|
+
end
|
974
|
+
```
|
975
|
+
|
976
|
+
### Parameters
|
977
|
+
|
978
|
+
|
979
|
+
Name | Type | Description | Notes
|
980
|
+
------------- | ------------- | ------------- | -------------
|
981
|
+
**ansible_ansible_repository_href** | **String**| |
|
982
|
+
**ansible_repository_mark** | [**AnsibleRepositoryMark**](AnsibleRepositoryMark.md)| |
|
983
|
+
|
984
|
+
### Return type
|
985
|
+
|
986
|
+
[**AsyncOperationResponse**](AsyncOperationResponse.md)
|
987
|
+
|
988
|
+
### Authorization
|
989
|
+
|
990
|
+
[basicAuth](../README.md#basicAuth)
|
991
|
+
|
992
|
+
### HTTP request headers
|
993
|
+
|
994
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
995
|
+
- **Accept**: application/json
|
996
|
+
|
997
|
+
|
534
998
|
## update
|
535
999
|
|
536
1000
|
> AsyncOperationResponse update(ansible_ansible_repository_href, ansible_ansible_repository)
|
data/docs/Repository.md
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# PulpAnsibleClient::Repository
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
8
|
+
**name** | **String** | A unique name for this repository. |
|
9
|
+
**description** | **String** | An optional description. | [optional]
|
10
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
11
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'PulpAnsibleClient'
|
17
|
+
|
18
|
+
instance = PulpAnsibleClient::Repository.new(pulp_labels: null,
|
19
|
+
name: null,
|
20
|
+
description: null,
|
21
|
+
retain_repo_versions: null,
|
22
|
+
remote: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -4,8 +4,8 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**add_content_units** |
|
8
|
-
**remove_content_units** |
|
7
|
+
**add_content_units** | **Array<String>** | A list of content units to add to a new repository version. This content is added after remove_content_units are removed. | [optional]
|
8
|
+
**remove_content_units** | **Array<String>** | A list of content units to remove from the latest repository version. You may also specify '*' as an entry to remove all content. This content is removed before add_content_units are added. | [optional]
|
9
9
|
**base_version** | **String** | A repository version whose content will be used as the initial set of content for the new repository version | [optional]
|
10
10
|
|
11
11
|
## Code Sample
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# PulpAnsibleClient::RepositoryResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**versions_href** | **String** | | [optional] [readonly]
|
10
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
11
|
+
**latest_version_href** | **String** | | [optional] [readonly]
|
12
|
+
**name** | **String** | A unique name for this repository. |
|
13
|
+
**description** | **String** | An optional description. | [optional]
|
14
|
+
**retain_repo_versions** | **Integer** | Retain X versions of the repository. Default is null which retains all versions. | [optional]
|
15
|
+
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'PulpAnsibleClient'
|
21
|
+
|
22
|
+
instance = PulpAnsibleClient::RepositoryResponse.new(pulp_href: null,
|
23
|
+
pulp_created: null,
|
24
|
+
versions_href: null,
|
25
|
+
pulp_labels: null,
|
26
|
+
latest_version_href: null,
|
27
|
+
name: null,
|
28
|
+
description: null,
|
29
|
+
retain_repo_versions: null,
|
30
|
+
remote: null)
|
31
|
+
```
|
32
|
+
|
33
|
+
|
data/docs/Task.md
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpAnsibleClient::Task
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | The name of task. |
|
8
|
+
**logging_cid** | **String** | The logging correlation id associated with this task |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpAnsibleClient'
|
14
|
+
|
15
|
+
instance = PulpAnsibleClient::Task.new(name: null,
|
16
|
+
logging_cid: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# PulpAnsibleClient::TaskResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**pulp_href** | **String** | | [optional] [readonly]
|
8
|
+
**pulp_created** | **DateTime** | Timestamp of creation. | [optional] [readonly]
|
9
|
+
**state** | **String** | The current state of the task. The possible values include: 'waiting', 'skipped', 'running', 'completed', 'failed', 'canceled' and 'canceling'. | [optional] [readonly]
|
10
|
+
**name** | **String** | The name of task. |
|
11
|
+
**logging_cid** | **String** | The logging correlation id associated with this task |
|
12
|
+
**started_at** | **DateTime** | Timestamp of the when this task started execution. | [optional] [readonly]
|
13
|
+
**finished_at** | **DateTime** | Timestamp of the when this task stopped execution. | [optional] [readonly]
|
14
|
+
**error** | **Hash<String, Object>** | A JSON Object of a fatal error encountered during the execution of this task. | [optional] [readonly]
|
15
|
+
**worker** | **String** | The worker associated with this task. This field is empty if a worker is not yet assigned. | [optional] [readonly]
|
16
|
+
**parent_task** | **String** | The parent task that spawned this task. | [optional] [readonly]
|
17
|
+
**child_tasks** | **Array<String>** | Any tasks spawned by this task. | [optional] [readonly]
|
18
|
+
**task_group** | **String** | The task group that this task is a member of. | [optional] [readonly]
|
19
|
+
**progress_reports** | [**Array<ProgressReportResponse>**](ProgressReportResponse.md) | | [optional] [readonly]
|
20
|
+
**created_resources** | **Array<String>** | Resources created by this task. | [optional] [readonly]
|
21
|
+
**reserved_resources_record** | **Array<String>** | A list of resources required by that task. | [optional] [readonly]
|
22
|
+
|
23
|
+
## Code Sample
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
require 'PulpAnsibleClient'
|
27
|
+
|
28
|
+
instance = PulpAnsibleClient::TaskResponse.new(pulp_href: null,
|
29
|
+
pulp_created: null,
|
30
|
+
state: null,
|
31
|
+
name: null,
|
32
|
+
logging_cid: null,
|
33
|
+
started_at: null,
|
34
|
+
finished_at: null,
|
35
|
+
error: null,
|
36
|
+
worker: null,
|
37
|
+
parent_task: null,
|
38
|
+
child_tasks: null,
|
39
|
+
task_group: null,
|
40
|
+
progress_reports: null,
|
41
|
+
created_resources: null,
|
42
|
+
reserved_resources_record: null)
|
43
|
+
```
|
44
|
+
|
45
|
+
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
9
9
|
**created_at** | **DateTime** | |
|
10
10
|
**updated_at** | **DateTime** | |
|
11
11
|
**requires_ansible** | **String** | | [optional]
|
12
|
+
**marks** | **Array<String>** | | [optional] [readonly]
|
12
13
|
**artifact** | [**ArtifactRefResponse**](ArtifactRefResponse.md) | | [optional] [readonly]
|
13
14
|
**collection** | [**CollectionRefResponse**](CollectionRefResponse.md) | | [optional] [readonly]
|
14
15
|
**download_url** | **String** | | [optional] [readonly]
|
@@ -29,6 +30,7 @@ instance = PulpAnsibleClient::UnpaginatedCollectionVersionResponse.new(version:
|
|
29
30
|
created_at: null,
|
30
31
|
updated_at: null,
|
31
32
|
requires_ansible: null,
|
33
|
+
marks: null,
|
32
34
|
artifact: null,
|
33
35
|
collection: null,
|
34
36
|
download_url: null,
|