pulp_deb_client 3.5.1 → 3.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +32 -4
- data/docs/ContentGenericContentsApi.md +166 -2
- data/docs/ContentInstallerFileIndicesApi.md +170 -6
- data/docs/ContentInstallerPackagesApi.md +166 -2
- data/docs/ContentPackageIndicesApi.md +170 -6
- data/docs/ContentPackageReleaseComponentsApi.md +170 -6
- data/docs/ContentPackagesApi.md +166 -2
- data/docs/ContentReleaseArchitecturesApi.md +170 -6
- data/docs/ContentReleaseComponentsApi.md +170 -6
- data/docs/ContentReleaseFilesApi.md +170 -6
- data/docs/ContentReleasesApi.md +170 -6
- data/docs/ContentSourceIndicesApi.md +170 -6
- data/docs/ContentSourcePackagesApi.md +170 -6
- data/docs/ContentSourceReleaseComponentsApi.md +170 -6
- data/docs/DebAptDistribution.md +3 -1
- data/docs/DebAptDistributionResponse.md +3 -1
- data/docs/DebAptPublication.md +2 -0
- data/docs/DebAptPublicationResponse.md +2 -0
- data/docs/DebCopyApi.md +8 -4
- data/docs/DebGenericContentResponse.md +2 -0
- data/docs/DebInstallerFileIndex.md +2 -0
- data/docs/DebInstallerFileIndexResponse.md +2 -0
- data/docs/DebInstallerPackageResponse.md +2 -0
- data/docs/DebPackageIndex.md +2 -0
- data/docs/DebPackageIndexResponse.md +2 -0
- data/docs/DebPackageReleaseComponent.md +2 -0
- data/docs/DebPackageReleaseComponentResponse.md +2 -0
- data/docs/DebPackageResponse.md +2 -0
- data/docs/DebRelease.md +2 -0
- data/docs/DebReleaseArchitecture.md +2 -0
- data/docs/DebReleaseArchitectureResponse.md +2 -0
- data/docs/DebReleaseComponent.md +2 -0
- data/docs/DebReleaseComponentResponse.md +2 -0
- data/docs/DebReleaseFile.md +2 -0
- data/docs/DebReleaseFileResponse.md +2 -0
- data/docs/DebReleaseResponse.md +2 -0
- data/docs/DebSourceIndex.md +2 -0
- data/docs/DebSourceIndexResponse.md +2 -0
- data/docs/DebSourcePackage.md +2 -0
- data/docs/DebSourcePackageReleaseComponent.md +2 -0
- data/docs/DebSourcePackageReleaseComponentResponse.md +2 -0
- data/docs/DebSourcePackageResponse.md +2 -0
- data/docs/DistributionsAptApi.md +76 -34
- data/docs/PatcheddebAptDistribution.md +3 -1
- data/docs/PublicationsAptApi.md +44 -18
- data/docs/PublicationsVerbatimApi.md +44 -18
- data/docs/RemotesAptApi.md +72 -32
- data/docs/RepositoriesAptApi.md +88 -40
- data/docs/RepositoriesAptVersionsApi.md +22 -10
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_packages_api.rb +172 -3
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_release_files_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_releases_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +169 -3
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +169 -3
- data/lib/pulp_deb_client/api/deb_copy_api.rb +3 -0
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +42 -3
- data/lib/pulp_deb_client/api/publications_apt_api.rb +30 -3
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +30 -3
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +36 -0
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +42 -0
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +15 -3
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +14 -5
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +10 -1
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +10 -1
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_release_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +13 -1
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +13 -1
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +14 -5
- data/lib/pulp_deb_client/models/unset_label.rb +1 -1
- data/lib/pulp_deb_client/models/unset_label_response.rb +1 -1
- data/lib/pulp_deb_client/version.rb +1 -1
- data/pulp_deb_client.gemspec +0 -1
- data/spec/api/content_generic_contents_api_spec.rb +34 -1
- data/spec/api/content_installer_file_indices_api_spec.rb +33 -1
- data/spec/api/content_installer_packages_api_spec.rb +34 -1
- data/spec/api/content_package_indices_api_spec.rb +33 -1
- data/spec/api/content_package_release_components_api_spec.rb +33 -1
- data/spec/api/content_packages_api_spec.rb +34 -1
- data/spec/api/content_release_architectures_api_spec.rb +33 -1
- data/spec/api/content_release_components_api_spec.rb +33 -1
- data/spec/api/content_release_files_api_spec.rb +33 -1
- data/spec/api/content_releases_api_spec.rb +33 -1
- data/spec/api/content_source_indices_api_spec.rb +33 -1
- data/spec/api/content_source_packages_api_spec.rb +33 -1
- data/spec/api/content_source_release_components_api_spec.rb +33 -1
- data/spec/api/deb_copy_api_spec.rb +1 -0
- data/spec/api/distributions_apt_api_spec.rb +14 -1
- data/spec/api/publications_apt_api_spec.rb +10 -1
- data/spec/api/publications_verbatim_api_spec.rb +10 -1
- data/spec/api/remotes_apt_api_spec.rb +12 -0
- data/spec/api/repositories_apt_api_spec.rb +14 -0
- data/spec/api/repositories_apt_versions_api_spec.rb +5 -1
- data/spec/models/deb_apt_distribution_response_spec.rb +6 -0
- data/spec/models/deb_apt_distribution_spec.rb +6 -0
- data/spec/models/deb_apt_publication_response_spec.rb +6 -0
- data/spec/models/deb_apt_publication_spec.rb +6 -0
- data/spec/models/deb_generic_content_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_response_spec.rb +6 -0
- data/spec/models/deb_installer_file_index_spec.rb +6 -0
- data/spec/models/deb_installer_package_response_spec.rb +6 -0
- data/spec/models/deb_package_index_response_spec.rb +6 -0
- data/spec/models/deb_package_index_spec.rb +6 -0
- data/spec/models/deb_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_package_release_component_spec.rb +6 -0
- data/spec/models/deb_package_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_response_spec.rb +6 -0
- data/spec/models/deb_release_architecture_spec.rb +6 -0
- data/spec/models/deb_release_component_response_spec.rb +6 -0
- data/spec/models/deb_release_component_spec.rb +6 -0
- data/spec/models/deb_release_file_response_spec.rb +6 -0
- data/spec/models/deb_release_file_spec.rb +6 -0
- data/spec/models/deb_release_response_spec.rb +6 -0
- data/spec/models/deb_release_spec.rb +6 -0
- data/spec/models/deb_source_index_response_spec.rb +6 -0
- data/spec/models/deb_source_index_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_response_spec.rb +6 -0
- data/spec/models/deb_source_package_release_component_spec.rb +6 -0
- data/spec/models/deb_source_package_response_spec.rb +6 -0
- data/spec/models/deb_source_package_spec.rb +6 -0
- data/spec/models/patcheddeb_apt_distribution_spec.rb +6 -0
- metadata +76 -96
data/docs/DebReleaseResponse.md
CHANGED
@@ -8,6 +8,7 @@
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
12
|
| **codename** | **String** | | |
|
12
13
|
| **suite** | **String** | | |
|
13
14
|
| **distribution** | **String** | | |
|
@@ -28,6 +29,7 @@ instance = PulpDebClient::DebReleaseResponse.new(
|
|
28
29
|
prn: null,
|
29
30
|
pulp_created: null,
|
30
31
|
pulp_last_updated: null,
|
32
|
+
pulp_labels: null,
|
31
33
|
codename: null,
|
32
34
|
suite: null,
|
33
35
|
distribution: null,
|
data/docs/DebSourceIndex.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
8
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
8
9
|
| **artifacts** | **Object** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' | |
|
9
10
|
| **release** | **String** | Release this index file belongs to. | |
|
10
11
|
| **component** | **String** | Component this index file belongs to. | |
|
@@ -17,6 +18,7 @@ require 'pulp_deb_client'
|
|
17
18
|
|
18
19
|
instance = PulpDebClient::DebSourceIndex.new(
|
19
20
|
repository: null,
|
21
|
+
pulp_labels: null,
|
20
22
|
artifacts: null,
|
21
23
|
release: null,
|
22
24
|
component: null,
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
12
|
| **artifacts** | **Object** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' | |
|
12
13
|
| **release** | **String** | Release this index file belongs to. | |
|
13
14
|
| **component** | **String** | Component this index file belongs to. | |
|
@@ -23,6 +24,7 @@ instance = PulpDebClient::DebSourceIndexResponse.new(
|
|
23
24
|
prn: null,
|
24
25
|
pulp_created: null,
|
25
26
|
pulp_last_updated: null,
|
27
|
+
pulp_labels: null,
|
26
28
|
artifacts: null,
|
27
29
|
release: null,
|
28
30
|
component: null,
|
data/docs/DebSourcePackage.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
8
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
8
9
|
| **artifact** | **String** | Artifact URL of the Debian Source Control (dsc) file. | |
|
9
10
|
| **relative_path** | **String** | Relative path of the Debian Source Control (dsc) file.It is normally advised to let Pulp generate this. | [optional] |
|
10
11
|
|
@@ -15,6 +16,7 @@ require 'pulp_deb_client'
|
|
15
16
|
|
16
17
|
instance = PulpDebClient::DebSourcePackage.new(
|
17
18
|
repository: null,
|
19
|
+
pulp_labels: null,
|
18
20
|
artifact: null,
|
19
21
|
relative_path: null
|
20
22
|
)
|
@@ -5,6 +5,7 @@
|
|
5
5
|
| Name | Type | Description | Notes |
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
8
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
8
9
|
| **source_package** | **String** | Source package that is contained in release_component. | |
|
9
10
|
| **release_component** | **String** | ReleaseComponent this source package is contained in. | |
|
10
11
|
|
@@ -15,6 +16,7 @@ require 'pulp_deb_client'
|
|
15
16
|
|
16
17
|
instance = PulpDebClient::DebSourcePackageReleaseComponent.new(
|
17
18
|
repository: null,
|
19
|
+
pulp_labels: null,
|
18
20
|
source_package: null,
|
19
21
|
release_component: null
|
20
22
|
)
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
12
|
| **source_package** | **String** | Source package that is contained in release_component. | |
|
12
13
|
| **release_component** | **String** | ReleaseComponent this source package is contained in. | |
|
13
14
|
|
@@ -21,6 +22,7 @@ instance = PulpDebClient::DebSourcePackageReleaseComponentResponse.new(
|
|
21
22
|
prn: null,
|
22
23
|
pulp_created: null,
|
23
24
|
pulp_last_updated: null,
|
25
|
+
pulp_labels: null,
|
24
26
|
source_package: null,
|
25
27
|
release_component: null
|
26
28
|
)
|
@@ -8,6 +8,7 @@
|
|
8
8
|
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
9
|
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
10
|
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
|
+
| **pulp_labels** | **Hash<String, String>** | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
11
12
|
| **artifacts** | **Object** | A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/' | [readonly] |
|
12
13
|
| **relative_path** | **String** | Relative path of the Debian Source Control (dsc) file.It is normally advised to let Pulp generate this. | [optional] |
|
13
14
|
| **sha256** | **String** | sha256 digest of the dsc file. | [optional][readonly] |
|
@@ -49,6 +50,7 @@ instance = PulpDebClient::DebSourcePackageResponse.new(
|
|
49
50
|
prn: null,
|
50
51
|
pulp_created: null,
|
51
52
|
pulp_last_updated: null,
|
53
|
+
pulp_labels: null,
|
52
54
|
artifacts: null,
|
53
55
|
relative_path: null,
|
54
56
|
sha256: null,
|
data/docs/DistributionsAptApi.md
CHANGED
@@ -20,7 +20,7 @@ All URIs are relative to *http://localhost:24817*
|
|
20
20
|
|
21
21
|
## add_role
|
22
22
|
|
23
|
-
> <NestedRoleResponse> add_role(deb_apt_distribution_href, nested_role)
|
23
|
+
> <NestedRoleResponse> add_role(deb_apt_distribution_href, nested_role, opts)
|
24
24
|
|
25
25
|
Add a role
|
26
26
|
|
@@ -41,10 +41,13 @@ end
|
|
41
41
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
42
42
|
deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
|
43
43
|
nested_role = PulpDebClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
44
|
+
opts = {
|
45
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
46
|
+
}
|
44
47
|
|
45
48
|
begin
|
46
49
|
# Add a role
|
47
|
-
result = api_instance.add_role(deb_apt_distribution_href, nested_role)
|
50
|
+
result = api_instance.add_role(deb_apt_distribution_href, nested_role, opts)
|
48
51
|
p result
|
49
52
|
rescue PulpDebClient::ApiError => e
|
50
53
|
puts "Error when calling DistributionsAptApi->add_role: #{e}"
|
@@ -55,12 +58,12 @@ end
|
|
55
58
|
|
56
59
|
This returns an Array which contains the response data, status code and headers.
|
57
60
|
|
58
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(deb_apt_distribution_href, nested_role)
|
61
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(deb_apt_distribution_href, nested_role, opts)
|
59
62
|
|
60
63
|
```ruby
|
61
64
|
begin
|
62
65
|
# Add a role
|
63
|
-
data, status_code, headers = api_instance.add_role_with_http_info(deb_apt_distribution_href, nested_role)
|
66
|
+
data, status_code, headers = api_instance.add_role_with_http_info(deb_apt_distribution_href, nested_role, opts)
|
64
67
|
p status_code # => 2xx
|
65
68
|
p headers # => { ... }
|
66
69
|
p data # => <NestedRoleResponse>
|
@@ -75,6 +78,7 @@ end
|
|
75
78
|
| ---- | ---- | ----------- | ----- |
|
76
79
|
| **deb_apt_distribution_href** | **String** | | |
|
77
80
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
81
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
78
82
|
|
79
83
|
### Return type
|
80
84
|
|
@@ -92,7 +96,7 @@ end
|
|
92
96
|
|
93
97
|
## create
|
94
98
|
|
95
|
-
> <AsyncOperationResponse> create(deb_apt_distribution)
|
99
|
+
> <AsyncOperationResponse> create(deb_apt_distribution, opts)
|
96
100
|
|
97
101
|
Create an apt distribution
|
98
102
|
|
@@ -112,10 +116,13 @@ end
|
|
112
116
|
|
113
117
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
114
118
|
deb_apt_distribution = PulpDebClient::DebAptDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # DebAptDistribution |
|
119
|
+
opts = {
|
120
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
121
|
+
}
|
115
122
|
|
116
123
|
begin
|
117
124
|
# Create an apt distribution
|
118
|
-
result = api_instance.create(deb_apt_distribution)
|
125
|
+
result = api_instance.create(deb_apt_distribution, opts)
|
119
126
|
p result
|
120
127
|
rescue PulpDebClient::ApiError => e
|
121
128
|
puts "Error when calling DistributionsAptApi->create: #{e}"
|
@@ -126,12 +133,12 @@ end
|
|
126
133
|
|
127
134
|
This returns an Array which contains the response data, status code and headers.
|
128
135
|
|
129
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_apt_distribution)
|
136
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(deb_apt_distribution, opts)
|
130
137
|
|
131
138
|
```ruby
|
132
139
|
begin
|
133
140
|
# Create an apt distribution
|
134
|
-
data, status_code, headers = api_instance.create_with_http_info(deb_apt_distribution)
|
141
|
+
data, status_code, headers = api_instance.create_with_http_info(deb_apt_distribution, opts)
|
135
142
|
p status_code # => 2xx
|
136
143
|
p headers # => { ... }
|
137
144
|
p data # => <AsyncOperationResponse>
|
@@ -145,6 +152,7 @@ end
|
|
145
152
|
| Name | Type | Description | Notes |
|
146
153
|
| ---- | ---- | ----------- | ----- |
|
147
154
|
| **deb_apt_distribution** | [**DebAptDistribution**](DebAptDistribution.md) | | |
|
155
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
148
156
|
|
149
157
|
### Return type
|
150
158
|
|
@@ -162,7 +170,7 @@ end
|
|
162
170
|
|
163
171
|
## delete
|
164
172
|
|
165
|
-
> <AsyncOperationResponse> delete(deb_apt_distribution_href)
|
173
|
+
> <AsyncOperationResponse> delete(deb_apt_distribution_href, opts)
|
166
174
|
|
167
175
|
Delete an apt distribution
|
168
176
|
|
@@ -182,10 +190,13 @@ end
|
|
182
190
|
|
183
191
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
184
192
|
deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
|
193
|
+
opts = {
|
194
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
195
|
+
}
|
185
196
|
|
186
197
|
begin
|
187
198
|
# Delete an apt distribution
|
188
|
-
result = api_instance.delete(deb_apt_distribution_href)
|
199
|
+
result = api_instance.delete(deb_apt_distribution_href, opts)
|
189
200
|
p result
|
190
201
|
rescue PulpDebClient::ApiError => e
|
191
202
|
puts "Error when calling DistributionsAptApi->delete: #{e}"
|
@@ -196,12 +207,12 @@ end
|
|
196
207
|
|
197
208
|
This returns an Array which contains the response data, status code and headers.
|
198
209
|
|
199
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(deb_apt_distribution_href)
|
210
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(deb_apt_distribution_href, opts)
|
200
211
|
|
201
212
|
```ruby
|
202
213
|
begin
|
203
214
|
# Delete an apt distribution
|
204
|
-
data, status_code, headers = api_instance.delete_with_http_info(deb_apt_distribution_href)
|
215
|
+
data, status_code, headers = api_instance.delete_with_http_info(deb_apt_distribution_href, opts)
|
205
216
|
p status_code # => 2xx
|
206
217
|
p headers # => { ... }
|
207
218
|
p data # => <AsyncOperationResponse>
|
@@ -215,6 +226,7 @@ end
|
|
215
226
|
| Name | Type | Description | Notes |
|
216
227
|
| ---- | ---- | ----------- | ----- |
|
217
228
|
| **deb_apt_distribution_href** | **String** | | |
|
229
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
218
230
|
|
219
231
|
### Return type
|
220
232
|
|
@@ -252,10 +264,12 @@ end
|
|
252
264
|
|
253
265
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
254
266
|
opts = {
|
267
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
255
268
|
base_path: 'base_path_example', # String | Filter results where base_path matches value
|
256
269
|
base_path__contains: 'base_path__contains_example', # String | Filter results where base_path contains value
|
257
270
|
base_path__icontains: 'base_path__icontains_example', # String | Filter results where base_path contains value
|
258
271
|
base_path__in: ['inner_example'], # Array<String> | Filter results where base_path is in a comma-separated list of values
|
272
|
+
checkpoint: true, # Boolean | Filter results where checkpoint matches value
|
259
273
|
limit: 56, # Integer | Number of results to return per page.
|
260
274
|
name: 'name_example', # String | Filter results where name matches value
|
261
275
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
@@ -267,7 +281,7 @@ opts = {
|
|
267
281
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
268
282
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
269
283
|
offset: 56, # Integer | The initial index from which to return the results.
|
270
|
-
ordering: ['-base_path'], # 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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
284
|
+
ordering: ['-base_path'], # 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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
271
285
|
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
272
286
|
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
273
287
|
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
@@ -311,10 +325,12 @@ end
|
|
311
325
|
|
312
326
|
| Name | Type | Description | Notes |
|
313
327
|
| ---- | ---- | ----------- | ----- |
|
328
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
314
329
|
| **base_path** | **String** | Filter results where base_path matches value | [optional] |
|
315
330
|
| **base_path__contains** | **String** | Filter results where base_path contains value | [optional] |
|
316
331
|
| **base_path__icontains** | **String** | Filter results where base_path contains value | [optional] |
|
317
332
|
| **base_path__in** | [**Array<String>**](String.md) | Filter results where base_path is in a comma-separated list of values | [optional] |
|
333
|
+
| **checkpoint** | **Boolean** | Filter results where checkpoint matches value | [optional] |
|
318
334
|
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
319
335
|
| **name** | **String** | Filter results where name matches value | [optional] |
|
320
336
|
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
@@ -326,7 +342,7 @@ end
|
|
326
342
|
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
327
343
|
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
328
344
|
| **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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
345
|
+
| **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) * `base_path` - Base path * `-base_path` - Base path (descending) * `hidden` - Hidden * `-hidden` - Hidden (descending) * `checkpoint` - Checkpoint * `-checkpoint` - Checkpoint (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
330
346
|
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
331
347
|
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
332
348
|
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
@@ -375,6 +391,7 @@ end
|
|
375
391
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
376
392
|
deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
|
377
393
|
opts = {
|
394
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
378
395
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
379
396
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
380
397
|
}
|
@@ -411,6 +428,7 @@ end
|
|
411
428
|
| Name | Type | Description | Notes |
|
412
429
|
| ---- | ---- | ----------- | ----- |
|
413
430
|
| **deb_apt_distribution_href** | **String** | | |
|
431
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
414
432
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
415
433
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
416
434
|
|
@@ -451,6 +469,7 @@ end
|
|
451
469
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
452
470
|
deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
|
453
471
|
opts = {
|
472
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
454
473
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
455
474
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
456
475
|
}
|
@@ -487,6 +506,7 @@ end
|
|
487
506
|
| Name | Type | Description | Notes |
|
488
507
|
| ---- | ---- | ----------- | ----- |
|
489
508
|
| **deb_apt_distribution_href** | **String** | | |
|
509
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
490
510
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
491
511
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
492
512
|
|
@@ -506,7 +526,7 @@ end
|
|
506
526
|
|
507
527
|
## partial_update
|
508
528
|
|
509
|
-
> <AsyncOperationResponse> partial_update(deb_apt_distribution_href, patcheddeb_apt_distribution)
|
529
|
+
> <AsyncOperationResponse> partial_update(deb_apt_distribution_href, patcheddeb_apt_distribution, opts)
|
510
530
|
|
511
531
|
Update an apt distribution
|
512
532
|
|
@@ -527,10 +547,13 @@ end
|
|
527
547
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
528
548
|
deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
|
529
549
|
patcheddeb_apt_distribution = PulpDebClient::PatcheddebAptDistribution.new # PatcheddebAptDistribution |
|
550
|
+
opts = {
|
551
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
552
|
+
}
|
530
553
|
|
531
554
|
begin
|
532
555
|
# Update an apt distribution
|
533
|
-
result = api_instance.partial_update(deb_apt_distribution_href, patcheddeb_apt_distribution)
|
556
|
+
result = api_instance.partial_update(deb_apt_distribution_href, patcheddeb_apt_distribution, opts)
|
534
557
|
p result
|
535
558
|
rescue PulpDebClient::ApiError => e
|
536
559
|
puts "Error when calling DistributionsAptApi->partial_update: #{e}"
|
@@ -541,12 +564,12 @@ end
|
|
541
564
|
|
542
565
|
This returns an Array which contains the response data, status code and headers.
|
543
566
|
|
544
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(deb_apt_distribution_href, patcheddeb_apt_distribution)
|
567
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(deb_apt_distribution_href, patcheddeb_apt_distribution, opts)
|
545
568
|
|
546
569
|
```ruby
|
547
570
|
begin
|
548
571
|
# Update an apt distribution
|
549
|
-
data, status_code, headers = api_instance.partial_update_with_http_info(deb_apt_distribution_href, patcheddeb_apt_distribution)
|
572
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(deb_apt_distribution_href, patcheddeb_apt_distribution, opts)
|
550
573
|
p status_code # => 2xx
|
551
574
|
p headers # => { ... }
|
552
575
|
p data # => <AsyncOperationResponse>
|
@@ -561,6 +584,7 @@ end
|
|
561
584
|
| ---- | ---- | ----------- | ----- |
|
562
585
|
| **deb_apt_distribution_href** | **String** | | |
|
563
586
|
| **patcheddeb_apt_distribution** | [**PatcheddebAptDistribution**](PatcheddebAptDistribution.md) | | |
|
587
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
564
588
|
|
565
589
|
### Return type
|
566
590
|
|
@@ -599,6 +623,7 @@ end
|
|
599
623
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
600
624
|
deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
|
601
625
|
opts = {
|
626
|
+
x_task_diagnostics: ['inner_example'], # Array<String> | List of profilers to use on tasks.
|
602
627
|
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
603
628
|
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
604
629
|
}
|
@@ -635,6 +660,7 @@ end
|
|
635
660
|
| Name | Type | Description | Notes |
|
636
661
|
| ---- | ---- | ----------- | ----- |
|
637
662
|
| **deb_apt_distribution_href** | **String** | | |
|
663
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
638
664
|
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
639
665
|
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
640
666
|
|
@@ -654,7 +680,7 @@ end
|
|
654
680
|
|
655
681
|
## remove_role
|
656
682
|
|
657
|
-
> <NestedRoleResponse> remove_role(deb_apt_distribution_href, nested_role)
|
683
|
+
> <NestedRoleResponse> remove_role(deb_apt_distribution_href, nested_role, opts)
|
658
684
|
|
659
685
|
Remove a role
|
660
686
|
|
@@ -675,10 +701,13 @@ end
|
|
675
701
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
676
702
|
deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
|
677
703
|
nested_role = PulpDebClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
704
|
+
opts = {
|
705
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
706
|
+
}
|
678
707
|
|
679
708
|
begin
|
680
709
|
# Remove a role
|
681
|
-
result = api_instance.remove_role(deb_apt_distribution_href, nested_role)
|
710
|
+
result = api_instance.remove_role(deb_apt_distribution_href, nested_role, opts)
|
682
711
|
p result
|
683
712
|
rescue PulpDebClient::ApiError => e
|
684
713
|
puts "Error when calling DistributionsAptApi->remove_role: #{e}"
|
@@ -689,12 +718,12 @@ end
|
|
689
718
|
|
690
719
|
This returns an Array which contains the response data, status code and headers.
|
691
720
|
|
692
|
-
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(deb_apt_distribution_href, nested_role)
|
721
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(deb_apt_distribution_href, nested_role, opts)
|
693
722
|
|
694
723
|
```ruby
|
695
724
|
begin
|
696
725
|
# Remove a role
|
697
|
-
data, status_code, headers = api_instance.remove_role_with_http_info(deb_apt_distribution_href, nested_role)
|
726
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(deb_apt_distribution_href, nested_role, opts)
|
698
727
|
p status_code # => 2xx
|
699
728
|
p headers # => { ... }
|
700
729
|
p data # => <NestedRoleResponse>
|
@@ -709,6 +738,7 @@ end
|
|
709
738
|
| ---- | ---- | ----------- | ----- |
|
710
739
|
| **deb_apt_distribution_href** | **String** | | |
|
711
740
|
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
741
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
712
742
|
|
713
743
|
### Return type
|
714
744
|
|
@@ -726,7 +756,7 @@ end
|
|
726
756
|
|
727
757
|
## set_label
|
728
758
|
|
729
|
-
> <SetLabelResponse> set_label(deb_apt_distribution_href, set_label)
|
759
|
+
> <SetLabelResponse> set_label(deb_apt_distribution_href, set_label, opts)
|
730
760
|
|
731
761
|
Set a label
|
732
762
|
|
@@ -747,10 +777,13 @@ end
|
|
747
777
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
748
778
|
deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
|
749
779
|
set_label = PulpDebClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
780
|
+
opts = {
|
781
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
782
|
+
}
|
750
783
|
|
751
784
|
begin
|
752
785
|
# Set a label
|
753
|
-
result = api_instance.set_label(deb_apt_distribution_href, set_label)
|
786
|
+
result = api_instance.set_label(deb_apt_distribution_href, set_label, opts)
|
754
787
|
p result
|
755
788
|
rescue PulpDebClient::ApiError => e
|
756
789
|
puts "Error when calling DistributionsAptApi->set_label: #{e}"
|
@@ -761,12 +794,12 @@ end
|
|
761
794
|
|
762
795
|
This returns an Array which contains the response data, status code and headers.
|
763
796
|
|
764
|
-
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_apt_distribution_href, set_label)
|
797
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(deb_apt_distribution_href, set_label, opts)
|
765
798
|
|
766
799
|
```ruby
|
767
800
|
begin
|
768
801
|
# Set a label
|
769
|
-
data, status_code, headers = api_instance.set_label_with_http_info(deb_apt_distribution_href, set_label)
|
802
|
+
data, status_code, headers = api_instance.set_label_with_http_info(deb_apt_distribution_href, set_label, opts)
|
770
803
|
p status_code # => 2xx
|
771
804
|
p headers # => { ... }
|
772
805
|
p data # => <SetLabelResponse>
|
@@ -781,6 +814,7 @@ end
|
|
781
814
|
| ---- | ---- | ----------- | ----- |
|
782
815
|
| **deb_apt_distribution_href** | **String** | | |
|
783
816
|
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
817
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
784
818
|
|
785
819
|
### Return type
|
786
820
|
|
@@ -798,7 +832,7 @@ end
|
|
798
832
|
|
799
833
|
## unset_label
|
800
834
|
|
801
|
-
> <UnsetLabelResponse> unset_label(deb_apt_distribution_href, unset_label)
|
835
|
+
> <UnsetLabelResponse> unset_label(deb_apt_distribution_href, unset_label, opts)
|
802
836
|
|
803
837
|
Unset a label
|
804
838
|
|
@@ -819,10 +853,13 @@ end
|
|
819
853
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
820
854
|
deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
|
821
855
|
unset_label = PulpDebClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
856
|
+
opts = {
|
857
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
858
|
+
}
|
822
859
|
|
823
860
|
begin
|
824
861
|
# Unset a label
|
825
|
-
result = api_instance.unset_label(deb_apt_distribution_href, unset_label)
|
862
|
+
result = api_instance.unset_label(deb_apt_distribution_href, unset_label, opts)
|
826
863
|
p result
|
827
864
|
rescue PulpDebClient::ApiError => e
|
828
865
|
puts "Error when calling DistributionsAptApi->unset_label: #{e}"
|
@@ -833,12 +870,12 @@ end
|
|
833
870
|
|
834
871
|
This returns an Array which contains the response data, status code and headers.
|
835
872
|
|
836
|
-
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_apt_distribution_href, unset_label)
|
873
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(deb_apt_distribution_href, unset_label, opts)
|
837
874
|
|
838
875
|
```ruby
|
839
876
|
begin
|
840
877
|
# Unset a label
|
841
|
-
data, status_code, headers = api_instance.unset_label_with_http_info(deb_apt_distribution_href, unset_label)
|
878
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(deb_apt_distribution_href, unset_label, opts)
|
842
879
|
p status_code # => 2xx
|
843
880
|
p headers # => { ... }
|
844
881
|
p data # => <UnsetLabelResponse>
|
@@ -853,6 +890,7 @@ end
|
|
853
890
|
| ---- | ---- | ----------- | ----- |
|
854
891
|
| **deb_apt_distribution_href** | **String** | | |
|
855
892
|
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
893
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
856
894
|
|
857
895
|
### Return type
|
858
896
|
|
@@ -870,7 +908,7 @@ end
|
|
870
908
|
|
871
909
|
## update
|
872
910
|
|
873
|
-
> <AsyncOperationResponse> update(deb_apt_distribution_href, deb_apt_distribution)
|
911
|
+
> <AsyncOperationResponse> update(deb_apt_distribution_href, deb_apt_distribution, opts)
|
874
912
|
|
875
913
|
Update an apt distribution
|
876
914
|
|
@@ -891,10 +929,13 @@ end
|
|
891
929
|
api_instance = PulpDebClient::DistributionsAptApi.new
|
892
930
|
deb_apt_distribution_href = 'deb_apt_distribution_href_example' # String |
|
893
931
|
deb_apt_distribution = PulpDebClient::DebAptDistribution.new({base_path: 'base_path_example', name: 'name_example'}) # DebAptDistribution |
|
932
|
+
opts = {
|
933
|
+
x_task_diagnostics: ['inner_example'] # Array<String> | List of profilers to use on tasks.
|
934
|
+
}
|
894
935
|
|
895
936
|
begin
|
896
937
|
# Update an apt distribution
|
897
|
-
result = api_instance.update(deb_apt_distribution_href, deb_apt_distribution)
|
938
|
+
result = api_instance.update(deb_apt_distribution_href, deb_apt_distribution, opts)
|
898
939
|
p result
|
899
940
|
rescue PulpDebClient::ApiError => e
|
900
941
|
puts "Error when calling DistributionsAptApi->update: #{e}"
|
@@ -905,12 +946,12 @@ end
|
|
905
946
|
|
906
947
|
This returns an Array which contains the response data, status code and headers.
|
907
948
|
|
908
|
-
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(deb_apt_distribution_href, deb_apt_distribution)
|
949
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(deb_apt_distribution_href, deb_apt_distribution, opts)
|
909
950
|
|
910
951
|
```ruby
|
911
952
|
begin
|
912
953
|
# Update an apt distribution
|
913
|
-
data, status_code, headers = api_instance.update_with_http_info(deb_apt_distribution_href, deb_apt_distribution)
|
954
|
+
data, status_code, headers = api_instance.update_with_http_info(deb_apt_distribution_href, deb_apt_distribution, opts)
|
914
955
|
p status_code # => 2xx
|
915
956
|
p headers # => { ... }
|
916
957
|
p data # => <AsyncOperationResponse>
|
@@ -925,6 +966,7 @@ end
|
|
925
966
|
| ---- | ---- | ----------- | ----- |
|
926
967
|
| **deb_apt_distribution_href** | **String** | | |
|
927
968
|
| **deb_apt_distribution** | [**DebAptDistribution**](DebAptDistribution.md) | | |
|
969
|
+
| **x_task_diagnostics** | [**Array<String>**](String.md) | List of profilers to use on tasks. | [optional] |
|
928
970
|
|
929
971
|
### Return type
|
930
972
|
|
@@ -11,6 +11,7 @@
|
|
11
11
|
| **name** | **String** | A unique name. Ex, `rawhide` and `stable`. | [optional] |
|
12
12
|
| **repository** | **String** | The latest RepositoryVersion for this Repository will be served. | [optional] |
|
13
13
|
| **publication** | **String** | Publication to be served | [optional] |
|
14
|
+
| **checkpoint** | **Boolean** | | [optional] |
|
14
15
|
|
15
16
|
## Example
|
16
17
|
|
@@ -24,7 +25,8 @@ instance = PulpDebClient::PatcheddebAptDistribution.new(
|
|
24
25
|
pulp_labels: null,
|
25
26
|
name: null,
|
26
27
|
repository: null,
|
27
|
-
publication: null
|
28
|
+
publication: null,
|
29
|
+
checkpoint: null
|
28
30
|
)
|
29
31
|
```
|
30
32
|
|