pulp_ansible_client 0.26.0 → 0.27.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 +10 -7
- data/docs/AnsibleCollectionVersionResponse.md +7 -7
- data/docs/AnsibleCollectionsApi.md +26 -8
- data/docs/AnsibleCopyApi.md +8 -4
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +30 -30
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/ApiRolesApi.md +2 -0
- data/docs/CollectionImportApi.md +2 -0
- data/docs/CollectionMetadataResponse.md +1 -1
- data/docs/CollectionSummaryResponse.md +1 -1
- data/docs/CollectionSummaryResponseTagsInner.md +18 -0
- data/docs/ContentCollectionDeprecationsApi.md +28 -12
- data/docs/ContentCollectionMarksApi.md +28 -12
- data/docs/ContentCollectionSignaturesApi.md +22 -8
- data/docs/ContentCollectionVersionsApi.md +32 -18
- data/docs/ContentNamespacesApi.md +22 -8
- data/docs/ContentRolesApi.md +28 -12
- data/docs/DistributionsAnsibleApi.md +72 -32
- data/docs/PatchedansibleGitRemote.md +26 -26
- 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 +14 -6
- 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 +14 -6
- 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 +14 -6
- 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 +14 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +16 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +10 -4
- data/docs/PulpAnsibleTagsApi.md +6 -4
- 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 +28 -12
- 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 +30 -15
- 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 +12 -3
- 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 +12 -3
- 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 +12 -3
- 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 +12 -3
- 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 +5 -2
- 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 +15 -0
- data/lib/pulp_ansible_client/api/versions_api.rb +3 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +26 -26
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +224 -224
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +167 -167
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +27 -27
- data/lib/pulp_ansible_client/models/collection_metadata_response.rb +0 -7
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +1 -1
- data/lib/pulp_ansible_client/models/{ansible_tag_response.rb → collection_summary_response_tags_inner.rb} +3 -5
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/models/tag_response.rb +1 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.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 +10 -5
- 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 +4 -1
- 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 +4 -1
- 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 +4 -1
- 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 +4 -1
- 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 +2 -1
- 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 +5 -0
- 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 +19 -19
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/{ansible_tag_response_spec.rb → collection_summary_response_tags_inner_spec.rb} +6 -6
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +124 -124
- data/docs/AnsibleTagResponse.md +0 -18
@@ -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, opts)
|
24
24
|
|
25
25
|
Add a role
|
26
26
|
|
@@ -41,10 +41,13 @@ 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
|
+
}
|
44
47
|
|
45
48
|
begin
|
46
49
|
# Add a role
|
47
|
-
result = api_instance.add_role(ansible_collection_remote_href, nested_role)
|
50
|
+
result = api_instance.add_role(ansible_collection_remote_href, nested_role, opts)
|
48
51
|
p result
|
49
52
|
rescue PulpAnsibleClient::ApiError => e
|
50
53
|
puts "Error when calling RemotesCollectionApi->add_role: #{e}"
|
@@ -55,12 +58,12 @@ end
|
|
55
58
|
|
56
59
|
This returns an Array which contains the response data, status code and headers.
|
57
60
|
|
58
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(ansible_collection_remote_href, nested_role)
|
61
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(ansible_collection_remote_href, nested_role, opts)
|
59
62
|
|
60
63
|
```ruby
|
61
64
|
begin
|
62
65
|
# Add a role
|
63
|
-
data, status_code, headers = api_instance.add_role_with_http_info(ansible_collection_remote_href, nested_role)
|
66
|
+
data, status_code, headers = api_instance.add_role_with_http_info(ansible_collection_remote_href, nested_role, opts)
|
64
67
|
p status_code # => 2xx
|
65
68
|
p headers # => { ... }
|
66
69
|
p data # => <NestedRoleResponse>
|
@@ -75,6 +78,7 @@ end
|
|
75
78
|
| ---- | ---- | ----------- | ----- |
|
76
79
|
| **ansible_collection_remote_href** | **String** | | |
|
77
80
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
81
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
78
82
|
|
79
83
|
### Return type
|
80
84
|
|
@@ -92,7 +96,7 @@ end
|
|
92
96
|
|
93
97
|
## create
|
94
98
|
|
95
|
-
> <AnsibleCollectionRemoteResponse> create(ansible_collection_remote)
|
99
|
+
> <AnsibleCollectionRemoteResponse> create(ansible_collection_remote, opts)
|
96
100
|
|
97
101
|
Create a collection remote
|
98
102
|
|
@@ -112,10 +116,13 @@ end
|
|
112
116
|
|
113
117
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
114
118
|
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
|
+
}
|
115
122
|
|
116
123
|
begin
|
117
124
|
# Create a collection remote
|
118
|
-
result = api_instance.create(ansible_collection_remote)
|
125
|
+
result = api_instance.create(ansible_collection_remote, opts)
|
119
126
|
p result
|
120
127
|
rescue PulpAnsibleClient::ApiError => e
|
121
128
|
puts "Error when calling RemotesCollectionApi->create: #{e}"
|
@@ -126,12 +133,12 @@ end
|
|
126
133
|
|
127
134
|
This returns an Array which contains the response data, status code and headers.
|
128
135
|
|
129
|
-
> <Array(<AnsibleCollectionRemoteResponse>, Integer, Hash)> create_with_http_info(ansible_collection_remote)
|
136
|
+
> <Array(<AnsibleCollectionRemoteResponse>, Integer, Hash)> create_with_http_info(ansible_collection_remote, opts)
|
130
137
|
|
131
138
|
```ruby
|
132
139
|
begin
|
133
140
|
# Create a collection remote
|
134
|
-
data, status_code, headers = api_instance.create_with_http_info(ansible_collection_remote)
|
141
|
+
data, status_code, headers = api_instance.create_with_http_info(ansible_collection_remote, opts)
|
135
142
|
p status_code # => 2xx
|
136
143
|
p headers # => { ... }
|
137
144
|
p data # => <AnsibleCollectionRemoteResponse>
|
@@ -145,6 +152,7 @@ end
|
|
145
152
|
| Name | Type | Description | Notes |
|
146
153
|
| ---- | ---- | ----------- | ----- |
|
147
154
|
| **ansible_collection_remote** | [**AnsibleCollectionRemote**](AnsibleCollectionRemote.md) | | |
|
155
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
148
156
|
|
149
157
|
### Return type
|
150
158
|
|
@@ -162,7 +170,7 @@ end
|
|
162
170
|
|
163
171
|
## delete
|
164
172
|
|
165
|
-
> <AsyncOperationResponse> delete(ansible_collection_remote_href)
|
173
|
+
> <AsyncOperationResponse> delete(ansible_collection_remote_href, opts)
|
166
174
|
|
167
175
|
Delete a collection remote
|
168
176
|
|
@@ -182,10 +190,13 @@ end
|
|
182
190
|
|
183
191
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
184
192
|
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
|
+
}
|
185
196
|
|
186
197
|
begin
|
187
198
|
# Delete a collection remote
|
188
|
-
result = api_instance.delete(ansible_collection_remote_href)
|
199
|
+
result = api_instance.delete(ansible_collection_remote_href, opts)
|
189
200
|
p result
|
190
201
|
rescue PulpAnsibleClient::ApiError => e
|
191
202
|
puts "Error when calling RemotesCollectionApi->delete: #{e}"
|
@@ -196,12 +207,12 @@ end
|
|
196
207
|
|
197
208
|
This returns an Array which contains the response data, status code and headers.
|
198
209
|
|
199
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(ansible_collection_remote_href)
|
210
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(ansible_collection_remote_href, opts)
|
200
211
|
|
201
212
|
```ruby
|
202
213
|
begin
|
203
214
|
# Delete a collection remote
|
204
|
-
data, status_code, headers = api_instance.delete_with_http_info(ansible_collection_remote_href)
|
215
|
+
data, status_code, headers = api_instance.delete_with_http_info(ansible_collection_remote_href, opts)
|
205
216
|
p status_code # => 2xx
|
206
217
|
p headers # => { ... }
|
207
218
|
p data # => <AsyncOperationResponse>
|
@@ -215,6 +226,7 @@ end
|
|
215
226
|
| Name | Type | Description | Notes |
|
216
227
|
| ---- | ---- | ----------- | ----- |
|
217
228
|
| **ansible_collection_remote_href** | **String** | | |
|
229
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
218
230
|
|
219
231
|
### Return type
|
220
232
|
|
@@ -252,6 +264,7 @@ end
|
|
252
264
|
|
253
265
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
254
266
|
opts = {
|
267
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
255
268
|
limit: 56, # Integer | Number of results to return per page.
|
256
269
|
name: 'name_example', # String | Filter results where name matches value
|
257
270
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -315,6 +328,7 @@ end
|
|
315
328
|
|
316
329
|
| Name | Type | Description | Notes |
|
317
330
|
| ---- | ---- | ----------- | ----- |
|
331
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
318
332
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
319
333
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
320
334
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -383,6 +397,7 @@ end
|
|
383
397
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
384
398
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
385
399
|
opts = {
|
400
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
386
401
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
387
402
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
388
403
|
}
|
@@ -419,6 +434,7 @@ end
|
|
419
434
|
| Name | Type | Description | Notes |
|
420
435
|
| ---- | ---- | ----------- | ----- |
|
421
436
|
| **ansible_collection_remote_href** | **String** | | |
|
437
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
422
438
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
423
439
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
424
440
|
|
@@ -459,6 +475,7 @@ end
|
|
459
475
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
460
476
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
461
477
|
opts = {
|
478
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
462
479
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
463
480
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
464
481
|
}
|
@@ -495,6 +512,7 @@ end
|
|
495
512
|
| Name | Type | Description | Notes |
|
496
513
|
| ---- | ---- | ----------- | ----- |
|
497
514
|
| **ansible_collection_remote_href** | **String** | | |
|
515
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
498
516
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
499
517
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
500
518
|
|
@@ -514,7 +532,7 @@ end
|
|
514
532
|
|
515
533
|
## partial_update
|
516
534
|
|
517
|
-
> <AsyncOperationResponse> partial_update(ansible_collection_remote_href, patchedansible_collection_remote)
|
535
|
+
> <AsyncOperationResponse> partial_update(ansible_collection_remote_href, patchedansible_collection_remote, opts)
|
518
536
|
|
519
537
|
Update a collection remote
|
520
538
|
|
@@ -535,10 +553,13 @@ end
|
|
535
553
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
536
554
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
537
555
|
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
|
+
}
|
538
559
|
|
539
560
|
begin
|
540
561
|
# Update a collection remote
|
541
|
-
result = api_instance.partial_update(ansible_collection_remote_href, patchedansible_collection_remote)
|
562
|
+
result = api_instance.partial_update(ansible_collection_remote_href, patchedansible_collection_remote, opts)
|
542
563
|
p result
|
543
564
|
rescue PulpAnsibleClient::ApiError => e
|
544
565
|
puts "Error when calling RemotesCollectionApi->partial_update: #{e}"
|
@@ -549,12 +570,12 @@ end
|
|
549
570
|
|
550
571
|
This returns an Array which contains the response data, status code and headers.
|
551
572
|
|
552
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote)
|
573
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote, opts)
|
553
574
|
|
554
575
|
```ruby
|
555
576
|
begin
|
556
577
|
# Update a collection remote
|
557
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote)
|
578
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote, opts)
|
558
579
|
p status_code # => 2xx
|
559
580
|
p headers # => { ... }
|
560
581
|
p data # => <AsyncOperationResponse>
|
@@ -569,6 +590,7 @@ end
|
|
569
590
|
| ---- | ---- | ----------- | ----- |
|
570
591
|
| **ansible_collection_remote_href** | **String** | | |
|
571
592
|
| **patchedansible_collection_remote** | [**PatchedansibleCollectionRemote**](PatchedansibleCollectionRemote.md) | | |
|
593
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
572
594
|
|
573
595
|
### Return type
|
574
596
|
|
@@ -607,6 +629,7 @@ end
|
|
607
629
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
608
630
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
609
631
|
opts = {
|
632
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
610
633
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
611
634
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
612
635
|
}
|
@@ -643,6 +666,7 @@ end
|
|
643
666
|
| Name | Type | Description | Notes |
|
644
667
|
| ---- | ---- | ----------- | ----- |
|
645
668
|
| **ansible_collection_remote_href** | **String** | | |
|
669
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
646
670
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
647
671
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
648
672
|
|
@@ -662,7 +686,7 @@ end
|
|
662
686
|
|
663
687
|
## remove_role
|
664
688
|
|
665
|
-
> <NestedRoleResponse> remove_role(ansible_collection_remote_href, nested_role)
|
689
|
+
> <NestedRoleResponse> remove_role(ansible_collection_remote_href, nested_role, opts)
|
666
690
|
|
667
691
|
Remove a role
|
668
692
|
|
@@ -683,10 +707,13 @@ end
|
|
683
707
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
684
708
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
685
709
|
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
|
+
}
|
686
713
|
|
687
714
|
begin
|
688
715
|
# Remove a role
|
689
|
-
result = api_instance.remove_role(ansible_collection_remote_href, nested_role)
|
716
|
+
result = api_instance.remove_role(ansible_collection_remote_href, nested_role, opts)
|
690
717
|
p result
|
691
718
|
rescue PulpAnsibleClient::ApiError => e
|
692
719
|
puts "Error when calling RemotesCollectionApi->remove_role: #{e}"
|
@@ -697,12 +724,12 @@ end
|
|
697
724
|
|
698
725
|
This returns an Array which contains the response data, status code and headers.
|
699
726
|
|
700
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(ansible_collection_remote_href, nested_role)
|
727
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(ansible_collection_remote_href, nested_role, opts)
|
701
728
|
|
702
729
|
```ruby
|
703
730
|
begin
|
704
731
|
# Remove a role
|
705
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(ansible_collection_remote_href, nested_role)
|
732
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(ansible_collection_remote_href, nested_role, opts)
|
706
733
|
p status_code # => 2xx
|
707
734
|
p headers # => { ... }
|
708
735
|
p data # => <NestedRoleResponse>
|
@@ -717,6 +744,7 @@ end
|
|
717
744
|
| ---- | ---- | ----------- | ----- |
|
718
745
|
| **ansible_collection_remote_href** | **String** | | |
|
719
746
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
747
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
720
748
|
|
721
749
|
### Return type
|
722
750
|
|
@@ -734,7 +762,7 @@ end
|
|
734
762
|
|
735
763
|
## set_label
|
736
764
|
|
737
|
-
> <SetLabelResponse> set_label(ansible_collection_remote_href, set_label)
|
765
|
+
> <SetLabelResponse> set_label(ansible_collection_remote_href, set_label, opts)
|
738
766
|
|
739
767
|
Set a label
|
740
768
|
|
@@ -755,10 +783,13 @@ end
|
|
755
783
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
756
784
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
757
785
|
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
|
+
}
|
758
789
|
|
759
790
|
begin
|
760
791
|
# Set a label
|
761
|
-
result = api_instance.set_label(ansible_collection_remote_href, set_label)
|
792
|
+
result = api_instance.set_label(ansible_collection_remote_href, set_label, opts)
|
762
793
|
p result
|
763
794
|
rescue PulpAnsibleClient::ApiError => e
|
764
795
|
puts "Error when calling RemotesCollectionApi->set_label: #{e}"
|
@@ -769,12 +800,12 @@ end
|
|
769
800
|
|
770
801
|
This returns an Array which contains the response data, status code and headers.
|
771
802
|
|
772
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_collection_remote_href, set_label)
|
803
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_collection_remote_href, set_label, opts)
|
773
804
|
|
774
805
|
```ruby
|
775
806
|
begin
|
776
807
|
# Set a label
|
777
|
-
data, status_code, headers = api_instance.set_label_with_http_info(ansible_collection_remote_href, set_label)
|
808
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ansible_collection_remote_href, set_label, opts)
|
778
809
|
p status_code # => 2xx
|
779
810
|
p headers # => { ... }
|
780
811
|
p data # => <SetLabelResponse>
|
@@ -789,6 +820,7 @@ end
|
|
789
820
|
| ---- | ---- | ----------- | ----- |
|
790
821
|
| **ansible_collection_remote_href** | **String** | | |
|
791
822
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
823
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
792
824
|
|
793
825
|
### Return type
|
794
826
|
|
@@ -806,7 +838,7 @@ end
|
|
806
838
|
|
807
839
|
## unset_label
|
808
840
|
|
809
|
-
> <UnsetLabelResponse> unset_label(ansible_collection_remote_href, unset_label)
|
841
|
+
> <UnsetLabelResponse> unset_label(ansible_collection_remote_href, unset_label, opts)
|
810
842
|
|
811
843
|
Unset a label
|
812
844
|
|
@@ -827,10 +859,13 @@ end
|
|
827
859
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
828
860
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
829
861
|
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
|
+
}
|
830
865
|
|
831
866
|
begin
|
832
867
|
# Unset a label
|
833
|
-
result = api_instance.unset_label(ansible_collection_remote_href, unset_label)
|
868
|
+
result = api_instance.unset_label(ansible_collection_remote_href, unset_label, opts)
|
834
869
|
p result
|
835
870
|
rescue PulpAnsibleClient::ApiError => e
|
836
871
|
puts "Error when calling RemotesCollectionApi->unset_label: #{e}"
|
@@ -841,12 +876,12 @@ end
|
|
841
876
|
|
842
877
|
This returns an Array which contains the response data, status code and headers.
|
843
878
|
|
844
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_collection_remote_href, unset_label)
|
879
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_collection_remote_href, unset_label, opts)
|
845
880
|
|
846
881
|
```ruby
|
847
882
|
begin
|
848
883
|
# Unset a label
|
849
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_collection_remote_href, unset_label)
|
884
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_collection_remote_href, unset_label, opts)
|
850
885
|
p status_code # => 2xx
|
851
886
|
p headers # => { ... }
|
852
887
|
p data # => <UnsetLabelResponse>
|
@@ -861,6 +896,7 @@ end
|
|
861
896
|
| ---- | ---- | ----------- | ----- |
|
862
897
|
| **ansible_collection_remote_href** | **String** | | |
|
863
898
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
899
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
864
900
|
|
865
901
|
### Return type
|
866
902
|
|
@@ -878,7 +914,7 @@ end
|
|
878
914
|
|
879
915
|
## update
|
880
916
|
|
881
|
-
> <AsyncOperationResponse> update(ansible_collection_remote_href, ansible_collection_remote)
|
917
|
+
> <AsyncOperationResponse> update(ansible_collection_remote_href, ansible_collection_remote, opts)
|
882
918
|
|
883
919
|
Update a collection remote
|
884
920
|
|
@@ -899,10 +935,13 @@ end
|
|
899
935
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
900
936
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
901
937
|
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
|
+
}
|
902
941
|
|
903
942
|
begin
|
904
943
|
# Update a collection remote
|
905
|
-
result = api_instance.update(ansible_collection_remote_href, ansible_collection_remote)
|
944
|
+
result = api_instance.update(ansible_collection_remote_href, ansible_collection_remote, opts)
|
906
945
|
p result
|
907
946
|
rescue PulpAnsibleClient::ApiError => e
|
908
947
|
puts "Error when calling RemotesCollectionApi->update: #{e}"
|
@@ -913,12 +952,12 @@ end
|
|
913
952
|
|
914
953
|
This returns an Array which contains the response data, status code and headers.
|
915
954
|
|
916
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(ansible_collection_remote_href, ansible_collection_remote)
|
955
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(ansible_collection_remote_href, ansible_collection_remote, opts)
|
917
956
|
|
918
957
|
```ruby
|
919
958
|
begin
|
920
959
|
# Update a collection remote
|
921
|
-
data, status_code, headers = api_instance.update_with_http_info(ansible_collection_remote_href, ansible_collection_remote)
|
960
|
+
data, status_code, headers = api_instance.update_with_http_info(ansible_collection_remote_href, ansible_collection_remote, opts)
|
922
961
|
p status_code # => 2xx
|
923
962
|
p headers # => { ... }
|
924
963
|
p data # => <AsyncOperationResponse>
|
@@ -933,6 +972,7 @@ end
|
|
933
972
|
| ---- | ---- | ----------- | ----- |
|
934
973
|
| **ansible_collection_remote_href** | **String** | | |
|
935
974
|
| **ansible_collection_remote** | [**AnsibleCollectionRemote**](AnsibleCollectionRemote.md) | | |
|
975
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
936
976
|
|
937
977
|
### Return type
|
938
978
|
|