Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions guides/common/assembly_managing-content-views.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,18 @@ include::modules/proc_creating-a-content-view-filter-by-using-web-ui.adoc[levelo

include::modules/proc_creating-a-content-view-filter-by-using-cli.adoc[leveloffset=+1]

include::modules/proc_deleting-multiple-content-view-versions.adoc[leveloffset=+1]

include::modules/con_clearing-the-search-filter.adoc[leveloffset=+1]

include::modules/con_standardizing-content-view-empty-states.adoc[leveloffset=+1]

include::modules/proc_comparing-content-view-versions.adoc[leveloffset=+1]

include::modules/proc_distributing-archived-content-view-versions.adoc[leveloffset=+1]

include::modules/proc_deleting-multiple-content-view-versions-by-using-web-ui.adoc[leveloffset=+1]

include::modules/proc_deleting-multiple-content-view-versions-by-using-cli.adoc[leveloffset=+1]

include::modules/proc_deleting-multiple-content-view-versions-by-using-ansible.adoc[leveloffset=+1]

include::modules/proc_purging-content-view-versions-by-using-cli.adoc[leveloffset=+1]
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
:_mod-docs-content-type: PROCEDURE

[id="deleting-multiple-content-view-versions-by-using-ansible"]
= Deleting multiple content view versions by using Ansible

[role="_abstract"]
You can delete multiple content view versions simultaneously by using {Project} Ansible collection.

.Procedure
* Use the `{ansible-namespace}.content_view_version` module.
+
For more information, see the Ansible module documentation with `ansible-doc {ansible-namespace}.content_view_version`.
Comment thread
maximiliankolb marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
:_mod-docs-content-type: PROCEDURE

[id="deleting-multiple-content-view-versions-by-using-cli"]
= Deleting multiple content view versions by using Hammer CLI

[role="_abstract"]
You can delete multiple content view versions simultaneously by using Hammer CLI.

.Procedure
. List versions of your content view:
+
[options="nowrap", subs="verbatim,quotes,attributes"]
----
$ hammer content-view info \
--name "_My_Content_View_Name_" \
--organization-id _My_Organization_ID_
----
. Delete content view versions:
+
[options="nowrap", subs="verbatim,quotes,attributes"]
----
$ hammer content-view remove \
--content-view-version-ids _My_Content_View_Version_ID_1_,_My_Content_View_Version_ID_2_ \
--id _My_Content_View_ID_
----

.Verification
* Verify that {Project} deleted the content view versions:
+
[options="nowrap", subs="verbatim,quotes,attributes"]
----
$ hammer content-view info \
--name "_My_Content_View_Name_" \
--organization-id _My_Organization_ID_
----
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
:_mod-docs-content-type: PROCEDURE

[id="Deleting_Multiple_Content_View_Versions_{context}"]
= Deleting multiple content view versions
[id="deleting-multiple-content-view-versions-by-using-web-ui"]
= Deleting multiple content view versions by using {ProjectWebUI}

[role="_abstract"]
You can delete multiple content view versions simultaneously.
You can delete multiple content view versions simultaneously by using {ProjectWebUI}.

.Procedure
. In the {ProjectWebUI}, navigate to *Content* > *Lifecycle* > *Content Views*.
Expand Down
Comment thread
maximiliankolb marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
:_mod-docs-content-type: PROCEDURE

[id="purging-content-view-versions-by-using-cli"]
= Purging content view versions by using Hammer CLI

[role="_abstract"]
You can purge excess numbers of content view versions on {Project} to limit disk space usage.
By default, {Project} keeps every version of a content view.
Removing content view versions is a tradeoff between disk space and possibly bandwidth during content synchronizations to {SmartProxyServers} and the possibility to roll back to older content snapshots.
Comment thread
Lennonka marked this conversation as resolved.

{Project} only considers deleting content view versions that are not part of any lifecycle environment.

.Procedure
. Optional: View your content view versions:
+
[options="nowrap", subs="verbatim,quotes,attributes"]
----
$ hammer content-view info \
--name "_My_Content_View_Name_" \
--organization-id _My_Organization_ID_
----
. Clean up content view versions:
+
[options="nowrap", subs="verbatim,quotes,attributes"]
----
$ hammer content-view purge \
--name "_My_Content_View_Name_" \
--organization-id _My_Organization_ID_ \
--versions-to-keep _My_Number_Of_Versions_To_Keep_
----

.Verification
* Verify that {Project} deleted the content view versions:
+
[options="nowrap", subs="verbatim,quotes,attributes"]
----
$ hammer content-view info \
--name "_My_Content_View_Name_" \
--organization-id _My_Organization_ID_
----

.Additional resources
* {AdministeringDocURL}Recovering_from_a_Full_Disk_admin[Recovering from a full disk in _{AdministeringDocTitle}_]
Loading