pulp_ansible_client 0.24.7 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -8
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleCollectionsApi.md +8 -26
- data/docs/AnsibleCopyApi.md +4 -8
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +4 -10
- data/docs/ApiRolesApi.md +0 -2
- data/docs/CollectionImportApi.md +0 -2
- data/docs/ContentCollectionDeprecationsApi.md +12 -28
- data/docs/ContentCollectionMarksApi.md +12 -28
- data/docs/ContentCollectionSignaturesApi.md +8 -22
- data/docs/ContentCollectionVersionsApi.md +14 -28
- data/docs/ContentNamespacesApi.md +8 -22
- data/docs/ContentRolesApi.md +12 -28
- data/docs/DistributionsAnsibleApi.md +32 -72
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/PulpAnsibleApiApi.md +0 -2
- data/docs/PulpAnsibleApiV3Api.md +0 -2
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +0 -2
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +0 -2
- data/docs/PulpAnsibleApiV3CollectionsApi.md +8 -20
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +4 -12
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleApiV3NamespacesApi.md +0 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -20
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -12
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +4 -16
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +0 -8
- data/docs/PulpAnsibleDefaultApiApi.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3Api.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +8 -20
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +4 -12
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +0 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +5 -14
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +8 -20
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +4 -12
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +0 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +4 -16
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +4 -10
- data/docs/PulpAnsibleTagsApi.md +0 -2
- data/docs/RemotesCollectionApi.md +32 -72
- data/docs/RemotesGitApi.md +34 -74
- data/docs/RemotesRoleApi.md +32 -72
- data/docs/RepositoriesAnsibleApi.md +64 -136
- data/docs/RepositoriesAnsibleVersionsApi.md +14 -30
- data/docs/VersionsApi.md +0 -2
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +0 -21
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +0 -3
- data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +0 -6
- data/lib/pulp_ansible_client/api/api_roles_api.rb +0 -3
- data/lib/pulp_ansible_client/api/collection_import_api.rb +0 -3
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -24
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +0 -15
- data/lib/pulp_ansible_client/api/content_roles_api.rb +0 -15
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +0 -36
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +0 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +0 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +0 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +0 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +0 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +0 -3
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +0 -36
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +0 -36
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +0 -36
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +0 -60
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +3 -18
- data/lib/pulp_ansible_client/api/versions_api.rb +0 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +23 -23
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +225 -225
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +148 -148
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +23 -23
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +217 -217
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +0 -7
- data/spec/api/ansible_copy_api_spec.rb +0 -1
- data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +0 -2
- data/spec/api/api_roles_api_spec.rb +0 -1
- data/spec/api/collection_import_api_spec.rb +0 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +0 -5
- data/spec/api/content_collection_marks_api_spec.rb +0 -5
- data/spec/api/content_collection_signatures_api_spec.rb +0 -5
- data/spec/api/content_collection_versions_api_spec.rb +3 -8
- data/spec/api/content_namespaces_api_spec.rb +0 -5
- data/spec/api/content_roles_api_spec.rb +0 -5
- data/spec/api/distributions_ansible_api_spec.rb +0 -12
- data/spec/api/pulp_ansible_api_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +0 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +0 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +0 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +0 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -2
- data/spec/api/pulp_ansible_tags_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +0 -12
- data/spec/api/remotes_git_api_spec.rb +0 -12
- data/spec/api/remotes_role_api_spec.rb +0 -12
- data/spec/api/repositories_ansible_api_spec.rb +0 -20
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -6
- data/spec/api/versions_api_spec.rb +0 -1
- data/spec/models/ansible_collection_version_response_spec.rb +4 -4
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +4 -4
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +126 -126
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)
|
24
24
|
|
25
25
|
Add a role
|
26
26
|
|
@@ -41,13 +41,10 @@ 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
|
-
}
|
47
44
|
|
48
45
|
begin
|
49
46
|
# Add a role
|
50
|
-
result = api_instance.add_role(ansible_role_remote_href, nested_role
|
47
|
+
result = api_instance.add_role(ansible_role_remote_href, nested_role)
|
51
48
|
p result
|
52
49
|
rescue PulpAnsibleClient::ApiError => e
|
53
50
|
puts "Error when calling RemotesRoleApi->add_role: #{e}"
|
@@ -58,12 +55,12 @@ end
|
|
58
55
|
|
59
56
|
This returns an Array which contains the response data, status code and headers.
|
60
57
|
|
61
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(ansible_role_remote_href, nested_role
|
58
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(ansible_role_remote_href, nested_role)
|
62
59
|
|
63
60
|
```ruby
|
64
61
|
begin
|
65
62
|
# Add a role
|
66
|
-
data, status_code, headers = api_instance.add_role_with_http_info(ansible_role_remote_href, nested_role
|
63
|
+
data, status_code, headers = api_instance.add_role_with_http_info(ansible_role_remote_href, nested_role)
|
67
64
|
p status_code # => 2xx
|
68
65
|
p headers # => { ... }
|
69
66
|
p data # => <NestedRoleResponse>
|
@@ -78,7 +75,6 @@ end
|
|
78
75
|
| ---- | ---- | ----------- | ----- |
|
79
76
|
| **ansible_role_remote_href** | **String** | | |
|
80
77
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
81
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
82
78
|
|
83
79
|
### Return type
|
84
80
|
|
@@ -96,7 +92,7 @@ end
|
|
96
92
|
|
97
93
|
## create
|
98
94
|
|
99
|
-
> <AnsibleRoleRemoteResponse> create(ansible_role_remote
|
95
|
+
> <AnsibleRoleRemoteResponse> create(ansible_role_remote)
|
100
96
|
|
101
97
|
Create a role remote
|
102
98
|
|
@@ -116,13 +112,10 @@ end
|
|
116
112
|
|
117
113
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
118
114
|
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
|
-
}
|
122
115
|
|
123
116
|
begin
|
124
117
|
# Create a role remote
|
125
|
-
result = api_instance.create(ansible_role_remote
|
118
|
+
result = api_instance.create(ansible_role_remote)
|
126
119
|
p result
|
127
120
|
rescue PulpAnsibleClient::ApiError => e
|
128
121
|
puts "Error when calling RemotesRoleApi->create: #{e}"
|
@@ -133,12 +126,12 @@ end
|
|
133
126
|
|
134
127
|
This returns an Array which contains the response data, status code and headers.
|
135
128
|
|
136
|
-
> <Array(<AnsibleRoleRemoteResponse>, Integer, Hash)> create_with_http_info(ansible_role_remote
|
129
|
+
> <Array(<AnsibleRoleRemoteResponse>, Integer, Hash)> create_with_http_info(ansible_role_remote)
|
137
130
|
|
138
131
|
```ruby
|
139
132
|
begin
|
140
133
|
# Create a role remote
|
141
|
-
data, status_code, headers = api_instance.create_with_http_info(ansible_role_remote
|
134
|
+
data, status_code, headers = api_instance.create_with_http_info(ansible_role_remote)
|
142
135
|
p status_code # => 2xx
|
143
136
|
p headers # => { ... }
|
144
137
|
p data # => <AnsibleRoleRemoteResponse>
|
@@ -152,7 +145,6 @@ end
|
|
152
145
|
| Name | Type | Description | Notes |
|
153
146
|
| ---- | ---- | ----------- | ----- |
|
154
147
|
| **ansible_role_remote** | [**AnsibleRoleRemote**](AnsibleRoleRemote.md) | | |
|
155
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
156
148
|
|
157
149
|
### Return type
|
158
150
|
|
@@ -170,7 +162,7 @@ end
|
|
170
162
|
|
171
163
|
## delete
|
172
164
|
|
173
|
-
> <AsyncOperationResponse> delete(ansible_role_remote_href
|
165
|
+
> <AsyncOperationResponse> delete(ansible_role_remote_href)
|
174
166
|
|
175
167
|
Delete a role remote
|
176
168
|
|
@@ -190,13 +182,10 @@ end
|
|
190
182
|
|
191
183
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
192
184
|
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
|
-
}
|
196
185
|
|
197
186
|
begin
|
198
187
|
# Delete a role remote
|
199
|
-
result = api_instance.delete(ansible_role_remote_href
|
188
|
+
result = api_instance.delete(ansible_role_remote_href)
|
200
189
|
p result
|
201
190
|
rescue PulpAnsibleClient::ApiError => e
|
202
191
|
puts "Error when calling RemotesRoleApi->delete: #{e}"
|
@@ -207,12 +196,12 @@ end
|
|
207
196
|
|
208
197
|
This returns an Array which contains the response data, status code and headers.
|
209
198
|
|
210
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(ansible_role_remote_href
|
199
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(ansible_role_remote_href)
|
211
200
|
|
212
201
|
```ruby
|
213
202
|
begin
|
214
203
|
# Delete a role remote
|
215
|
-
data, status_code, headers = api_instance.delete_with_http_info(ansible_role_remote_href
|
204
|
+
data, status_code, headers = api_instance.delete_with_http_info(ansible_role_remote_href)
|
216
205
|
p status_code # => 2xx
|
217
206
|
p headers # => { ... }
|
218
207
|
p data # => <AsyncOperationResponse>
|
@@ -226,7 +215,6 @@ end
|
|
226
215
|
| Name | Type | Description | Notes |
|
227
216
|
| ---- | ---- | ----------- | ----- |
|
228
217
|
| **ansible_role_remote_href** | **String** | | |
|
229
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
230
218
|
|
231
219
|
### Return type
|
232
220
|
|
@@ -264,7 +252,6 @@ end
|
|
264
252
|
|
265
253
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
266
254
|
opts = {
|
267
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
268
255
|
limit: 56, # Integer | Number of results to return per page.
|
269
256
|
name: 'name_example', # String | Filter results where name matches value
|
270
257
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -324,7 +311,6 @@ end
|
|
324
311
|
|
325
312
|
| Name | Type | Description | Notes |
|
326
313
|
| ---- | ---- | ----------- | ----- |
|
327
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
328
314
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
329
315
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
330
316
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -389,7 +375,6 @@ end
|
|
389
375
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
390
376
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
391
377
|
opts = {
|
392
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
393
378
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
394
379
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
395
380
|
}
|
@@ -426,7 +411,6 @@ end
|
|
426
411
|
| Name | Type | Description | Notes |
|
427
412
|
| ---- | ---- | ----------- | ----- |
|
428
413
|
| **ansible_role_remote_href** | **String** | | |
|
429
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
430
414
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
431
415
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
432
416
|
|
@@ -467,7 +451,6 @@ end
|
|
467
451
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
468
452
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
469
453
|
opts = {
|
470
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
471
454
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
472
455
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
473
456
|
}
|
@@ -504,7 +487,6 @@ end
|
|
504
487
|
| Name | Type | Description | Notes |
|
505
488
|
| ---- | ---- | ----------- | ----- |
|
506
489
|
| **ansible_role_remote_href** | **String** | | |
|
507
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
508
490
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
509
491
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
510
492
|
|
@@ -524,7 +506,7 @@ end
|
|
524
506
|
|
525
507
|
## partial_update
|
526
508
|
|
527
|
-
> <AsyncOperationResponse> partial_update(ansible_role_remote_href, patchedansible_role_remote
|
509
|
+
> <AsyncOperationResponse> partial_update(ansible_role_remote_href, patchedansible_role_remote)
|
528
510
|
|
529
511
|
Update a role remote
|
530
512
|
|
@@ -545,13 +527,10 @@ end
|
|
545
527
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
546
528
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
547
529
|
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
|
-
}
|
551
530
|
|
552
531
|
begin
|
553
532
|
# Update a role remote
|
554
|
-
result = api_instance.partial_update(ansible_role_remote_href, patchedansible_role_remote
|
533
|
+
result = api_instance.partial_update(ansible_role_remote_href, patchedansible_role_remote)
|
555
534
|
p result
|
556
535
|
rescue PulpAnsibleClient::ApiError => e
|
557
536
|
puts "Error when calling RemotesRoleApi->partial_update: #{e}"
|
@@ -562,12 +541,12 @@ end
|
|
562
541
|
|
563
542
|
This returns an Array which contains the response data, status code and headers.
|
564
543
|
|
565
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(ansible_role_remote_href, patchedansible_role_remote
|
544
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(ansible_role_remote_href, patchedansible_role_remote)
|
566
545
|
|
567
546
|
```ruby
|
568
547
|
begin
|
569
548
|
# Update a role remote
|
570
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(ansible_role_remote_href, patchedansible_role_remote
|
549
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(ansible_role_remote_href, patchedansible_role_remote)
|
571
550
|
p status_code # => 2xx
|
572
551
|
p headers # => { ... }
|
573
552
|
p data # => <AsyncOperationResponse>
|
@@ -582,7 +561,6 @@ end
|
|
582
561
|
| ---- | ---- | ----------- | ----- |
|
583
562
|
| **ansible_role_remote_href** | **String** | | |
|
584
563
|
| **patchedansible_role_remote** | [**PatchedansibleRoleRemote**](PatchedansibleRoleRemote.md) | | |
|
585
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
586
564
|
|
587
565
|
### Return type
|
588
566
|
|
@@ -621,7 +599,6 @@ end
|
|
621
599
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
622
600
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
623
601
|
opts = {
|
624
|
-
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
625
602
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
626
603
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
627
604
|
}
|
@@ -658,7 +635,6 @@ end
|
|
658
635
|
| Name | Type | Description | Notes |
|
659
636
|
| ---- | ---- | ----------- | ----- |
|
660
637
|
| **ansible_role_remote_href** | **String** | | |
|
661
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
662
638
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
663
639
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
664
640
|
|
@@ -678,7 +654,7 @@ end
|
|
678
654
|
|
679
655
|
## remove_role
|
680
656
|
|
681
|
-
> <NestedRoleResponse> remove_role(ansible_role_remote_href, nested_role
|
657
|
+
> <NestedRoleResponse> remove_role(ansible_role_remote_href, nested_role)
|
682
658
|
|
683
659
|
Remove a role
|
684
660
|
|
@@ -699,13 +675,10 @@ end
|
|
699
675
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
700
676
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
701
677
|
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
|
-
}
|
705
678
|
|
706
679
|
begin
|
707
680
|
# Remove a role
|
708
|
-
result = api_instance.remove_role(ansible_role_remote_href, nested_role
|
681
|
+
result = api_instance.remove_role(ansible_role_remote_href, nested_role)
|
709
682
|
p result
|
710
683
|
rescue PulpAnsibleClient::ApiError => e
|
711
684
|
puts "Error when calling RemotesRoleApi->remove_role: #{e}"
|
@@ -716,12 +689,12 @@ end
|
|
716
689
|
|
717
690
|
This returns an Array which contains the response data, status code and headers.
|
718
691
|
|
719
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(ansible_role_remote_href, nested_role
|
692
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(ansible_role_remote_href, nested_role)
|
720
693
|
|
721
694
|
```ruby
|
722
695
|
begin
|
723
696
|
# Remove a role
|
724
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(ansible_role_remote_href, nested_role
|
697
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(ansible_role_remote_href, nested_role)
|
725
698
|
p status_code # => 2xx
|
726
699
|
p headers # => { ... }
|
727
700
|
p data # => <NestedRoleResponse>
|
@@ -736,7 +709,6 @@ end
|
|
736
709
|
| ---- | ---- | ----------- | ----- |
|
737
710
|
| **ansible_role_remote_href** | **String** | | |
|
738
711
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
739
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
740
712
|
|
741
713
|
### Return type
|
742
714
|
|
@@ -754,7 +726,7 @@ end
|
|
754
726
|
|
755
727
|
## set_label
|
756
728
|
|
757
|
-
> <SetLabelResponse> set_label(ansible_role_remote_href, set_label
|
729
|
+
> <SetLabelResponse> set_label(ansible_role_remote_href, set_label)
|
758
730
|
|
759
731
|
Set a label
|
760
732
|
|
@@ -775,13 +747,10 @@ end
|
|
775
747
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
776
748
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
777
749
|
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
|
-
}
|
781
750
|
|
782
751
|
begin
|
783
752
|
# Set a label
|
784
|
-
result = api_instance.set_label(ansible_role_remote_href, set_label
|
753
|
+
result = api_instance.set_label(ansible_role_remote_href, set_label)
|
785
754
|
p result
|
786
755
|
rescue PulpAnsibleClient::ApiError => e
|
787
756
|
puts "Error when calling RemotesRoleApi->set_label: #{e}"
|
@@ -792,12 +761,12 @@ end
|
|
792
761
|
|
793
762
|
This returns an Array which contains the response data, status code and headers.
|
794
763
|
|
795
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_role_remote_href, set_label
|
764
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_role_remote_href, set_label)
|
796
765
|
|
797
766
|
```ruby
|
798
767
|
begin
|
799
768
|
# Set a label
|
800
|
-
data, status_code, headers = api_instance.set_label_with_http_info(ansible_role_remote_href, set_label
|
769
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ansible_role_remote_href, set_label)
|
801
770
|
p status_code # => 2xx
|
802
771
|
p headers # => { ... }
|
803
772
|
p data # => <SetLabelResponse>
|
@@ -812,7 +781,6 @@ end
|
|
812
781
|
| ---- | ---- | ----------- | ----- |
|
813
782
|
| **ansible_role_remote_href** | **String** | | |
|
814
783
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
815
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
816
784
|
|
817
785
|
### Return type
|
818
786
|
|
@@ -830,7 +798,7 @@ end
|
|
830
798
|
|
831
799
|
## unset_label
|
832
800
|
|
833
|
-
> <UnsetLabelResponse> unset_label(ansible_role_remote_href, unset_label
|
801
|
+
> <UnsetLabelResponse> unset_label(ansible_role_remote_href, unset_label)
|
834
802
|
|
835
803
|
Unset a label
|
836
804
|
|
@@ -851,13 +819,10 @@ end
|
|
851
819
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
852
820
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
853
821
|
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
|
-
}
|
857
822
|
|
858
823
|
begin
|
859
824
|
# Unset a label
|
860
|
-
result = api_instance.unset_label(ansible_role_remote_href, unset_label
|
825
|
+
result = api_instance.unset_label(ansible_role_remote_href, unset_label)
|
861
826
|
p result
|
862
827
|
rescue PulpAnsibleClient::ApiError => e
|
863
828
|
puts "Error when calling RemotesRoleApi->unset_label: #{e}"
|
@@ -868,12 +833,12 @@ end
|
|
868
833
|
|
869
834
|
This returns an Array which contains the response data, status code and headers.
|
870
835
|
|
871
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_role_remote_href, unset_label
|
836
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_role_remote_href, unset_label)
|
872
837
|
|
873
838
|
```ruby
|
874
839
|
begin
|
875
840
|
# Unset a label
|
876
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_role_remote_href, unset_label
|
841
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_role_remote_href, unset_label)
|
877
842
|
p status_code # => 2xx
|
878
843
|
p headers # => { ... }
|
879
844
|
p data # => <UnsetLabelResponse>
|
@@ -888,7 +853,6 @@ end
|
|
888
853
|
| ---- | ---- | ----------- | ----- |
|
889
854
|
| **ansible_role_remote_href** | **String** | | |
|
890
855
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
891
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
892
856
|
|
893
857
|
### Return type
|
894
858
|
|
@@ -906,7 +870,7 @@ end
|
|
906
870
|
|
907
871
|
## update
|
908
872
|
|
909
|
-
> <AsyncOperationResponse> update(ansible_role_remote_href, ansible_role_remote
|
873
|
+
> <AsyncOperationResponse> update(ansible_role_remote_href, ansible_role_remote)
|
910
874
|
|
911
875
|
Update a role remote
|
912
876
|
|
@@ -927,13 +891,10 @@ end
|
|
927
891
|
api_instance = PulpAnsibleClient::RemotesRoleApi.new
|
928
892
|
ansible_role_remote_href = 'ansible_role_remote_href_example' # String |
|
929
893
|
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
|
-
}
|
933
894
|
|
934
895
|
begin
|
935
896
|
# Update a role remote
|
936
|
-
result = api_instance.update(ansible_role_remote_href, ansible_role_remote
|
897
|
+
result = api_instance.update(ansible_role_remote_href, ansible_role_remote)
|
937
898
|
p result
|
938
899
|
rescue PulpAnsibleClient::ApiError => e
|
939
900
|
puts "Error when calling RemotesRoleApi->update: #{e}"
|
@@ -944,12 +905,12 @@ end
|
|
944
905
|
|
945
906
|
This returns an Array which contains the response data, status code and headers.
|
946
907
|
|
947
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(ansible_role_remote_href, ansible_role_remote
|
908
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(ansible_role_remote_href, ansible_role_remote)
|
948
909
|
|
949
910
|
```ruby
|
950
911
|
begin
|
951
912
|
# Update a role remote
|
952
|
-
data, status_code, headers = api_instance.update_with_http_info(ansible_role_remote_href, ansible_role_remote
|
913
|
+
data, status_code, headers = api_instance.update_with_http_info(ansible_role_remote_href, ansible_role_remote)
|
953
914
|
p status_code # => 2xx
|
954
915
|
p headers # => { ... }
|
955
916
|
p data # => <AsyncOperationResponse>
|
@@ -964,7 +925,6 @@ end
|
|
964
925
|
| ---- | ---- | ----------- | ----- |
|
965
926
|
| **ansible_role_remote_href** | **String** | | |
|
966
927
|
| **ansible_role_remote** | [**AnsibleRoleRemote**](AnsibleRoleRemote.md) | | |
|
967
|
-
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
968
928
|
|
969
929
|
### Return type
|
970
930
|
|