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
data/docs/RemotesRoleApi.md
CHANGED
@@ -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_role_remote_href, nested_role)
|
23
|
+
> <NestedRoleResponse> add_role(ansible_role_remote_href, nested_role, opts)
|
24
24
|
|
25
25
|
Add a role
|
26
26
|
|
@@ -41,10 +41,13 @@ end
|
|
41
41
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
42
42
|
ansible_role_remote_href = 'ansible_role_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_role_remote_href, nested_role)
|
50
|
+
result = api_instance.add_role(ansible_role_remote_href, nested_role, opts)
|
48
51
|
p result
|
49
52
|
rescue PulpAnsibleClient::ApiError => e
|
50
53
|
puts "Error when calling RemotesRoleApi->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_role_remote_href, nested_role)
|
61
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(ansible_role_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_role_remote_href, nested_role)
|
66
|
+
data, status_code, headers = api_instance.add_role_with_http_info(ansible_role_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_role_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
|
-
> <AnsibleRoleRemoteResponse> create(ansible_role_remote)
|
99
|
+
> <AnsibleRoleRemoteResponse> create(ansible_role_remote, opts)
|
96
100
|
|
97
101
|
Create a role remote
|
98
102
|
|
@@ -112,10 +116,13 @@ end
|
|
112
116
|
|
113
117
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
114
118
|
ansible_role_remote = PulpAnsibleClient::AnsibleRoleRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleRoleRemote |
|
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 role remote
|
118
|
-
result = api_instance.create(ansible_role_remote)
|
125
|
+
result = api_instance.create(ansible_role_remote, opts)
|
119
126
|
p result
|
120
127
|
rescue PulpAnsibleClient::ApiError => e
|
121
128
|
puts "Error when calling RemotesRoleApi->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(<AnsibleRoleRemoteResponse>, Integer, Hash)> create_with_http_info(ansible_role_remote)
|
136
|
+
> <Array(<AnsibleRoleRemoteResponse>, Integer, Hash)> create_with_http_info(ansible_role_remote, opts)
|
130
137
|
|
131
138
|
```ruby
|
132
139
|
begin
|
133
140
|
# Create a role remote
|
134
|
-
data, status_code, headers = api_instance.create_with_http_info(ansible_role_remote)
|
141
|
+
data, status_code, headers = api_instance.create_with_http_info(ansible_role_remote, opts)
|
135
142
|
p status_code # => 2xx
|
136
143
|
p headers # => { ... }
|
137
144
|
p data # => <AnsibleRoleRemoteResponse>
|
@@ -145,6 +152,7 @@ end
|
|
145
152
|
| Name | Type | Description | Notes |
|
146
153
|
| ---- | ---- | ----------- | ----- |
|
147
154
|
| **ansible_role_remote** | [**AnsibleRoleRemote**](AnsibleRoleRemote.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_role_remote_href)
|
173
|
+
> <AsyncOperationResponse> delete(ansible_role_remote_href, opts)
|
166
174
|
|
167
175
|
Delete a role remote
|
168
176
|
|
@@ -182,10 +190,13 @@ end
|
|
182
190
|
|
183
191
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
184
192
|
ansible_role_remote_href = 'ansible_role_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 role remote
|
188
|
-
result = api_instance.delete(ansible_role_remote_href)
|
199
|
+
result = api_instance.delete(ansible_role_remote_href, opts)
|
189
200
|
p result
|
190
201
|
rescue PulpAnsibleClient::ApiError => e
|
191
202
|
puts "Error when calling RemotesRoleApi->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_role_remote_href)
|
210
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(ansible_role_remote_href, opts)
|
200
211
|
|
201
212
|
```ruby
|
202
213
|
begin
|
203
214
|
# Delete a role remote
|
204
|
-
data, status_code, headers = api_instance.delete_with_http_info(ansible_role_remote_href)
|
215
|
+
data, status_code, headers = api_instance.delete_with_http_info(ansible_role_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_role_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::RemotesRoleApi.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
|
@@ -311,6 +324,7 @@ end
|
|
311
324
|
|
312
325
|
| Name | Type | Description | Notes |
|
313
326
|
| ---- | ---- | ----------- | ----- |
|
327
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
314
328
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
315
329
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
316
330
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -375,6 +389,7 @@ end
|
|
375
389
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
376
390
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
377
391
|
opts = {
|
392
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
378
393
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
379
394
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
380
395
|
}
|
@@ -411,6 +426,7 @@ end
|
|
411
426
|
| Name | Type | Description | Notes |
|
412
427
|
| ---- | ---- | ----------- | ----- |
|
413
428
|
| **ansible_role_remote_href** | **String** | | |
|
429
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
414
430
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
415
431
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
416
432
|
|
@@ -451,6 +467,7 @@ end
|
|
451
467
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
452
468
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
453
469
|
opts = {
|
470
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
454
471
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
455
472
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
456
473
|
}
|
@@ -487,6 +504,7 @@ end
|
|
487
504
|
| Name | Type | Description | Notes |
|
488
505
|
| ---- | ---- | ----------- | ----- |
|
489
506
|
| **ansible_role_remote_href** | **String** | | |
|
507
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
490
508
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
491
509
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
492
510
|
|
@@ -506,7 +524,7 @@ end
|
|
506
524
|
|
507
525
|
## partial_update
|
508
526
|
|
509
|
-
> <AsyncOperationResponse> partial_update(ansible_role_remote_href, patchedansible_role_remote)
|
527
|
+
> <AsyncOperationResponse> partial_update(ansible_role_remote_href, patchedansible_role_remote, opts)
|
510
528
|
|
511
529
|
Update a role remote
|
512
530
|
|
@@ -527,10 +545,13 @@ end
|
|
527
545
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
528
546
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
529
547
|
patchedansible_role_remote = PulpAnsibleClient::PatchedansibleRoleRemote.new # PatchedansibleRoleRemote |
|
548
|
+
opts = {
|
549
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
550
|
+
}
|
530
551
|
|
531
552
|
begin
|
532
553
|
# Update a role remote
|
533
|
-
result = api_instance.partial_update(ansible_role_remote_href, patchedansible_role_remote)
|
554
|
+
result = api_instance.partial_update(ansible_role_remote_href, patchedansible_role_remote, opts)
|
534
555
|
p result
|
535
556
|
rescue PulpAnsibleClient::ApiError => e
|
536
557
|
puts "Error when calling RemotesRoleApi->partial_update: #{e}"
|
@@ -541,12 +562,12 @@ end
|
|
541
562
|
|
542
563
|
This returns an Array which contains the response data, status code and headers.
|
543
564
|
|
544
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(ansible_role_remote_href, patchedansible_role_remote)
|
565
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(ansible_role_remote_href, patchedansible_role_remote, opts)
|
545
566
|
|
546
567
|
```ruby
|
547
568
|
begin
|
548
569
|
# Update a role remote
|
549
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(ansible_role_remote_href, patchedansible_role_remote)
|
570
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(ansible_role_remote_href, patchedansible_role_remote, opts)
|
550
571
|
p status_code # => 2xx
|
551
572
|
p headers # => { ... }
|
552
573
|
p data # => <AsyncOperationResponse>
|
@@ -561,6 +582,7 @@ end
|
|
561
582
|
| ---- | ---- | ----------- | ----- |
|
562
583
|
| **ansible_role_remote_href** | **String** | | |
|
563
584
|
| **patchedansible_role_remote** | [**PatchedansibleRoleRemote**](PatchedansibleRoleRemote.md) | | |
|
585
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
564
586
|
|
565
587
|
### Return type
|
566
588
|
|
@@ -599,6 +621,7 @@ end
|
|
599
621
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
600
622
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
601
623
|
opts = {
|
624
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
602
625
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
603
626
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
604
627
|
}
|
@@ -635,6 +658,7 @@ end
|
|
635
658
|
| Name | Type | Description | Notes |
|
636
659
|
| ---- | ---- | ----------- | ----- |
|
637
660
|
| **ansible_role_remote_href** | **String** | | |
|
661
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
638
662
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
639
663
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
640
664
|
|
@@ -654,7 +678,7 @@ end
|
|
654
678
|
|
655
679
|
## remove_role
|
656
680
|
|
657
|
-
> <NestedRoleResponse> remove_role(ansible_role_remote_href, nested_role)
|
681
|
+
> <NestedRoleResponse> remove_role(ansible_role_remote_href, nested_role, opts)
|
658
682
|
|
659
683
|
Remove a role
|
660
684
|
|
@@ -675,10 +699,13 @@ end
|
|
675
699
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
676
700
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
677
701
|
nested_role = PulpAnsibleClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
702
|
+
opts = {
|
703
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
704
|
+
}
|
678
705
|
|
679
706
|
begin
|
680
707
|
# Remove a role
|
681
|
-
result = api_instance.remove_role(ansible_role_remote_href, nested_role)
|
708
|
+
result = api_instance.remove_role(ansible_role_remote_href, nested_role, opts)
|
682
709
|
p result
|
683
710
|
rescue PulpAnsibleClient::ApiError => e
|
684
711
|
puts "Error when calling RemotesRoleApi->remove_role: #{e}"
|
@@ -689,12 +716,12 @@ end
|
|
689
716
|
|
690
717
|
This returns an Array which contains the response data, status code and headers.
|
691
718
|
|
692
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(ansible_role_remote_href, nested_role)
|
719
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(ansible_role_remote_href, nested_role, opts)
|
693
720
|
|
694
721
|
```ruby
|
695
722
|
begin
|
696
723
|
# Remove a role
|
697
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(ansible_role_remote_href, nested_role)
|
724
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(ansible_role_remote_href, nested_role, opts)
|
698
725
|
p status_code # => 2xx
|
699
726
|
p headers # => { ... }
|
700
727
|
p data # => <NestedRoleResponse>
|
@@ -709,6 +736,7 @@ end
|
|
709
736
|
| ---- | ---- | ----------- | ----- |
|
710
737
|
| **ansible_role_remote_href** | **String** | | |
|
711
738
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
739
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
712
740
|
|
713
741
|
### Return type
|
714
742
|
|
@@ -726,7 +754,7 @@ end
|
|
726
754
|
|
727
755
|
## set_label
|
728
756
|
|
729
|
-
> <SetLabelResponse> set_label(ansible_role_remote_href, set_label)
|
757
|
+
> <SetLabelResponse> set_label(ansible_role_remote_href, set_label, opts)
|
730
758
|
|
731
759
|
Set a label
|
732
760
|
|
@@ -747,10 +775,13 @@ end
|
|
747
775
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
748
776
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
749
777
|
set_label = PulpAnsibleClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
778
|
+
opts = {
|
779
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
780
|
+
}
|
750
781
|
|
751
782
|
begin
|
752
783
|
# Set a label
|
753
|
-
result = api_instance.set_label(ansible_role_remote_href, set_label)
|
784
|
+
result = api_instance.set_label(ansible_role_remote_href, set_label, opts)
|
754
785
|
p result
|
755
786
|
rescue PulpAnsibleClient::ApiError => e
|
756
787
|
puts "Error when calling RemotesRoleApi->set_label: #{e}"
|
@@ -761,12 +792,12 @@ end
|
|
761
792
|
|
762
793
|
This returns an Array which contains the response data, status code and headers.
|
763
794
|
|
764
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_role_remote_href, set_label)
|
795
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_role_remote_href, set_label, opts)
|
765
796
|
|
766
797
|
```ruby
|
767
798
|
begin
|
768
799
|
# Set a label
|
769
|
-
data, status_code, headers = api_instance.set_label_with_http_info(ansible_role_remote_href, set_label)
|
800
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ansible_role_remote_href, set_label, opts)
|
770
801
|
p status_code # => 2xx
|
771
802
|
p headers # => { ... }
|
772
803
|
p data # => <SetLabelResponse>
|
@@ -781,6 +812,7 @@ end
|
|
781
812
|
| ---- | ---- | ----------- | ----- |
|
782
813
|
| **ansible_role_remote_href** | **String** | | |
|
783
814
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
815
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
784
816
|
|
785
817
|
### Return type
|
786
818
|
|
@@ -798,7 +830,7 @@ end
|
|
798
830
|
|
799
831
|
## unset_label
|
800
832
|
|
801
|
-
> <UnsetLabelResponse> unset_label(ansible_role_remote_href, unset_label)
|
833
|
+
> <UnsetLabelResponse> unset_label(ansible_role_remote_href, unset_label, opts)
|
802
834
|
|
803
835
|
Unset a label
|
804
836
|
|
@@ -819,10 +851,13 @@ end
|
|
819
851
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
820
852
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
821
853
|
unset_label = PulpAnsibleClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
854
|
+
opts = {
|
855
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
856
|
+
}
|
822
857
|
|
823
858
|
begin
|
824
859
|
# Unset a label
|
825
|
-
result = api_instance.unset_label(ansible_role_remote_href, unset_label)
|
860
|
+
result = api_instance.unset_label(ansible_role_remote_href, unset_label, opts)
|
826
861
|
p result
|
827
862
|
rescue PulpAnsibleClient::ApiError => e
|
828
863
|
puts "Error when calling RemotesRoleApi->unset_label: #{e}"
|
@@ -833,12 +868,12 @@ end
|
|
833
868
|
|
834
869
|
This returns an Array which contains the response data, status code and headers.
|
835
870
|
|
836
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_role_remote_href, unset_label)
|
871
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_role_remote_href, unset_label, opts)
|
837
872
|
|
838
873
|
```ruby
|
839
874
|
begin
|
840
875
|
# Unset a label
|
841
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_role_remote_href, unset_label)
|
876
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_role_remote_href, unset_label, opts)
|
842
877
|
p status_code # => 2xx
|
843
878
|
p headers # => { ... }
|
844
879
|
p data # => <UnsetLabelResponse>
|
@@ -853,6 +888,7 @@ end
|
|
853
888
|
| ---- | ---- | ----------- | ----- |
|
854
889
|
| **ansible_role_remote_href** | **String** | | |
|
855
890
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
891
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
856
892
|
|
857
893
|
### Return type
|
858
894
|
|
@@ -870,7 +906,7 @@ end
|
|
870
906
|
|
871
907
|
## update
|
872
908
|
|
873
|
-
> <AsyncOperationResponse> update(ansible_role_remote_href, ansible_role_remote)
|
909
|
+
> <AsyncOperationResponse> update(ansible_role_remote_href, ansible_role_remote, opts)
|
874
910
|
|
875
911
|
Update a role remote
|
876
912
|
|
@@ -891,10 +927,13 @@ end
|
|
891
927
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
892
928
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
893
929
|
ansible_role_remote = PulpAnsibleClient::AnsibleRoleRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleRoleRemote |
|
930
|
+
opts = {
|
931
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
932
|
+
}
|
894
933
|
|
895
934
|
begin
|
896
935
|
# Update a role remote
|
897
|
-
result = api_instance.update(ansible_role_remote_href, ansible_role_remote)
|
936
|
+
result = api_instance.update(ansible_role_remote_href, ansible_role_remote, opts)
|
898
937
|
p result
|
899
938
|
rescue PulpAnsibleClient::ApiError => e
|
900
939
|
puts "Error when calling RemotesRoleApi->update: #{e}"
|
@@ -905,12 +944,12 @@ end
|
|
905
944
|
|
906
945
|
This returns an Array which contains the response data, status code and headers.
|
907
946
|
|
908
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(ansible_role_remote_href, ansible_role_remote)
|
947
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(ansible_role_remote_href, ansible_role_remote, opts)
|
909
948
|
|
910
949
|
```ruby
|
911
950
|
begin
|
912
951
|
# Update a role remote
|
913
|
-
data, status_code, headers = api_instance.update_with_http_info(ansible_role_remote_href, ansible_role_remote)
|
952
|
+
data, status_code, headers = api_instance.update_with_http_info(ansible_role_remote_href, ansible_role_remote, opts)
|
914
953
|
p status_code # => 2xx
|
915
954
|
p headers # => { ... }
|
916
955
|
p data # => <AsyncOperationResponse>
|
@@ -925,6 +964,7 @@ end
|
|
925
964
|
| ---- | ---- | ----------- | ----- |
|
926
965
|
| **ansible_role_remote_href** | **String** | | |
|
927
966
|
| **ansible_role_remote** | [**AnsibleRoleRemote**](AnsibleRoleRemote.md) | | |
|
967
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
928
968
|
|
929
969
|
### Return type
|
930
970
|
|