pulp_ansible_client 0.16.2 → 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 +88 -22
- data/docs/AnsibleAnsibleNamespaceMetadata.md +29 -0
- data/docs/AnsibleAnsibleNamespaceMetadataResponse.md +35 -0
- data/docs/AnsibleAnsibleRepository.md +3 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +5 -1
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +4 -2
- data/docs/AnsibleCollectionVersion.md +5 -5
- data/docs/AnsibleCollectionVersionMark.md +19 -0
- data/docs/AnsibleCollectionVersionMarkResponse.md +23 -0
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionsApi.md +230 -6
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRepositoryMark.md +19 -0
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +1 -1
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/CollectionNamespaceResponse.md +3 -1
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +6 -6
- data/docs/CollectionSummaryResponse.md +35 -0
- data/docs/CollectionVersionCopyMove.md +21 -0
- data/docs/CollectionVersionListResponse.md +4 -2
- data/docs/CollectionVersionResponse.md +6 -4
- data/docs/CollectionVersionSearchList.md +27 -0
- data/docs/CollectionVersionSearchListResponse.md +29 -0
- data/docs/ContentCollectionDeprecationsApi.md +2 -6
- data/docs/ContentCollectionMarksApi.md +198 -0
- data/docs/ContentCollectionSignaturesApi.md +2 -6
- data/docs/ContentCollectionVersionsApi.md +6 -10
- data/docs/ContentNamespacesApi.md +220 -0
- data/docs/ContentRolesApi.md +2 -6
- data/docs/DistributionsAnsibleApi.md +230 -6
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.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 +3 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PatchedansibleRoleRemote.md +1 -1
- data/docs/ProgressReportResponse.md +27 -0
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -6
- data/docs/PulpAnsibleApiV3CollectionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3NamespacesApi.md +158 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +6 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +363 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md +168 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +154 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +6 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +353 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +164 -0
- data/docs/RemotesCollectionApi.md +238 -6
- data/docs/RemotesGitApi.md +230 -6
- data/docs/RemotesRoleApi.md +230 -6
- data/docs/RepositoriesAnsibleApi.md +450 -6
- data/docs/RepositoriesAnsibleVersionsApi.md +2 -4
- data/docs/Repository.md +25 -0
- data/docs/RepositoryResponse.md +33 -0
- data/docs/Task.md +19 -0
- data/docs/TaskResponse.md +45 -0
- data/docs/UnpaginatedCollectionVersionResponse.md +6 -4
- data/docs/VersionsApi.md +10 -10
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +270 -8
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +247 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +2 -8
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +8 -14
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +276 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +2 -8
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +270 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +2 -8
- 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_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -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_collections_all_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +2 -8
- 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_collections_all_collections_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +2 -8
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +2 -8
- 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 +283 -9
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +270 -8
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +270 -8
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +542 -8
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +2 -5
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- 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 +14 -5
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +23 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +14 -5
- 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 +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -249
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +144 -144
- data/lib/pulp_ansible_client/models/ansible_repository_mark.rb +260 -0
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
- 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_ref_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
- 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 -6
- data/lib/pulp_ansible_client/models/collection_version_response.rb +12 -5
- 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/galaxy_collection_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
- 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 +14 -5
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +244 -244
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +1 -1
- 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_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 -5
- 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 +51 -3
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -3
- data/spec/api/content_collection_marks_api_spec.rb +83 -0
- data/spec/api/content_collection_signatures_api_spec.rb +1 -3
- data/spec/api/content_collection_versions_api_spec.rb +3 -5
- data/spec/api/content_namespaces_api_spec.rb +93 -0
- data/spec/api/content_roles_api_spec.rb +1 -3
- data/spec/api/distributions_ansible_api_spec.rb +51 -3
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -3
- 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_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -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_collections_all_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -3
- 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_collections_all_collections_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -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 +55 -3
- data/spec/api/remotes_git_api_spec.rb +51 -3
- data/spec/api/remotes_role_api_spec.rb +51 -3
- data/spec/api/repositories_ansible_api_spec.rb +99 -3
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -2
- data/spec/api/versions_api_spec.rb +4 -4
- 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 +18 -18
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_repository_mark_spec.rb +47 -0
- data/spec/models/ansible_role_response_spec.rb +3 -3
- 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 +20 -20
- 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 +231 -103
@@ -4,15 +4,73 @@ All URIs are relative to *https://pulp*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
+
[**add_role**](DistributionsAnsibleApi.md#add_role) | **POST** {ansible_ansible_distribution_href}add_role/ |
|
7
8
|
[**create**](DistributionsAnsibleApi.md#create) | **POST** /pulp/api/v3/distributions/ansible/ansible/ | Create an ansible distribution
|
8
9
|
[**delete**](DistributionsAnsibleApi.md#delete) | **DELETE** {ansible_ansible_distribution_href} | Delete an ansible distribution
|
9
10
|
[**list**](DistributionsAnsibleApi.md#list) | **GET** /pulp/api/v3/distributions/ansible/ansible/ | List ansible distributions
|
11
|
+
[**list_roles**](DistributionsAnsibleApi.md#list_roles) | **GET** {ansible_ansible_distribution_href}list_roles/ |
|
12
|
+
[**my_permissions**](DistributionsAnsibleApi.md#my_permissions) | **GET** {ansible_ansible_distribution_href}my_permissions/ |
|
10
13
|
[**partial_update**](DistributionsAnsibleApi.md#partial_update) | **PATCH** {ansible_ansible_distribution_href} | Update an ansible distribution
|
11
14
|
[**read**](DistributionsAnsibleApi.md#read) | **GET** {ansible_ansible_distribution_href} | Inspect an ansible distribution
|
15
|
+
[**remove_role**](DistributionsAnsibleApi.md#remove_role) | **POST** {ansible_ansible_distribution_href}remove_role/ |
|
12
16
|
[**update**](DistributionsAnsibleApi.md#update) | **PUT** {ansible_ansible_distribution_href} | Update an ansible distribution
|
13
17
|
|
14
18
|
|
15
19
|
|
20
|
+
## add_role
|
21
|
+
|
22
|
+
> NestedRoleResponse add_role(ansible_ansible_distribution_href, nested_role)
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
Add a role for this object to users/groups.
|
27
|
+
|
28
|
+
### Example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
# load the gem
|
32
|
+
require 'pulp_ansible_client'
|
33
|
+
# setup authorization
|
34
|
+
PulpAnsibleClient.configure do |config|
|
35
|
+
# Configure HTTP basic authorization: basicAuth
|
36
|
+
config.username = 'YOUR USERNAME'
|
37
|
+
config.password = 'YOUR PASSWORD'
|
38
|
+
end
|
39
|
+
|
40
|
+
api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
|
41
|
+
ansible_ansible_distribution_href = 'ansible_ansible_distribution_href_example' # String |
|
42
|
+
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
43
|
+
|
44
|
+
begin
|
45
|
+
result = api_instance.add_role(ansible_ansible_distribution_href, nested_role)
|
46
|
+
p result
|
47
|
+
rescue PulpAnsibleClient::ApiError => e
|
48
|
+
puts "Exception when calling DistributionsAnsibleApi->add_role: #{e}"
|
49
|
+
end
|
50
|
+
```
|
51
|
+
|
52
|
+
### Parameters
|
53
|
+
|
54
|
+
|
55
|
+
Name | Type | Description | Notes
|
56
|
+
------------- | ------------- | ------------- | -------------
|
57
|
+
**ansible_ansible_distribution_href** | **String**| |
|
58
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
59
|
+
|
60
|
+
### Return type
|
61
|
+
|
62
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
63
|
+
|
64
|
+
### Authorization
|
65
|
+
|
66
|
+
[basicAuth](../README.md#basicAuth)
|
67
|
+
|
68
|
+
### HTTP request headers
|
69
|
+
|
70
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
71
|
+
- **Accept**: application/json
|
72
|
+
|
73
|
+
|
16
74
|
## create
|
17
75
|
|
18
76
|
> AsyncOperationResponse create(ansible_ansible_distribution)
|
@@ -152,9 +210,7 @@ opts = {
|
|
152
210
|
name__in: ['name__in_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
153
211
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
154
212
|
offset: 56, # Integer | The initial index from which to return the results.
|
155
|
-
ordering: ['ordering_example'], # Array<String> | Ordering
|
156
|
-
pulp_href__in: ['pulp_href__in_example'], # Array<String> | Multiple values may be separated by commas.
|
157
|
-
pulp_id__in: ['pulp_id__in_example'], # Array<String> | Multiple values may be separated by commas.
|
213
|
+
ordering: ['ordering_example'], # Array<String> | Ordering
|
158
214
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
159
215
|
repository: 'repository_example', # String | Filter results where repository matches value
|
160
216
|
repository__in: ['repository__in_example'], # Array<String> | Filter results where repository is in a comma-separated list of values
|
@@ -188,9 +244,7 @@ Name | Type | Description | Notes
|
|
188
244
|
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
189
245
|
**name__startswith** | **String**| Filter results where name starts with value | [optional]
|
190
246
|
**offset** | **Integer**| The initial index from which to return the results. | [optional]
|
191
|
-
**ordering** | [**Array<String>**](String.md)| Ordering
|
192
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
193
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
247
|
+
**ordering** | [**Array<String>**](String.md)| Ordering | [optional]
|
194
248
|
**pulp_label_select** | **String**| Filter labels by search string | [optional]
|
195
249
|
**repository** | **String**| Filter results where repository matches value | [optional]
|
196
250
|
**repository__in** | [**Array<String>**](String.md)| Filter results where repository is in a comma-separated list of values | [optional]
|
@@ -212,6 +266,122 @@ Name | Type | Description | Notes
|
|
212
266
|
- **Accept**: application/json
|
213
267
|
|
214
268
|
|
269
|
+
## list_roles
|
270
|
+
|
271
|
+
> ObjectRolesResponse list_roles(ansible_ansible_distribution_href, opts)
|
272
|
+
|
273
|
+
|
274
|
+
|
275
|
+
List roles assigned to this object.
|
276
|
+
|
277
|
+
### Example
|
278
|
+
|
279
|
+
```ruby
|
280
|
+
# load the gem
|
281
|
+
require 'pulp_ansible_client'
|
282
|
+
# setup authorization
|
283
|
+
PulpAnsibleClient.configure do |config|
|
284
|
+
# Configure HTTP basic authorization: basicAuth
|
285
|
+
config.username = 'YOUR USERNAME'
|
286
|
+
config.password = 'YOUR PASSWORD'
|
287
|
+
end
|
288
|
+
|
289
|
+
api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
|
290
|
+
ansible_ansible_distribution_href = 'ansible_ansible_distribution_href_example' # String |
|
291
|
+
opts = {
|
292
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
293
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
294
|
+
}
|
295
|
+
|
296
|
+
begin
|
297
|
+
result = api_instance.list_roles(ansible_ansible_distribution_href, opts)
|
298
|
+
p result
|
299
|
+
rescue PulpAnsibleClient::ApiError => e
|
300
|
+
puts "Exception when calling DistributionsAnsibleApi->list_roles: #{e}"
|
301
|
+
end
|
302
|
+
```
|
303
|
+
|
304
|
+
### Parameters
|
305
|
+
|
306
|
+
|
307
|
+
Name | Type | Description | Notes
|
308
|
+
------------- | ------------- | ------------- | -------------
|
309
|
+
**ansible_ansible_distribution_href** | **String**| |
|
310
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
311
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
312
|
+
|
313
|
+
### Return type
|
314
|
+
|
315
|
+
[**ObjectRolesResponse**](ObjectRolesResponse.md)
|
316
|
+
|
317
|
+
### Authorization
|
318
|
+
|
319
|
+
[basicAuth](../README.md#basicAuth)
|
320
|
+
|
321
|
+
### HTTP request headers
|
322
|
+
|
323
|
+
- **Content-Type**: Not defined
|
324
|
+
- **Accept**: application/json
|
325
|
+
|
326
|
+
|
327
|
+
## my_permissions
|
328
|
+
|
329
|
+
> MyPermissionsResponse my_permissions(ansible_ansible_distribution_href, opts)
|
330
|
+
|
331
|
+
|
332
|
+
|
333
|
+
List permissions available to the current user on this object.
|
334
|
+
|
335
|
+
### Example
|
336
|
+
|
337
|
+
```ruby
|
338
|
+
# load the gem
|
339
|
+
require 'pulp_ansible_client'
|
340
|
+
# setup authorization
|
341
|
+
PulpAnsibleClient.configure do |config|
|
342
|
+
# Configure HTTP basic authorization: basicAuth
|
343
|
+
config.username = 'YOUR USERNAME'
|
344
|
+
config.password = 'YOUR PASSWORD'
|
345
|
+
end
|
346
|
+
|
347
|
+
api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
|
348
|
+
ansible_ansible_distribution_href = 'ansible_ansible_distribution_href_example' # String |
|
349
|
+
opts = {
|
350
|
+
fields: ['fields_example'], # Array<String> | A list of fields to include in the response.
|
351
|
+
exclude_fields: ['exclude_fields_example'] # Array<String> | A list of fields to exclude from the response.
|
352
|
+
}
|
353
|
+
|
354
|
+
begin
|
355
|
+
result = api_instance.my_permissions(ansible_ansible_distribution_href, opts)
|
356
|
+
p result
|
357
|
+
rescue PulpAnsibleClient::ApiError => e
|
358
|
+
puts "Exception when calling DistributionsAnsibleApi->my_permissions: #{e}"
|
359
|
+
end
|
360
|
+
```
|
361
|
+
|
362
|
+
### Parameters
|
363
|
+
|
364
|
+
|
365
|
+
Name | Type | Description | Notes
|
366
|
+
------------- | ------------- | ------------- | -------------
|
367
|
+
**ansible_ansible_distribution_href** | **String**| |
|
368
|
+
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
369
|
+
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
370
|
+
|
371
|
+
### Return type
|
372
|
+
|
373
|
+
[**MyPermissionsResponse**](MyPermissionsResponse.md)
|
374
|
+
|
375
|
+
### Authorization
|
376
|
+
|
377
|
+
[basicAuth](../README.md#basicAuth)
|
378
|
+
|
379
|
+
### HTTP request headers
|
380
|
+
|
381
|
+
- **Content-Type**: Not defined
|
382
|
+
- **Accept**: application/json
|
383
|
+
|
384
|
+
|
215
385
|
## partial_update
|
216
386
|
|
217
387
|
> AsyncOperationResponse partial_update(ansible_ansible_distribution_href, patchedansible_ansible_distribution)
|
@@ -326,6 +496,60 @@ Name | Type | Description | Notes
|
|
326
496
|
- **Accept**: application/json
|
327
497
|
|
328
498
|
|
499
|
+
## remove_role
|
500
|
+
|
501
|
+
> NestedRoleResponse remove_role(ansible_ansible_distribution_href, nested_role)
|
502
|
+
|
503
|
+
|
504
|
+
|
505
|
+
Remove a role for this object from users/groups.
|
506
|
+
|
507
|
+
### Example
|
508
|
+
|
509
|
+
```ruby
|
510
|
+
# load the gem
|
511
|
+
require 'pulp_ansible_client'
|
512
|
+
# setup authorization
|
513
|
+
PulpAnsibleClient.configure do |config|
|
514
|
+
# Configure HTTP basic authorization: basicAuth
|
515
|
+
config.username = 'YOUR USERNAME'
|
516
|
+
config.password = 'YOUR PASSWORD'
|
517
|
+
end
|
518
|
+
|
519
|
+
api_instance = PulpAnsibleClient::DistributionsAnsibleApi.new
|
520
|
+
ansible_ansible_distribution_href = 'ansible_ansible_distribution_href_example' # String |
|
521
|
+
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
522
|
+
|
523
|
+
begin
|
524
|
+
result = api_instance.remove_role(ansible_ansible_distribution_href, nested_role)
|
525
|
+
p result
|
526
|
+
rescue PulpAnsibleClient::ApiError => e
|
527
|
+
puts "Exception when calling DistributionsAnsibleApi->remove_role: #{e}"
|
528
|
+
end
|
529
|
+
```
|
530
|
+
|
531
|
+
### Parameters
|
532
|
+
|
533
|
+
|
534
|
+
Name | Type | Description | Notes
|
535
|
+
------------- | ------------- | ------------- | -------------
|
536
|
+
**ansible_ansible_distribution_href** | **String**| |
|
537
|
+
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
538
|
+
|
539
|
+
### Return type
|
540
|
+
|
541
|
+
[**NestedRoleResponse**](NestedRoleResponse.md)
|
542
|
+
|
543
|
+
### Authorization
|
544
|
+
|
545
|
+
[basicAuth](../README.md#basicAuth)
|
546
|
+
|
547
|
+
### HTTP request headers
|
548
|
+
|
549
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
550
|
+
- **Accept**: application/json
|
551
|
+
|
552
|
+
|
329
553
|
## update
|
330
554
|
|
331
555
|
> AsyncOperationResponse update(ansible_ansible_distribution_href, ansible_ansible_distribution)
|
@@ -6,12 +6,12 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**id** | **String** | |
|
8
8
|
**name** | **String** | |
|
9
|
-
**namespace** | [**Object**](.md) |
|
10
|
-
**href** | **String** |
|
11
|
-
**versions_url** | **String** |
|
9
|
+
**namespace** | [**Object**](.md) | | [optional] [readonly]
|
10
|
+
**href** | **String** | | [optional] [readonly]
|
11
|
+
**versions_url** | **String** | | [optional] [readonly]
|
12
12
|
**created** | **DateTime** | |
|
13
13
|
**modified** | **DateTime** | |
|
14
|
-
**latest_version** | [**Object**](.md) |
|
14
|
+
**latest_version** | [**Object**](.md) | | [optional] [readonly]
|
15
15
|
|
16
16
|
## Code Sample
|
17
17
|
|
@@ -5,10 +5,10 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**version** | **String** | |
|
8
|
-
**href** | **String** |
|
9
|
-
**namespace** | [**Object**](.md) |
|
10
|
-
**collection** | [**Object**](.md) |
|
11
|
-
**artifact** | [**Object**](.md) |
|
8
|
+
**href** | **String** | | [optional] [readonly]
|
9
|
+
**namespace** | [**Object**](.md) | | [optional] [readonly]
|
10
|
+
**collection** | [**Object**](.md) | | [optional] [readonly]
|
11
|
+
**artifact** | [**Object**](.md) | | [optional] [readonly]
|
12
12
|
**metadata** | [**CollectionMetadataResponse**](CollectionMetadataResponse.md) | |
|
13
13
|
|
14
14
|
## Code Sample
|
data/docs/GalaxyRoleResponse.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**id** | **String** |
|
7
|
+
**id** | **String** | | [optional] [readonly]
|
8
8
|
**name** | **String** | |
|
9
9
|
**namespace** | **String** | |
|
10
10
|
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpAnsibleClient::MyPermissionsResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**permissions** | **Array<String>** | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpAnsibleClient'
|
13
|
+
|
14
|
+
instance = PulpAnsibleClient::MyPermissionsResponse.new(permissions: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpAnsibleClient::NamespaceLink
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**url** | **String** | |
|
8
|
+
**name** | **String** | |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpAnsibleClient'
|
14
|
+
|
15
|
+
instance = PulpAnsibleClient::NamespaceLink.new(url: null,
|
16
|
+
name: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# PulpAnsibleClient::NamespaceLinkResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**url** | **String** | |
|
8
|
+
**name** | **String** | |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'PulpAnsibleClient'
|
14
|
+
|
15
|
+
instance = PulpAnsibleClient::NamespaceLinkResponse.new(url: null,
|
16
|
+
name: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
data/docs/NestedRole.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpAnsibleClient::NestedRole
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**users** | **Array<String>** | | [optional]
|
8
|
+
**groups** | **Array<String>** | | [optional]
|
9
|
+
**role** | **String** | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpAnsibleClient'
|
15
|
+
|
16
|
+
instance = PulpAnsibleClient::NestedRole.new(users: null,
|
17
|
+
groups: null,
|
18
|
+
role: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpAnsibleClient::NestedRoleResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**users** | **Array<String>** | | [optional]
|
8
|
+
**groups** | **Array<String>** | | [optional]
|
9
|
+
**role** | **String** | |
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpAnsibleClient'
|
15
|
+
|
16
|
+
instance = PulpAnsibleClient::NestedRoleResponse.new(users: null,
|
17
|
+
groups: null,
|
18
|
+
role: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# PulpAnsibleClient::ObjectRolesResponse
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**roles** | [**Array<NestedRoleResponse>**](NestedRoleResponse.md) | |
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'PulpAnsibleClient'
|
13
|
+
|
14
|
+
instance = PulpAnsibleClient::ObjectRolesResponse.new(roles: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# PulpAnsibleClient::PaginatedCollectionVersionSearchListResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**meta** | [**PaginatedCollectionResponseListMeta**](PaginatedCollectionResponseListMeta.md) | | [optional]
|
8
|
+
**links** | [**PaginatedCollectionResponseListLinks**](PaginatedCollectionResponseListLinks.md) | | [optional]
|
9
|
+
**data** | [**Array<CollectionVersionSearchListResponse>**](CollectionVersionSearchListResponse.md) | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'PulpAnsibleClient'
|
15
|
+
|
16
|
+
instance = PulpAnsibleClient::PaginatedCollectionVersionSearchListResponseList.new(meta: null,
|
17
|
+
links: null,
|
18
|
+
data: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpAnsibleClient::PaginatedansibleAnsibleNamespaceMetadataResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<AnsibleAnsibleNamespaceMetadataResponse>**](AnsibleAnsibleNamespaceMetadataResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpAnsibleClient'
|
16
|
+
|
17
|
+
instance = PulpAnsibleClient::PaginatedansibleAnsibleNamespaceMetadataResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# PulpAnsibleClient::PaginatedansibleCollectionVersionMarkResponseList
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**count** | **Integer** | | [optional]
|
8
|
+
**_next** | **String** | | [optional]
|
9
|
+
**previous** | **String** | | [optional]
|
10
|
+
**results** | [**Array<AnsibleCollectionVersionMarkResponse>**](AnsibleCollectionVersionMarkResponse.md) | | [optional]
|
11
|
+
|
12
|
+
## Code Sample
|
13
|
+
|
14
|
+
```ruby
|
15
|
+
require 'PulpAnsibleClient'
|
16
|
+
|
17
|
+
instance = PulpAnsibleClient::PaginatedansibleCollectionVersionMarkResponseList.new(count: 123,
|
18
|
+
_next: http://api.example.org/accounts/?offset=400&limit=100,
|
19
|
+
previous: http://api.example.org/accounts/?offset=200&limit=100,
|
20
|
+
results: null)
|
21
|
+
```
|
22
|
+
|
23
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# PulpAnsibleClient::PatchedansibleAnsibleNamespaceMetadata
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**name** | **String** | Required named, only accepts lowercase, numbers and underscores. | [optional]
|
8
|
+
**company** | **String** | Optional namespace company owner. | [optional]
|
9
|
+
**email** | **String** | Optional namespace contact email. | [optional]
|
10
|
+
**description** | **String** | Optional short description. | [optional]
|
11
|
+
**resources** | **String** | Optional resource page in markdown format. | [optional]
|
12
|
+
**links** | [**Array<NamespaceLink>**](NamespaceLink.md) | Labeled related links. | [optional]
|
13
|
+
**avatar** | **File** | Optional avatar image for Namespace | [optional]
|
14
|
+
|
15
|
+
## Code Sample
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'PulpAnsibleClient'
|
19
|
+
|
20
|
+
instance = PulpAnsibleClient::PatchedansibleAnsibleNamespaceMetadata.new(name: null,
|
21
|
+
company: null,
|
22
|
+
email: null,
|
23
|
+
description: null,
|
24
|
+
resources: null,
|
25
|
+
links: null,
|
26
|
+
avatar: null)
|
27
|
+
```
|
28
|
+
|
29
|
+
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
11
11
|
**remote** | **String** | An optional remote to use by default when syncing. | [optional]
|
12
12
|
**last_synced_metadata_time** | **DateTime** | Last synced metadata time. | [optional]
|
13
13
|
**gpgkey** | **String** | Gpg public key to verify collection signatures against | [optional]
|
14
|
+
**private** | **Boolean** | | [optional]
|
14
15
|
|
15
16
|
## Code Sample
|
16
17
|
|
@@ -23,7 +24,8 @@ instance = PulpAnsibleClient::PatchedansibleAnsibleRepository.new(pulp_labels: n
|
|
23
24
|
retain_repo_versions: null,
|
24
25
|
remote: null,
|
25
26
|
last_synced_metadata_time: null,
|
26
|
-
gpgkey: null
|
27
|
+
gpgkey: null,
|
28
|
+
private: null)
|
27
29
|
```
|
28
30
|
|
29
31
|
|
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
|
18
18
|
**pulp_labels** | **Hash<String, String>** | | [optional]
|
19
19
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
20
20
|
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
21
|
-
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content.
|
21
|
+
**policy** | [**PolicyEnum**](PolicyEnum.md) | The policy to use when downloading content. | [optional]
|
22
22
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
23
23
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
24
24
|
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
@@ -4,26 +4,26 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
8
|
+
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
9
|
+
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
10
|
+
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
8
11
|
**name** | **String** | A unique name for this remote. | [optional]
|
12
|
+
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
13
|
+
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
14
|
+
**proxy_url** | **String** | The proxy URL. Format: scheme://host:port | [optional]
|
15
|
+
**url** | **String** | The URL of an external content source. | [optional]
|
16
|
+
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
17
|
+
**pulp_labels** | **Hash<String, String>** | | [optional]
|
18
|
+
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
9
19
|
**total_timeout** | **Float** | aiohttp.ClientTimeout.total (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
10
|
-
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
11
20
|
**headers** | **Array<Object>** | Headers for aiohttp.Clientsession | [optional]
|
12
|
-
**
|
13
|
-
**client_key** | **String** | A PEM encoded private key used for authentication. | [optional]
|
21
|
+
**sock_connect_timeout** | **Float** | aiohttp.ClientTimeout.sock_connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
14
22
|
**connect_timeout** | **Float** | aiohttp.ClientTimeout.connect (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
15
|
-
**sock_read_timeout** | **Float** | aiohttp.ClientTimeout.sock_read (q.v.) for download-connections. The default is null, which will cause the default from the aiohttp library to be used. | [optional]
|
16
23
|
**download_concurrency** | **Integer** | Total number of simultaneous connections. If not set then the default value will be used. | [optional]
|
17
|
-
**username** | **String** | The username to be used for authentication when syncing. | [optional]
|
18
24
|
**password** | **String** | The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
19
|
-
**max_retries** | **Integer** | Maximum number of retry attempts after a download failure. If not set then the default value (3) will be used. | [optional]
|
20
|
-
**proxy_password** | **String** | The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed. | [optional]
|
21
|
-
**tls_validation** | **Boolean** | If True, TLS peer validation must be performed. | [optional]
|
22
|
-
**url** | **String** | The URL of an external content source. | [optional]
|
23
|
-
**client_cert** | **String** | A PEM encoded client certificate used for authentication. | [optional]
|
24
25
|
**rate_limit** | **Integer** | Limits requests per second for each concurrent downloader | [optional]
|
25
|
-
**
|
26
|
-
**proxy_username** | **String** | The username to authenticte to the proxy. | [optional]
|
26
|
+
**ca_cert** | **String** | A PEM encoded CA certificate used to validate the server certificate presented by the remote server. | [optional]
|
27
27
|
**metadata_only** | **Boolean** | If True, only metadata about the content will be stored in Pulp. Clients will retrieve content from the remote URL. | [optional]
|
28
28
|
**git_ref** | **String** | A git ref. e.g.: branch, tag, or commit sha. | [optional]
|
29
29
|
|
@@ -32,26 +32,26 @@ Name | Type | Description | Notes
|
|
32
32
|
```ruby
|
33
33
|
require 'PulpAnsibleClient'
|
34
34
|
|
35
|
-
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(
|
35
|
+
instance = PulpAnsibleClient::PatchedansibleGitRemote.new(proxy_username: null,
|
36
|
+
sock_read_timeout: null,
|
37
|
+
username: null,
|
38
|
+
tls_validation: null,
|
36
39
|
name: null,
|
40
|
+
client_key: null,
|
41
|
+
client_cert: null,
|
42
|
+
proxy_url: null,
|
43
|
+
url: null,
|
44
|
+
max_retries: null,
|
45
|
+
pulp_labels: null,
|
46
|
+
proxy_password: null,
|
37
47
|
total_timeout: null,
|
38
|
-
ca_cert: null,
|
39
48
|
headers: null,
|
40
|
-
|
41
|
-
client_key: null,
|
49
|
+
sock_connect_timeout: null,
|
42
50
|
connect_timeout: null,
|
43
|
-
sock_read_timeout: null,
|
44
51
|
download_concurrency: null,
|
45
|
-
username: null,
|
46
52
|
password: null,
|
47
|
-
max_retries: null,
|
48
|
-
proxy_password: null,
|
49
|
-
tls_validation: null,
|
50
|
-
url: null,
|
51
|
-
client_cert: null,
|
52
53
|
rate_limit: null,
|
53
|
-
|
54
|
-
proxy_username: null,
|
54
|
+
ca_cert: null,
|
55
55
|
metadata_only: null,
|
56
56
|
git_ref: null)
|
57
57
|
```
|