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,35 +2,34 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**add_role**](RemotesCollectionApi.md#add_role) | **POST** {ansible_collection_remote_href}add_role/ | Add a role
|
8
|
-
[**create**](RemotesCollectionApi.md#create) | **POST** /pulp/api/v3/remotes/ansible/collection/ | Create a collection remote
|
9
|
-
[**delete**](RemotesCollectionApi.md#delete) | **DELETE** {ansible_collection_remote_href} | Delete a collection remote
|
10
|
-
[**list**](RemotesCollectionApi.md#list) | **GET** /pulp/api/v3/remotes/ansible/collection/ | List collection remotes
|
11
|
-
[**list_roles**](RemotesCollectionApi.md#list_roles) | **GET** {ansible_collection_remote_href}list_roles/ | List roles
|
12
|
-
[**my_permissions**](RemotesCollectionApi.md#my_permissions) | **GET** {ansible_collection_remote_href}my_permissions/ | List user permissions
|
13
|
-
[**partial_update**](RemotesCollectionApi.md#partial_update) | **PATCH** {ansible_collection_remote_href} | Update a collection remote
|
14
|
-
[**read**](RemotesCollectionApi.md#read) | **GET** {ansible_collection_remote_href} | Inspect a collection remote
|
15
|
-
[**remove_role**](RemotesCollectionApi.md#remove_role) | **POST** {ansible_collection_remote_href}remove_role/ | Remove a role
|
16
|
-
[**set_label**](RemotesCollectionApi.md#set_label) | **POST** {ansible_collection_remote_href}set_label/ | Set a label
|
17
|
-
[**unset_label**](RemotesCollectionApi.md#unset_label) | **POST** {ansible_collection_remote_href}unset_label/ | Unset a label
|
18
|
-
[**update**](RemotesCollectionApi.md#update) | **PUT** {ansible_collection_remote_href} | Update a collection remote
|
19
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**add_role**](RemotesCollectionApi.md#add_role) | **POST** {ansible_collection_remote_href}add_role/ | Add a role |
|
8
|
+
| [**create**](RemotesCollectionApi.md#create) | **POST** /pulp/api/v3/remotes/ansible/collection/ | Create a collection remote |
|
9
|
+
| [**delete**](RemotesCollectionApi.md#delete) | **DELETE** {ansible_collection_remote_href} | Delete a collection remote |
|
10
|
+
| [**list**](RemotesCollectionApi.md#list) | **GET** /pulp/api/v3/remotes/ansible/collection/ | List collection remotes |
|
11
|
+
| [**list_roles**](RemotesCollectionApi.md#list_roles) | **GET** {ansible_collection_remote_href}list_roles/ | List roles |
|
12
|
+
| [**my_permissions**](RemotesCollectionApi.md#my_permissions) | **GET** {ansible_collection_remote_href}my_permissions/ | List user permissions |
|
13
|
+
| [**partial_update**](RemotesCollectionApi.md#partial_update) | **PATCH** {ansible_collection_remote_href} | Update a collection remote |
|
14
|
+
| [**read**](RemotesCollectionApi.md#read) | **GET** {ansible_collection_remote_href} | Inspect a collection remote |
|
15
|
+
| [**remove_role**](RemotesCollectionApi.md#remove_role) | **POST** {ansible_collection_remote_href}remove_role/ | Remove a role |
|
16
|
+
| [**set_label**](RemotesCollectionApi.md#set_label) | **POST** {ansible_collection_remote_href}set_label/ | Set a label |
|
17
|
+
| [**unset_label**](RemotesCollectionApi.md#unset_label) | **POST** {ansible_collection_remote_href}unset_label/ | Unset a label |
|
18
|
+
| [**update**](RemotesCollectionApi.md#update) | **PUT** {ansible_collection_remote_href} | Update a collection remote |
|
20
19
|
|
21
20
|
|
22
21
|
## add_role
|
23
22
|
|
24
|
-
> NestedRoleResponse add_role(ansible_collection_remote_href, nested_role)
|
23
|
+
> <NestedRoleResponse> add_role(ansible_collection_remote_href, nested_role)
|
25
24
|
|
26
25
|
Add a role
|
27
26
|
|
28
27
|
Add a role for this object to users/groups.
|
29
28
|
|
30
|
-
###
|
29
|
+
### Examples
|
31
30
|
|
32
31
|
```ruby
|
33
|
-
|
32
|
+
require 'time'
|
34
33
|
require 'pulp_ansible_client'
|
35
34
|
# setup authorization
|
36
35
|
PulpAnsibleClient.configure do |config|
|
@@ -41,24 +40,41 @@ end
|
|
41
40
|
|
42
41
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
43
42
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
44
|
-
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
43
|
+
nested_role = PulpAnsibleClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
45
44
|
|
46
45
|
begin
|
47
|
-
#Add a role
|
46
|
+
# Add a role
|
48
47
|
result = api_instance.add_role(ansible_collection_remote_href, nested_role)
|
49
48
|
p result
|
50
49
|
rescue PulpAnsibleClient::ApiError => e
|
51
|
-
puts "
|
50
|
+
puts "Error when calling RemotesCollectionApi->add_role: #{e}"
|
52
51
|
end
|
53
52
|
```
|
54
53
|
|
55
|
-
|
54
|
+
#### Using the add_role_with_http_info variant
|
55
|
+
|
56
|
+
This returns an Array which contains the response data, status code and headers.
|
57
|
+
|
58
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(ansible_collection_remote_href, nested_role)
|
59
|
+
|
60
|
+
```ruby
|
61
|
+
begin
|
62
|
+
# Add a role
|
63
|
+
data, status_code, headers = api_instance.add_role_with_http_info(ansible_collection_remote_href, nested_role)
|
64
|
+
p status_code # => 2xx
|
65
|
+
p headers # => { ... }
|
66
|
+
p data # => <NestedRoleResponse>
|
67
|
+
rescue PulpAnsibleClient::ApiError => e
|
68
|
+
puts "Error when calling RemotesCollectionApi->add_role_with_http_info: #{e}"
|
69
|
+
end
|
70
|
+
```
|
56
71
|
|
72
|
+
### Parameters
|
57
73
|
|
58
|
-
Name | Type | Description
|
59
|
-
|
60
|
-
**ansible_collection_remote_href** | **String
|
61
|
-
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
74
|
+
| Name | Type | Description | Notes |
|
75
|
+
| ---- | ---- | ----------- | ----- |
|
76
|
+
| **ansible_collection_remote_href** | **String** | | |
|
77
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
62
78
|
|
63
79
|
### Return type
|
64
80
|
|
@@ -76,16 +92,16 @@ Name | Type | Description | Notes
|
|
76
92
|
|
77
93
|
## create
|
78
94
|
|
79
|
-
> AnsibleCollectionRemoteResponse create(ansible_collection_remote)
|
95
|
+
> <AnsibleCollectionRemoteResponse> create(ansible_collection_remote)
|
80
96
|
|
81
97
|
Create a collection remote
|
82
98
|
|
83
99
|
ViewSet for Collection Remotes.
|
84
100
|
|
85
|
-
###
|
101
|
+
### Examples
|
86
102
|
|
87
103
|
```ruby
|
88
|
-
|
104
|
+
require 'time'
|
89
105
|
require 'pulp_ansible_client'
|
90
106
|
# setup authorization
|
91
107
|
PulpAnsibleClient.configure do |config|
|
@@ -95,23 +111,40 @@ PulpAnsibleClient.configure do |config|
|
|
95
111
|
end
|
96
112
|
|
97
113
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
98
|
-
ansible_collection_remote = PulpAnsibleClient::AnsibleCollectionRemote.new # AnsibleCollectionRemote |
|
114
|
+
ansible_collection_remote = PulpAnsibleClient::AnsibleCollectionRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleCollectionRemote |
|
99
115
|
|
100
116
|
begin
|
101
|
-
#Create a collection remote
|
117
|
+
# Create a collection remote
|
102
118
|
result = api_instance.create(ansible_collection_remote)
|
103
119
|
p result
|
104
120
|
rescue PulpAnsibleClient::ApiError => e
|
105
|
-
puts "
|
121
|
+
puts "Error when calling RemotesCollectionApi->create: #{e}"
|
106
122
|
end
|
107
123
|
```
|
108
124
|
|
109
|
-
|
125
|
+
#### Using the create_with_http_info variant
|
110
126
|
|
127
|
+
This returns an Array which contains the response data, status code and headers.
|
111
128
|
|
112
|
-
|
113
|
-
|
114
|
-
|
129
|
+
> <Array(<AnsibleCollectionRemoteResponse>, Integer, Hash)> create_with_http_info(ansible_collection_remote)
|
130
|
+
|
131
|
+
```ruby
|
132
|
+
begin
|
133
|
+
# Create a collection remote
|
134
|
+
data, status_code, headers = api_instance.create_with_http_info(ansible_collection_remote)
|
135
|
+
p status_code # => 2xx
|
136
|
+
p headers # => { ... }
|
137
|
+
p data # => <AnsibleCollectionRemoteResponse>
|
138
|
+
rescue PulpAnsibleClient::ApiError => e
|
139
|
+
puts "Error when calling RemotesCollectionApi->create_with_http_info: #{e}"
|
140
|
+
end
|
141
|
+
```
|
142
|
+
|
143
|
+
### Parameters
|
144
|
+
|
145
|
+
| Name | Type | Description | Notes |
|
146
|
+
| ---- | ---- | ----------- | ----- |
|
147
|
+
| **ansible_collection_remote** | [**AnsibleCollectionRemote**](AnsibleCollectionRemote.md) | | |
|
115
148
|
|
116
149
|
### Return type
|
117
150
|
|
@@ -129,16 +162,16 @@ Name | Type | Description | Notes
|
|
129
162
|
|
130
163
|
## delete
|
131
164
|
|
132
|
-
> AsyncOperationResponse delete(ansible_collection_remote_href)
|
165
|
+
> <AsyncOperationResponse> delete(ansible_collection_remote_href)
|
133
166
|
|
134
167
|
Delete a collection remote
|
135
168
|
|
136
169
|
Trigger an asynchronous delete task
|
137
170
|
|
138
|
-
###
|
171
|
+
### Examples
|
139
172
|
|
140
173
|
```ruby
|
141
|
-
|
174
|
+
require 'time'
|
142
175
|
require 'pulp_ansible_client'
|
143
176
|
# setup authorization
|
144
177
|
PulpAnsibleClient.configure do |config|
|
@@ -151,20 +184,37 @@ api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
|
151
184
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
152
185
|
|
153
186
|
begin
|
154
|
-
#Delete a collection remote
|
187
|
+
# Delete a collection remote
|
155
188
|
result = api_instance.delete(ansible_collection_remote_href)
|
156
189
|
p result
|
157
190
|
rescue PulpAnsibleClient::ApiError => e
|
158
|
-
puts "
|
191
|
+
puts "Error when calling RemotesCollectionApi->delete: #{e}"
|
159
192
|
end
|
160
193
|
```
|
161
194
|
|
162
|
-
|
195
|
+
#### Using the delete_with_http_info variant
|
196
|
+
|
197
|
+
This returns an Array which contains the response data, status code and headers.
|
198
|
+
|
199
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(ansible_collection_remote_href)
|
163
200
|
|
201
|
+
```ruby
|
202
|
+
begin
|
203
|
+
# Delete a collection remote
|
204
|
+
data, status_code, headers = api_instance.delete_with_http_info(ansible_collection_remote_href)
|
205
|
+
p status_code # => 2xx
|
206
|
+
p headers # => { ... }
|
207
|
+
p data # => <AsyncOperationResponse>
|
208
|
+
rescue PulpAnsibleClient::ApiError => e
|
209
|
+
puts "Error when calling RemotesCollectionApi->delete_with_http_info: #{e}"
|
210
|
+
end
|
211
|
+
```
|
212
|
+
|
213
|
+
### Parameters
|
164
214
|
|
165
|
-
Name | Type | Description
|
166
|
-
|
167
|
-
**ansible_collection_remote_href** | **String
|
215
|
+
| Name | Type | Description | Notes |
|
216
|
+
| ---- | ---- | ----------- | ----- |
|
217
|
+
| **ansible_collection_remote_href** | **String** | | |
|
168
218
|
|
169
219
|
### Return type
|
170
220
|
|
@@ -182,16 +232,16 @@ Name | Type | Description | Notes
|
|
182
232
|
|
183
233
|
## list
|
184
234
|
|
185
|
-
> PaginatedansibleCollectionRemoteResponseList list(opts)
|
235
|
+
> <PaginatedansibleCollectionRemoteResponseList> list(opts)
|
186
236
|
|
187
237
|
List collection remotes
|
188
238
|
|
189
239
|
ViewSet for Collection Remotes.
|
190
240
|
|
191
|
-
###
|
241
|
+
### Examples
|
192
242
|
|
193
243
|
```ruby
|
194
|
-
|
244
|
+
require 'time'
|
195
245
|
require 'pulp_ansible_client'
|
196
246
|
# setup authorization
|
197
247
|
PulpAnsibleClient.configure do |config|
|
@@ -207,75 +257,94 @@ opts = {
|
|
207
257
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
208
258
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
209
259
|
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
210
|
-
name__in: ['
|
260
|
+
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
211
261
|
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
212
262
|
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
213
263
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
214
264
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
215
265
|
offset: 56, # Integer | The initial index from which to return the results.
|
216
|
-
ordering: ['
|
217
|
-
prn__in: ['
|
218
|
-
pulp_href__in: ['
|
219
|
-
pulp_id__in: ['
|
266
|
+
ordering: ['-auth_url'], # 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) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
267
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
268
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
269
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
220
270
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
221
|
-
pulp_last_updated:
|
222
|
-
pulp_last_updated__gt:
|
223
|
-
pulp_last_updated__gte:
|
224
|
-
|
225
|
-
|
226
|
-
|
271
|
+
pulp_last_updated: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated matches value
|
272
|
+
pulp_last_updated__gt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is greater than value
|
273
|
+
pulp_last_updated__gte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is greater than or equal to value
|
274
|
+
pulp_last_updated__isnull: true, # Boolean | Filter results where pulp_last_updated has a null value
|
275
|
+
pulp_last_updated__lt: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is less than value
|
276
|
+
pulp_last_updated__lte: Time.parse('2013-10-20T19:20:30+01:00'), # Time | Filter results where pulp_last_updated is less than or equal to value
|
277
|
+
pulp_last_updated__range: [Time.now], # Array<Time> | Filter results where pulp_last_updated is between two comma separated values
|
227
278
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
228
279
|
url: 'url_example', # String | Filter results where url matches value
|
229
280
|
url__contains: 'url__contains_example', # String | Filter results where url contains value
|
230
281
|
url__icontains: 'url__icontains_example', # String | Filter results where url contains value
|
231
|
-
url__in: ['
|
232
|
-
fields: ['
|
233
|
-
exclude_fields: ['
|
282
|
+
url__in: ['inner_example'], # Array<String> | Filter results where url is in a comma-separated list of values
|
283
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
284
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
234
285
|
}
|
235
286
|
|
236
287
|
begin
|
237
|
-
#List collection remotes
|
288
|
+
# List collection remotes
|
238
289
|
result = api_instance.list(opts)
|
239
290
|
p result
|
240
291
|
rescue PulpAnsibleClient::ApiError => e
|
241
|
-
puts "
|
292
|
+
puts "Error when calling RemotesCollectionApi->list: #{e}"
|
242
293
|
end
|
243
294
|
```
|
244
295
|
|
245
|
-
|
296
|
+
#### Using the list_with_http_info variant
|
297
|
+
|
298
|
+
This returns an Array which contains the response data, status code and headers.
|
246
299
|
|
300
|
+
> <Array(<PaginatedansibleCollectionRemoteResponseList>, Integer, Hash)> list_with_http_info(opts)
|
247
301
|
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
**
|
265
|
-
**
|
266
|
-
**
|
267
|
-
**
|
268
|
-
**
|
269
|
-
**
|
270
|
-
**
|
271
|
-
**
|
272
|
-
**
|
273
|
-
**
|
274
|
-
**
|
275
|
-
**
|
276
|
-
**
|
277
|
-
**
|
278
|
-
**
|
302
|
+
```ruby
|
303
|
+
begin
|
304
|
+
# List collection remotes
|
305
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
306
|
+
p status_code # => 2xx
|
307
|
+
p headers # => { ... }
|
308
|
+
p data # => <PaginatedansibleCollectionRemoteResponseList>
|
309
|
+
rescue PulpAnsibleClient::ApiError => e
|
310
|
+
puts "Error when calling RemotesCollectionApi->list_with_http_info: #{e}"
|
311
|
+
end
|
312
|
+
```
|
313
|
+
|
314
|
+
### Parameters
|
315
|
+
|
316
|
+
| Name | Type | Description | Notes |
|
317
|
+
| ---- | ---- | ----------- | ----- |
|
318
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
319
|
+
| **name** | **String** | Filter results where name matches value | [optional] |
|
320
|
+
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
321
|
+
| **name__icontains** | **String** | Filter results where name contains value | [optional] |
|
322
|
+
| **name__iexact** | **String** | Filter results where name matches value | [optional] |
|
323
|
+
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
324
|
+
| **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
|
325
|
+
| **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
|
326
|
+
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
327
|
+
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
328
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
329
|
+
| **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) * `url` - Url * `-url` - Url (descending) * `ca_cert` - Ca cert * `-ca_cert` - Ca cert (descending) * `client_cert` - Client cert * `-client_cert` - Client cert (descending) * `client_key` - Client key * `-client_key` - Client key (descending) * `tls_validation` - Tls validation * `-tls_validation` - Tls validation (descending) * `username` - Username * `-username` - Username (descending) * `password` - Password * `-password` - Password (descending) * `proxy_url` - Proxy url * `-proxy_url` - Proxy url (descending) * `proxy_username` - Proxy username * `-proxy_username` - Proxy username (descending) * `proxy_password` - Proxy password * `-proxy_password` - Proxy password (descending) * `download_concurrency` - Download concurrency * `-download_concurrency` - Download concurrency (descending) * `max_retries` - Max retries * `-max_retries` - Max retries (descending) * `policy` - Policy * `-policy` - Policy (descending) * `total_timeout` - Total timeout * `-total_timeout` - Total timeout (descending) * `connect_timeout` - Connect timeout * `-connect_timeout` - Connect timeout (descending) * `sock_connect_timeout` - Sock connect timeout * `-sock_connect_timeout` - Sock connect timeout (descending) * `sock_read_timeout` - Sock read timeout * `-sock_read_timeout` - Sock read timeout (descending) * `headers` - Headers * `-headers` - Headers (descending) * `rate_limit` - Rate limit * `-rate_limit` - Rate limit (descending) * `requirements_file` - Requirements file * `-requirements_file` - Requirements file (descending) * `auth_url` - Auth url * `-auth_url` - Auth url (descending) * `token` - Token * `-token` - Token (descending) * `sync_dependencies` - Sync dependencies * `-sync_dependencies` - Sync dependencies (descending) * `signed_only` - Signed only * `-signed_only` - Signed only (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
330
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
331
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
332
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
333
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
334
|
+
| **pulp_last_updated** | **Time** | Filter results where pulp_last_updated matches value | [optional] |
|
335
|
+
| **pulp_last_updated__gt** | **Time** | Filter results where pulp_last_updated is greater than value | [optional] |
|
336
|
+
| **pulp_last_updated__gte** | **Time** | Filter results where pulp_last_updated is greater than or equal to value | [optional] |
|
337
|
+
| **pulp_last_updated__isnull** | **Boolean** | Filter results where pulp_last_updated has a null value | [optional] |
|
338
|
+
| **pulp_last_updated__lt** | **Time** | Filter results where pulp_last_updated is less than value | [optional] |
|
339
|
+
| **pulp_last_updated__lte** | **Time** | Filter results where pulp_last_updated is less than or equal to value | [optional] |
|
340
|
+
| **pulp_last_updated__range** | [**Array<Time>**](Time.md) | Filter results where pulp_last_updated is between two comma separated values | [optional] |
|
341
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
342
|
+
| **url** | **String** | Filter results where url matches value | [optional] |
|
343
|
+
| **url__contains** | **String** | Filter results where url contains value | [optional] |
|
344
|
+
| **url__icontains** | **String** | Filter results where url contains value | [optional] |
|
345
|
+
| **url__in** | [**Array<String>**](String.md) | Filter results where url is in a comma-separated list of values | [optional] |
|
346
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
347
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
279
348
|
|
280
349
|
### Return type
|
281
350
|
|
@@ -293,16 +362,16 @@ Name | Type | Description | Notes
|
|
293
362
|
|
294
363
|
## list_roles
|
295
364
|
|
296
|
-
> ObjectRolesResponse list_roles(ansible_collection_remote_href, opts)
|
365
|
+
> <ObjectRolesResponse> list_roles(ansible_collection_remote_href, opts)
|
297
366
|
|
298
367
|
List roles
|
299
368
|
|
300
369
|
List roles assigned to this object.
|
301
370
|
|
302
|
-
###
|
371
|
+
### Examples
|
303
372
|
|
304
373
|
```ruby
|
305
|
-
|
374
|
+
require 'time'
|
306
375
|
require 'pulp_ansible_client'
|
307
376
|
# setup authorization
|
308
377
|
PulpAnsibleClient.configure do |config|
|
@@ -314,27 +383,44 @@ end
|
|
314
383
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
315
384
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
316
385
|
opts = {
|
317
|
-
fields: ['
|
318
|
-
exclude_fields: ['
|
386
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
387
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
319
388
|
}
|
320
389
|
|
321
390
|
begin
|
322
|
-
#List roles
|
391
|
+
# List roles
|
323
392
|
result = api_instance.list_roles(ansible_collection_remote_href, opts)
|
324
393
|
p result
|
325
394
|
rescue PulpAnsibleClient::ApiError => e
|
326
|
-
puts "
|
395
|
+
puts "Error when calling RemotesCollectionApi->list_roles: #{e}"
|
327
396
|
end
|
328
397
|
```
|
329
398
|
|
330
|
-
|
399
|
+
#### Using the list_roles_with_http_info variant
|
400
|
+
|
401
|
+
This returns an Array which contains the response data, status code and headers.
|
402
|
+
|
403
|
+
> <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(ansible_collection_remote_href, opts)
|
404
|
+
|
405
|
+
```ruby
|
406
|
+
begin
|
407
|
+
# List roles
|
408
|
+
data, status_code, headers = api_instance.list_roles_with_http_info(ansible_collection_remote_href, opts)
|
409
|
+
p status_code # => 2xx
|
410
|
+
p headers # => { ... }
|
411
|
+
p data # => <ObjectRolesResponse>
|
412
|
+
rescue PulpAnsibleClient::ApiError => e
|
413
|
+
puts "Error when calling RemotesCollectionApi->list_roles_with_http_info: #{e}"
|
414
|
+
end
|
415
|
+
```
|
331
416
|
|
417
|
+
### Parameters
|
332
418
|
|
333
|
-
Name | Type | Description
|
334
|
-
|
335
|
-
**ansible_collection_remote_href** | **String
|
336
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
337
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
419
|
+
| Name | Type | Description | Notes |
|
420
|
+
| ---- | ---- | ----------- | ----- |
|
421
|
+
| **ansible_collection_remote_href** | **String** | | |
|
422
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
423
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
338
424
|
|
339
425
|
### Return type
|
340
426
|
|
@@ -352,16 +438,16 @@ Name | Type | Description | Notes
|
|
352
438
|
|
353
439
|
## my_permissions
|
354
440
|
|
355
|
-
> MyPermissionsResponse my_permissions(ansible_collection_remote_href, opts)
|
441
|
+
> <MyPermissionsResponse> my_permissions(ansible_collection_remote_href, opts)
|
356
442
|
|
357
443
|
List user permissions
|
358
444
|
|
359
445
|
List permissions available to the current user on this object.
|
360
446
|
|
361
|
-
###
|
447
|
+
### Examples
|
362
448
|
|
363
449
|
```ruby
|
364
|
-
|
450
|
+
require 'time'
|
365
451
|
require 'pulp_ansible_client'
|
366
452
|
# setup authorization
|
367
453
|
PulpAnsibleClient.configure do |config|
|
@@ -373,27 +459,44 @@ end
|
|
373
459
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
374
460
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
375
461
|
opts = {
|
376
|
-
fields: ['
|
377
|
-
exclude_fields: ['
|
462
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
463
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
378
464
|
}
|
379
465
|
|
380
466
|
begin
|
381
|
-
#List user permissions
|
467
|
+
# List user permissions
|
382
468
|
result = api_instance.my_permissions(ansible_collection_remote_href, opts)
|
383
469
|
p result
|
384
470
|
rescue PulpAnsibleClient::ApiError => e
|
385
|
-
puts "
|
471
|
+
puts "Error when calling RemotesCollectionApi->my_permissions: #{e}"
|
386
472
|
end
|
387
473
|
```
|
388
474
|
|
389
|
-
|
475
|
+
#### Using the my_permissions_with_http_info variant
|
476
|
+
|
477
|
+
This returns an Array which contains the response data, status code and headers.
|
478
|
+
|
479
|
+
> <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(ansible_collection_remote_href, opts)
|
390
480
|
|
481
|
+
```ruby
|
482
|
+
begin
|
483
|
+
# List user permissions
|
484
|
+
data, status_code, headers = api_instance.my_permissions_with_http_info(ansible_collection_remote_href, opts)
|
485
|
+
p status_code # => 2xx
|
486
|
+
p headers # => { ... }
|
487
|
+
p data # => <MyPermissionsResponse>
|
488
|
+
rescue PulpAnsibleClient::ApiError => e
|
489
|
+
puts "Error when calling RemotesCollectionApi->my_permissions_with_http_info: #{e}"
|
490
|
+
end
|
491
|
+
```
|
492
|
+
|
493
|
+
### Parameters
|
391
494
|
|
392
|
-
Name | Type | Description
|
393
|
-
|
394
|
-
**ansible_collection_remote_href** | **String
|
395
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
396
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
495
|
+
| Name | Type | Description | Notes |
|
496
|
+
| ---- | ---- | ----------- | ----- |
|
497
|
+
| **ansible_collection_remote_href** | **String** | | |
|
498
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
499
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
397
500
|
|
398
501
|
### Return type
|
399
502
|
|
@@ -411,16 +514,16 @@ Name | Type | Description | Notes
|
|
411
514
|
|
412
515
|
## partial_update
|
413
516
|
|
414
|
-
> AsyncOperationResponse partial_update(ansible_collection_remote_href, patchedansible_collection_remote)
|
517
|
+
> <AsyncOperationResponse> partial_update(ansible_collection_remote_href, patchedansible_collection_remote)
|
415
518
|
|
416
519
|
Update a collection remote
|
417
520
|
|
418
521
|
Trigger an asynchronous partial update task
|
419
522
|
|
420
|
-
###
|
523
|
+
### Examples
|
421
524
|
|
422
525
|
```ruby
|
423
|
-
|
526
|
+
require 'time'
|
424
527
|
require 'pulp_ansible_client'
|
425
528
|
# setup authorization
|
426
529
|
PulpAnsibleClient.configure do |config|
|
@@ -434,21 +537,38 @@ ansible_collection_remote_href = 'ansible_collection_remote_href_example' # Stri
|
|
434
537
|
patchedansible_collection_remote = PulpAnsibleClient::PatchedansibleCollectionRemote.new # PatchedansibleCollectionRemote |
|
435
538
|
|
436
539
|
begin
|
437
|
-
#Update a collection remote
|
540
|
+
# Update a collection remote
|
438
541
|
result = api_instance.partial_update(ansible_collection_remote_href, patchedansible_collection_remote)
|
439
542
|
p result
|
440
543
|
rescue PulpAnsibleClient::ApiError => e
|
441
|
-
puts "
|
544
|
+
puts "Error when calling RemotesCollectionApi->partial_update: #{e}"
|
442
545
|
end
|
443
546
|
```
|
444
547
|
|
445
|
-
|
548
|
+
#### Using the partial_update_with_http_info variant
|
549
|
+
|
550
|
+
This returns an Array which contains the response data, status code and headers.
|
446
551
|
|
552
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote)
|
447
553
|
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
554
|
+
```ruby
|
555
|
+
begin
|
556
|
+
# Update a collection remote
|
557
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(ansible_collection_remote_href, patchedansible_collection_remote)
|
558
|
+
p status_code # => 2xx
|
559
|
+
p headers # => { ... }
|
560
|
+
p data # => <AsyncOperationResponse>
|
561
|
+
rescue PulpAnsibleClient::ApiError => e
|
562
|
+
puts "Error when calling RemotesCollectionApi->partial_update_with_http_info: #{e}"
|
563
|
+
end
|
564
|
+
```
|
565
|
+
|
566
|
+
### Parameters
|
567
|
+
|
568
|
+
| Name | Type | Description | Notes |
|
569
|
+
| ---- | ---- | ----------- | ----- |
|
570
|
+
| **ansible_collection_remote_href** | **String** | | |
|
571
|
+
| **patchedansible_collection_remote** | [**PatchedansibleCollectionRemote**](PatchedansibleCollectionRemote.md) | | |
|
452
572
|
|
453
573
|
### Return type
|
454
574
|
|
@@ -466,16 +586,16 @@ Name | Type | Description | Notes
|
|
466
586
|
|
467
587
|
## read
|
468
588
|
|
469
|
-
> AnsibleCollectionRemoteResponse read(ansible_collection_remote_href, opts)
|
589
|
+
> <AnsibleCollectionRemoteResponse> read(ansible_collection_remote_href, opts)
|
470
590
|
|
471
591
|
Inspect a collection remote
|
472
592
|
|
473
593
|
ViewSet for Collection Remotes.
|
474
594
|
|
475
|
-
###
|
595
|
+
### Examples
|
476
596
|
|
477
597
|
```ruby
|
478
|
-
|
598
|
+
require 'time'
|
479
599
|
require 'pulp_ansible_client'
|
480
600
|
# setup authorization
|
481
601
|
PulpAnsibleClient.configure do |config|
|
@@ -487,27 +607,44 @@ end
|
|
487
607
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
488
608
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
489
609
|
opts = {
|
490
|
-
fields: ['
|
491
|
-
exclude_fields: ['
|
610
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
611
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
492
612
|
}
|
493
613
|
|
494
614
|
begin
|
495
|
-
#Inspect a collection remote
|
615
|
+
# Inspect a collection remote
|
496
616
|
result = api_instance.read(ansible_collection_remote_href, opts)
|
497
617
|
p result
|
498
618
|
rescue PulpAnsibleClient::ApiError => e
|
499
|
-
puts "
|
619
|
+
puts "Error when calling RemotesCollectionApi->read: #{e}"
|
500
620
|
end
|
501
621
|
```
|
502
622
|
|
503
|
-
|
623
|
+
#### Using the read_with_http_info variant
|
624
|
+
|
625
|
+
This returns an Array which contains the response data, status code and headers.
|
626
|
+
|
627
|
+
> <Array(<AnsibleCollectionRemoteResponse>, Integer, Hash)> read_with_http_info(ansible_collection_remote_href, opts)
|
628
|
+
|
629
|
+
```ruby
|
630
|
+
begin
|
631
|
+
# Inspect a collection remote
|
632
|
+
data, status_code, headers = api_instance.read_with_http_info(ansible_collection_remote_href, opts)
|
633
|
+
p status_code # => 2xx
|
634
|
+
p headers # => { ... }
|
635
|
+
p data # => <AnsibleCollectionRemoteResponse>
|
636
|
+
rescue PulpAnsibleClient::ApiError => e
|
637
|
+
puts "Error when calling RemotesCollectionApi->read_with_http_info: #{e}"
|
638
|
+
end
|
639
|
+
```
|
504
640
|
|
641
|
+
### Parameters
|
505
642
|
|
506
|
-
Name | Type | Description
|
507
|
-
|
508
|
-
**ansible_collection_remote_href** | **String
|
509
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
510
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
643
|
+
| Name | Type | Description | Notes |
|
644
|
+
| ---- | ---- | ----------- | ----- |
|
645
|
+
| **ansible_collection_remote_href** | **String** | | |
|
646
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
647
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
511
648
|
|
512
649
|
### Return type
|
513
650
|
|
@@ -525,16 +662,16 @@ Name | Type | Description | Notes
|
|
525
662
|
|
526
663
|
## remove_role
|
527
664
|
|
528
|
-
> NestedRoleResponse remove_role(ansible_collection_remote_href, nested_role)
|
665
|
+
> <NestedRoleResponse> remove_role(ansible_collection_remote_href, nested_role)
|
529
666
|
|
530
667
|
Remove a role
|
531
668
|
|
532
669
|
Remove a role for this object from users/groups.
|
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,24 +682,41 @@ end
|
|
545
682
|
|
546
683
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
547
684
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
548
|
-
nested_role = PulpAnsibleClient::NestedRole.new # NestedRole |
|
685
|
+
nested_role = PulpAnsibleClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
549
686
|
|
550
687
|
begin
|
551
|
-
#Remove a role
|
688
|
+
# Remove a role
|
552
689
|
result = api_instance.remove_role(ansible_collection_remote_href, nested_role)
|
553
690
|
p result
|
554
691
|
rescue PulpAnsibleClient::ApiError => e
|
555
|
-
puts "
|
692
|
+
puts "Error when calling RemotesCollectionApi->remove_role: #{e}"
|
556
693
|
end
|
557
694
|
```
|
558
695
|
|
559
|
-
|
696
|
+
#### Using the remove_role_with_http_info variant
|
697
|
+
|
698
|
+
This returns an Array which contains the response data, status code and headers.
|
699
|
+
|
700
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(ansible_collection_remote_href, nested_role)
|
560
701
|
|
702
|
+
```ruby
|
703
|
+
begin
|
704
|
+
# Remove a role
|
705
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(ansible_collection_remote_href, nested_role)
|
706
|
+
p status_code # => 2xx
|
707
|
+
p headers # => { ... }
|
708
|
+
p data # => <NestedRoleResponse>
|
709
|
+
rescue PulpAnsibleClient::ApiError => e
|
710
|
+
puts "Error when calling RemotesCollectionApi->remove_role_with_http_info: #{e}"
|
711
|
+
end
|
712
|
+
```
|
713
|
+
|
714
|
+
### Parameters
|
561
715
|
|
562
|
-
Name | Type | Description
|
563
|
-
|
564
|
-
**ansible_collection_remote_href** | **String
|
565
|
-
**nested_role** | [**NestedRole**](NestedRole.md)| |
|
716
|
+
| Name | Type | Description | Notes |
|
717
|
+
| ---- | ---- | ----------- | ----- |
|
718
|
+
| **ansible_collection_remote_href** | **String** | | |
|
719
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
566
720
|
|
567
721
|
### Return type
|
568
722
|
|
@@ -580,16 +734,16 @@ Name | Type | Description | Notes
|
|
580
734
|
|
581
735
|
## set_label
|
582
736
|
|
583
|
-
> SetLabelResponse set_label(ansible_collection_remote_href, set_label)
|
737
|
+
> <SetLabelResponse> set_label(ansible_collection_remote_href, set_label)
|
584
738
|
|
585
739
|
Set a label
|
586
740
|
|
587
741
|
Set a single pulp_label on the object to a specific value or null.
|
588
742
|
|
589
|
-
###
|
743
|
+
### Examples
|
590
744
|
|
591
745
|
```ruby
|
592
|
-
|
746
|
+
require 'time'
|
593
747
|
require 'pulp_ansible_client'
|
594
748
|
# setup authorization
|
595
749
|
PulpAnsibleClient.configure do |config|
|
@@ -600,24 +754,41 @@ end
|
|
600
754
|
|
601
755
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
602
756
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
603
|
-
set_label = PulpAnsibleClient::SetLabel.new # SetLabel |
|
757
|
+
set_label = PulpAnsibleClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
604
758
|
|
605
759
|
begin
|
606
|
-
#Set a label
|
760
|
+
# Set a label
|
607
761
|
result = api_instance.set_label(ansible_collection_remote_href, set_label)
|
608
762
|
p result
|
609
763
|
rescue PulpAnsibleClient::ApiError => e
|
610
|
-
puts "
|
764
|
+
puts "Error when calling RemotesCollectionApi->set_label: #{e}"
|
611
765
|
end
|
612
766
|
```
|
613
767
|
|
614
|
-
|
768
|
+
#### Using the set_label_with_http_info variant
|
769
|
+
|
770
|
+
This returns an Array which contains the response data, status code and headers.
|
615
771
|
|
772
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(ansible_collection_remote_href, set_label)
|
616
773
|
|
617
|
-
|
618
|
-
|
619
|
-
|
620
|
-
|
774
|
+
```ruby
|
775
|
+
begin
|
776
|
+
# Set a label
|
777
|
+
data, status_code, headers = api_instance.set_label_with_http_info(ansible_collection_remote_href, set_label)
|
778
|
+
p status_code # => 2xx
|
779
|
+
p headers # => { ... }
|
780
|
+
p data # => <SetLabelResponse>
|
781
|
+
rescue PulpAnsibleClient::ApiError => e
|
782
|
+
puts "Error when calling RemotesCollectionApi->set_label_with_http_info: #{e}"
|
783
|
+
end
|
784
|
+
```
|
785
|
+
|
786
|
+
### Parameters
|
787
|
+
|
788
|
+
| Name | Type | Description | Notes |
|
789
|
+
| ---- | ---- | ----------- | ----- |
|
790
|
+
| **ansible_collection_remote_href** | **String** | | |
|
791
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
621
792
|
|
622
793
|
### Return type
|
623
794
|
|
@@ -635,16 +806,16 @@ Name | Type | Description | Notes
|
|
635
806
|
|
636
807
|
## unset_label
|
637
808
|
|
638
|
-
> UnsetLabelResponse unset_label(ansible_collection_remote_href, unset_label)
|
809
|
+
> <UnsetLabelResponse> unset_label(ansible_collection_remote_href, unset_label)
|
639
810
|
|
640
811
|
Unset a label
|
641
812
|
|
642
813
|
Unset a single pulp_label on the object.
|
643
814
|
|
644
|
-
###
|
815
|
+
### Examples
|
645
816
|
|
646
817
|
```ruby
|
647
|
-
|
818
|
+
require 'time'
|
648
819
|
require 'pulp_ansible_client'
|
649
820
|
# setup authorization
|
650
821
|
PulpAnsibleClient.configure do |config|
|
@@ -655,24 +826,41 @@ end
|
|
655
826
|
|
656
827
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
657
828
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
658
|
-
unset_label = PulpAnsibleClient::UnsetLabel.new # UnsetLabel |
|
829
|
+
unset_label = PulpAnsibleClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
659
830
|
|
660
831
|
begin
|
661
|
-
#Unset a label
|
832
|
+
# Unset a label
|
662
833
|
result = api_instance.unset_label(ansible_collection_remote_href, unset_label)
|
663
834
|
p result
|
664
835
|
rescue PulpAnsibleClient::ApiError => e
|
665
|
-
puts "
|
836
|
+
puts "Error when calling RemotesCollectionApi->unset_label: #{e}"
|
666
837
|
end
|
667
838
|
```
|
668
839
|
|
669
|
-
|
840
|
+
#### Using the unset_label_with_http_info variant
|
841
|
+
|
842
|
+
This returns an Array which contains the response data, status code and headers.
|
843
|
+
|
844
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(ansible_collection_remote_href, unset_label)
|
845
|
+
|
846
|
+
```ruby
|
847
|
+
begin
|
848
|
+
# Unset a label
|
849
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(ansible_collection_remote_href, unset_label)
|
850
|
+
p status_code # => 2xx
|
851
|
+
p headers # => { ... }
|
852
|
+
p data # => <UnsetLabelResponse>
|
853
|
+
rescue PulpAnsibleClient::ApiError => e
|
854
|
+
puts "Error when calling RemotesCollectionApi->unset_label_with_http_info: #{e}"
|
855
|
+
end
|
856
|
+
```
|
670
857
|
|
858
|
+
### Parameters
|
671
859
|
|
672
|
-
Name | Type | Description
|
673
|
-
|
674
|
-
**ansible_collection_remote_href** | **String
|
675
|
-
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
860
|
+
| Name | Type | Description | Notes |
|
861
|
+
| ---- | ---- | ----------- | ----- |
|
862
|
+
| **ansible_collection_remote_href** | **String** | | |
|
863
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
676
864
|
|
677
865
|
### Return type
|
678
866
|
|
@@ -690,16 +878,16 @@ Name | Type | Description | Notes
|
|
690
878
|
|
691
879
|
## update
|
692
880
|
|
693
|
-
> AsyncOperationResponse update(ansible_collection_remote_href, ansible_collection_remote)
|
881
|
+
> <AsyncOperationResponse> update(ansible_collection_remote_href, ansible_collection_remote)
|
694
882
|
|
695
883
|
Update a collection remote
|
696
884
|
|
697
885
|
Trigger an asynchronous update task
|
698
886
|
|
699
|
-
###
|
887
|
+
### Examples
|
700
888
|
|
701
889
|
```ruby
|
702
|
-
|
890
|
+
require 'time'
|
703
891
|
require 'pulp_ansible_client'
|
704
892
|
# setup authorization
|
705
893
|
PulpAnsibleClient.configure do |config|
|
@@ -710,24 +898,41 @@ end
|
|
710
898
|
|
711
899
|
api_instance = PulpAnsibleClient::RemotesCollectionApi.new
|
712
900
|
ansible_collection_remote_href = 'ansible_collection_remote_href_example' # String |
|
713
|
-
ansible_collection_remote = PulpAnsibleClient::AnsibleCollectionRemote.new # AnsibleCollectionRemote |
|
901
|
+
ansible_collection_remote = PulpAnsibleClient::AnsibleCollectionRemote.new({name: 'name_example', url: 'url_example'}) # AnsibleCollectionRemote |
|
714
902
|
|
715
903
|
begin
|
716
|
-
#Update a collection remote
|
904
|
+
# Update a collection remote
|
717
905
|
result = api_instance.update(ansible_collection_remote_href, ansible_collection_remote)
|
718
906
|
p result
|
719
907
|
rescue PulpAnsibleClient::ApiError => e
|
720
|
-
puts "
|
908
|
+
puts "Error when calling RemotesCollectionApi->update: #{e}"
|
721
909
|
end
|
722
910
|
```
|
723
911
|
|
724
|
-
|
912
|
+
#### Using the update_with_http_info variant
|
913
|
+
|
914
|
+
This returns an Array which contains the response data, status code and headers.
|
915
|
+
|
916
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(ansible_collection_remote_href, ansible_collection_remote)
|
725
917
|
|
918
|
+
```ruby
|
919
|
+
begin
|
920
|
+
# Update a collection remote
|
921
|
+
data, status_code, headers = api_instance.update_with_http_info(ansible_collection_remote_href, ansible_collection_remote)
|
922
|
+
p status_code # => 2xx
|
923
|
+
p headers # => { ... }
|
924
|
+
p data # => <AsyncOperationResponse>
|
925
|
+
rescue PulpAnsibleClient::ApiError => e
|
926
|
+
puts "Error when calling RemotesCollectionApi->update_with_http_info: #{e}"
|
927
|
+
end
|
928
|
+
```
|
929
|
+
|
930
|
+
### Parameters
|
726
931
|
|
727
|
-
Name | Type | Description
|
728
|
-
|
729
|
-
**ansible_collection_remote_href** | **String
|
730
|
-
**ansible_collection_remote** | [**AnsibleCollectionRemote**](AnsibleCollectionRemote.md)| |
|
932
|
+
| Name | Type | Description | Notes |
|
933
|
+
| ---- | ---- | ----------- | ----- |
|
934
|
+
| **ansible_collection_remote_href** | **String** | | |
|
935
|
+
| **ansible_collection_remote** | [**AnsibleCollectionRemote**](AnsibleCollectionRemote.md) | | |
|
731
936
|
|
732
937
|
### Return type
|
733
938
|
|