pulp_ansible_client 0.24.6 → 0.24.7
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 +8 -5
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionsApi.md +26 -8
- data/docs/AnsibleCopyApi.md +8 -4
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/ApiRolesApi.md +2 -0
- data/docs/CollectionImportApi.md +2 -0
- data/docs/ContentCollectionDeprecationsApi.md +28 -12
- data/docs/ContentCollectionMarksApi.md +28 -12
- data/docs/ContentCollectionSignaturesApi.md +22 -8
- data/docs/ContentCollectionVersionsApi.md +28 -14
- data/docs/ContentNamespacesApi.md +22 -8
- data/docs/ContentRolesApi.md +28 -12
- data/docs/DistributionsAnsibleApi.md +72 -32
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/docs/PulpAnsibleApiApi.md +2 -0
- data/docs/PulpAnsibleApiV3Api.md +2 -0
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsApi.md +20 -8
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +12 -4
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +12 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +8 -0
- data/docs/PulpAnsibleDefaultApiApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3Api.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +20 -8
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +12 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +14 -5
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +20 -8
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +12 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/PulpAnsibleTagsApi.md +2 -0
- data/docs/RemotesCollectionApi.md +72 -32
- data/docs/RemotesGitApi.md +72 -32
- data/docs/RemotesRoleApi.md +72 -32
- data/docs/RepositoriesAnsibleApi.md +136 -64
- data/docs/RepositoriesAnsibleVersionsApi.md +30 -14
- data/docs/VersionsApi.md +2 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +21 -0
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +3 -0
- data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/api_roles_api.rb +3 -0
- data/lib/pulp_ansible_client/api/collection_import_api.rb +3 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +24 -9
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -0
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +36 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +12 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +3 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +15 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +6 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +3 -0
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +36 -0
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +36 -0
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +36 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +60 -0
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +18 -3
- data/lib/pulp_ansible_client/api/versions_api.rb +3 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +228 -228
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +138 -138
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +21 -21
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +223 -223
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +7 -0
- data/spec/api/ansible_copy_api_spec.rb +1 -0
- data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
- data/spec/api/api_roles_api_spec.rb +1 -0
- data/spec/api/collection_import_api_spec.rb +1 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -0
- data/spec/api/content_collection_marks_api_spec.rb +5 -0
- data/spec/api/content_collection_signatures_api_spec.rb +5 -0
- data/spec/api/content_collection_versions_api_spec.rb +8 -3
- data/spec/api/content_namespaces_api_spec.rb +5 -0
- data/spec/api/content_roles_api_spec.rb +5 -0
- data/spec/api/distributions_ansible_api_spec.rb +12 -0
- data/spec/api/pulp_ansible_api_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +4 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +3 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +5 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +2 -0
- data/spec/api/pulp_ansible_tags_api_spec.rb +1 -0
- data/spec/api/remotes_collection_api_spec.rb +12 -0
- data/spec/api/remotes_git_api_spec.rb +12 -0
- data/spec/api/remotes_role_api_spec.rb +12 -0
- data/spec/api/repositories_ansible_api_spec.rb +20 -0
- data/spec/api/repositories_ansible_versions_api_spec.rb +6 -1
- data/spec/api/versions_api_spec.rb +1 -0
- data/spec/models/ansible_collection_version_response_spec.rb +5 -5
- 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_role_response_spec.rb +5 -5
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +126 -126
@@ -34,6 +34,7 @@ end
|
|
34
34
|
api_instance = PulpAnsibleClient::ContentNamespacesApi.new
|
35
35
|
ansible_ansible_namespace_metadata_href = 'ansible_ansible_namespace_metadata_href_example' # String |
|
36
36
|
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
37
38
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
38
39
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
39
40
|
}
|
@@ -69,6 +70,7 @@ end
|
|
69
70
|
| Name | Type | Description | Notes |
|
70
71
|
| ---- | ---- | ----------- | ----- |
|
71
72
|
| **ansible_ansible_namespace_metadata_href** | **String** | | |
|
73
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
72
74
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
73
75
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
74
76
|
|
@@ -108,6 +110,7 @@ end
|
|
108
110
|
|
109
111
|
api_instance = PulpAnsibleClient::ContentNamespacesApi.new
|
110
112
|
opts = {
|
113
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
111
114
|
company: 'company_example', # String | Filter results where company matches value
|
112
115
|
company__contains: 'company__contains_example', # String | Filter results where company contains value
|
113
116
|
company__icontains: 'company__icontains_example', # String | Filter results where company contains value
|
@@ -175,6 +178,7 @@ end
|
|
175
178
|
|
176
179
|
| Name | Type | Description | Notes |
|
177
180
|
| ---- | ---- | ----------- | ----- |
|
181
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
178
182
|
| **company** | **String** | Filter results where company matches value | [optional] |
|
179
183
|
| **company__contains** | **String** | Filter results where company contains value | [optional] |
|
180
184
|
| **company__icontains** | **String** | Filter results where company contains value | [optional] |
|
@@ -247,6 +251,7 @@ end
|
|
247
251
|
api_instance = PulpAnsibleClient::ContentNamespacesApi.new
|
248
252
|
ansible_ansible_namespace_metadata_href = 'ansible_ansible_namespace_metadata_href_example' # String |
|
249
253
|
opts = {
|
254
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
250
255
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
251
256
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
252
257
|
}
|
@@ -283,6 +288,7 @@ end
|
|
283
288
|
| Name | Type | Description | Notes |
|
284
289
|
| ---- | ---- | ----------- | ----- |
|
285
290
|
| **ansible_ansible_namespace_metadata_href** | **String** | | |
|
291
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
286
292
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
287
293
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
288
294
|
|
@@ -302,7 +308,7 @@ end
|
|
302
308
|
|
303
309
|
## set_label
|
304
310
|
|
305
|
-
> <SetLabelResponse> set_label(ansible_ansible_namespace_metadata_href, set_label)
|
311
|
+
> <SetLabelResponse> set_label(ansible_ansible_namespace_metadata_href, set_label, opts)
|
306
312
|
|
307
313
|
Set a label
|
308
314
|
|
@@ -323,10 +329,13 @@ end
|
|
323
329
|
api_instance = PulpAnsibleClient::ContentNamespacesApi.new
|
324
330
|
ansible_ansible_namespace_metadata_href = 'ansible_ansible_namespace_metadata_href_example' # String |
|
325
331
|
set_label = PulpAnsibleClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
332
|
+
opts = {
|
333
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
334
|
+
}
|
326
335
|
|
327
336
|
begin
|
328
337
|
# Set a label
|
329
|
-
result = api_instance.set_label(ansible_ansible_namespace_metadata_href, set_label)
|
338
|
+
result = api_instance.set_label(ansible_ansible_namespace_metadata_href, set_label, opts)
|
330
339
|
p result
|
331
340
|
rescue PulpAnsibleClient::ApiError => e
|
332
341
|
puts "Error when calling ContentNamespacesApi->set_label: #{e}"
|
@@ -337,12 +346,12 @@ end
|
|
337
346
|
|
338
347
|
This returns an Array which contains the response data, status code and headers.
|
339
348
|
|
340
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_ansible_namespace_metadata_href, set_label)
|
349
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_ansible_namespace_metadata_href, set_label, opts)
|
341
350
|
|
342
351
|
```ruby
|
343
352
|
begin
|
344
353
|
# Set a label
|
345
|
-
data, status_code, headers = api_instance.set_label_with_http_info(ansible_ansible_namespace_metadata_href, set_label)
|
354
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ansible_ansible_namespace_metadata_href, set_label, opts)
|
346
355
|
p status_code # => 2xx
|
347
356
|
p headers # => { ... }
|
348
357
|
p data # => <SetLabelResponse>
|
@@ -357,6 +366,7 @@ end
|
|
357
366
|
| ---- | ---- | ----------- | ----- |
|
358
367
|
| **ansible_ansible_namespace_metadata_href** | **String** | | |
|
359
368
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
369
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
360
370
|
|
361
371
|
### Return type
|
362
372
|
|
@@ -374,7 +384,7 @@ end
|
|
374
384
|
|
375
385
|
## unset_label
|
376
386
|
|
377
|
-
> <UnsetLabelResponse> unset_label(ansible_ansible_namespace_metadata_href, unset_label)
|
387
|
+
> <UnsetLabelResponse> unset_label(ansible_ansible_namespace_metadata_href, unset_label, opts)
|
378
388
|
|
379
389
|
Unset a label
|
380
390
|
|
@@ -395,10 +405,13 @@ end
|
|
395
405
|
api_instance = PulpAnsibleClient::ContentNamespacesApi.new
|
396
406
|
ansible_ansible_namespace_metadata_href = 'ansible_ansible_namespace_metadata_href_example' # String |
|
397
407
|
unset_label = PulpAnsibleClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
408
|
+
opts = {
|
409
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
410
|
+
}
|
398
411
|
|
399
412
|
begin
|
400
413
|
# Unset a label
|
401
|
-
result = api_instance.unset_label(ansible_ansible_namespace_metadata_href, unset_label)
|
414
|
+
result = api_instance.unset_label(ansible_ansible_namespace_metadata_href, unset_label, opts)
|
402
415
|
p result
|
403
416
|
rescue PulpAnsibleClient::ApiError => e
|
404
417
|
puts "Error when calling ContentNamespacesApi->unset_label: #{e}"
|
@@ -409,12 +422,12 @@ end
|
|
409
422
|
|
410
423
|
This returns an Array which contains the response data, status code and headers.
|
411
424
|
|
412
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_ansible_namespace_metadata_href, unset_label)
|
425
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_ansible_namespace_metadata_href, unset_label, opts)
|
413
426
|
|
414
427
|
```ruby
|
415
428
|
begin
|
416
429
|
# Unset a label
|
417
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_ansible_namespace_metadata_href, unset_label)
|
430
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_ansible_namespace_metadata_href, unset_label, opts)
|
418
431
|
p status_code # => 2xx
|
419
432
|
p headers # => { ... }
|
420
433
|
p data # => <UnsetLabelResponse>
|
@@ -429,6 +442,7 @@ end
|
|
429
442
|
| ---- | ---- | ----------- | ----- |
|
430
443
|
| **ansible_ansible_namespace_metadata_href** | **String** | | |
|
431
444
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
445
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
432
446
|
|
433
447
|
### Return type
|
434
448
|
|
data/docs/ContentRolesApi.md
CHANGED
@@ -13,7 +13,7 @@ All URIs are relative to *http://localhost:24817*
|
|
13
13
|
|
14
14
|
## create
|
15
15
|
|
16
|
-
> <AnsibleRoleResponse> create(ansible_role)
|
16
|
+
> <AnsibleRoleResponse> create(ansible_role, opts)
|
17
17
|
|
18
18
|
Create a role
|
19
19
|
|
@@ -33,10 +33,13 @@ end
|
|
33
33
|
|
34
34
|
api_instance = PulpAnsibleClient::ContentRolesApi.new
|
35
35
|
ansible_role = PulpAnsibleClient::AnsibleRole.new({artifact: 'artifact_example', version: 'version_example', name: 'name_example', namespace: 'namespace_example'}) # AnsibleRole |
|
36
|
+
opts = {
|
37
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
38
|
+
}
|
36
39
|
|
37
40
|
begin
|
38
41
|
# Create a role
|
39
|
-
result = api_instance.create(ansible_role)
|
42
|
+
result = api_instance.create(ansible_role, opts)
|
40
43
|
p result
|
41
44
|
rescue PulpAnsibleClient::ApiError => e
|
42
45
|
puts "Error when calling ContentRolesApi->create: #{e}"
|
@@ -47,12 +50,12 @@ end
|
|
47
50
|
|
48
51
|
This returns an Array which contains the response data, status code and headers.
|
49
52
|
|
50
|
-
> <Array(<AnsibleRoleResponse>, Integer, Hash)> create_with_http_info(ansible_role)
|
53
|
+
> <Array(<AnsibleRoleResponse>, Integer, Hash)> create_with_http_info(ansible_role, opts)
|
51
54
|
|
52
55
|
```ruby
|
53
56
|
begin
|
54
57
|
# Create a role
|
55
|
-
data, status_code, headers = api_instance.create_with_http_info(ansible_role)
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(ansible_role, opts)
|
56
59
|
p status_code # => 2xx
|
57
60
|
p headers # => { ... }
|
58
61
|
p data # => <AnsibleRoleResponse>
|
@@ -66,6 +69,7 @@ end
|
|
66
69
|
| Name | Type | Description | Notes |
|
67
70
|
| ---- | ---- | ----------- | ----- |
|
68
71
|
| **ansible_role** | [**AnsibleRole**](AnsibleRole.md) | | |
|
72
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
69
73
|
|
70
74
|
### Return type
|
71
75
|
|
@@ -103,6 +107,7 @@ end
|
|
103
107
|
|
104
108
|
api_instance = PulpAnsibleClient::ContentRolesApi.new
|
105
109
|
opts = {
|
110
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
106
111
|
limit: 56, # Integer | Number of results to return per page.
|
107
112
|
name: 'name_example', # String | Filter results where name matches value
|
108
113
|
namespace: 'namespace_example', # String | Filter results where namespace matches value
|
@@ -153,6 +158,7 @@ end
|
|
153
158
|
|
154
159
|
| Name | Type | Description | Notes |
|
155
160
|
| ---- | ---- | ----------- | ----- |
|
161
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
156
162
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
157
163
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
158
164
|
| **namespace** | **String** | Filter results where namespace matches value | [optional] |
|
@@ -208,6 +214,7 @@ end
|
|
208
214
|
api_instance = PulpAnsibleClient::ContentRolesApi.new
|
209
215
|
ansible_role_href = 'ansible_role_href_example' # String |
|
210
216
|
opts = {
|
217
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
211
218
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
212
219
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
213
220
|
}
|
@@ -244,6 +251,7 @@ end
|
|
244
251
|
| Name | Type | Description | Notes |
|
245
252
|
| ---- | ---- | ----------- | ----- |
|
246
253
|
| **ansible_role_href** | **String** | | |
|
254
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
247
255
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
248
256
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
249
257
|
|
@@ -263,7 +271,7 @@ end
|
|
263
271
|
|
264
272
|
## set_label
|
265
273
|
|
266
|
-
> <SetLabelResponse> set_label(ansible_role_href, set_label)
|
274
|
+
> <SetLabelResponse> set_label(ansible_role_href, set_label, opts)
|
267
275
|
|
268
276
|
Set a label
|
269
277
|
|
@@ -284,10 +292,13 @@ end
|
|
284
292
|
api_instance = PulpAnsibleClient::ContentRolesApi.new
|
285
293
|
ansible_role_href = 'ansible_role_href_example' # String |
|
286
294
|
set_label = PulpAnsibleClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
295
|
+
opts = {
|
296
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
297
|
+
}
|
287
298
|
|
288
299
|
begin
|
289
300
|
# Set a label
|
290
|
-
result = api_instance.set_label(ansible_role_href, set_label)
|
301
|
+
result = api_instance.set_label(ansible_role_href, set_label, opts)
|
291
302
|
p result
|
292
303
|
rescue PulpAnsibleClient::ApiError => e
|
293
304
|
puts "Error when calling ContentRolesApi->set_label: #{e}"
|
@@ -298,12 +309,12 @@ end
|
|
298
309
|
|
299
310
|
This returns an Array which contains the response data, status code and headers.
|
300
311
|
|
301
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_role_href, set_label)
|
312
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_role_href, set_label, opts)
|
302
313
|
|
303
314
|
```ruby
|
304
315
|
begin
|
305
316
|
# Set a label
|
306
|
-
data, status_code, headers = api_instance.set_label_with_http_info(ansible_role_href, set_label)
|
317
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ansible_role_href, set_label, opts)
|
307
318
|
p status_code # => 2xx
|
308
319
|
p headers # => { ... }
|
309
320
|
p data # => <SetLabelResponse>
|
@@ -318,6 +329,7 @@ end
|
|
318
329
|
| ---- | ---- | ----------- | ----- |
|
319
330
|
| **ansible_role_href** | **String** | | |
|
320
331
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
332
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
321
333
|
|
322
334
|
### Return type
|
323
335
|
|
@@ -335,7 +347,7 @@ end
|
|
335
347
|
|
336
348
|
## unset_label
|
337
349
|
|
338
|
-
> <UnsetLabelResponse> unset_label(ansible_role_href, unset_label)
|
350
|
+
> <UnsetLabelResponse> unset_label(ansible_role_href, unset_label, opts)
|
339
351
|
|
340
352
|
Unset a label
|
341
353
|
|
@@ -356,10 +368,13 @@ end
|
|
356
368
|
api_instance = PulpAnsibleClient::ContentRolesApi.new
|
357
369
|
ansible_role_href = 'ansible_role_href_example' # String |
|
358
370
|
unset_label = PulpAnsibleClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
371
|
+
opts = {
|
372
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
373
|
+
}
|
359
374
|
|
360
375
|
begin
|
361
376
|
# Unset a label
|
362
|
-
result = api_instance.unset_label(ansible_role_href, unset_label)
|
377
|
+
result = api_instance.unset_label(ansible_role_href, unset_label, opts)
|
363
378
|
p result
|
364
379
|
rescue PulpAnsibleClient::ApiError => e
|
365
380
|
puts "Error when calling ContentRolesApi->unset_label: #{e}"
|
@@ -370,12 +385,12 @@ end
|
|
370
385
|
|
371
386
|
This returns an Array which contains the response data, status code and headers.
|
372
387
|
|
373
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_role_href, unset_label)
|
388
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_role_href, unset_label, opts)
|
374
389
|
|
375
390
|
```ruby
|
376
391
|
begin
|
377
392
|
# Unset a label
|
378
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_role_href, unset_label)
|
393
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_role_href, unset_label, opts)
|
379
394
|
p status_code # => 2xx
|
380
395
|
p headers # => { ... }
|
381
396
|
p data # => <UnsetLabelResponse>
|
@@ -390,6 +405,7 @@ end
|
|
390
405
|
| ---- | ---- | ----------- | ----- |
|
391
406
|
| **ansible_role_href** | **String** | | |
|
392
407
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
408
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
393
409
|
|
394
410
|
### Return type
|
395
411
|
|