pulp_ansible_client 0.24.7 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -8
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionsApi.md +8 -26
- data/docs/AnsibleCopyApi.md +4 -8
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +4 -10
- data/docs/ApiRolesApi.md +0 -2
- data/docs/CollectionImportApi.md +0 -2
- data/docs/ContentCollectionDeprecationsApi.md +12 -28
- data/docs/ContentCollectionMarksApi.md +12 -28
- data/docs/ContentCollectionSignaturesApi.md +8 -22
- data/docs/ContentCollectionVersionsApi.md +14 -28
- data/docs/ContentNamespacesApi.md +8 -22
- data/docs/ContentRolesApi.md +12 -28
- data/docs/DistributionsAnsibleApi.md +32 -72
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/PulpAnsibleApiApi.md +0 -2
- data/docs/PulpAnsibleApiV3Api.md +0 -2
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +0 -2
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +0 -2
- data/docs/PulpAnsibleApiV3CollectionsApi.md +8 -20
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +4 -12
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleApiV3NamespacesApi.md +0 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -20
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -12
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +4 -16
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +0 -8
- data/docs/PulpAnsibleDefaultApiApi.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3Api.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +8 -20
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +4 -12
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +0 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -20
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -12
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +4 -16
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +4 -10
- data/docs/PulpAnsibleTagsApi.md +0 -2
- data/docs/RemotesCollectionApi.md +32 -72
- data/docs/RemotesGitApi.md +34 -74
- data/docs/RemotesRoleApi.md +32 -72
- data/docs/RepositoriesAnsibleApi.md +64 -136
- data/docs/RepositoriesAnsibleVersionsApi.md +14 -30
- data/docs/VersionsApi.md +0 -2
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +0 -21
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +0 -3
- data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +0 -6
- data/lib/pulp_ansible_client/api/api_roles_api.rb +0 -3
- data/lib/pulp_ansible_client/api/collection_import_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -24
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -15
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -36
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +0 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +0 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +0 -3
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -36
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -36
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -36
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -60
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +3 -18
- data/lib/pulp_ansible_client/api/versions_api.rb +0 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +23 -23
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +225 -225
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +148 -148
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +23 -23
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +217 -217
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +0 -7
- data/spec/api/ansible_copy_api_spec.rb +0 -1
- data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +0 -2
- data/spec/api/api_roles_api_spec.rb +0 -1
- data/spec/api/collection_import_api_spec.rb +0 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +0 -5
- data/spec/api/content_collection_marks_api_spec.rb +0 -5
- data/spec/api/content_collection_signatures_api_spec.rb +0 -5
- data/spec/api/content_collection_versions_api_spec.rb +3 -8
- data/spec/api/content_namespaces_api_spec.rb +0 -5
- data/spec/api/content_roles_api_spec.rb +0 -5
- data/spec/api/distributions_ansible_api_spec.rb +0 -12
- data/spec/api/pulp_ansible_api_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_tags_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +0 -12
- data/spec/api/remotes_git_api_spec.rb +0 -12
- data/spec/api/remotes_role_api_spec.rb +0 -12
- data/spec/api/repositories_ansible_api_spec.rb +0 -20
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -6
- data/spec/api/versions_api_spec.rb +0 -1
- data/spec/models/ansible_collection_version_response_spec.rb +4 -4
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +4 -4
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +126 -126
@@ -20,7 +20,7 @@ All URIs are relative to *http://localhost:24817*
|
|
20
20
|
|
21
21
|
## add_role
|
22
22
|
|
23
|
-
> <NestedRoleResponse> add_role(ansible_collection_remote_href, nested_role
|
23
|
+
> <NestedRoleResponse> add_role(ansible_collection_remote_href, nested_role)
|
24
24
|
|
25
25
|
Add a role
|
26
26
|
|
@@ -41,13 +41,10 @@ end
|
|
41
41
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
42
42
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
43
43
|
nested_role = PulpAnsibleClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
44
|
-
opts = {
|
45
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
46
|
-
}
|
47
44
|
|
48
45
|
begin
|
49
46
|
# Add a role
|
50
|
-
result = api_instance.add_role(ansible_collection_remote_href, nested_role
|
47
|
+
result = api_instance.add_role(ansible_collection_remote_href, nested_role)
|
51
48
|
p result
|
52
49
|
rescue PulpAnsibleClient::ApiError => e
|
53
50
|
puts "Error when calling RemotesCollectionApi->add_role: #{e}"
|
@@ -58,12 +55,12 @@ end
|
|
58
55
|
|
59
56
|
This returns an Array which contains the response data, status code and headers.
|
60
57
|
|
61
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(ansible_collection_remote_href, nested_role
|
58
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(ansible_collection_remote_href, nested_role)
|
62
59
|
|
63
60
|
```ruby
|
64
61
|
begin
|
65
62
|
# Add a role
|
66
|
-
data, status_code, headers = api_instance.add_role_with_http_info(ansible_collection_remote_href, nested_role
|
63
|
+
data, status_code, headers = api_instance.add_role_with_http_info(ansible_collection_remote_href, nested_role)
|
67
64
|
p status_code # => 2xx
|
68
65
|
p headers # => { ... }
|
69
66
|
p data # => <NestedRoleResponse>
|
@@ -78,7 +75,6 @@ end
|
|
78
75
|
| ---- | ---- | ----------- | ----- |
|
79
76
|
| **ansible_collection_remote_href** | **String** | | |
|
80
77
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
81
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
82
78
|
|
83
79
|
### Return type
|
84
80
|
|
@@ -96,7 +92,7 @@ end
|
|
96
92
|
|
97
93
|
## create
|
98
94
|
|
99
|
-
> <AnsibleCollectionRemoteResponse> create(ansible_collection_remote
|
95
|
+
> <AnsibleCollectionRemoteResponse> create(ansible_collection_remote)
|
100
96
|
|
101
97
|
Create a collection remote
|
102
98
|
|
@@ -116,13 +112,10 @@ end
|
|
116
112
|
|
117
113
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
118
114
|
ansible_collection_remote = PulpAnsibleClient::AnsibleCollectionRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleCollectionRemote |
|
119
|
-
opts = {
|
120
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
121
|
-
}
|
122
115
|
|
123
116
|
begin
|
124
117
|
# Create a collection remote
|
125
|
-
result = api_instance.create(ansible_collection_remote
|
118
|
+
result = api_instance.create(ansible_collection_remote)
|
126
119
|
p result
|
127
120
|
rescue PulpAnsibleClient::ApiError => e
|
128
121
|
puts "Error when calling RemotesCollectionApi->create: #{e}"
|
@@ -133,12 +126,12 @@ end
|
|
133
126
|
|
134
127
|
This returns an Array which contains the response data, status code and headers.
|
135
128
|
|
136
|
-
> <Array(<AnsibleCollectionRemoteResponse>, Integer, Hash)> create_with_http_info(ansible_collection_remote
|
129
|
+
> <Array(<AnsibleCollectionRemoteResponse>, Integer, Hash)> create_with_http_info(ansible_collection_remote)
|
137
130
|
|
138
131
|
```ruby
|
139
132
|
begin
|
140
133
|
# Create a collection remote
|
141
|
-
data, status_code, headers = api_instance.create_with_http_info(ansible_collection_remote
|
134
|
+
data, status_code, headers = api_instance.create_with_http_info(ansible_collection_remote)
|
142
135
|
p status_code # => 2xx
|
143
136
|
p headers # => { ... }
|
144
137
|
p data # => <AnsibleCollectionRemoteResponse>
|
@@ -152,7 +145,6 @@ end
|
|
152
145
|
| Name | Type | Description | Notes |
|
153
146
|
| ---- | ---- | ----------- | ----- |
|
154
147
|
| **ansible_collection_remote** | [**AnsibleCollectionRemote**](AnsibleCollectionRemote.md) | | |
|
155
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
156
148
|
|
157
149
|
### Return type
|
158
150
|
|
@@ -170,7 +162,7 @@ end
|
|
170
162
|
|
171
163
|
## delete
|
172
164
|
|
173
|
-
> <AsyncOperationResponse> delete(ansible_collection_remote_href
|
165
|
+
> <AsyncOperationResponse> delete(ansible_collection_remote_href)
|
174
166
|
|
175
167
|
Delete a collection remote
|
176
168
|
|
@@ -190,13 +182,10 @@ end
|
|
190
182
|
|
191
183
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
192
184
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
193
|
-
opts = {
|
194
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
195
|
-
}
|
196
185
|
|
197
186
|
begin
|
198
187
|
# Delete a collection remote
|
199
|
-
result = api_instance.delete(ansible_collection_remote_href
|
188
|
+
result = api_instance.delete(ansible_collection_remote_href)
|
200
189
|
p result
|
201
190
|
rescue PulpAnsibleClient::ApiError => e
|
202
191
|
puts "Error when calling RemotesCollectionApi->delete: #{e}"
|
@@ -207,12 +196,12 @@ end
|
|
207
196
|
|
208
197
|
This returns an Array which contains the response data, status code and headers.
|
209
198
|
|
210
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(ansible_collection_remote_href
|
199
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(ansible_collection_remote_href)
|
211
200
|
|
212
201
|
```ruby
|
213
202
|
begin
|
214
203
|
# Delete a collection remote
|
215
|
-
data, status_code, headers = api_instance.delete_with_http_info(ansible_collection_remote_href
|
204
|
+
data, status_code, headers = api_instance.delete_with_http_info(ansible_collection_remote_href)
|
216
205
|
p status_code # => 2xx
|
217
206
|
p headers # => { ... }
|
218
207
|
p data # => <AsyncOperationResponse>
|
@@ -226,7 +215,6 @@ end
|
|
226
215
|
| Name | Type | Description | Notes |
|
227
216
|
| ---- | ---- | ----------- | ----- |
|
228
217
|
| **ansible_collection_remote_href** | **String** | | |
|
229
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
230
218
|
|
231
219
|
### Return type
|
232
220
|
|
@@ -264,7 +252,6 @@ end
|
|
264
252
|
|
265
253
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
266
254
|
opts = {
|
267
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
268
255
|
limit: 56, # Integer | Number of results to return per page.
|
269
256
|
name: 'name_example', # String | Filter results where name matches value
|
270
257
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -328,7 +315,6 @@ end
|
|
328
315
|
|
329
316
|
| Name | Type | Description | Notes |
|
330
317
|
| ---- | ---- | ----------- | ----- |
|
331
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
332
318
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
333
319
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
334
320
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -397,7 +383,6 @@ end
|
|
397
383
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
398
384
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
399
385
|
opts = {
|
400
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
401
386
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
402
387
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
403
388
|
}
|
@@ -434,7 +419,6 @@ end
|
|
434
419
|
| Name | Type | Description | Notes |
|
435
420
|
| ---- | ---- | ----------- | ----- |
|
436
421
|
| **ansible_collection_remote_href** | **String** | | |
|
437
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
438
422
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
439
423
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
440
424
|
|
@@ -475,7 +459,6 @@ end
|
|
475
459
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
476
460
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
477
461
|
opts = {
|
478
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
479
462
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
480
463
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
481
464
|
}
|
@@ -512,7 +495,6 @@ end
|
|
512
495
|
| Name | Type | Description | Notes |
|
513
496
|
| ---- | ---- | ----------- | ----- |
|
514
497
|
| **ansible_collection_remote_href** | **String** | | |
|
515
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
516
498
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
517
499
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
518
500
|
|
@@ -532,7 +514,7 @@ end
|
|
532
514
|
|
533
515
|
## partial_update
|
534
516
|
|
535
|
-
> <AsyncOperationResponse> partial_update(ansible_collection_remote_href, patchedansible_collection_remote
|
517
|
+
> <AsyncOperationResponse> partial_update(ansible_collection_remote_href, patchedansible_collection_remote)
|
536
518
|
|
537
519
|
Update a collection remote
|
538
520
|
|
@@ -553,13 +535,10 @@ end
|
|
553
535
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
554
536
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
555
537
|
patchedansible_collection_remote = PulpAnsibleClient::PatchedansibleCollectionRemote.new # PatchedansibleCollectionRemote |
|
556
|
-
opts = {
|
557
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
558
|
-
}
|
559
538
|
|
560
539
|
begin
|
561
540
|
# Update a collection remote
|
562
|
-
result = api_instance.partial_update(ansible_collection_remote_href, patchedansible_collection_remote
|
541
|
+
result = api_instance.partial_update(ansible_collection_remote_href, patchedansible_collection_remote)
|
563
542
|
p result
|
564
543
|
rescue PulpAnsibleClient::ApiError => e
|
565
544
|
puts "Error when calling RemotesCollectionApi->partial_update: #{e}"
|
@@ -570,12 +549,12 @@ end
|
|
570
549
|
|
571
550
|
This returns an Array which contains the response data, status code and headers.
|
572
551
|
|
573
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote
|
552
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote)
|
574
553
|
|
575
554
|
```ruby
|
576
555
|
begin
|
577
556
|
# Update a collection remote
|
578
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote
|
557
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote)
|
579
558
|
p status_code # => 2xx
|
580
559
|
p headers # => { ... }
|
581
560
|
p data # => <AsyncOperationResponse>
|
@@ -590,7 +569,6 @@ end
|
|
590
569
|
| ---- | ---- | ----------- | ----- |
|
591
570
|
| **ansible_collection_remote_href** | **String** | | |
|
592
571
|
| **patchedansible_collection_remote** | [**PatchedansibleCollectionRemote**](PatchedansibleCollectionRemote.md) | | |
|
593
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
594
572
|
|
595
573
|
### Return type
|
596
574
|
|
@@ -629,7 +607,6 @@ end
|
|
629
607
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
630
608
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
631
609
|
opts = {
|
632
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
633
610
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
634
611
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
635
612
|
}
|
@@ -666,7 +643,6 @@ end
|
|
666
643
|
| Name | Type | Description | Notes |
|
667
644
|
| ---- | ---- | ----------- | ----- |
|
668
645
|
| **ansible_collection_remote_href** | **String** | | |
|
669
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
670
646
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
671
647
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
672
648
|
|
@@ -686,7 +662,7 @@ end
|
|
686
662
|
|
687
663
|
## remove_role
|
688
664
|
|
689
|
-
> <NestedRoleResponse> remove_role(ansible_collection_remote_href, nested_role
|
665
|
+
> <NestedRoleResponse> remove_role(ansible_collection_remote_href, nested_role)
|
690
666
|
|
691
667
|
Remove a role
|
692
668
|
|
@@ -707,13 +683,10 @@ end
|
|
707
683
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
708
684
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
709
685
|
nested_role = PulpAnsibleClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
710
|
-
opts = {
|
711
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
712
|
-
}
|
713
686
|
|
714
687
|
begin
|
715
688
|
# Remove a role
|
716
|
-
result = api_instance.remove_role(ansible_collection_remote_href, nested_role
|
689
|
+
result = api_instance.remove_role(ansible_collection_remote_href, nested_role)
|
717
690
|
p result
|
718
691
|
rescue PulpAnsibleClient::ApiError => e
|
719
692
|
puts "Error when calling RemotesCollectionApi->remove_role: #{e}"
|
@@ -724,12 +697,12 @@ end
|
|
724
697
|
|
725
698
|
This returns an Array which contains the response data, status code and headers.
|
726
699
|
|
727
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(ansible_collection_remote_href, nested_role
|
700
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(ansible_collection_remote_href, nested_role)
|
728
701
|
|
729
702
|
```ruby
|
730
703
|
begin
|
731
704
|
# Remove a role
|
732
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(ansible_collection_remote_href, nested_role
|
705
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(ansible_collection_remote_href, nested_role)
|
733
706
|
p status_code # => 2xx
|
734
707
|
p headers # => { ... }
|
735
708
|
p data # => <NestedRoleResponse>
|
@@ -744,7 +717,6 @@ end
|
|
744
717
|
| ---- | ---- | ----------- | ----- |
|
745
718
|
| **ansible_collection_remote_href** | **String** | | |
|
746
719
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
747
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
748
720
|
|
749
721
|
### Return type
|
750
722
|
|
@@ -762,7 +734,7 @@ end
|
|
762
734
|
|
763
735
|
## set_label
|
764
736
|
|
765
|
-
> <SetLabelResponse> set_label(ansible_collection_remote_href, set_label
|
737
|
+
> <SetLabelResponse> set_label(ansible_collection_remote_href, set_label)
|
766
738
|
|
767
739
|
Set a label
|
768
740
|
|
@@ -783,13 +755,10 @@ end
|
|
783
755
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
784
756
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
785
757
|
set_label = PulpAnsibleClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
786
|
-
opts = {
|
787
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
788
|
-
}
|
789
758
|
|
790
759
|
begin
|
791
760
|
# Set a label
|
792
|
-
result = api_instance.set_label(ansible_collection_remote_href, set_label
|
761
|
+
result = api_instance.set_label(ansible_collection_remote_href, set_label)
|
793
762
|
p result
|
794
763
|
rescue PulpAnsibleClient::ApiError => e
|
795
764
|
puts "Error when calling RemotesCollectionApi->set_label: #{e}"
|
@@ -800,12 +769,12 @@ end
|
|
800
769
|
|
801
770
|
This returns an Array which contains the response data, status code and headers.
|
802
771
|
|
803
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_collection_remote_href, set_label
|
772
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_collection_remote_href, set_label)
|
804
773
|
|
805
774
|
```ruby
|
806
775
|
begin
|
807
776
|
# Set a label
|
808
|
-
data, status_code, headers = api_instance.set_label_with_http_info(ansible_collection_remote_href, set_label
|
777
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ansible_collection_remote_href, set_label)
|
809
778
|
p status_code # => 2xx
|
810
779
|
p headers # => { ... }
|
811
780
|
p data # => <SetLabelResponse>
|
@@ -820,7 +789,6 @@ end
|
|
820
789
|
| ---- | ---- | ----------- | ----- |
|
821
790
|
| **ansible_collection_remote_href** | **String** | | |
|
822
791
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
823
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
824
792
|
|
825
793
|
### Return type
|
826
794
|
|
@@ -838,7 +806,7 @@ end
|
|
838
806
|
|
839
807
|
## unset_label
|
840
808
|
|
841
|
-
> <UnsetLabelResponse> unset_label(ansible_collection_remote_href, unset_label
|
809
|
+
> <UnsetLabelResponse> unset_label(ansible_collection_remote_href, unset_label)
|
842
810
|
|
843
811
|
Unset a label
|
844
812
|
|
@@ -859,13 +827,10 @@ end
|
|
859
827
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
860
828
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
861
829
|
unset_label = PulpAnsibleClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
862
|
-
opts = {
|
863
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
864
|
-
}
|
865
830
|
|
866
831
|
begin
|
867
832
|
# Unset a label
|
868
|
-
result = api_instance.unset_label(ansible_collection_remote_href, unset_label
|
833
|
+
result = api_instance.unset_label(ansible_collection_remote_href, unset_label)
|
869
834
|
p result
|
870
835
|
rescue PulpAnsibleClient::ApiError => e
|
871
836
|
puts "Error when calling RemotesCollectionApi->unset_label: #{e}"
|
@@ -876,12 +841,12 @@ end
|
|
876
841
|
|
877
842
|
This returns an Array which contains the response data, status code and headers.
|
878
843
|
|
879
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_collection_remote_href, unset_label
|
844
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_collection_remote_href, unset_label)
|
880
845
|
|
881
846
|
```ruby
|
882
847
|
begin
|
883
848
|
# Unset a label
|
884
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_collection_remote_href, unset_label
|
849
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_collection_remote_href, unset_label)
|
885
850
|
p status_code # => 2xx
|
886
851
|
p headers # => { ... }
|
887
852
|
p data # => <UnsetLabelResponse>
|
@@ -896,7 +861,6 @@ end
|
|
896
861
|
| ---- | ---- | ----------- | ----- |
|
897
862
|
| **ansible_collection_remote_href** | **String** | | |
|
898
863
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
899
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
900
864
|
|
901
865
|
### Return type
|
902
866
|
|
@@ -914,7 +878,7 @@ end
|
|
914
878
|
|
915
879
|
## update
|
916
880
|
|
917
|
-
> <AsyncOperationResponse> update(ansible_collection_remote_href, ansible_collection_remote
|
881
|
+
> <AsyncOperationResponse> update(ansible_collection_remote_href, ansible_collection_remote)
|
918
882
|
|
919
883
|
Update a collection remote
|
920
884
|
|
@@ -935,13 +899,10 @@ end
|
|
935
899
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
936
900
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
937
901
|
ansible_collection_remote = PulpAnsibleClient::AnsibleCollectionRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleCollectionRemote |
|
938
|
-
opts = {
|
939
|
-
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
940
|
-
}
|
941
902
|
|
942
903
|
begin
|
943
904
|
# Update a collection remote
|
944
|
-
result = api_instance.update(ansible_collection_remote_href, ansible_collection_remote
|
905
|
+
result = api_instance.update(ansible_collection_remote_href, ansible_collection_remote)
|
945
906
|
p result
|
946
907
|
rescue PulpAnsibleClient::ApiError => e
|
947
908
|
puts "Error when calling RemotesCollectionApi->update: #{e}"
|
@@ -952,12 +913,12 @@ end
|
|
952
913
|
|
953
914
|
This returns an Array which contains the response data, status code and headers.
|
954
915
|
|
955
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(ansible_collection_remote_href, ansible_collection_remote
|
916
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(ansible_collection_remote_href, ansible_collection_remote)
|
956
917
|
|
957
918
|
```ruby
|
958
919
|
begin
|
959
920
|
# Update a collection remote
|
960
|
-
data, status_code, headers = api_instance.update_with_http_info(ansible_collection_remote_href, ansible_collection_remote
|
921
|
+
data, status_code, headers = api_instance.update_with_http_info(ansible_collection_remote_href, ansible_collection_remote)
|
961
922
|
p status_code # => 2xx
|
962
923
|
p headers # => { ... }
|
963
924
|
p data # => <AsyncOperationResponse>
|
@@ -972,7 +933,6 @@ end
|
|
972
933
|
| ---- | ---- | ----------- | ----- |
|
973
934
|
| **ansible_collection_remote_href** | **String** | | |
|
974
935
|
| **ansible_collection_remote** | [**AnsibleCollectionRemote**](AnsibleCollectionRemote.md) | | |
|
975
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
976
936
|
|
977
937
|
### Return type
|
978
938
|
|