Sha256: e7ab59ea539a91a204b152518e082e0a44bb8e7627919ffa0998b2ad2f01b298
Contents?: true
Size: 1.41 KB
Versions: 35
Compression:
Stored size: 1.41 KB
Contents
# PulpAnsibleClient::AnsibleCopyApi All URIs are relative to *https://pulp* Method | HTTP request | Description ------------- | ------------- | ------------- [**copy_content**](AnsibleCopyApi.md#copy_content) | **POST** /pulp/api/v3/ansible/copy/ | Copy content ## copy_content > AsyncOperationResponse copy_content(copy) Copy content Trigger an asynchronous task to copy ansible content from one repository into another, creating a new repository version. ### Example ```ruby # load the gem require 'pulp_ansible_client' # setup authorization PulpAnsibleClient.configure do |config| # Configure HTTP basic authorization: basicAuth config.username = 'YOUR USERNAME' config.password = 'YOUR PASSWORD' end api_instance = PulpAnsibleClient::AnsibleCopyApi.new copy = PulpAnsibleClient::Copy.new # Copy | begin #Copy content result = api_instance.copy_content(copy) p result rescue PulpAnsibleClient::ApiError => e puts "Exception when calling AnsibleCopyApi->copy_content: #{e}" end ``` ### Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **copy** | [**Copy**](Copy.md)| | ### Return type [**AsyncOperationResponse**](AsyncOperationResponse.md) ### Authorization [basicAuth](../README.md#basicAuth) ### HTTP request headers - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data - **Accept**: application/json
Version data entries
35 entries across 35 versions & 1 rubygems