pulp_ansible_client 0.28.0 → 0.28.1
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 +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +30 -30
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ContentCollectionVersionsApi.md +2 -2
- data/docs/DistributionsAnsibleApi.md +10 -10
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/RemotesCollectionApi.md +10 -10
- data/docs/RemotesGitApi.md +10 -10
- data/docs/RemotesRoleApi.md +10 -10
- data/docs/RepositoriesAnsibleApi.md +10 -10
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +10 -10
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +10 -10
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +10 -10
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +10 -10
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +239 -239
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +160 -160
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +15 -15
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +234 -234
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +1 -1
- data/spec/api/distributions_ansible_api_spec.rb +4 -4
- data/spec/api/remotes_collection_api_spec.rb +4 -4
- data/spec/api/remotes_git_api_spec.rb +4 -4
- data/spec/api/remotes_role_api_spec.rb +4 -4
- data/spec/api/repositories_ansible_api_spec.rb +4 -4
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +125 -125
data/docs/RemotesRoleApi.md
CHANGED
|
@@ -524,11 +524,11 @@ end
|
|
|
524
524
|
|
|
525
525
|
## partial_update
|
|
526
526
|
|
|
527
|
-
> <
|
|
527
|
+
> <AnsibleRoleRemoteResponse> partial_update(ansible_role_remote_href, patchedansible_role_remote, opts)
|
|
528
528
|
|
|
529
529
|
Update a role remote
|
|
530
530
|
|
|
531
|
-
|
|
531
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
532
532
|
|
|
533
533
|
### Examples
|
|
534
534
|
|
|
@@ -562,7 +562,7 @@ end
|
|
|
562
562
|
|
|
563
563
|
This returns an Array which contains the response data, status code and headers.
|
|
564
564
|
|
|
565
|
-
> <Array(<
|
|
565
|
+
> <Array(<AnsibleRoleRemoteResponse>, Integer, Hash)> partial_update_with_http_info(ansible_role_remote_href, patchedansible_role_remote, opts)
|
|
566
566
|
|
|
567
567
|
```ruby
|
|
568
568
|
begin
|
|
@@ -570,7 +570,7 @@ begin
|
|
|
570
570
|
data, status_code, headers = api_instance.partial_update_with_http_info(ansible_role_remote_href, patchedansible_role_remote, opts)
|
|
571
571
|
p status_code # => 2xx
|
|
572
572
|
p headers # => { ... }
|
|
573
|
-
p data # => <
|
|
573
|
+
p data # => <AnsibleRoleRemoteResponse>
|
|
574
574
|
rescue PulpAnsibleClient::ApiError => e
|
|
575
575
|
puts "Error when calling RemotesRoleApi->partial_update_with_http_info: #{e}"
|
|
576
576
|
end
|
|
@@ -586,7 +586,7 @@ end
|
|
|
586
586
|
|
|
587
587
|
### Return type
|
|
588
588
|
|
|
589
|
-
[**
|
|
589
|
+
[**AnsibleRoleRemoteResponse**](AnsibleRoleRemoteResponse.md)
|
|
590
590
|
|
|
591
591
|
### Authorization
|
|
592
592
|
|
|
@@ -906,11 +906,11 @@ end
|
|
|
906
906
|
|
|
907
907
|
## update
|
|
908
908
|
|
|
909
|
-
> <
|
|
909
|
+
> <AnsibleRoleRemoteResponse> update(ansible_role_remote_href, ansible_role_remote, opts)
|
|
910
910
|
|
|
911
911
|
Update a role remote
|
|
912
912
|
|
|
913
|
-
|
|
913
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
914
914
|
|
|
915
915
|
### Examples
|
|
916
916
|
|
|
@@ -944,7 +944,7 @@ end
|
|
|
944
944
|
|
|
945
945
|
This returns an Array which contains the response data, status code and headers.
|
|
946
946
|
|
|
947
|
-
> <Array(<
|
|
947
|
+
> <Array(<AnsibleRoleRemoteResponse>, Integer, Hash)> update_with_http_info(ansible_role_remote_href, ansible_role_remote, opts)
|
|
948
948
|
|
|
949
949
|
```ruby
|
|
950
950
|
begin
|
|
@@ -952,7 +952,7 @@ begin
|
|
|
952
952
|
data, status_code, headers = api_instance.update_with_http_info(ansible_role_remote_href, ansible_role_remote, opts)
|
|
953
953
|
p status_code # => 2xx
|
|
954
954
|
p headers # => { ... }
|
|
955
|
-
p data # => <
|
|
955
|
+
p data # => <AnsibleRoleRemoteResponse>
|
|
956
956
|
rescue PulpAnsibleClient::ApiError => e
|
|
957
957
|
puts "Error when calling RemotesRoleApi->update_with_http_info: #{e}"
|
|
958
958
|
end
|
|
@@ -968,7 +968,7 @@ end
|
|
|
968
968
|
|
|
969
969
|
### Return type
|
|
970
970
|
|
|
971
|
-
[**
|
|
971
|
+
[**AnsibleRoleRemoteResponse**](AnsibleRoleRemoteResponse.md)
|
|
972
972
|
|
|
973
973
|
### Authorization
|
|
974
974
|
|
|
@@ -844,11 +844,11 @@ end
|
|
|
844
844
|
|
|
845
845
|
## partial_update
|
|
846
846
|
|
|
847
|
-
> <
|
|
847
|
+
> <AnsibleAnsibleRepositoryResponse> partial_update(ansible_ansible_repository_href, patchedansible_ansible_repository, opts)
|
|
848
848
|
|
|
849
849
|
Update an ansible repository
|
|
850
850
|
|
|
851
|
-
|
|
851
|
+
Update the entity partially and trigger an asynchronous task if necessary
|
|
852
852
|
|
|
853
853
|
### Examples
|
|
854
854
|
|
|
@@ -882,7 +882,7 @@ end
|
|
|
882
882
|
|
|
883
883
|
This returns an Array which contains the response data, status code and headers.
|
|
884
884
|
|
|
885
|
-
> <Array(<
|
|
885
|
+
> <Array(<AnsibleAnsibleRepositoryResponse>, Integer, Hash)> partial_update_with_http_info(ansible_ansible_repository_href, patchedansible_ansible_repository, opts)
|
|
886
886
|
|
|
887
887
|
```ruby
|
|
888
888
|
begin
|
|
@@ -890,7 +890,7 @@ begin
|
|
|
890
890
|
data, status_code, headers = api_instance.partial_update_with_http_info(ansible_ansible_repository_href, patchedansible_ansible_repository, opts)
|
|
891
891
|
p status_code # => 2xx
|
|
892
892
|
p headers # => { ... }
|
|
893
|
-
p data # => <
|
|
893
|
+
p data # => <AnsibleAnsibleRepositoryResponse>
|
|
894
894
|
rescue PulpAnsibleClient::ApiError => e
|
|
895
895
|
puts "Error when calling RepositoriesAnsibleApi->partial_update_with_http_info: #{e}"
|
|
896
896
|
end
|
|
@@ -906,7 +906,7 @@ end
|
|
|
906
906
|
|
|
907
907
|
### Return type
|
|
908
908
|
|
|
909
|
-
[**
|
|
909
|
+
[**AnsibleAnsibleRepositoryResponse**](AnsibleAnsibleRepositoryResponse.md)
|
|
910
910
|
|
|
911
911
|
### Authorization
|
|
912
912
|
|
|
@@ -1530,11 +1530,11 @@ end
|
|
|
1530
1530
|
|
|
1531
1531
|
## update
|
|
1532
1532
|
|
|
1533
|
-
> <
|
|
1533
|
+
> <AnsibleAnsibleRepositoryResponse> update(ansible_ansible_repository_href, ansible_ansible_repository, opts)
|
|
1534
1534
|
|
|
1535
1535
|
Update an ansible repository
|
|
1536
1536
|
|
|
1537
|
-
|
|
1537
|
+
Update the entity and trigger an asynchronous task if necessary
|
|
1538
1538
|
|
|
1539
1539
|
### Examples
|
|
1540
1540
|
|
|
@@ -1568,7 +1568,7 @@ end
|
|
|
1568
1568
|
|
|
1569
1569
|
This returns an Array which contains the response data, status code and headers.
|
|
1570
1570
|
|
|
1571
|
-
> <Array(<
|
|
1571
|
+
> <Array(<AnsibleAnsibleRepositoryResponse>, Integer, Hash)> update_with_http_info(ansible_ansible_repository_href, ansible_ansible_repository, opts)
|
|
1572
1572
|
|
|
1573
1573
|
```ruby
|
|
1574
1574
|
begin
|
|
@@ -1576,7 +1576,7 @@ begin
|
|
|
1576
1576
|
data, status_code, headers = api_instance.update_with_http_info(ansible_ansible_repository_href, ansible_ansible_repository, opts)
|
|
1577
1577
|
p status_code # => 2xx
|
|
1578
1578
|
p headers # => { ... }
|
|
1579
|
-
p data # => <
|
|
1579
|
+
p data # => <AnsibleAnsibleRepositoryResponse>
|
|
1580
1580
|
rescue PulpAnsibleClient::ApiError => e
|
|
1581
1581
|
puts "Error when calling RepositoriesAnsibleApi->update_with_http_info: #{e}"
|
|
1582
1582
|
end
|
|
@@ -1592,7 +1592,7 @@ end
|
|
|
1592
1592
|
|
|
1593
1593
|
### Return type
|
|
1594
1594
|
|
|
1595
|
-
[**
|
|
1595
|
+
[**AnsibleAnsibleRepositoryResponse**](AnsibleAnsibleRepositoryResponse.md)
|
|
1596
1596
|
|
|
1597
1597
|
### Authorization
|
|
1598
1598
|
|
|
@@ -25,9 +25,9 @@ module PulpAnsibleClient
|
|
|
25
25
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
26
26
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
27
27
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
|
29
28
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
30
29
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
30
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
31
31
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
32
32
|
# @option opts [String] :expected_name The name of the collection.
|
|
33
33
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
@@ -44,9 +44,9 @@ module PulpAnsibleClient
|
|
|
44
44
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
45
45
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
|
46
46
|
# @option opts [Hash<String, String>] :pulp_labels A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
47
|
-
# @option opts [String] :artifact Artifact file representing the physical content
|
|
48
47
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
|
49
48
|
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
|
49
|
+
# @option opts [String] :artifact Artifact file representing the physical content
|
|
50
50
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
|
51
51
|
# @option opts [String] :expected_name The name of the collection.
|
|
52
52
|
# @option opts [String] :expected_namespace The namespace of the collection.
|
|
@@ -105,9 +105,9 @@ module PulpAnsibleClient
|
|
|
105
105
|
form_params = opts[:form_params] || {}
|
|
106
106
|
form_params['repository'] = opts[:'repository'] if !opts[:'repository'].nil?
|
|
107
107
|
form_params['pulp_labels'] = opts[:'pulp_labels'] if !opts[:'pulp_labels'].nil?
|
|
108
|
-
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
109
108
|
form_params['upload'] = opts[:'upload'] if !opts[:'upload'].nil?
|
|
110
109
|
form_params['file_url'] = opts[:'file_url'] if !opts[:'file_url'].nil?
|
|
110
|
+
form_params['artifact'] = opts[:'artifact'] if !opts[:'artifact'].nil?
|
|
111
111
|
form_params['file'] = opts[:'file'] if !opts[:'file'].nil?
|
|
112
112
|
form_params['expected_name'] = opts[:'expected_name'] if !opts[:'expected_name'].nil?
|
|
113
113
|
form_params['expected_namespace'] = opts[:'expected_namespace'] if !opts[:'expected_namespace'].nil?
|
|
@@ -523,24 +523,24 @@ module PulpAnsibleClient
|
|
|
523
523
|
end
|
|
524
524
|
|
|
525
525
|
# Update an ansible distribution
|
|
526
|
-
#
|
|
526
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
527
527
|
# @param ansible_ansible_distribution_href [String]
|
|
528
528
|
# @param patchedansible_ansible_distribution [PatchedansibleAnsibleDistribution]
|
|
529
529
|
# @param [Hash] opts the optional parameters
|
|
530
530
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
531
|
-
# @return [
|
|
531
|
+
# @return [AnsibleAnsibleDistributionResponse]
|
|
532
532
|
def partial_update(ansible_ansible_distribution_href, patchedansible_ansible_distribution, opts = {})
|
|
533
533
|
data, _status_code, _headers = partial_update_with_http_info(ansible_ansible_distribution_href, patchedansible_ansible_distribution, opts)
|
|
534
534
|
data
|
|
535
535
|
end
|
|
536
536
|
|
|
537
537
|
# Update an ansible distribution
|
|
538
|
-
#
|
|
538
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
539
539
|
# @param ansible_ansible_distribution_href [String]
|
|
540
540
|
# @param patchedansible_ansible_distribution [PatchedansibleAnsibleDistribution]
|
|
541
541
|
# @param [Hash] opts the optional parameters
|
|
542
542
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
543
|
-
# @return [Array<(
|
|
543
|
+
# @return [Array<(AnsibleAnsibleDistributionResponse, Integer, Hash)>] AnsibleAnsibleDistributionResponse data, response status code and response headers
|
|
544
544
|
def partial_update_with_http_info(ansible_ansible_distribution_href, patchedansible_ansible_distribution, opts = {})
|
|
545
545
|
if @api_client.config.debugging
|
|
546
546
|
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.partial_update ...'
|
|
@@ -577,7 +577,7 @@ module PulpAnsibleClient
|
|
|
577
577
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedansible_ansible_distribution)
|
|
578
578
|
|
|
579
579
|
# return_type
|
|
580
|
-
return_type = opts[:debug_return_type] || '
|
|
580
|
+
return_type = opts[:debug_return_type] || 'AnsibleAnsibleDistributionResponse'
|
|
581
581
|
|
|
582
582
|
# auth_names
|
|
583
583
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -903,24 +903,24 @@ module PulpAnsibleClient
|
|
|
903
903
|
end
|
|
904
904
|
|
|
905
905
|
# Update an ansible distribution
|
|
906
|
-
#
|
|
906
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
907
907
|
# @param ansible_ansible_distribution_href [String]
|
|
908
908
|
# @param ansible_ansible_distribution [AnsibleAnsibleDistribution]
|
|
909
909
|
# @param [Hash] opts the optional parameters
|
|
910
910
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
911
|
-
# @return [
|
|
911
|
+
# @return [AnsibleAnsibleDistributionResponse]
|
|
912
912
|
def update(ansible_ansible_distribution_href, ansible_ansible_distribution, opts = {})
|
|
913
913
|
data, _status_code, _headers = update_with_http_info(ansible_ansible_distribution_href, ansible_ansible_distribution, opts)
|
|
914
914
|
data
|
|
915
915
|
end
|
|
916
916
|
|
|
917
917
|
# Update an ansible distribution
|
|
918
|
-
#
|
|
918
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
919
919
|
# @param ansible_ansible_distribution_href [String]
|
|
920
920
|
# @param ansible_ansible_distribution [AnsibleAnsibleDistribution]
|
|
921
921
|
# @param [Hash] opts the optional parameters
|
|
922
922
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
923
|
-
# @return [Array<(
|
|
923
|
+
# @return [Array<(AnsibleAnsibleDistributionResponse, Integer, Hash)>] AnsibleAnsibleDistributionResponse data, response status code and response headers
|
|
924
924
|
def update_with_http_info(ansible_ansible_distribution_href, ansible_ansible_distribution, opts = {})
|
|
925
925
|
if @api_client.config.debugging
|
|
926
926
|
@api_client.config.logger.debug 'Calling API: DistributionsAnsibleApi.update ...'
|
|
@@ -957,7 +957,7 @@ module PulpAnsibleClient
|
|
|
957
957
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(ansible_ansible_distribution)
|
|
958
958
|
|
|
959
959
|
# return_type
|
|
960
|
-
return_type = opts[:debug_return_type] || '
|
|
960
|
+
return_type = opts[:debug_return_type] || 'AnsibleAnsibleDistributionResponse'
|
|
961
961
|
|
|
962
962
|
# auth_names
|
|
963
963
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -532,24 +532,24 @@ module PulpAnsibleClient
|
|
|
532
532
|
end
|
|
533
533
|
|
|
534
534
|
# Update a collection remote
|
|
535
|
-
#
|
|
535
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
536
536
|
# @param ansible_collection_remote_href [String]
|
|
537
537
|
# @param patchedansible_collection_remote [PatchedansibleCollectionRemote]
|
|
538
538
|
# @param [Hash] opts the optional parameters
|
|
539
539
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
540
|
-
# @return [
|
|
540
|
+
# @return [AnsibleCollectionRemoteResponse]
|
|
541
541
|
def partial_update(ansible_collection_remote_href, patchedansible_collection_remote, opts = {})
|
|
542
542
|
data, _status_code, _headers = partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote, opts)
|
|
543
543
|
data
|
|
544
544
|
end
|
|
545
545
|
|
|
546
546
|
# Update a collection remote
|
|
547
|
-
#
|
|
547
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
548
548
|
# @param ansible_collection_remote_href [String]
|
|
549
549
|
# @param patchedansible_collection_remote [PatchedansibleCollectionRemote]
|
|
550
550
|
# @param [Hash] opts the optional parameters
|
|
551
551
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
552
|
-
# @return [Array<(
|
|
552
|
+
# @return [Array<(AnsibleCollectionRemoteResponse, Integer, Hash)>] AnsibleCollectionRemoteResponse data, response status code and response headers
|
|
553
553
|
def partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote, opts = {})
|
|
554
554
|
if @api_client.config.debugging
|
|
555
555
|
@api_client.config.logger.debug 'Calling API: RemotesCollectionApi.partial_update ...'
|
|
@@ -586,7 +586,7 @@ module PulpAnsibleClient
|
|
|
586
586
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedansible_collection_remote)
|
|
587
587
|
|
|
588
588
|
# return_type
|
|
589
|
-
return_type = opts[:debug_return_type] || '
|
|
589
|
+
return_type = opts[:debug_return_type] || 'AnsibleCollectionRemoteResponse'
|
|
590
590
|
|
|
591
591
|
# auth_names
|
|
592
592
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -912,24 +912,24 @@ module PulpAnsibleClient
|
|
|
912
912
|
end
|
|
913
913
|
|
|
914
914
|
# Update a collection remote
|
|
915
|
-
#
|
|
915
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
916
916
|
# @param ansible_collection_remote_href [String]
|
|
917
917
|
# @param ansible_collection_remote [AnsibleCollectionRemote]
|
|
918
918
|
# @param [Hash] opts the optional parameters
|
|
919
919
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
920
|
-
# @return [
|
|
920
|
+
# @return [AnsibleCollectionRemoteResponse]
|
|
921
921
|
def update(ansible_collection_remote_href, ansible_collection_remote, opts = {})
|
|
922
922
|
data, _status_code, _headers = update_with_http_info(ansible_collection_remote_href, ansible_collection_remote, opts)
|
|
923
923
|
data
|
|
924
924
|
end
|
|
925
925
|
|
|
926
926
|
# Update a collection remote
|
|
927
|
-
#
|
|
927
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
928
928
|
# @param ansible_collection_remote_href [String]
|
|
929
929
|
# @param ansible_collection_remote [AnsibleCollectionRemote]
|
|
930
930
|
# @param [Hash] opts the optional parameters
|
|
931
931
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
932
|
-
# @return [Array<(
|
|
932
|
+
# @return [Array<(AnsibleCollectionRemoteResponse, Integer, Hash)>] AnsibleCollectionRemoteResponse data, response status code and response headers
|
|
933
933
|
def update_with_http_info(ansible_collection_remote_href, ansible_collection_remote, opts = {})
|
|
934
934
|
if @api_client.config.debugging
|
|
935
935
|
@api_client.config.logger.debug 'Calling API: RemotesCollectionApi.update ...'
|
|
@@ -966,7 +966,7 @@ module PulpAnsibleClient
|
|
|
966
966
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(ansible_collection_remote)
|
|
967
967
|
|
|
968
968
|
# return_type
|
|
969
|
-
return_type = opts[:debug_return_type] || '
|
|
969
|
+
return_type = opts[:debug_return_type] || 'AnsibleCollectionRemoteResponse'
|
|
970
970
|
|
|
971
971
|
# auth_names
|
|
972
972
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -520,24 +520,24 @@ module PulpAnsibleClient
|
|
|
520
520
|
end
|
|
521
521
|
|
|
522
522
|
# Update a git remote
|
|
523
|
-
#
|
|
523
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
524
524
|
# @param ansible_git_remote_href [String]
|
|
525
525
|
# @param patchedansible_git_remote [PatchedansibleGitRemote]
|
|
526
526
|
# @param [Hash] opts the optional parameters
|
|
527
527
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
528
|
-
# @return [
|
|
528
|
+
# @return [AnsibleGitRemoteResponse]
|
|
529
529
|
def partial_update(ansible_git_remote_href, patchedansible_git_remote, opts = {})
|
|
530
530
|
data, _status_code, _headers = partial_update_with_http_info(ansible_git_remote_href, patchedansible_git_remote, opts)
|
|
531
531
|
data
|
|
532
532
|
end
|
|
533
533
|
|
|
534
534
|
# Update a git remote
|
|
535
|
-
#
|
|
535
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
536
536
|
# @param ansible_git_remote_href [String]
|
|
537
537
|
# @param patchedansible_git_remote [PatchedansibleGitRemote]
|
|
538
538
|
# @param [Hash] opts the optional parameters
|
|
539
539
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
540
|
-
# @return [Array<(
|
|
540
|
+
# @return [Array<(AnsibleGitRemoteResponse, Integer, Hash)>] AnsibleGitRemoteResponse data, response status code and response headers
|
|
541
541
|
def partial_update_with_http_info(ansible_git_remote_href, patchedansible_git_remote, opts = {})
|
|
542
542
|
if @api_client.config.debugging
|
|
543
543
|
@api_client.config.logger.debug 'Calling API: RemotesGitApi.partial_update ...'
|
|
@@ -574,7 +574,7 @@ module PulpAnsibleClient
|
|
|
574
574
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedansible_git_remote)
|
|
575
575
|
|
|
576
576
|
# return_type
|
|
577
|
-
return_type = opts[:debug_return_type] || '
|
|
577
|
+
return_type = opts[:debug_return_type] || 'AnsibleGitRemoteResponse'
|
|
578
578
|
|
|
579
579
|
# auth_names
|
|
580
580
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -900,24 +900,24 @@ module PulpAnsibleClient
|
|
|
900
900
|
end
|
|
901
901
|
|
|
902
902
|
# Update a git remote
|
|
903
|
-
#
|
|
903
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
904
904
|
# @param ansible_git_remote_href [String]
|
|
905
905
|
# @param ansible_git_remote [AnsibleGitRemote]
|
|
906
906
|
# @param [Hash] opts the optional parameters
|
|
907
907
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
908
|
-
# @return [
|
|
908
|
+
# @return [AnsibleGitRemoteResponse]
|
|
909
909
|
def update(ansible_git_remote_href, ansible_git_remote, opts = {})
|
|
910
910
|
data, _status_code, _headers = update_with_http_info(ansible_git_remote_href, ansible_git_remote, opts)
|
|
911
911
|
data
|
|
912
912
|
end
|
|
913
913
|
|
|
914
914
|
# Update a git remote
|
|
915
|
-
#
|
|
915
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
916
916
|
# @param ansible_git_remote_href [String]
|
|
917
917
|
# @param ansible_git_remote [AnsibleGitRemote]
|
|
918
918
|
# @param [Hash] opts the optional parameters
|
|
919
919
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
920
|
-
# @return [Array<(
|
|
920
|
+
# @return [Array<(AnsibleGitRemoteResponse, Integer, Hash)>] AnsibleGitRemoteResponse data, response status code and response headers
|
|
921
921
|
def update_with_http_info(ansible_git_remote_href, ansible_git_remote, opts = {})
|
|
922
922
|
if @api_client.config.debugging
|
|
923
923
|
@api_client.config.logger.debug 'Calling API: RemotesGitApi.update ...'
|
|
@@ -954,7 +954,7 @@ module PulpAnsibleClient
|
|
|
954
954
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(ansible_git_remote)
|
|
955
955
|
|
|
956
956
|
# return_type
|
|
957
|
-
return_type = opts[:debug_return_type] || '
|
|
957
|
+
return_type = opts[:debug_return_type] || 'AnsibleGitRemoteResponse'
|
|
958
958
|
|
|
959
959
|
# auth_names
|
|
960
960
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -520,24 +520,24 @@ module PulpAnsibleClient
|
|
|
520
520
|
end
|
|
521
521
|
|
|
522
522
|
# Update a role remote
|
|
523
|
-
#
|
|
523
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
524
524
|
# @param ansible_role_remote_href [String]
|
|
525
525
|
# @param patchedansible_role_remote [PatchedansibleRoleRemote]
|
|
526
526
|
# @param [Hash] opts the optional parameters
|
|
527
527
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
528
|
-
# @return [
|
|
528
|
+
# @return [AnsibleRoleRemoteResponse]
|
|
529
529
|
def partial_update(ansible_role_remote_href, patchedansible_role_remote, opts = {})
|
|
530
530
|
data, _status_code, _headers = partial_update_with_http_info(ansible_role_remote_href, patchedansible_role_remote, opts)
|
|
531
531
|
data
|
|
532
532
|
end
|
|
533
533
|
|
|
534
534
|
# Update a role remote
|
|
535
|
-
#
|
|
535
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
536
536
|
# @param ansible_role_remote_href [String]
|
|
537
537
|
# @param patchedansible_role_remote [PatchedansibleRoleRemote]
|
|
538
538
|
# @param [Hash] opts the optional parameters
|
|
539
539
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
540
|
-
# @return [Array<(
|
|
540
|
+
# @return [Array<(AnsibleRoleRemoteResponse, Integer, Hash)>] AnsibleRoleRemoteResponse data, response status code and response headers
|
|
541
541
|
def partial_update_with_http_info(ansible_role_remote_href, patchedansible_role_remote, opts = {})
|
|
542
542
|
if @api_client.config.debugging
|
|
543
543
|
@api_client.config.logger.debug 'Calling API: RemotesRoleApi.partial_update ...'
|
|
@@ -574,7 +574,7 @@ module PulpAnsibleClient
|
|
|
574
574
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedansible_role_remote)
|
|
575
575
|
|
|
576
576
|
# return_type
|
|
577
|
-
return_type = opts[:debug_return_type] || '
|
|
577
|
+
return_type = opts[:debug_return_type] || 'AnsibleRoleRemoteResponse'
|
|
578
578
|
|
|
579
579
|
# auth_names
|
|
580
580
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -900,24 +900,24 @@ module PulpAnsibleClient
|
|
|
900
900
|
end
|
|
901
901
|
|
|
902
902
|
# Update a role remote
|
|
903
|
-
#
|
|
903
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
904
904
|
# @param ansible_role_remote_href [String]
|
|
905
905
|
# @param ansible_role_remote [AnsibleRoleRemote]
|
|
906
906
|
# @param [Hash] opts the optional parameters
|
|
907
907
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
908
|
-
# @return [
|
|
908
|
+
# @return [AnsibleRoleRemoteResponse]
|
|
909
909
|
def update(ansible_role_remote_href, ansible_role_remote, opts = {})
|
|
910
910
|
data, _status_code, _headers = update_with_http_info(ansible_role_remote_href, ansible_role_remote, opts)
|
|
911
911
|
data
|
|
912
912
|
end
|
|
913
913
|
|
|
914
914
|
# Update a role remote
|
|
915
|
-
#
|
|
915
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
916
916
|
# @param ansible_role_remote_href [String]
|
|
917
917
|
# @param ansible_role_remote [AnsibleRoleRemote]
|
|
918
918
|
# @param [Hash] opts the optional parameters
|
|
919
919
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
920
|
-
# @return [Array<(
|
|
920
|
+
# @return [Array<(AnsibleRoleRemoteResponse, Integer, Hash)>] AnsibleRoleRemoteResponse data, response status code and response headers
|
|
921
921
|
def update_with_http_info(ansible_role_remote_href, ansible_role_remote, opts = {})
|
|
922
922
|
if @api_client.config.debugging
|
|
923
923
|
@api_client.config.logger.debug 'Calling API: RemotesRoleApi.update ...'
|
|
@@ -954,7 +954,7 @@ module PulpAnsibleClient
|
|
|
954
954
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(ansible_role_remote)
|
|
955
955
|
|
|
956
956
|
# return_type
|
|
957
|
-
return_type = opts[:debug_return_type] || '
|
|
957
|
+
return_type = opts[:debug_return_type] || 'AnsibleRoleRemoteResponse'
|
|
958
958
|
|
|
959
959
|
# auth_names
|
|
960
960
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -834,24 +834,24 @@ module PulpAnsibleClient
|
|
|
834
834
|
end
|
|
835
835
|
|
|
836
836
|
# Update an ansible repository
|
|
837
|
-
#
|
|
837
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
838
838
|
# @param ansible_ansible_repository_href [String]
|
|
839
839
|
# @param patchedansible_ansible_repository [PatchedansibleAnsibleRepository]
|
|
840
840
|
# @param [Hash] opts the optional parameters
|
|
841
841
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
842
|
-
# @return [
|
|
842
|
+
# @return [AnsibleAnsibleRepositoryResponse]
|
|
843
843
|
def partial_update(ansible_ansible_repository_href, patchedansible_ansible_repository, opts = {})
|
|
844
844
|
data, _status_code, _headers = partial_update_with_http_info(ansible_ansible_repository_href, patchedansible_ansible_repository, opts)
|
|
845
845
|
data
|
|
846
846
|
end
|
|
847
847
|
|
|
848
848
|
# Update an ansible repository
|
|
849
|
-
#
|
|
849
|
+
# Update the entity partially and trigger an asynchronous task if necessary
|
|
850
850
|
# @param ansible_ansible_repository_href [String]
|
|
851
851
|
# @param patchedansible_ansible_repository [PatchedansibleAnsibleRepository]
|
|
852
852
|
# @param [Hash] opts the optional parameters
|
|
853
853
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
854
|
-
# @return [Array<(
|
|
854
|
+
# @return [Array<(AnsibleAnsibleRepositoryResponse, Integer, Hash)>] AnsibleAnsibleRepositoryResponse data, response status code and response headers
|
|
855
855
|
def partial_update_with_http_info(ansible_ansible_repository_href, patchedansible_ansible_repository, opts = {})
|
|
856
856
|
if @api_client.config.debugging
|
|
857
857
|
@api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.partial_update ...'
|
|
@@ -888,7 +888,7 @@ module PulpAnsibleClient
|
|
|
888
888
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(patchedansible_ansible_repository)
|
|
889
889
|
|
|
890
890
|
# return_type
|
|
891
|
-
return_type = opts[:debug_return_type] || '
|
|
891
|
+
return_type = opts[:debug_return_type] || 'AnsibleAnsibleRepositoryResponse'
|
|
892
892
|
|
|
893
893
|
# auth_names
|
|
894
894
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|
|
@@ -1514,24 +1514,24 @@ module PulpAnsibleClient
|
|
|
1514
1514
|
end
|
|
1515
1515
|
|
|
1516
1516
|
# Update an ansible repository
|
|
1517
|
-
#
|
|
1517
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
1518
1518
|
# @param ansible_ansible_repository_href [String]
|
|
1519
1519
|
# @param ansible_ansible_repository [AnsibleAnsibleRepository]
|
|
1520
1520
|
# @param [Hash] opts the optional parameters
|
|
1521
1521
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1522
|
-
# @return [
|
|
1522
|
+
# @return [AnsibleAnsibleRepositoryResponse]
|
|
1523
1523
|
def update(ansible_ansible_repository_href, ansible_ansible_repository, opts = {})
|
|
1524
1524
|
data, _status_code, _headers = update_with_http_info(ansible_ansible_repository_href, ansible_ansible_repository, opts)
|
|
1525
1525
|
data
|
|
1526
1526
|
end
|
|
1527
1527
|
|
|
1528
1528
|
# Update an ansible repository
|
|
1529
|
-
#
|
|
1529
|
+
# Update the entity and trigger an asynchronous task if necessary
|
|
1530
1530
|
# @param ansible_ansible_repository_href [String]
|
|
1531
1531
|
# @param ansible_ansible_repository [AnsibleAnsibleRepository]
|
|
1532
1532
|
# @param [Hash] opts the optional parameters
|
|
1533
1533
|
# @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
|
|
1534
|
-
# @return [Array<(
|
|
1534
|
+
# @return [Array<(AnsibleAnsibleRepositoryResponse, Integer, Hash)>] AnsibleAnsibleRepositoryResponse data, response status code and response headers
|
|
1535
1535
|
def update_with_http_info(ansible_ansible_repository_href, ansible_ansible_repository, opts = {})
|
|
1536
1536
|
if @api_client.config.debugging
|
|
1537
1537
|
@api_client.config.logger.debug 'Calling API: RepositoriesAnsibleApi.update ...'
|
|
@@ -1568,7 +1568,7 @@ module PulpAnsibleClient
|
|
|
1568
1568
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(ansible_ansible_repository)
|
|
1569
1569
|
|
|
1570
1570
|
# return_type
|
|
1571
|
-
return_type = opts[:debug_return_type] || '
|
|
1571
|
+
return_type = opts[:debug_return_type] || 'AnsibleAnsibleRepositoryResponse'
|
|
1572
1572
|
|
|
1573
1573
|
# auth_names
|
|
1574
1574
|
auth_names = opts[:debug_auth_names] || ['basicAuth']
|