pulp_ansible_client 0.23.1 → 0.24.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -10
- data/docs/AnsibleAnsibleCollectionDeprecated.md +12 -11
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +18 -17
- data/docs/AnsibleAnsibleDistribution.md +18 -17
- data/docs/AnsibleAnsibleDistributionResponse.md +24 -23
- data/docs/AnsibleAnsibleNamespaceMetadata.md +20 -19
- data/docs/AnsibleAnsibleNamespaceMetadataResponse.md +26 -25
- data/docs/AnsibleAnsibleRepository.md +22 -21
- data/docs/AnsibleAnsibleRepositoryResponse.md +36 -35
- data/docs/AnsibleCollectionRemote.md +58 -57
- data/docs/AnsibleCollectionRemoteResponse.md +58 -57
- data/docs/AnsibleCollectionRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/AnsibleCollectionResponse.md +10 -9
- data/docs/AnsibleCollectionVersionMark.md +10 -9
- data/docs/AnsibleCollectionVersionMarkResponse.md +14 -13
- data/docs/AnsibleCollectionVersionResponse.md +64 -63
- data/docs/AnsibleCollectionVersionSignatureResponse.md +20 -19
- data/docs/AnsibleCollectionsApi.md +228 -110
- data/docs/AnsibleCopyApi.md +30 -14
- data/docs/AnsibleGitRemote.md +50 -49
- data/docs/AnsibleGitRemoteResponse.md +50 -49
- data/docs/AnsibleRepositoryMark.md +10 -9
- data/docs/AnsibleRepositoryRebuild.md +12 -11
- data/docs/AnsibleRepositorySignature.md +10 -9
- data/docs/AnsibleRepositorySyncURL.md +12 -11
- data/docs/AnsibleRole.md +16 -15
- data/docs/AnsibleRoleRemote.md +48 -47
- data/docs/AnsibleRoleRemoteResponse.md +48 -47
- data/docs/AnsibleRoleResponse.md +22 -21
- data/docs/AnsibleTagResponse.md +8 -7
- data/docs/ApiPluginAnsibleSearchCollectionVersionsApi.md +90 -56
- data/docs/ApiRolesApi.md +35 -18
- data/docs/ArtifactRefResponse.md +12 -11
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ClientConfigurationResponse.md +8 -7
- data/docs/CollectionImportApi.md +34 -18
- data/docs/CollectionImportDetailResponse.md +22 -21
- data/docs/CollectionMetadataResponse.md +26 -25
- data/docs/CollectionNamespaceResponse.md +10 -9
- data/docs/CollectionRefResponse.md +12 -11
- data/docs/CollectionResponse.md +24 -23
- data/docs/CollectionSummaryResponse.md +26 -25
- data/docs/CollectionVersionCopyMove.md +12 -11
- data/docs/CollectionVersionDocsResponse.md +8 -7
- data/docs/CollectionVersionListResponse.md +18 -17
- data/docs/CollectionVersionResponse.md +40 -39
- data/docs/CollectionVersionSearchList.md +16 -15
- data/docs/CollectionVersionSearchListResponse.md +20 -19
- data/docs/CollectionVersionSignatureResponse.md +14 -13
- data/docs/ContentCollectionDeprecationsApi.md +107 -57
- data/docs/ContentCollectionMarksApi.md +112 -62
- data/docs/ContentCollectionSignaturesApi.md +118 -68
- data/docs/ContentCollectionVersionsApi.md +119 -69
- data/docs/ContentNamespacesApi.md +132 -81
- data/docs/ContentRolesApi.md +110 -60
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/Copy.md +8 -7
- data/docs/DistributionsAnsibleApi.md +385 -182
- data/docs/GalaxyRoleResponse.md +12 -11
- data/docs/GalaxyRoleVersionResponse.md +10 -9
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NamespaceLink.md +10 -9
- data/docs/NamespaceLinkResponse.md +10 -9
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/PaginatedCollectionResponseList.md +12 -11
- data/docs/PaginatedCollectionResponseListLinks.md +14 -13
- data/docs/PaginatedCollectionResponseListMeta.md +8 -7
- data/docs/PaginatedCollectionVersionListResponseList.md +12 -11
- data/docs/PaginatedCollectionVersionSearchListResponseList.md +12 -11
- data/docs/PaginatedGalaxyRoleResponseList.md +14 -13
- data/docs/PaginatedGalaxyRoleVersionResponseList.md +14 -13
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedTagResponseList.md +14 -13
- data/docs/PaginatedansibleAnsibleCollectionDeprecatedResponseList.md +14 -13
- data/docs/PaginatedansibleAnsibleDistributionResponseList.md +14 -13
- data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +14 -13
- data/docs/PaginatedansibleAnsibleRepositoryResponseList.md +14 -13
- data/docs/PaginatedansibleCollectionRemoteResponseList.md +14 -13
- data/docs/PaginatedansibleCollectionResponseList.md +14 -13
- data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +14 -13
- data/docs/PaginatedansibleCollectionVersionResponseList.md +14 -13
- data/docs/PaginatedansibleCollectionVersionSignatureResponseList.md +14 -13
- data/docs/PaginatedansibleGitRemoteResponseList.md +14 -13
- data/docs/PaginatedansibleRoleRemoteResponseList.md +14 -13
- data/docs/PaginatedansibleRoleResponseList.md +14 -13
- data/docs/PatchedCollection.md +8 -7
- data/docs/PatchedansibleAnsibleDistribution.md +18 -17
- data/docs/PatchedansibleAnsibleRepository.md +22 -21
- data/docs/PatchedansibleCollectionRemote.md +58 -57
- data/docs/PatchedansibleGitRemote.md +50 -49
- data/docs/PatchedansibleRoleRemote.md +48 -47
- data/docs/PolicyEnum.md +4 -5
- data/docs/PulpAnsibleApiApi.md +32 -15
- data/docs/PulpAnsibleApiV3Api.md +33 -16
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +33 -16
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +33 -16
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +45 -28
- data/docs/PulpAnsibleApiV3CollectionsApi.md +139 -68
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +119 -66
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +36 -19
- data/docs/PulpAnsibleApiV3NamespacesApi.md +99 -64
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +33 -16
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +46 -29
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +34 -17
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +34 -17
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +34 -17
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +143 -72
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +122 -69
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +37 -20
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +206 -117
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +134 -67
- data/docs/PulpAnsibleDefaultApiApi.md +25 -7
- data/docs/PulpAnsibleDefaultApiV3Api.md +26 -8
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +33 -16
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +26 -8
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +44 -27
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +135 -64
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +116 -63
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +35 -18
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +97 -62
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +26 -8
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +45 -28
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +33 -16
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +33 -16
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +33 -16
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +139 -68
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +119 -66
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +36 -19
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +201 -112
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +88 -54
- data/docs/PulpAnsibleTagsApi.md +34 -18
- data/docs/RemotesCollectionApi.md +394 -189
- data/docs/RemotesGitApi.md +389 -184
- data/docs/RemotesRoleApi.md +389 -184
- data/docs/Repair.md +8 -7
- data/docs/RepoMetadataResponse.md +8 -7
- data/docs/RepositoriesAnsibleApi.md +617 -271
- data/docs/RepositoriesAnsibleVersionsApi.md +180 -92
- data/docs/Repository.md +16 -15
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositoryResponse.md +28 -27
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/TagResponse.md +10 -9
- data/docs/UnpaginatedCollectionVersionResponse.md +36 -35
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/docs/VersionsApi.md +35 -18
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +48 -32
- data/lib/pulp_ansible_client/api/ansible_copy_api.rb +10 -6
- data/lib/pulp_ansible_client/api/api_plugin_ansible_search_collection_versions_api.rb +15 -10
- data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -5
- data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -5
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +20 -14
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +20 -14
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +20 -14
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +26 -20
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +16 -13
- data/lib/pulp_ansible_client/api/content_roles_api.rb +20 -14
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +89 -56
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +5 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +5 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +25 -18
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +16 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +11 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +5 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +25 -18
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +16 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +43 -32
- data/lib/pulp_ansible_client/api/pulp_ansible_artifacts_collections_v3_api.rb +37 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_api.rb +5 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +5 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collection_versions_all_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +25 -18
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +16 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +11 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +5 -4
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +25 -18
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +16 -13
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -5
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +43 -32
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +15 -10
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -5
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +104 -68
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +104 -68
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +104 -68
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +161 -96
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +49 -35
- data/lib/pulp_ansible_client/api/versions_api.rb +6 -5
- data/lib/pulp_ansible_client/api_client.rb +137 -102
- data/lib/pulp_ansible_client/api_error.rb +2 -1
- data/lib/pulp_ansible_client/configuration.rb +162 -21
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated.rb +34 -22
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated_response.rb +36 -24
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +34 -22
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +35 -23
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +47 -25
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +52 -26
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +33 -23
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +37 -26
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +77 -47
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +80 -50
- data/lib/pulp_ansible_client/models/{ansible_collection_remote_response_hidden_fields.rb → ansible_collection_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_ansible_client/models/ansible_collection_response.rb +34 -22
- data/lib/pulp_ansible_client/models/ansible_collection_version_mark.rb +34 -22
- data/lib/pulp_ansible_client/models/ansible_collection_version_mark_response.rb +35 -23
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +81 -43
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +34 -24
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +256 -240
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +200 -188
- data/lib/pulp_ansible_client/models/ansible_repository_mark.rb +35 -23
- data/lib/pulp_ansible_client/models/ansible_repository_rebuild.rb +30 -22
- data/lib/pulp_ansible_client/models/ansible_repository_signature.rb +35 -23
- data/lib/pulp_ansible_client/models/ansible_repository_sync_url.rb +30 -22
- data/lib/pulp_ansible_client/models/ansible_role.rb +38 -22
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +77 -43
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +80 -46
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +50 -34
- data/lib/pulp_ansible_client/models/ansible_tag_response.rb +30 -22
- data/lib/pulp_ansible_client/models/artifact_ref_response.rb +36 -22
- data/lib/pulp_ansible_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_ansible_client/models/client_configuration_response.rb +32 -22
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +46 -26
- data/lib/pulp_ansible_client/models/collection_metadata_response.rb +36 -24
- data/lib/pulp_ansible_client/models/collection_namespace_response.rb +34 -22
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +34 -22
- data/lib/pulp_ansible_client/models/collection_response.rb +36 -25
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +50 -28
- data/lib/pulp_ansible_client/models/collection_version_copy_move.rb +34 -22
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +32 -22
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +38 -24
- data/lib/pulp_ansible_client/models/collection_version_response.rb +40 -24
- data/lib/pulp_ansible_client/models/collection_version_search_list.rb +40 -22
- data/lib/pulp_ansible_client/models/collection_version_search_list_response.rb +42 -22
- data/lib/pulp_ansible_client/models/collection_version_signature_response.rb +33 -23
- data/lib/pulp_ansible_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_ansible_client/models/copy.rb +32 -22
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +34 -22
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +32 -22
- data/lib/pulp_ansible_client/models/my_permissions_response.rb +32 -22
- data/lib/pulp_ansible_client/models/namespace_link.rb +34 -22
- data/lib/pulp_ansible_client/models/namespace_link_response.rb +34 -22
- data/lib/pulp_ansible_client/models/nested_role.rb +32 -22
- data/lib/pulp_ansible_client/models/nested_role_response.rb +32 -22
- data/lib/pulp_ansible_client/models/object_roles_response.rb +32 -22
- data/lib/pulp_ansible_client/models/paginated_collection_response_list.rb +30 -22
- data/lib/pulp_ansible_client/models/paginated_collection_response_list_links.rb +30 -22
- data/lib/pulp_ansible_client/models/paginated_collection_response_list_meta.rb +30 -22
- data/lib/pulp_ansible_client/models/paginated_collection_version_list_response_list.rb +30 -22
- data/lib/pulp_ansible_client/models/paginated_collection_version_search_list_response_list.rb +30 -22
- data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_collection_deprecated_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/paginatedansible_git_remote_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +34 -22
- data/lib/pulp_ansible_client/models/patched_collection.rb +30 -22
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +40 -24
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +36 -24
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +83 -49
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +257 -237
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +83 -45
- data/lib/pulp_ansible_client/models/policy_enum.rb +8 -5
- data/lib/pulp_ansible_client/models/repair.rb +30 -22
- data/lib/pulp_ansible_client/models/repo_metadata_response.rb +33 -23
- data/lib/pulp_ansible_client/models/repository.rb +32 -22
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +30 -22
- data/lib/pulp_ansible_client/models/repository_response.rb +34 -24
- data/lib/pulp_ansible_client/models/repository_version_response.rb +32 -24
- data/lib/pulp_ansible_client/models/set_label.rb +34 -22
- data/lib/pulp_ansible_client/models/set_label_response.rb +34 -22
- data/lib/pulp_ansible_client/models/tag_response.rb +30 -22
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +40 -24
- data/lib/pulp_ansible_client/models/unset_label.rb +32 -22
- data/lib/pulp_ansible_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_ansible_client/version.rb +2 -2
- data/lib/pulp_ansible_client.rb +2 -6
- data/pulp_ansible_client.gemspec +9 -6
- data/spec/api/ansible_collections_api_spec.rb +8 -8
- data/spec/api/ansible_copy_api_spec.rb +2 -2
- data/spec/api/api_plugin_ansible_search_collection_versions_api_spec.rb +3 -3
- data/spec/api/api_roles_api_spec.rb +2 -2
- data/spec/api/collection_import_api_spec.rb +2 -2
- data/spec/api/content_collection_deprecations_api_spec.rb +4 -4
- data/spec/api/content_collection_marks_api_spec.rb +4 -4
- data/spec/api/content_collection_signatures_api_spec.rb +4 -4
- data/spec/api/content_collection_versions_api_spec.rb +6 -6
- data/spec/api/content_namespaces_api_spec.rb +4 -4
- data/spec/api/content_roles_api_spec.rb +4 -4
- data/spec/api/distributions_ansible_api_spec.rb +13 -13
- data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +5 -5
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -5
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +7 -7
- data/spec/api/pulp_ansible_artifacts_collections_v3_api_spec.rb +5 -5
- data/spec/api/pulp_ansible_default_api_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collection_versions_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +5 -5
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -4
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +7 -7
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +3 -3
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
- data/spec/api/remotes_collection_api_spec.rb +20 -19
- data/spec/api/remotes_git_api_spec.rb +20 -19
- data/spec/api/remotes_role_api_spec.rb +20 -19
- data/spec/api/repositories_ansible_api_spec.rb +21 -21
- data/spec/api/repositories_ansible_versions_api_spec.rb +13 -12
- data/spec/api/versions_api_spec.rb +2 -2
- data/spec/models/ansible_ansible_collection_deprecated_response_spec.rb +12 -17
- data/spec/models/ansible_ansible_collection_deprecated_spec.rb +9 -14
- data/spec/models/ansible_ansible_distribution_response_spec.rb +15 -20
- data/spec/models/ansible_ansible_distribution_spec.rb +12 -17
- data/spec/models/ansible_ansible_namespace_metadata_response_spec.rb +16 -21
- data/spec/models/ansible_ansible_namespace_metadata_spec.rb +13 -18
- data/spec/models/ansible_ansible_repository_response_spec.rb +21 -26
- data/spec/models/ansible_ansible_repository_spec.rb +14 -19
- data/spec/models/{ansible_collection_remote_response_hidden_fields_spec.rb → ansible_collection_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/ansible_collection_remote_response_spec.rb +32 -37
- data/spec/models/ansible_collection_remote_spec.rb +32 -37
- data/spec/models/ansible_collection_response_spec.rb +8 -13
- data/spec/models/ansible_collection_version_mark_response_spec.rb +10 -15
- data/spec/models/ansible_collection_version_mark_spec.rb +8 -13
- data/spec/models/ansible_collection_version_response_spec.rb +39 -44
- data/spec/models/ansible_collection_version_signature_response_spec.rb +13 -18
- data/spec/models/ansible_git_remote_response_spec.rb +47 -52
- data/spec/models/ansible_git_remote_spec.rb +47 -52
- data/spec/models/ansible_repository_mark_spec.rb +8 -13
- data/spec/models/ansible_repository_rebuild_spec.rb +9 -14
- data/spec/models/ansible_repository_signature_spec.rb +8 -13
- data/spec/models/ansible_repository_sync_url_spec.rb +9 -14
- data/spec/models/ansible_role_remote_response_spec.rb +27 -32
- data/spec/models/ansible_role_remote_spec.rb +27 -32
- data/spec/models/ansible_role_response_spec.rb +18 -23
- data/spec/models/ansible_role_spec.rb +11 -16
- data/spec/models/ansible_tag_response_spec.rb +7 -12
- data/spec/models/artifact_ref_response_spec.rb +9 -14
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/client_configuration_response_spec.rb +7 -12
- data/spec/models/collection_import_detail_response_spec.rb +14 -19
- data/spec/models/collection_metadata_response_spec.rb +16 -21
- data/spec/models/collection_namespace_response_spec.rb +8 -13
- data/spec/models/collection_ref_response_spec.rb +9 -14
- data/spec/models/collection_response_spec.rb +15 -20
- data/spec/models/collection_summary_response_spec.rb +16 -21
- data/spec/models/collection_version_copy_move_spec.rb +9 -14
- data/spec/models/collection_version_docs_response_spec.rb +7 -12
- data/spec/models/collection_version_list_response_spec.rb +12 -17
- data/spec/models/collection_version_response_spec.rb +23 -28
- data/spec/models/collection_version_search_list_response_spec.rb +13 -18
- data/spec/models/collection_version_search_list_spec.rb +11 -16
- data/spec/models/collection_version_signature_response_spec.rb +10 -15
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/copy_spec.rb +7 -12
- data/spec/models/galaxy_role_response_spec.rb +9 -14
- data/spec/models/galaxy_role_version_response_spec.rb +8 -13
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/namespace_link_response_spec.rb +8 -13
- data/spec/models/namespace_link_spec.rb +8 -13
- data/spec/models/nested_role_response_spec.rb +9 -14
- data/spec/models/nested_role_spec.rb +9 -14
- data/spec/models/object_roles_response_spec.rb +7 -12
- data/spec/models/paginated_collection_response_list_links_spec.rb +10 -15
- data/spec/models/paginated_collection_response_list_meta_spec.rb +7 -12
- data/spec/models/paginated_collection_response_list_spec.rb +9 -14
- data/spec/models/paginated_collection_version_list_response_list_spec.rb +9 -14
- data/spec/models/paginated_collection_version_search_list_response_list_spec.rb +9 -14
- data/spec/models/paginated_galaxy_role_response_list_spec.rb +10 -15
- data/spec/models/paginated_galaxy_role_version_response_list_spec.rb +10 -15
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginated_tag_response_list_spec.rb +10 -15
- data/spec/models/paginatedansible_ansible_collection_deprecated_response_list_spec.rb +10 -15
- data/spec/models/paginatedansible_ansible_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedansible_ansible_namespace_metadata_response_list_spec.rb +10 -15
- data/spec/models/paginatedansible_ansible_repository_response_list_spec.rb +10 -15
- data/spec/models/paginatedansible_collection_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedansible_collection_response_list_spec.rb +10 -15
- data/spec/models/paginatedansible_collection_version_mark_response_list_spec.rb +10 -15
- data/spec/models/paginatedansible_collection_version_response_list_spec.rb +10 -15
- data/spec/models/paginatedansible_collection_version_signature_response_list_spec.rb +10 -15
- data/spec/models/paginatedansible_git_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedansible_role_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedansible_role_response_list_spec.rb +10 -15
- data/spec/models/patched_collection_spec.rb +7 -12
- data/spec/models/patchedansible_ansible_distribution_spec.rb +12 -17
- data/spec/models/patchedansible_ansible_repository_spec.rb +14 -19
- data/spec/models/patchedansible_collection_remote_spec.rb +32 -37
- data/spec/models/patchedansible_git_remote_spec.rb +47 -52
- data/spec/models/patchedansible_role_remote_spec.rb +27 -32
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repo_metadata_response_spec.rb +7 -12
- data/spec/models/repository_add_remove_content_spec.rb +9 -14
- data/spec/models/repository_response_spec.rb +17 -22
- data/spec/models/repository_spec.rb +11 -16
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/tag_response_spec.rb +8 -13
- data/spec/models/unpaginated_collection_version_response_spec.rb +21 -26
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/spec_helper.rb +1 -1
- metadata +168 -160
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +0 -19
- data/docs/AnsibleCollectionVersion.md +0 -31
- data/docs/AnsibleCollectionVersionSignature.md +0 -25
- data/docs/CollectionOneShot.md +0 -25
- data/docs/PatchedansibleAnsibleNamespaceMetadata.md +0 -29
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +0 -365
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +0 -268
- data/lib/pulp_ansible_client/models/collection_one_shot.rb +0 -313
- data/lib/pulp_ansible_client/models/patchedansible_ansible_namespace_metadata.rb +0 -350
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/ansible_collection_version_signature_spec.rb +0 -65
- data/spec/models/ansible_collection_version_spec.rb +0 -83
- data/spec/models/collection_one_shot_spec.rb +0 -65
- data/spec/models/patchedansible_ansible_namespace_metadata_spec.rb +0 -77
@@ -2,43 +2,42 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**add_role**](RepositoriesAnsibleApi.md#add_role) | **POST** {ansible_ansible_repository_href}add_role/ | Add a role
|
8
|
-
[**copy_collection_version**](RepositoriesAnsibleApi.md#copy_collection_version) | **POST** {ansible_ansible_repository_href}copy_collection_version/ |
|
9
|
-
[**create**](RepositoriesAnsibleApi.md#create) | **POST** /pulp/api/v3/repositories/ansible/ansible/ | Create an ansible repository
|
10
|
-
[**delete**](RepositoriesAnsibleApi.md#delete) | **DELETE** {ansible_ansible_repository_href} | Delete an ansible repository
|
11
|
-
[**list**](RepositoriesAnsibleApi.md#list) | **GET** /pulp/api/v3/repositories/ansible/ansible/ | List ansible repositorys
|
12
|
-
[**list_roles**](RepositoriesAnsibleApi.md#list_roles) | **GET** {ansible_ansible_repository_href}list_roles/ | List roles
|
13
|
-
[**mark**](RepositoriesAnsibleApi.md#mark) | **POST** {ansible_ansible_repository_href}mark/ |
|
14
|
-
[**modify**](RepositoriesAnsibleApi.md#modify) | **POST** {ansible_ansible_repository_href}modify/ | Modify Repository Content
|
15
|
-
[**move_collection_version**](RepositoriesAnsibleApi.md#move_collection_version) | **POST** {ansible_ansible_repository_href}move_collection_version/ |
|
16
|
-
[**my_permissions**](RepositoriesAnsibleApi.md#my_permissions) | **GET** {ansible_ansible_repository_href}my_permissions/ | List user permissions
|
17
|
-
[**partial_update**](RepositoriesAnsibleApi.md#partial_update) | **PATCH** {ansible_ansible_repository_href} | Update an ansible repository
|
18
|
-
[**read**](RepositoriesAnsibleApi.md#read) | **GET** {ansible_ansible_repository_href} | Inspect an ansible repository
|
19
|
-
[**rebuild_metadata**](RepositoriesAnsibleApi.md#rebuild_metadata) | **POST** {ansible_ansible_repository_href}rebuild_metadata/ |
|
20
|
-
[**remove_role**](RepositoriesAnsibleApi.md#remove_role) | **POST** {ansible_ansible_repository_href}remove_role/ | Remove a role
|
21
|
-
[**set_label**](RepositoriesAnsibleApi.md#set_label) | **POST** {ansible_ansible_repository_href}set_label/ | Set a label
|
22
|
-
[**sign**](RepositoriesAnsibleApi.md#sign) | **POST** {ansible_ansible_repository_href}sign/ |
|
23
|
-
[**sync**](RepositoriesAnsibleApi.md#sync) | **POST** {ansible_ansible_repository_href}sync/ |
|
24
|
-
[**unmark**](RepositoriesAnsibleApi.md#unmark) | **POST** {ansible_ansible_repository_href}unmark/ |
|
25
|
-
[**unset_label**](RepositoriesAnsibleApi.md#unset_label) | **POST** {ansible_ansible_repository_href}unset_label/ | Unset a label
|
26
|
-
[**update**](RepositoriesAnsibleApi.md#update) | **PUT** {ansible_ansible_repository_href} | Update an ansible repository
|
27
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**add_role**](RepositoriesAnsibleApi.md#add_role) | **POST** {ansible_ansible_repository_href}add_role/ | Add a role |
|
8
|
+
| [**copy_collection_version**](RepositoriesAnsibleApi.md#copy_collection_version) | **POST** {ansible_ansible_repository_href}copy_collection_version/ | |
|
9
|
+
| [**create**](RepositoriesAnsibleApi.md#create) | **POST** /pulp/api/v3/repositories/ansible/ansible/ | Create an ansible repository |
|
10
|
+
| [**delete**](RepositoriesAnsibleApi.md#delete) | **DELETE** {ansible_ansible_repository_href} | Delete an ansible repository |
|
11
|
+
| [**list**](RepositoriesAnsibleApi.md#list) | **GET** /pulp/api/v3/repositories/ansible/ansible/ | List ansible repositorys |
|
12
|
+
| [**list_roles**](RepositoriesAnsibleApi.md#list_roles) | **GET** {ansible_ansible_repository_href}list_roles/ | List roles |
|
13
|
+
| [**mark**](RepositoriesAnsibleApi.md#mark) | **POST** {ansible_ansible_repository_href}mark/ | |
|
14
|
+
| [**modify**](RepositoriesAnsibleApi.md#modify) | **POST** {ansible_ansible_repository_href}modify/ | Modify Repository Content |
|
15
|
+
| [**move_collection_version**](RepositoriesAnsibleApi.md#move_collection_version) | **POST** {ansible_ansible_repository_href}move_collection_version/ | |
|
16
|
+
| [**my_permissions**](RepositoriesAnsibleApi.md#my_permissions) | **GET** {ansible_ansible_repository_href}my_permissions/ | List user permissions |
|
17
|
+
| [**partial_update**](RepositoriesAnsibleApi.md#partial_update) | **PATCH** {ansible_ansible_repository_href} | Update an ansible repository |
|
18
|
+
| [**read**](RepositoriesAnsibleApi.md#read) | **GET** {ansible_ansible_repository_href} | Inspect an ansible repository |
|
19
|
+
| [**rebuild_metadata**](RepositoriesAnsibleApi.md#rebuild_metadata) | **POST** {ansible_ansible_repository_href}rebuild_metadata/ | |
|
20
|
+
| [**remove_role**](RepositoriesAnsibleApi.md#remove_role) | **POST** {ansible_ansible_repository_href}remove_role/ | Remove a role |
|
21
|
+
| [**set_label**](RepositoriesAnsibleApi.md#set_label) | **POST** {ansible_ansible_repository_href}set_label/ | Set a label |
|
22
|
+
| [**sign**](RepositoriesAnsibleApi.md#sign) | **POST** {ansible_ansible_repository_href}sign/ | |
|
23
|
+
| [**sync**](RepositoriesAnsibleApi.md#sync) | **POST** {ansible_ansible_repository_href}sync/ | |
|
24
|
+
| [**unmark**](RepositoriesAnsibleApi.md#unmark) | **POST** {ansible_ansible_repository_href}unmark/ | |
|
25
|
+
| [**unset_label**](RepositoriesAnsibleApi.md#unset_label) | **POST** {ansible_ansible_repository_href}unset_label/ | Unset a label |
|
26
|
+
| [**update**](RepositoriesAnsibleApi.md#update) | **PUT** {ansible_ansible_repository_href} | Update an ansible repository |
|
28
27
|
|
29
28
|
|
30
29
|
## add_role
|
31
30
|
|
32
|
-
> NestedRoleResponse add_role(ansible_ansible_repository_href, nested_role)
|
31
|
+
> <NestedRoleResponse> add_role(ansible_ansible_repository_href, nested_role)
|
33
32
|
|
34
33
|
Add a role
|
35
34
|
|
36
35
|
Add a role for this object to users/groups.
|
37
36
|
|
38
|
-
###
|
37
|
+
### Examples
|
39
38
|
|
40
39
|
```ruby
|
41
|
-
|
40
|
+
require 'time'
|
42
41
|
require 'pulp_ansible_client'
|
43
42
|
# setup authorization
|
44
43
|
PulpAnsibleClient.configure do |config|
|
@@ -49,24 +48,41 @@ end
|
|
49
48
|
|
50
49
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
51
50
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
52
|
-
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
51
|
+
nested_role = PulpAnsibleClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
53
52
|
|
54
53
|
begin
|
55
|
-
#Add a role
|
54
|
+
# Add a role
|
56
55
|
result = api_instance.add_role(ansible_ansible_repository_href, nested_role)
|
57
56
|
p result
|
58
57
|
rescue PulpAnsibleClient::ApiError => e
|
59
|
-
puts "
|
58
|
+
puts "Error when calling RepositoriesAnsibleApi->add_role: #{e}"
|
60
59
|
end
|
61
60
|
```
|
62
61
|
|
63
|
-
|
62
|
+
#### Using the add_role_with_http_info variant
|
64
63
|
|
64
|
+
This returns an Array which contains the response data, status code and headers.
|
65
65
|
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
66
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(ansible_ansible_repository_href, nested_role)
|
67
|
+
|
68
|
+
```ruby
|
69
|
+
begin
|
70
|
+
# Add a role
|
71
|
+
data, status_code, headers = api_instance.add_role_with_http_info(ansible_ansible_repository_href, nested_role)
|
72
|
+
p status_code # => 2xx
|
73
|
+
p headers # => { ... }
|
74
|
+
p data # => <NestedRoleResponse>
|
75
|
+
rescue PulpAnsibleClient::ApiError => e
|
76
|
+
puts "Error when calling RepositoriesAnsibleApi->add_role_with_http_info: #{e}"
|
77
|
+
end
|
78
|
+
```
|
79
|
+
|
80
|
+
### Parameters
|
81
|
+
|
82
|
+
| Name | Type | Description | Notes |
|
83
|
+
| ---- | ---- | ----------- | ----- |
|
84
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
85
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
70
86
|
|
71
87
|
### Return type
|
72
88
|
|
@@ -84,16 +100,16 @@ Name | Type | Description | Notes
|
|
84
100
|
|
85
101
|
## copy_collection_version
|
86
102
|
|
87
|
-
> AsyncOperationResponse copy_collection_version(ansible_ansible_repository_href, collection_version_copy_move)
|
103
|
+
> <AsyncOperationResponse> copy_collection_version(ansible_ansible_repository_href, collection_version_copy_move)
|
88
104
|
|
89
105
|
|
90
106
|
|
91
107
|
Trigger an asynchronous task to copy collection versions.
|
92
108
|
|
93
|
-
###
|
109
|
+
### Examples
|
94
110
|
|
95
111
|
```ruby
|
96
|
-
|
112
|
+
require 'time'
|
97
113
|
require 'pulp_ansible_client'
|
98
114
|
# setup authorization
|
99
115
|
PulpAnsibleClient.configure do |config|
|
@@ -104,23 +120,41 @@ end
|
|
104
120
|
|
105
121
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
106
122
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
107
|
-
collection_version_copy_move = PulpAnsibleClient::CollectionVersionCopyMove.new # CollectionVersionCopyMove |
|
123
|
+
collection_version_copy_move = PulpAnsibleClient::CollectionVersionCopyMove.new({collection_versions: ['collection_versions_example'], destination_repositories: ['destination_repositories_example']}) # CollectionVersionCopyMove |
|
108
124
|
|
109
125
|
begin
|
126
|
+
|
110
127
|
result = api_instance.copy_collection_version(ansible_ansible_repository_href, collection_version_copy_move)
|
111
128
|
p result
|
112
129
|
rescue PulpAnsibleClient::ApiError => e
|
113
|
-
puts "
|
130
|
+
puts "Error when calling RepositoriesAnsibleApi->copy_collection_version: #{e}"
|
114
131
|
end
|
115
132
|
```
|
116
133
|
|
117
|
-
|
134
|
+
#### Using the copy_collection_version_with_http_info variant
|
135
|
+
|
136
|
+
This returns an Array which contains the response data, status code and headers.
|
118
137
|
|
138
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> copy_collection_version_with_http_info(ansible_ansible_repository_href, collection_version_copy_move)
|
119
139
|
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
140
|
+
```ruby
|
141
|
+
begin
|
142
|
+
|
143
|
+
data, status_code, headers = api_instance.copy_collection_version_with_http_info(ansible_ansible_repository_href, collection_version_copy_move)
|
144
|
+
p status_code # => 2xx
|
145
|
+
p headers # => { ... }
|
146
|
+
p data # => <AsyncOperationResponse>
|
147
|
+
rescue PulpAnsibleClient::ApiError => e
|
148
|
+
puts "Error when calling RepositoriesAnsibleApi->copy_collection_version_with_http_info: #{e}"
|
149
|
+
end
|
150
|
+
```
|
151
|
+
|
152
|
+
### Parameters
|
153
|
+
|
154
|
+
| Name | Type | Description | Notes |
|
155
|
+
| ---- | ---- | ----------- | ----- |
|
156
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
157
|
+
| **collection_version_copy_move** | [**CollectionVersionCopyMove**](CollectionVersionCopyMove.md) | | |
|
124
158
|
|
125
159
|
### Return type
|
126
160
|
|
@@ -138,16 +172,16 @@ Name | Type | Description | Notes
|
|
138
172
|
|
139
173
|
## create
|
140
174
|
|
141
|
-
> AnsibleAnsibleRepositoryResponse create(ansible_ansible_repository)
|
175
|
+
> <AnsibleAnsibleRepositoryResponse> create(ansible_ansible_repository)
|
142
176
|
|
143
177
|
Create an ansible repository
|
144
178
|
|
145
179
|
ViewSet for Ansible Repositories.
|
146
180
|
|
147
|
-
###
|
181
|
+
### Examples
|
148
182
|
|
149
183
|
```ruby
|
150
|
-
|
184
|
+
require 'time'
|
151
185
|
require 'pulp_ansible_client'
|
152
186
|
# setup authorization
|
153
187
|
PulpAnsibleClient.configure do |config|
|
@@ -157,23 +191,40 @@ PulpAnsibleClient.configure do |config|
|
|
157
191
|
end
|
158
192
|
|
159
193
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
160
|
-
ansible_ansible_repository = PulpAnsibleClient::AnsibleAnsibleRepository.new # AnsibleAnsibleRepository |
|
194
|
+
ansible_ansible_repository = PulpAnsibleClient::AnsibleAnsibleRepository.new({name: 'name_example'}) # AnsibleAnsibleRepository |
|
161
195
|
|
162
196
|
begin
|
163
|
-
#Create an ansible repository
|
197
|
+
# Create an ansible repository
|
164
198
|
result = api_instance.create(ansible_ansible_repository)
|
165
199
|
p result
|
166
200
|
rescue PulpAnsibleClient::ApiError => e
|
167
|
-
puts "
|
201
|
+
puts "Error when calling RepositoriesAnsibleApi->create: #{e}"
|
168
202
|
end
|
169
203
|
```
|
170
204
|
|
171
|
-
|
205
|
+
#### Using the create_with_http_info variant
|
172
206
|
|
207
|
+
This returns an Array which contains the response data, status code and headers.
|
173
208
|
|
174
|
-
|
175
|
-
|
176
|
-
|
209
|
+
> <Array(<AnsibleAnsibleRepositoryResponse>, Integer, Hash)> create_with_http_info(ansible_ansible_repository)
|
210
|
+
|
211
|
+
```ruby
|
212
|
+
begin
|
213
|
+
# Create an ansible repository
|
214
|
+
data, status_code, headers = api_instance.create_with_http_info(ansible_ansible_repository)
|
215
|
+
p status_code # => 2xx
|
216
|
+
p headers # => { ... }
|
217
|
+
p data # => <AnsibleAnsibleRepositoryResponse>
|
218
|
+
rescue PulpAnsibleClient::ApiError => e
|
219
|
+
puts "Error when calling RepositoriesAnsibleApi->create_with_http_info: #{e}"
|
220
|
+
end
|
221
|
+
```
|
222
|
+
|
223
|
+
### Parameters
|
224
|
+
|
225
|
+
| Name | Type | Description | Notes |
|
226
|
+
| ---- | ---- | ----------- | ----- |
|
227
|
+
| **ansible_ansible_repository** | [**AnsibleAnsibleRepository**](AnsibleAnsibleRepository.md) | | |
|
177
228
|
|
178
229
|
### Return type
|
179
230
|
|
@@ -191,16 +242,16 @@ Name | Type | Description | Notes
|
|
191
242
|
|
192
243
|
## delete
|
193
244
|
|
194
|
-
> AsyncOperationResponse delete(ansible_ansible_repository_href)
|
245
|
+
> <AsyncOperationResponse> delete(ansible_ansible_repository_href)
|
195
246
|
|
196
247
|
Delete an ansible repository
|
197
248
|
|
198
249
|
Trigger an asynchronous delete task
|
199
250
|
|
200
|
-
###
|
251
|
+
### Examples
|
201
252
|
|
202
253
|
```ruby
|
203
|
-
|
254
|
+
require 'time'
|
204
255
|
require 'pulp_ansible_client'
|
205
256
|
# setup authorization
|
206
257
|
PulpAnsibleClient.configure do |config|
|
@@ -213,20 +264,37 @@ api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
|
213
264
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
214
265
|
|
215
266
|
begin
|
216
|
-
#Delete an ansible repository
|
267
|
+
# Delete an ansible repository
|
217
268
|
result = api_instance.delete(ansible_ansible_repository_href)
|
218
269
|
p result
|
219
270
|
rescue PulpAnsibleClient::ApiError => e
|
220
|
-
puts "
|
271
|
+
puts "Error when calling RepositoriesAnsibleApi->delete: #{e}"
|
221
272
|
end
|
222
273
|
```
|
223
274
|
|
224
|
-
|
275
|
+
#### Using the delete_with_http_info variant
|
225
276
|
|
277
|
+
This returns an Array which contains the response data, status code and headers.
|
226
278
|
|
227
|
-
|
228
|
-
|
229
|
-
|
279
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(ansible_ansible_repository_href)
|
280
|
+
|
281
|
+
```ruby
|
282
|
+
begin
|
283
|
+
# Delete an ansible repository
|
284
|
+
data, status_code, headers = api_instance.delete_with_http_info(ansible_ansible_repository_href)
|
285
|
+
p status_code # => 2xx
|
286
|
+
p headers # => { ... }
|
287
|
+
p data # => <AsyncOperationResponse>
|
288
|
+
rescue PulpAnsibleClient::ApiError => e
|
289
|
+
puts "Error when calling RepositoriesAnsibleApi->delete_with_http_info: #{e}"
|
290
|
+
end
|
291
|
+
```
|
292
|
+
|
293
|
+
### Parameters
|
294
|
+
|
295
|
+
| Name | Type | Description | Notes |
|
296
|
+
| ---- | ---- | ----------- | ----- |
|
297
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
230
298
|
|
231
299
|
### Return type
|
232
300
|
|
@@ -244,16 +312,16 @@ Name | Type | Description | Notes
|
|
244
312
|
|
245
313
|
## list
|
246
314
|
|
247
|
-
> PaginatedansibleAnsibleRepositoryResponseList list(opts)
|
315
|
+
> <PaginatedansibleAnsibleRepositoryResponseList> list(opts)
|
248
316
|
|
249
317
|
List ansible repositorys
|
250
318
|
|
251
319
|
ViewSet for Ansible Repositories.
|
252
320
|
|
253
|
-
###
|
321
|
+
### Examples
|
254
322
|
|
255
323
|
```ruby
|
256
|
-
|
324
|
+
require 'time'
|
257
325
|
require 'pulp_ansible_client'
|
258
326
|
# setup authorization
|
259
327
|
PulpAnsibleClient.configure do |config|
|
@@ -270,19 +338,19 @@ opts = {
|
|
270
338
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
271
339
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
272
340
|
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
273
|
-
name__in: ['
|
341
|
+
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
274
342
|
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
275
343
|
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
276
344
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
277
345
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
278
346
|
offset: 56, # Integer | The initial index from which to return the results.
|
279
|
-
ordering: ['
|
280
|
-
prn__in: ['
|
281
|
-
pulp_href__in: ['
|
282
|
-
pulp_id__in: ['
|
347
|
+
ordering: ['-description'], # Array<String> | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
348
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
349
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
350
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
283
351
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
284
352
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
285
|
-
remote: '
|
353
|
+
remote: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Foreign Key referenced by HREF
|
286
354
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
287
355
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
288
356
|
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
@@ -290,56 +358,73 @@ opts = {
|
|
290
358
|
retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
|
291
359
|
retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
|
292
360
|
retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
|
293
|
-
retain_repo_versions__range: [
|
361
|
+
retain_repo_versions__range: [37], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
|
294
362
|
with_content: 'with_content_example', # String | Content Unit referenced by HREF/PRN
|
295
|
-
fields: ['
|
296
|
-
exclude_fields: ['
|
363
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
364
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
297
365
|
}
|
298
366
|
|
299
367
|
begin
|
300
|
-
#List ansible repositorys
|
368
|
+
# List ansible repositorys
|
301
369
|
result = api_instance.list(opts)
|
302
370
|
p result
|
303
371
|
rescue PulpAnsibleClient::ApiError => e
|
304
|
-
puts "
|
372
|
+
puts "Error when calling RepositoriesAnsibleApi->list: #{e}"
|
305
373
|
end
|
306
374
|
```
|
307
375
|
|
308
|
-
|
376
|
+
#### Using the list_with_http_info variant
|
377
|
+
|
378
|
+
This returns an Array which contains the response data, status code and headers.
|
379
|
+
|
380
|
+
> <Array(<PaginatedansibleAnsibleRepositoryResponseList>, Integer, Hash)> list_with_http_info(opts)
|
381
|
+
|
382
|
+
```ruby
|
383
|
+
begin
|
384
|
+
# List ansible repositorys
|
385
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
386
|
+
p status_code # => 2xx
|
387
|
+
p headers # => { ... }
|
388
|
+
p data # => <PaginatedansibleAnsibleRepositoryResponseList>
|
389
|
+
rescue PulpAnsibleClient::ApiError => e
|
390
|
+
puts "Error when calling RepositoriesAnsibleApi->list_with_http_info: #{e}"
|
391
|
+
end
|
392
|
+
```
|
309
393
|
|
394
|
+
### Parameters
|
310
395
|
|
311
|
-
Name | Type | Description
|
312
|
-
|
313
|
-
**latest_with_content** | **String
|
314
|
-
**limit** | **Integer
|
315
|
-
**name** | **String
|
316
|
-
**name__contains** | **String
|
317
|
-
**name__icontains** | **String
|
318
|
-
**name__iexact** | **String
|
319
|
-
**name__in** | [**Array<String>**](String.md)| Filter results where name is in a comma-separated list of values | [optional]
|
320
|
-
**name__iregex** | **String
|
321
|
-
**name__istartswith** | **String
|
322
|
-
**name__regex** | **String
|
323
|
-
**name__startswith** | **String
|
324
|
-
**offset** | **Integer
|
325
|
-
**ordering** | [**Array<String>**](String.md)| Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional]
|
326
|
-
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
327
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
328
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
329
|
-
**pulp_label_select** | **String
|
330
|
-
**q** | **String
|
331
|
-
**remote** |
|
332
|
-
**retain_repo_versions** | **Integer
|
333
|
-
**retain_repo_versions__gt** | **Integer
|
334
|
-
**retain_repo_versions__gte** | **Integer
|
335
|
-
**retain_repo_versions__isnull** | **Boolean
|
336
|
-
**retain_repo_versions__lt** | **Integer
|
337
|
-
**retain_repo_versions__lte** | **Integer
|
338
|
-
**retain_repo_versions__ne** | **Integer
|
339
|
-
**retain_repo_versions__range** | [**Array<Integer>**](Integer.md)| Filter results where retain_repo_versions is between two comma separated values | [optional]
|
340
|
-
**with_content** | **String
|
341
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
342
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
396
|
+
| Name | Type | Description | Notes |
|
397
|
+
| ---- | ---- | ----------- | ----- |
|
398
|
+
| **latest_with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
399
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
400
|
+
| **name** | **String** | Filter results where name matches value | [optional] |
|
401
|
+
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
402
|
+
| **name__icontains** | **String** | Filter results where name contains value | [optional] |
|
403
|
+
| **name__iexact** | **String** | Filter results where name matches value | [optional] |
|
404
|
+
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
405
|
+
| **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
|
406
|
+
| **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
|
407
|
+
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
408
|
+
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
409
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
410
|
+
| **ordering** | [**Array<String>**](String.md) | Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
411
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
412
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
413
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
414
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
415
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
416
|
+
| **remote** | **String** | Foreign Key referenced by HREF | [optional] |
|
417
|
+
| **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
|
418
|
+
| **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
|
419
|
+
| **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
|
420
|
+
| **retain_repo_versions__isnull** | **Boolean** | Filter results where retain_repo_versions has a null value | [optional] |
|
421
|
+
| **retain_repo_versions__lt** | **Integer** | Filter results where retain_repo_versions is less than value | [optional] |
|
422
|
+
| **retain_repo_versions__lte** | **Integer** | Filter results where retain_repo_versions is less than or equal to value | [optional] |
|
423
|
+
| **retain_repo_versions__ne** | **Integer** | Filter results where retain_repo_versions not equal to value | [optional] |
|
424
|
+
| **retain_repo_versions__range** | [**Array<Integer>**](Integer.md) | Filter results where retain_repo_versions is between two comma separated values | [optional] |
|
425
|
+
| **with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
426
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
427
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
343
428
|
|
344
429
|
### Return type
|
345
430
|
|
@@ -357,16 +442,16 @@ Name | Type | Description | Notes
|
|
357
442
|
|
358
443
|
## list_roles
|
359
444
|
|
360
|
-
> ObjectRolesResponse list_roles(ansible_ansible_repository_href, opts)
|
445
|
+
> <ObjectRolesResponse> list_roles(ansible_ansible_repository_href, opts)
|
361
446
|
|
362
447
|
List roles
|
363
448
|
|
364
449
|
List roles assigned to this object.
|
365
450
|
|
366
|
-
###
|
451
|
+
### Examples
|
367
452
|
|
368
453
|
```ruby
|
369
|
-
|
454
|
+
require 'time'
|
370
455
|
require 'pulp_ansible_client'
|
371
456
|
# setup authorization
|
372
457
|
PulpAnsibleClient.configure do |config|
|
@@ -378,27 +463,44 @@ end
|
|
378
463
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
379
464
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
380
465
|
opts = {
|
381
|
-
fields: ['
|
382
|
-
exclude_fields: ['
|
466
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
467
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
383
468
|
}
|
384
469
|
|
385
470
|
begin
|
386
|
-
#List roles
|
471
|
+
# List roles
|
387
472
|
result = api_instance.list_roles(ansible_ansible_repository_href, opts)
|
388
473
|
p result
|
389
474
|
rescue PulpAnsibleClient::ApiError => e
|
390
|
-
puts "
|
475
|
+
puts "Error when calling RepositoriesAnsibleApi->list_roles: #{e}"
|
391
476
|
end
|
392
477
|
```
|
393
478
|
|
394
|
-
|
479
|
+
#### Using the list_roles_with_http_info variant
|
480
|
+
|
481
|
+
This returns an Array which contains the response data, status code and headers.
|
395
482
|
|
483
|
+
> <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(ansible_ansible_repository_href, opts)
|
396
484
|
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
485
|
+
```ruby
|
486
|
+
begin
|
487
|
+
# List roles
|
488
|
+
data, status_code, headers = api_instance.list_roles_with_http_info(ansible_ansible_repository_href, opts)
|
489
|
+
p status_code # => 2xx
|
490
|
+
p headers # => { ... }
|
491
|
+
p data # => <ObjectRolesResponse>
|
492
|
+
rescue PulpAnsibleClient::ApiError => e
|
493
|
+
puts "Error when calling RepositoriesAnsibleApi->list_roles_with_http_info: #{e}"
|
494
|
+
end
|
495
|
+
```
|
496
|
+
|
497
|
+
### Parameters
|
498
|
+
|
499
|
+
| Name | Type | Description | Notes |
|
500
|
+
| ---- | ---- | ----------- | ----- |
|
501
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
502
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
503
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
402
504
|
|
403
505
|
### Return type
|
404
506
|
|
@@ -416,16 +518,16 @@ Name | Type | Description | Notes
|
|
416
518
|
|
417
519
|
## mark
|
418
520
|
|
419
|
-
> AsyncOperationResponse mark(ansible_ansible_repository_href, ansible_repository_mark)
|
521
|
+
> <AsyncOperationResponse> mark(ansible_ansible_repository_href, ansible_repository_mark)
|
420
522
|
|
421
523
|
|
422
524
|
|
423
525
|
Trigger an asynchronous task to mark Ansible content.
|
424
526
|
|
425
|
-
###
|
527
|
+
### Examples
|
426
528
|
|
427
529
|
```ruby
|
428
|
-
|
530
|
+
require 'time'
|
429
531
|
require 'pulp_ansible_client'
|
430
532
|
# setup authorization
|
431
533
|
PulpAnsibleClient.configure do |config|
|
@@ -436,23 +538,41 @@ end
|
|
436
538
|
|
437
539
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
438
540
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
439
|
-
ansible_repository_mark = PulpAnsibleClient::AnsibleRepositoryMark.new # AnsibleRepositoryMark |
|
541
|
+
ansible_repository_mark = PulpAnsibleClient::AnsibleRepositoryMark.new({content_units: [3.56], value: 'value_example'}) # AnsibleRepositoryMark |
|
440
542
|
|
441
543
|
begin
|
544
|
+
|
442
545
|
result = api_instance.mark(ansible_ansible_repository_href, ansible_repository_mark)
|
443
546
|
p result
|
444
547
|
rescue PulpAnsibleClient::ApiError => e
|
445
|
-
puts "
|
548
|
+
puts "Error when calling RepositoriesAnsibleApi->mark: #{e}"
|
446
549
|
end
|
447
550
|
```
|
448
551
|
|
449
|
-
|
552
|
+
#### Using the mark_with_http_info variant
|
450
553
|
|
554
|
+
This returns an Array which contains the response data, status code and headers.
|
451
555
|
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
556
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> mark_with_http_info(ansible_ansible_repository_href, ansible_repository_mark)
|
557
|
+
|
558
|
+
```ruby
|
559
|
+
begin
|
560
|
+
|
561
|
+
data, status_code, headers = api_instance.mark_with_http_info(ansible_ansible_repository_href, ansible_repository_mark)
|
562
|
+
p status_code # => 2xx
|
563
|
+
p headers # => { ... }
|
564
|
+
p data # => <AsyncOperationResponse>
|
565
|
+
rescue PulpAnsibleClient::ApiError => e
|
566
|
+
puts "Error when calling RepositoriesAnsibleApi->mark_with_http_info: #{e}"
|
567
|
+
end
|
568
|
+
```
|
569
|
+
|
570
|
+
### Parameters
|
571
|
+
|
572
|
+
| Name | Type | Description | Notes |
|
573
|
+
| ---- | ---- | ----------- | ----- |
|
574
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
575
|
+
| **ansible_repository_mark** | [**AnsibleRepositoryMark**](AnsibleRepositoryMark.md) | | |
|
456
576
|
|
457
577
|
### Return type
|
458
578
|
|
@@ -470,16 +590,16 @@ Name | Type | Description | Notes
|
|
470
590
|
|
471
591
|
## modify
|
472
592
|
|
473
|
-
> AsyncOperationResponse modify(ansible_ansible_repository_href, repository_add_remove_content)
|
593
|
+
> <AsyncOperationResponse> modify(ansible_ansible_repository_href, repository_add_remove_content)
|
474
594
|
|
475
595
|
Modify Repository Content
|
476
596
|
|
477
597
|
Trigger an asynchronous task to create a new repository version.
|
478
598
|
|
479
|
-
###
|
599
|
+
### Examples
|
480
600
|
|
481
601
|
```ruby
|
482
|
-
|
602
|
+
require 'time'
|
483
603
|
require 'pulp_ansible_client'
|
484
604
|
# setup authorization
|
485
605
|
PulpAnsibleClient.configure do |config|
|
@@ -493,21 +613,38 @@ ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # St
|
|
493
613
|
repository_add_remove_content = PulpAnsibleClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
|
494
614
|
|
495
615
|
begin
|
496
|
-
#Modify Repository Content
|
616
|
+
# Modify Repository Content
|
497
617
|
result = api_instance.modify(ansible_ansible_repository_href, repository_add_remove_content)
|
498
618
|
p result
|
499
619
|
rescue PulpAnsibleClient::ApiError => e
|
500
|
-
puts "
|
620
|
+
puts "Error when calling RepositoriesAnsibleApi->modify: #{e}"
|
501
621
|
end
|
502
622
|
```
|
503
623
|
|
504
|
-
|
624
|
+
#### Using the modify_with_http_info variant
|
625
|
+
|
626
|
+
This returns an Array which contains the response data, status code and headers.
|
627
|
+
|
628
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> modify_with_http_info(ansible_ansible_repository_href, repository_add_remove_content)
|
629
|
+
|
630
|
+
```ruby
|
631
|
+
begin
|
632
|
+
# Modify Repository Content
|
633
|
+
data, status_code, headers = api_instance.modify_with_http_info(ansible_ansible_repository_href, repository_add_remove_content)
|
634
|
+
p status_code # => 2xx
|
635
|
+
p headers # => { ... }
|
636
|
+
p data # => <AsyncOperationResponse>
|
637
|
+
rescue PulpAnsibleClient::ApiError => e
|
638
|
+
puts "Error when calling RepositoriesAnsibleApi->modify_with_http_info: #{e}"
|
639
|
+
end
|
640
|
+
```
|
505
641
|
|
642
|
+
### Parameters
|
506
643
|
|
507
|
-
Name | Type | Description
|
508
|
-
|
509
|
-
**ansible_ansible_repository_href** | **String
|
510
|
-
**repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)| |
|
644
|
+
| Name | Type | Description | Notes |
|
645
|
+
| ---- | ---- | ----------- | ----- |
|
646
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
647
|
+
| **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md) | | |
|
511
648
|
|
512
649
|
### Return type
|
513
650
|
|
@@ -525,16 +662,16 @@ Name | Type | Description | Notes
|
|
525
662
|
|
526
663
|
## move_collection_version
|
527
664
|
|
528
|
-
> AsyncOperationResponse move_collection_version(ansible_ansible_repository_href, collection_version_copy_move)
|
665
|
+
> <AsyncOperationResponse> move_collection_version(ansible_ansible_repository_href, collection_version_copy_move)
|
529
666
|
|
530
667
|
|
531
668
|
|
532
669
|
Trigger an asynchronous task to move collection versions.
|
533
670
|
|
534
|
-
###
|
671
|
+
### Examples
|
535
672
|
|
536
673
|
```ruby
|
537
|
-
|
674
|
+
require 'time'
|
538
675
|
require 'pulp_ansible_client'
|
539
676
|
# setup authorization
|
540
677
|
PulpAnsibleClient.configure do |config|
|
@@ -545,23 +682,41 @@ end
|
|
545
682
|
|
546
683
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
547
684
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
548
|
-
collection_version_copy_move = PulpAnsibleClient::CollectionVersionCopyMove.new # CollectionVersionCopyMove |
|
685
|
+
collection_version_copy_move = PulpAnsibleClient::CollectionVersionCopyMove.new({collection_versions: ['collection_versions_example'], destination_repositories: ['destination_repositories_example']}) # CollectionVersionCopyMove |
|
549
686
|
|
550
687
|
begin
|
688
|
+
|
551
689
|
result = api_instance.move_collection_version(ansible_ansible_repository_href, collection_version_copy_move)
|
552
690
|
p result
|
553
691
|
rescue PulpAnsibleClient::ApiError => e
|
554
|
-
puts "
|
692
|
+
puts "Error when calling RepositoriesAnsibleApi->move_collection_version: #{e}"
|
555
693
|
end
|
556
694
|
```
|
557
695
|
|
558
|
-
|
696
|
+
#### Using the move_collection_version_with_http_info variant
|
559
697
|
|
698
|
+
This returns an Array which contains the response data, status code and headers.
|
560
699
|
|
561
|
-
|
562
|
-
|
563
|
-
|
564
|
-
|
700
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> move_collection_version_with_http_info(ansible_ansible_repository_href, collection_version_copy_move)
|
701
|
+
|
702
|
+
```ruby
|
703
|
+
begin
|
704
|
+
|
705
|
+
data, status_code, headers = api_instance.move_collection_version_with_http_info(ansible_ansible_repository_href, collection_version_copy_move)
|
706
|
+
p status_code # => 2xx
|
707
|
+
p headers # => { ... }
|
708
|
+
p data # => <AsyncOperationResponse>
|
709
|
+
rescue PulpAnsibleClient::ApiError => e
|
710
|
+
puts "Error when calling RepositoriesAnsibleApi->move_collection_version_with_http_info: #{e}"
|
711
|
+
end
|
712
|
+
```
|
713
|
+
|
714
|
+
### Parameters
|
715
|
+
|
716
|
+
| Name | Type | Description | Notes |
|
717
|
+
| ---- | ---- | ----------- | ----- |
|
718
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
719
|
+
| **collection_version_copy_move** | [**CollectionVersionCopyMove**](CollectionVersionCopyMove.md) | | |
|
565
720
|
|
566
721
|
### Return type
|
567
722
|
|
@@ -579,16 +734,16 @@ Name | Type | Description | Notes
|
|
579
734
|
|
580
735
|
## my_permissions
|
581
736
|
|
582
|
-
> MyPermissionsResponse my_permissions(ansible_ansible_repository_href, opts)
|
737
|
+
> <MyPermissionsResponse> my_permissions(ansible_ansible_repository_href, opts)
|
583
738
|
|
584
739
|
List user permissions
|
585
740
|
|
586
741
|
List permissions available to the current user on this object.
|
587
742
|
|
588
|
-
###
|
743
|
+
### Examples
|
589
744
|
|
590
745
|
```ruby
|
591
|
-
|
746
|
+
require 'time'
|
592
747
|
require 'pulp_ansible_client'
|
593
748
|
# setup authorization
|
594
749
|
PulpAnsibleClient.configure do |config|
|
@@ -600,27 +755,44 @@ end
|
|
600
755
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
601
756
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
602
757
|
opts = {
|
603
|
-
fields: ['
|
604
|
-
exclude_fields: ['
|
758
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
759
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
605
760
|
}
|
606
761
|
|
607
762
|
begin
|
608
|
-
#List user permissions
|
763
|
+
# List user permissions
|
609
764
|
result = api_instance.my_permissions(ansible_ansible_repository_href, opts)
|
610
765
|
p result
|
611
766
|
rescue PulpAnsibleClient::ApiError => e
|
612
|
-
puts "
|
767
|
+
puts "Error when calling RepositoriesAnsibleApi->my_permissions: #{e}"
|
613
768
|
end
|
614
769
|
```
|
615
770
|
|
616
|
-
|
771
|
+
#### Using the my_permissions_with_http_info variant
|
772
|
+
|
773
|
+
This returns an Array which contains the response data, status code and headers.
|
774
|
+
|
775
|
+
> <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(ansible_ansible_repository_href, opts)
|
776
|
+
|
777
|
+
```ruby
|
778
|
+
begin
|
779
|
+
# List user permissions
|
780
|
+
data, status_code, headers = api_instance.my_permissions_with_http_info(ansible_ansible_repository_href, opts)
|
781
|
+
p status_code # => 2xx
|
782
|
+
p headers # => { ... }
|
783
|
+
p data # => <MyPermissionsResponse>
|
784
|
+
rescue PulpAnsibleClient::ApiError => e
|
785
|
+
puts "Error when calling RepositoriesAnsibleApi->my_permissions_with_http_info: #{e}"
|
786
|
+
end
|
787
|
+
```
|
617
788
|
|
789
|
+
### Parameters
|
618
790
|
|
619
|
-
Name | Type | Description
|
620
|
-
|
621
|
-
**ansible_ansible_repository_href** | **String
|
622
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
623
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
791
|
+
| Name | Type | Description | Notes |
|
792
|
+
| ---- | ---- | ----------- | ----- |
|
793
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
794
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
795
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
624
796
|
|
625
797
|
### Return type
|
626
798
|
|
@@ -638,16 +810,16 @@ Name | Type | Description | Notes
|
|
638
810
|
|
639
811
|
## partial_update
|
640
812
|
|
641
|
-
> AsyncOperationResponse partial_update(ansible_ansible_repository_href, patchedansible_ansible_repository)
|
813
|
+
> <AsyncOperationResponse> partial_update(ansible_ansible_repository_href, patchedansible_ansible_repository)
|
642
814
|
|
643
815
|
Update an ansible repository
|
644
816
|
|
645
817
|
Trigger an asynchronous partial update task
|
646
818
|
|
647
|
-
###
|
819
|
+
### Examples
|
648
820
|
|
649
821
|
```ruby
|
650
|
-
|
822
|
+
require 'time'
|
651
823
|
require 'pulp_ansible_client'
|
652
824
|
# setup authorization
|
653
825
|
PulpAnsibleClient.configure do |config|
|
@@ -661,21 +833,38 @@ ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # St
|
|
661
833
|
patchedansible_ansible_repository = PulpAnsibleClient::PatchedansibleAnsibleRepository.new # PatchedansibleAnsibleRepository |
|
662
834
|
|
663
835
|
begin
|
664
|
-
#Update an ansible repository
|
836
|
+
# Update an ansible repository
|
665
837
|
result = api_instance.partial_update(ansible_ansible_repository_href, patchedansible_ansible_repository)
|
666
838
|
p result
|
667
839
|
rescue PulpAnsibleClient::ApiError => e
|
668
|
-
puts "
|
840
|
+
puts "Error when calling RepositoriesAnsibleApi->partial_update: #{e}"
|
669
841
|
end
|
670
842
|
```
|
671
843
|
|
672
|
-
|
844
|
+
#### Using the partial_update_with_http_info variant
|
845
|
+
|
846
|
+
This returns an Array which contains the response data, status code and headers.
|
673
847
|
|
848
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(ansible_ansible_repository_href, patchedansible_ansible_repository)
|
674
849
|
|
675
|
-
|
676
|
-
|
677
|
-
|
678
|
-
|
850
|
+
```ruby
|
851
|
+
begin
|
852
|
+
# Update an ansible repository
|
853
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(ansible_ansible_repository_href, patchedansible_ansible_repository)
|
854
|
+
p status_code # => 2xx
|
855
|
+
p headers # => { ... }
|
856
|
+
p data # => <AsyncOperationResponse>
|
857
|
+
rescue PulpAnsibleClient::ApiError => e
|
858
|
+
puts "Error when calling RepositoriesAnsibleApi->partial_update_with_http_info: #{e}"
|
859
|
+
end
|
860
|
+
```
|
861
|
+
|
862
|
+
### Parameters
|
863
|
+
|
864
|
+
| Name | Type | Description | Notes |
|
865
|
+
| ---- | ---- | ----------- | ----- |
|
866
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
867
|
+
| **patchedansible_ansible_repository** | [**PatchedansibleAnsibleRepository**](PatchedansibleAnsibleRepository.md) | | |
|
679
868
|
|
680
869
|
### Return type
|
681
870
|
|
@@ -693,16 +882,16 @@ Name | Type | Description | Notes
|
|
693
882
|
|
694
883
|
## read
|
695
884
|
|
696
|
-
> AnsibleAnsibleRepositoryResponse read(ansible_ansible_repository_href, opts)
|
885
|
+
> <AnsibleAnsibleRepositoryResponse> read(ansible_ansible_repository_href, opts)
|
697
886
|
|
698
887
|
Inspect an ansible repository
|
699
888
|
|
700
889
|
ViewSet for Ansible Repositories.
|
701
890
|
|
702
|
-
###
|
891
|
+
### Examples
|
703
892
|
|
704
893
|
```ruby
|
705
|
-
|
894
|
+
require 'time'
|
706
895
|
require 'pulp_ansible_client'
|
707
896
|
# setup authorization
|
708
897
|
PulpAnsibleClient.configure do |config|
|
@@ -714,27 +903,44 @@ end
|
|
714
903
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
715
904
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
716
905
|
opts = {
|
717
|
-
fields: ['
|
718
|
-
exclude_fields: ['
|
906
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
907
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
719
908
|
}
|
720
909
|
|
721
910
|
begin
|
722
|
-
#Inspect an ansible repository
|
911
|
+
# Inspect an ansible repository
|
723
912
|
result = api_instance.read(ansible_ansible_repository_href, opts)
|
724
913
|
p result
|
725
914
|
rescue PulpAnsibleClient::ApiError => e
|
726
|
-
puts "
|
915
|
+
puts "Error when calling RepositoriesAnsibleApi->read: #{e}"
|
727
916
|
end
|
728
917
|
```
|
729
918
|
|
730
|
-
|
919
|
+
#### Using the read_with_http_info variant
|
731
920
|
|
921
|
+
This returns an Array which contains the response data, status code and headers.
|
732
922
|
|
733
|
-
|
734
|
-
|
735
|
-
|
736
|
-
|
737
|
-
|
923
|
+
> <Array(<AnsibleAnsibleRepositoryResponse>, Integer, Hash)> read_with_http_info(ansible_ansible_repository_href, opts)
|
924
|
+
|
925
|
+
```ruby
|
926
|
+
begin
|
927
|
+
# Inspect an ansible repository
|
928
|
+
data, status_code, headers = api_instance.read_with_http_info(ansible_ansible_repository_href, opts)
|
929
|
+
p status_code # => 2xx
|
930
|
+
p headers # => { ... }
|
931
|
+
p data # => <AnsibleAnsibleRepositoryResponse>
|
932
|
+
rescue PulpAnsibleClient::ApiError => e
|
933
|
+
puts "Error when calling RepositoriesAnsibleApi->read_with_http_info: #{e}"
|
934
|
+
end
|
935
|
+
```
|
936
|
+
|
937
|
+
### Parameters
|
938
|
+
|
939
|
+
| Name | Type | Description | Notes |
|
940
|
+
| ---- | ---- | ----------- | ----- |
|
941
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
942
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
943
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
738
944
|
|
739
945
|
### Return type
|
740
946
|
|
@@ -752,16 +958,16 @@ Name | Type | Description | Notes
|
|
752
958
|
|
753
959
|
## rebuild_metadata
|
754
960
|
|
755
|
-
> AsyncOperationResponse rebuild_metadata(ansible_ansible_repository_href, ansible_repository_rebuild)
|
961
|
+
> <AsyncOperationResponse> rebuild_metadata(ansible_ansible_repository_href, ansible_repository_rebuild)
|
756
962
|
|
757
963
|
|
758
964
|
|
759
965
|
Trigger an asynchronous task to rebuild Ansible content meta.
|
760
966
|
|
761
|
-
###
|
967
|
+
### Examples
|
762
968
|
|
763
969
|
```ruby
|
764
|
-
|
970
|
+
require 'time'
|
765
971
|
require 'pulp_ansible_client'
|
766
972
|
# setup authorization
|
767
973
|
PulpAnsibleClient.configure do |config|
|
@@ -775,20 +981,38 @@ ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # St
|
|
775
981
|
ansible_repository_rebuild = PulpAnsibleClient::AnsibleRepositoryRebuild.new # AnsibleRepositoryRebuild |
|
776
982
|
|
777
983
|
begin
|
984
|
+
|
778
985
|
result = api_instance.rebuild_metadata(ansible_ansible_repository_href, ansible_repository_rebuild)
|
779
986
|
p result
|
780
987
|
rescue PulpAnsibleClient::ApiError => e
|
781
|
-
puts "
|
988
|
+
puts "Error when calling RepositoriesAnsibleApi->rebuild_metadata: #{e}"
|
782
989
|
end
|
783
990
|
```
|
784
991
|
|
785
|
-
|
992
|
+
#### Using the rebuild_metadata_with_http_info variant
|
993
|
+
|
994
|
+
This returns an Array which contains the response data, status code and headers.
|
995
|
+
|
996
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> rebuild_metadata_with_http_info(ansible_ansible_repository_href, ansible_repository_rebuild)
|
997
|
+
|
998
|
+
```ruby
|
999
|
+
begin
|
1000
|
+
|
1001
|
+
data, status_code, headers = api_instance.rebuild_metadata_with_http_info(ansible_ansible_repository_href, ansible_repository_rebuild)
|
1002
|
+
p status_code # => 2xx
|
1003
|
+
p headers # => { ... }
|
1004
|
+
p data # => <AsyncOperationResponse>
|
1005
|
+
rescue PulpAnsibleClient::ApiError => e
|
1006
|
+
puts "Error when calling RepositoriesAnsibleApi->rebuild_metadata_with_http_info: #{e}"
|
1007
|
+
end
|
1008
|
+
```
|
786
1009
|
|
1010
|
+
### Parameters
|
787
1011
|
|
788
|
-
Name | Type | Description
|
789
|
-
|
790
|
-
**ansible_ansible_repository_href** | **String
|
791
|
-
**ansible_repository_rebuild** | [**AnsibleRepositoryRebuild**](AnsibleRepositoryRebuild.md)| |
|
1012
|
+
| Name | Type | Description | Notes |
|
1013
|
+
| ---- | ---- | ----------- | ----- |
|
1014
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
1015
|
+
| **ansible_repository_rebuild** | [**AnsibleRepositoryRebuild**](AnsibleRepositoryRebuild.md) | | |
|
792
1016
|
|
793
1017
|
### Return type
|
794
1018
|
|
@@ -806,16 +1030,16 @@ Name | Type | Description | Notes
|
|
806
1030
|
|
807
1031
|
## remove_role
|
808
1032
|
|
809
|
-
> NestedRoleResponse remove_role(ansible_ansible_repository_href, nested_role)
|
1033
|
+
> <NestedRoleResponse> remove_role(ansible_ansible_repository_href, nested_role)
|
810
1034
|
|
811
1035
|
Remove a role
|
812
1036
|
|
813
1037
|
Remove a role for this object from users/groups.
|
814
1038
|
|
815
|
-
###
|
1039
|
+
### Examples
|
816
1040
|
|
817
1041
|
```ruby
|
818
|
-
|
1042
|
+
require 'time'
|
819
1043
|
require 'pulp_ansible_client'
|
820
1044
|
# setup authorization
|
821
1045
|
PulpAnsibleClient.configure do |config|
|
@@ -826,24 +1050,41 @@ end
|
|
826
1050
|
|
827
1051
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
828
1052
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
829
|
-
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
1053
|
+
nested_role = PulpAnsibleClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
830
1054
|
|
831
1055
|
begin
|
832
|
-
#Remove a role
|
1056
|
+
# Remove a role
|
833
1057
|
result = api_instance.remove_role(ansible_ansible_repository_href, nested_role)
|
834
1058
|
p result
|
835
1059
|
rescue PulpAnsibleClient::ApiError => e
|
836
|
-
puts "
|
1060
|
+
puts "Error when calling RepositoriesAnsibleApi->remove_role: #{e}"
|
837
1061
|
end
|
838
1062
|
```
|
839
1063
|
|
840
|
-
|
1064
|
+
#### Using the remove_role_with_http_info variant
|
841
1065
|
|
1066
|
+
This returns an Array which contains the response data, status code and headers.
|
842
1067
|
|
843
|
-
|
844
|
-
|
845
|
-
|
846
|
-
|
1068
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(ansible_ansible_repository_href, nested_role)
|
1069
|
+
|
1070
|
+
```ruby
|
1071
|
+
begin
|
1072
|
+
# Remove a role
|
1073
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(ansible_ansible_repository_href, nested_role)
|
1074
|
+
p status_code # => 2xx
|
1075
|
+
p headers # => { ... }
|
1076
|
+
p data # => <NestedRoleResponse>
|
1077
|
+
rescue PulpAnsibleClient::ApiError => e
|
1078
|
+
puts "Error when calling RepositoriesAnsibleApi->remove_role_with_http_info: #{e}"
|
1079
|
+
end
|
1080
|
+
```
|
1081
|
+
|
1082
|
+
### Parameters
|
1083
|
+
|
1084
|
+
| Name | Type | Description | Notes |
|
1085
|
+
| ---- | ---- | ----------- | ----- |
|
1086
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
1087
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
847
1088
|
|
848
1089
|
### Return type
|
849
1090
|
|
@@ -861,16 +1102,16 @@ Name | Type | Description | Notes
|
|
861
1102
|
|
862
1103
|
## set_label
|
863
1104
|
|
864
|
-
> SetLabelResponse set_label(ansible_ansible_repository_href, set_label)
|
1105
|
+
> <SetLabelResponse> set_label(ansible_ansible_repository_href, set_label)
|
865
1106
|
|
866
1107
|
Set a label
|
867
1108
|
|
868
1109
|
Set a single pulp_label on the object to a specific value or null.
|
869
1110
|
|
870
|
-
###
|
1111
|
+
### Examples
|
871
1112
|
|
872
1113
|
```ruby
|
873
|
-
|
1114
|
+
require 'time'
|
874
1115
|
require 'pulp_ansible_client'
|
875
1116
|
# setup authorization
|
876
1117
|
PulpAnsibleClient.configure do |config|
|
@@ -881,24 +1122,41 @@ end
|
|
881
1122
|
|
882
1123
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
883
1124
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
884
|
-
set_label = PulpAnsibleClient::SetLabel.new # SetLabel |
|
1125
|
+
set_label = PulpAnsibleClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
885
1126
|
|
886
1127
|
begin
|
887
|
-
#Set a label
|
1128
|
+
# Set a label
|
888
1129
|
result = api_instance.set_label(ansible_ansible_repository_href, set_label)
|
889
1130
|
p result
|
890
1131
|
rescue PulpAnsibleClient::ApiError => e
|
891
|
-
puts "
|
1132
|
+
puts "Error when calling RepositoriesAnsibleApi->set_label: #{e}"
|
892
1133
|
end
|
893
1134
|
```
|
894
1135
|
|
895
|
-
|
1136
|
+
#### Using the set_label_with_http_info variant
|
1137
|
+
|
1138
|
+
This returns an Array which contains the response data, status code and headers.
|
1139
|
+
|
1140
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_ansible_repository_href, set_label)
|
1141
|
+
|
1142
|
+
```ruby
|
1143
|
+
begin
|
1144
|
+
# Set a label
|
1145
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ansible_ansible_repository_href, set_label)
|
1146
|
+
p status_code # => 2xx
|
1147
|
+
p headers # => { ... }
|
1148
|
+
p data # => <SetLabelResponse>
|
1149
|
+
rescue PulpAnsibleClient::ApiError => e
|
1150
|
+
puts "Error when calling RepositoriesAnsibleApi->set_label_with_http_info: #{e}"
|
1151
|
+
end
|
1152
|
+
```
|
896
1153
|
|
1154
|
+
### Parameters
|
897
1155
|
|
898
|
-
Name | Type | Description
|
899
|
-
|
900
|
-
**ansible_ansible_repository_href** | **String
|
901
|
-
**set_label** | [**SetLabel**](SetLabel.md)| |
|
1156
|
+
| Name | Type | Description | Notes |
|
1157
|
+
| ---- | ---- | ----------- | ----- |
|
1158
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
1159
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
902
1160
|
|
903
1161
|
### Return type
|
904
1162
|
|
@@ -916,16 +1174,16 @@ Name | Type | Description | Notes
|
|
916
1174
|
|
917
1175
|
## sign
|
918
1176
|
|
919
|
-
> AsyncOperationResponse sign(ansible_ansible_repository_href, ansible_repository_signature)
|
1177
|
+
> <AsyncOperationResponse> sign(ansible_ansible_repository_href, ansible_repository_signature)
|
920
1178
|
|
921
1179
|
|
922
1180
|
|
923
1181
|
Trigger an asynchronous task to sign Ansible content.
|
924
1182
|
|
925
|
-
###
|
1183
|
+
### Examples
|
926
1184
|
|
927
1185
|
```ruby
|
928
|
-
|
1186
|
+
require 'time'
|
929
1187
|
require 'pulp_ansible_client'
|
930
1188
|
# setup authorization
|
931
1189
|
PulpAnsibleClient.configure do |config|
|
@@ -936,23 +1194,41 @@ end
|
|
936
1194
|
|
937
1195
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
938
1196
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
939
|
-
ansible_repository_signature = PulpAnsibleClient::AnsibleRepositorySignature.new # AnsibleRepositorySignature |
|
1197
|
+
ansible_repository_signature = PulpAnsibleClient::AnsibleRepositorySignature.new({content_units: [3.56], signing_service: 'signing_service_example'}) # AnsibleRepositorySignature |
|
940
1198
|
|
941
1199
|
begin
|
1200
|
+
|
942
1201
|
result = api_instance.sign(ansible_ansible_repository_href, ansible_repository_signature)
|
943
1202
|
p result
|
944
1203
|
rescue PulpAnsibleClient::ApiError => e
|
945
|
-
puts "
|
1204
|
+
puts "Error when calling RepositoriesAnsibleApi->sign: #{e}"
|
946
1205
|
end
|
947
1206
|
```
|
948
1207
|
|
949
|
-
|
1208
|
+
#### Using the sign_with_http_info variant
|
1209
|
+
|
1210
|
+
This returns an Array which contains the response data, status code and headers.
|
950
1211
|
|
1212
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> sign_with_http_info(ansible_ansible_repository_href, ansible_repository_signature)
|
951
1213
|
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
1214
|
+
```ruby
|
1215
|
+
begin
|
1216
|
+
|
1217
|
+
data, status_code, headers = api_instance.sign_with_http_info(ansible_ansible_repository_href, ansible_repository_signature)
|
1218
|
+
p status_code # => 2xx
|
1219
|
+
p headers # => { ... }
|
1220
|
+
p data # => <AsyncOperationResponse>
|
1221
|
+
rescue PulpAnsibleClient::ApiError => e
|
1222
|
+
puts "Error when calling RepositoriesAnsibleApi->sign_with_http_info: #{e}"
|
1223
|
+
end
|
1224
|
+
```
|
1225
|
+
|
1226
|
+
### Parameters
|
1227
|
+
|
1228
|
+
| Name | Type | Description | Notes |
|
1229
|
+
| ---- | ---- | ----------- | ----- |
|
1230
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
1231
|
+
| **ansible_repository_signature** | [**AnsibleRepositorySignature**](AnsibleRepositorySignature.md) | | |
|
956
1232
|
|
957
1233
|
### Return type
|
958
1234
|
|
@@ -970,16 +1246,16 @@ Name | Type | Description | Notes
|
|
970
1246
|
|
971
1247
|
## sync
|
972
1248
|
|
973
|
-
> AsyncOperationResponse sync(ansible_ansible_repository_href, ansible_repository_sync_url)
|
1249
|
+
> <AsyncOperationResponse> sync(ansible_ansible_repository_href, ansible_repository_sync_url)
|
974
1250
|
|
975
1251
|
|
976
1252
|
|
977
1253
|
Trigger an asynchronous task to sync Ansible content.
|
978
1254
|
|
979
|
-
###
|
1255
|
+
### Examples
|
980
1256
|
|
981
1257
|
```ruby
|
982
|
-
|
1258
|
+
require 'time'
|
983
1259
|
require 'pulp_ansible_client'
|
984
1260
|
# setup authorization
|
985
1261
|
PulpAnsibleClient.configure do |config|
|
@@ -993,20 +1269,38 @@ ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # St
|
|
993
1269
|
ansible_repository_sync_url = PulpAnsibleClient::AnsibleRepositorySyncURL.new # AnsibleRepositorySyncURL |
|
994
1270
|
|
995
1271
|
begin
|
1272
|
+
|
996
1273
|
result = api_instance.sync(ansible_ansible_repository_href, ansible_repository_sync_url)
|
997
1274
|
p result
|
998
1275
|
rescue PulpAnsibleClient::ApiError => e
|
999
|
-
puts "
|
1276
|
+
puts "Error when calling RepositoriesAnsibleApi->sync: #{e}"
|
1000
1277
|
end
|
1001
1278
|
```
|
1002
1279
|
|
1003
|
-
|
1280
|
+
#### Using the sync_with_http_info variant
|
1004
1281
|
|
1282
|
+
This returns an Array which contains the response data, status code and headers.
|
1005
1283
|
|
1006
|
-
|
1007
|
-
|
1008
|
-
|
1009
|
-
|
1284
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> sync_with_http_info(ansible_ansible_repository_href, ansible_repository_sync_url)
|
1285
|
+
|
1286
|
+
```ruby
|
1287
|
+
begin
|
1288
|
+
|
1289
|
+
data, status_code, headers = api_instance.sync_with_http_info(ansible_ansible_repository_href, ansible_repository_sync_url)
|
1290
|
+
p status_code # => 2xx
|
1291
|
+
p headers # => { ... }
|
1292
|
+
p data # => <AsyncOperationResponse>
|
1293
|
+
rescue PulpAnsibleClient::ApiError => e
|
1294
|
+
puts "Error when calling RepositoriesAnsibleApi->sync_with_http_info: #{e}"
|
1295
|
+
end
|
1296
|
+
```
|
1297
|
+
|
1298
|
+
### Parameters
|
1299
|
+
|
1300
|
+
| Name | Type | Description | Notes |
|
1301
|
+
| ---- | ---- | ----------- | ----- |
|
1302
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
1303
|
+
| **ansible_repository_sync_url** | [**AnsibleRepositorySyncURL**](AnsibleRepositorySyncURL.md) | | |
|
1010
1304
|
|
1011
1305
|
### Return type
|
1012
1306
|
|
@@ -1024,16 +1318,16 @@ Name | Type | Description | Notes
|
|
1024
1318
|
|
1025
1319
|
## unmark
|
1026
1320
|
|
1027
|
-
> AsyncOperationResponse unmark(ansible_ansible_repository_href, ansible_repository_mark)
|
1321
|
+
> <AsyncOperationResponse> unmark(ansible_ansible_repository_href, ansible_repository_mark)
|
1028
1322
|
|
1029
1323
|
|
1030
1324
|
|
1031
1325
|
Trigger an asynchronous task to unmark Ansible content.
|
1032
1326
|
|
1033
|
-
###
|
1327
|
+
### Examples
|
1034
1328
|
|
1035
1329
|
```ruby
|
1036
|
-
|
1330
|
+
require 'time'
|
1037
1331
|
require 'pulp_ansible_client'
|
1038
1332
|
# setup authorization
|
1039
1333
|
PulpAnsibleClient.configure do |config|
|
@@ -1044,23 +1338,41 @@ end
|
|
1044
1338
|
|
1045
1339
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
1046
1340
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
1047
|
-
ansible_repository_mark = PulpAnsibleClient::AnsibleRepositoryMark.new # AnsibleRepositoryMark |
|
1341
|
+
ansible_repository_mark = PulpAnsibleClient::AnsibleRepositoryMark.new({content_units: [3.56], value: 'value_example'}) # AnsibleRepositoryMark |
|
1048
1342
|
|
1049
1343
|
begin
|
1344
|
+
|
1050
1345
|
result = api_instance.unmark(ansible_ansible_repository_href, ansible_repository_mark)
|
1051
1346
|
p result
|
1052
1347
|
rescue PulpAnsibleClient::ApiError => e
|
1053
|
-
puts "
|
1348
|
+
puts "Error when calling RepositoriesAnsibleApi->unmark: #{e}"
|
1054
1349
|
end
|
1055
1350
|
```
|
1056
1351
|
|
1057
|
-
|
1352
|
+
#### Using the unmark_with_http_info variant
|
1353
|
+
|
1354
|
+
This returns an Array which contains the response data, status code and headers.
|
1355
|
+
|
1356
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> unmark_with_http_info(ansible_ansible_repository_href, ansible_repository_mark)
|
1357
|
+
|
1358
|
+
```ruby
|
1359
|
+
begin
|
1360
|
+
|
1361
|
+
data, status_code, headers = api_instance.unmark_with_http_info(ansible_ansible_repository_href, ansible_repository_mark)
|
1362
|
+
p status_code # => 2xx
|
1363
|
+
p headers # => { ... }
|
1364
|
+
p data # => <AsyncOperationResponse>
|
1365
|
+
rescue PulpAnsibleClient::ApiError => e
|
1366
|
+
puts "Error when calling RepositoriesAnsibleApi->unmark_with_http_info: #{e}"
|
1367
|
+
end
|
1368
|
+
```
|
1058
1369
|
|
1370
|
+
### Parameters
|
1059
1371
|
|
1060
|
-
Name | Type | Description
|
1061
|
-
|
1062
|
-
**ansible_ansible_repository_href** | **String
|
1063
|
-
**ansible_repository_mark** | [**AnsibleRepositoryMark**](AnsibleRepositoryMark.md)| |
|
1372
|
+
| Name | Type | Description | Notes |
|
1373
|
+
| ---- | ---- | ----------- | ----- |
|
1374
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
1375
|
+
| **ansible_repository_mark** | [**AnsibleRepositoryMark**](AnsibleRepositoryMark.md) | | |
|
1064
1376
|
|
1065
1377
|
### Return type
|
1066
1378
|
|
@@ -1078,16 +1390,16 @@ Name | Type | Description | Notes
|
|
1078
1390
|
|
1079
1391
|
## unset_label
|
1080
1392
|
|
1081
|
-
> UnsetLabelResponse unset_label(ansible_ansible_repository_href, unset_label)
|
1393
|
+
> <UnsetLabelResponse> unset_label(ansible_ansible_repository_href, unset_label)
|
1082
1394
|
|
1083
1395
|
Unset a label
|
1084
1396
|
|
1085
1397
|
Unset a single pulp_label on the object.
|
1086
1398
|
|
1087
|
-
###
|
1399
|
+
### Examples
|
1088
1400
|
|
1089
1401
|
```ruby
|
1090
|
-
|
1402
|
+
require 'time'
|
1091
1403
|
require 'pulp_ansible_client'
|
1092
1404
|
# setup authorization
|
1093
1405
|
PulpAnsibleClient.configure do |config|
|
@@ -1098,24 +1410,41 @@ end
|
|
1098
1410
|
|
1099
1411
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
1100
1412
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
1101
|
-
unset_label = PulpAnsibleClient::UnsetLabel.new # UnsetLabel |
|
1413
|
+
unset_label = PulpAnsibleClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
1102
1414
|
|
1103
1415
|
begin
|
1104
|
-
#Unset a label
|
1416
|
+
# Unset a label
|
1105
1417
|
result = api_instance.unset_label(ansible_ansible_repository_href, unset_label)
|
1106
1418
|
p result
|
1107
1419
|
rescue PulpAnsibleClient::ApiError => e
|
1108
|
-
puts "
|
1420
|
+
puts "Error when calling RepositoriesAnsibleApi->unset_label: #{e}"
|
1109
1421
|
end
|
1110
1422
|
```
|
1111
1423
|
|
1112
|
-
|
1424
|
+
#### Using the unset_label_with_http_info variant
|
1113
1425
|
|
1426
|
+
This returns an Array which contains the response data, status code and headers.
|
1114
1427
|
|
1115
|
-
|
1116
|
-
|
1117
|
-
|
1118
|
-
|
1428
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_ansible_repository_href, unset_label)
|
1429
|
+
|
1430
|
+
```ruby
|
1431
|
+
begin
|
1432
|
+
# Unset a label
|
1433
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_ansible_repository_href, unset_label)
|
1434
|
+
p status_code # => 2xx
|
1435
|
+
p headers # => { ... }
|
1436
|
+
p data # => <UnsetLabelResponse>
|
1437
|
+
rescue PulpAnsibleClient::ApiError => e
|
1438
|
+
puts "Error when calling RepositoriesAnsibleApi->unset_label_with_http_info: #{e}"
|
1439
|
+
end
|
1440
|
+
```
|
1441
|
+
|
1442
|
+
### Parameters
|
1443
|
+
|
1444
|
+
| Name | Type | Description | Notes |
|
1445
|
+
| ---- | ---- | ----------- | ----- |
|
1446
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
1447
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
1119
1448
|
|
1120
1449
|
### Return type
|
1121
1450
|
|
@@ -1133,16 +1462,16 @@ Name | Type | Description | Notes
|
|
1133
1462
|
|
1134
1463
|
## update
|
1135
1464
|
|
1136
|
-
> AsyncOperationResponse update(ansible_ansible_repository_href, ansible_ansible_repository)
|
1465
|
+
> <AsyncOperationResponse> update(ansible_ansible_repository_href, ansible_ansible_repository)
|
1137
1466
|
|
1138
1467
|
Update an ansible repository
|
1139
1468
|
|
1140
1469
|
Trigger an asynchronous update task
|
1141
1470
|
|
1142
|
-
###
|
1471
|
+
### Examples
|
1143
1472
|
|
1144
1473
|
```ruby
|
1145
|
-
|
1474
|
+
require 'time'
|
1146
1475
|
require 'pulp_ansible_client'
|
1147
1476
|
# setup authorization
|
1148
1477
|
PulpAnsibleClient.configure do |config|
|
@@ -1153,24 +1482,41 @@ end
|
|
1153
1482
|
|
1154
1483
|
api_instance = PulpAnsibleClient::RepositoriesAnsibleApi.new
|
1155
1484
|
ansible_ansible_repository_href = 'ansible_ansible_repository_href_example' # String |
|
1156
|
-
ansible_ansible_repository = PulpAnsibleClient::AnsibleAnsibleRepository.new # AnsibleAnsibleRepository |
|
1485
|
+
ansible_ansible_repository = PulpAnsibleClient::AnsibleAnsibleRepository.new({name: 'name_example'}) # AnsibleAnsibleRepository |
|
1157
1486
|
|
1158
1487
|
begin
|
1159
|
-
#Update an ansible repository
|
1488
|
+
# Update an ansible repository
|
1160
1489
|
result = api_instance.update(ansible_ansible_repository_href, ansible_ansible_repository)
|
1161
1490
|
p result
|
1162
1491
|
rescue PulpAnsibleClient::ApiError => e
|
1163
|
-
puts "
|
1492
|
+
puts "Error when calling RepositoriesAnsibleApi->update: #{e}"
|
1164
1493
|
end
|
1165
1494
|
```
|
1166
1495
|
|
1167
|
-
|
1496
|
+
#### Using the update_with_http_info variant
|
1497
|
+
|
1498
|
+
This returns an Array which contains the response data, status code and headers.
|
1499
|
+
|
1500
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(ansible_ansible_repository_href, ansible_ansible_repository)
|
1501
|
+
|
1502
|
+
```ruby
|
1503
|
+
begin
|
1504
|
+
# Update an ansible repository
|
1505
|
+
data, status_code, headers = api_instance.update_with_http_info(ansible_ansible_repository_href, ansible_ansible_repository)
|
1506
|
+
p status_code # => 2xx
|
1507
|
+
p headers # => { ... }
|
1508
|
+
p data # => <AsyncOperationResponse>
|
1509
|
+
rescue PulpAnsibleClient::ApiError => e
|
1510
|
+
puts "Error when calling RepositoriesAnsibleApi->update_with_http_info: #{e}"
|
1511
|
+
end
|
1512
|
+
```
|
1168
1513
|
|
1514
|
+
### Parameters
|
1169
1515
|
|
1170
|
-
Name | Type | Description
|
1171
|
-
|
1172
|
-
**ansible_ansible_repository_href** | **String
|
1173
|
-
**ansible_ansible_repository** | [**AnsibleAnsibleRepository**](AnsibleAnsibleRepository.md)| |
|
1516
|
+
| Name | Type | Description | Notes |
|
1517
|
+
| ---- | ---- | ----------- | ----- |
|
1518
|
+
| **ansible_ansible_repository_href** | **String** | | |
|
1519
|
+
| **ansible_ansible_repository** | [**AnsibleAnsibleRepository**](AnsibleAnsibleRepository.md) | | |
|
1174
1520
|
|
1175
1521
|
### Return type
|
1176
1522
|
|