Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https://issues.redhat.com/browse/ACM-16773--deprecation of API docume… #7374

Open
wants to merge 2 commits into
base: 2.13_stage
Choose a base branch
from
Open
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
2 changes: 2 additions & 0 deletions apis/api.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

You can access APIs to create and manage application resources, channels, subscriptions, and to query information.

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

*User required access:* You can only perform actions that your role is assigned. Learn about access requirements from the link:../access_control/rbac.adoc#role-based-access-control[Role-based access control] documentation.

You can also access all APIs from the integrated console. From the `local-cluster` view, navigate to *Home* > *API Explorer* to explore API groups.
Expand Down
1 change: 1 addition & 0 deletions apis/application.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[#applications-api]
= Applications API

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_application_jsonoverview]]
== Overview
Expand Down
1 change: 1 addition & 0 deletions apis/channels.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[#channels-api]
= Channels API

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_channels_jsonoverview]]
== Overview
Expand Down
2 changes: 2 additions & 0 deletions apis/cluster.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#clusters-api]
= Clusters API

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_cluster_jsonoverview]]
== Overview
This documentation is for the cluster resource for {acm}. Cluster resource has four possible requests: create, query, delete and update. `ManagedCluster` represents the desired state and current status of a managed cluster. `ManagedCluster` is a cluster-scoped resource.
Expand Down
2 changes: 2 additions & 0 deletions apis/clusterinstance.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#clusterinstance-api]
= ClusterInstance API

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_clusterinstance_jsonoverview]]
== Overview
This documentation is for the ClusterInstance resource for {acm}. The ClusterInstance resource has four possible requests: create, query, delete and update.
Expand Down
2 changes: 2 additions & 0 deletions apis/clustermanagementaddon.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#clustermanagementaddon-api]
= ClusterManagementAddOn API (v1alpha1)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_clustermanagementaddon_jsonoverview]]
== Overview
This documentation is for the ClusterManagementAddOn resource for {acm}. The ClusterManagementAddOn resource has four possible requests: create, query, delete, and update.
Expand Down
2 changes: 2 additions & 0 deletions apis/clusterset.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#clustersets-api]
= Clustersets API (v1beta2)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_clusterset_jsonoverview]]
== Overview
This documentation is for the ClusterSet resource for {acm}. The ClusterSet resource has four possible requests: create, query, delete, and update. The ManagedClusterSet defines a group of ManagedClusters. You can assign a ManagedCluster to a specific ManagedClusterSet by adding a label with the name `cluster.open-cluster-management.io/clusterset` on the ManagedCluster that refers to the ManagedClusterSet. You can only add or remove this label on a ManagedCluster when you have an RBAC rule that allows the `create` permissions on a virtual subresource of `managedclustersets/join`. You must have this permission on both the source and the target ManagedClusterSets to update this label.
Expand Down
2 changes: 2 additions & 0 deletions apis/clustersetbinding.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#clustersetbindings-api]
= Clustersetbindings API (v1beta2)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_clustersetbinding_jsonoverview]]
== Overview
This documentation is for the ClusterSetBinding resource for {acm}. The ClusterSetBinding resource has four possible requests: create, query, delete, and update. ManagedClusterSetBinding projects a ManagedClusterSet into a certain namespace. You can create a ManagedClusterSetBinding in a namespace and bind it to a ManagedClusterSet if you have an RBAC rule that allows you to `create` on the virtual subresource of `managedclustersets/bind`.
Expand Down
2 changes: 2 additions & 0 deletions apis/clusterview.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#clusterview-api]
= Clusterview API (v1alpha1)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_clusterview_jsonoverview]]
== Overview
This documentation is for the `clusterview` resource for {acm}. The `clusterview` resource provides a CLI command that enables you to view a list of the managed clusters and managed cluster sets that that you can access. The three possible requests are: list, get, and watch.
Expand Down
2 changes: 2 additions & 0 deletions apis/discoveredcluster.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#discovered-clusters-api]
= DiscoveredCluster API

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_discoveredcluster_jsonoverview]]
== Overview
This documentation is for the DiscoveredCluster resource for {acm}. The DiscoveredCluster resource has four possible requests: create, query, delete, and update.
Expand Down
2 changes: 2 additions & 0 deletions apis/discoveryconfig.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#discovery-config-api]
= DiscoveryConfig API

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_discoveryconfig_jsonoverview]]
== Overview
This documentation is for the DiscoveryConfig resource for {acm}. The DiscoveryConfig resource has four possible requests: create, query, delete, and update.
Expand Down
1 change: 1 addition & 0 deletions apis/helmreleases.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[#helm-api]
= Helm API

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_helmreleases_jsonoverview]]
== Overview
Expand Down
2 changes: 2 additions & 0 deletions apis/klusterletconfig.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#klusterletconfig-api]
= KlusterletConfig API (v1alpha1)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_klusterletconfig_jsonoverview]]
== Overview
This documentation is for the KlusterletConfig resource for {acm}. The KlusterletConfig resource has four possible requests: create, query, delete, and update. KlusterletConfig contains configuration information about a klusterlet, such as `nodeSelector`, `tolerations`, and `pullSecret`. KlusterletConfig is a cluster-scoped resource and only works on klusterlet pods in the `open-cluster-managemnet-agent` namespace. KlusterletConfig does not affect add-on deployment configurations.
Expand Down
2 changes: 2 additions & 0 deletions apis/managedclusteraddon.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#managedclusteraddon-api]
= ManagedClusterAddOn API (v1alpha1)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_managedclusteraddon_jsonoverview]]
== Overview
This documentation is for the ManagedClusterAddOn resource for {acm}. The ManagedClusterAddOn resource has four possible requests: create, query, delete, and update.
Expand Down
2 changes: 2 additions & 0 deletions apis/managedclusterset.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#managedclusterset-api]
= ManagedClusterSet API (v1beta2)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_managedclusterset_jsonoverview]]
== Overview
This documentation is for the ManagedClusterSet resource for {acm}. The ManagedClusterSet resource has four possible requests: create, query, delete, and update. ManagedClusterSet groups two or more managed clusters into a set that you can operate together. Managed clusters that belong to a set can have similar attributes, such as shared use purposes or the same deployment region.
Expand Down
1 change: 1 addition & 0 deletions apis/multicluster_hub.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[#multicluster-hub-api]
= MultiClusterHub API

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_mch_jsonoverview]]
== Overview
Expand Down
1 change: 1 addition & 0 deletions apis/observability.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[#observability-api]
= Observability API

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_multiclusterobservability_jsonoverview]]
== Overview
Expand Down
2 changes: 2 additions & 0 deletions apis/placement.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#placement-api]
= Placement API (v1beta1)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_placement_jsonoverview]]
== Overview
This documentation is for the Placement resource for {acm}. The Placement resource has four possible requests: create, query, delete, and update. Placement defines a rule to select a set of ManagedClusters from the ManagedClusterSets that are bound to the placement namespace. A slice of PlacementDecisions with the label `cluster.open-cluster-management.io/placement={placement name}` is created to represent the ManagedClusters that are selected by this placement.
Expand Down
2 changes: 2 additions & 0 deletions apis/placementdecision.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#placementdecisions-api]
= PlacementDecisions API (v1beta1)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_placementdecision_jsonoverview]]
== Overview
This documentation is for the PlacementDecision resource for {acm}. The PlacementDecision resource has four possible requests: create, query, delete, and update. A PlacementDecision indicates a decision from a placement. A PlacementDecision uses the label `cluster.open-cluster-management.io/placement={placement name}` to reference a certain placement.
Expand Down
1 change: 1 addition & 0 deletions apis/placementrules.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[#placementrules-api]
= PlacementRules API (deprecated)

*Deprecated:* This API is deprecated. The _documentation_ for all remaining APIs is also deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_placementrules_jsonoverview]]
== Overview
Expand Down
1 change: 1 addition & 0 deletions apis/policy.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[#policy-api]
= Policy API

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_policy_jsonoverview]]
== Overview
Expand Down
4 changes: 3 additions & 1 deletion apis/searchquery.json.adoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
[#search-query-api]
= Search query API

The search query API is not a Kubernetes API, therefore is not displayed through the {ocp} API Explorer. Continue reading to understand the search query API capabilities.
The search query API is not a Kubernetes API, therefore is not displayed through the {ocp} API Explorer. Continue reading to understand the search query API capabilities.

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

== Overview

Expand Down
1 change: 1 addition & 0 deletions apis/subscriptions.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[#subscriptions-api]
= Subscriptions API

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_subscriptions_jsonoverview]]
== Overview
Expand Down
6 changes: 3 additions & 3 deletions clusters/api/api_intro.adoc
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
[#apis]
= APIs
//lets consider changing this to mce-apis bc we use the apis anchor in the apis folder

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

You can access the following APIs for cluster lifecycle management with the {mce-short}. *User required access:* You can only perform actions that your role is assigned.

*Note:* You can also access all APIs from the integrated console. From the `local-cluster` view, navigate to *Home* > *API Explorer* to explore API groups.


For more information, review the API documentation for each of the following resources:
//i believe we need to change from xref to link or add extra directory im on board to change to link
//placementdecisions-api


* xref:../api/cluster.json.adoc#clusters-api[Clusters API]
* xref:../api/clusterset.json.adoc#clustersets-api[ClusterSets API (v1beta2)]
Expand Down
2 changes: 2 additions & 0 deletions clusters/api/cluster.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#clusters-api]
= Clusters API

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_cluster_jsonoverview]]
== Overview
This documentation is for the cluster resource for {mce}. Cluster resource has four possible requests: create, query, delete and update.
Expand Down
2 changes: 2 additions & 0 deletions clusters/api/clusterset.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#clustersets-api]
= Clustersets API (v1beta2)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_clusterset_jsonoverview]]
== Overview
This documentation is for the Clusterset resource for {mce}. Clusterset resource has four possible requests: create, query, delete and update.
Expand Down
2 changes: 2 additions & 0 deletions clusters/api/clustersetbinding.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#clustersetbindings-api]
= Clustersetbindings API (v1beta2)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_clustersetbinding_jsonoverview]]
== Overview
This documentation is for the clustersetbinding resource for multicluster engine for Kubernetes. Clustersetbinding resource has four possible requests: create, query, delete and update.
Expand Down
2 changes: 2 additions & 0 deletions clusters/api/clusterview.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#clusterview-api]
= Clusterview API (v1alpha1)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_clusterview_jsonoverview]]
== Overview
This documentation is for the `clusterview` resource for multicluster engine for Kubernetes. The `clusterview` resource provides a CLI command that enables you to view a list of the managed clusters and managed cluster sets that that you can access. The three possible requests are: list, get, and watch.
Expand Down
1 change: 1 addition & 0 deletions clusters/api/klusterletconfig.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[#klusterletconfig-api]
= KlusterletConfig API (v1alpha1)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_klusterletconfig_jsonoverview]]
== Overview
Expand Down
2 changes: 2 additions & 0 deletions clusters/api/managed_serviceaccount.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#serviceaccount-api]
= ManagedServiceAccount API (v1alpha1) (Deprecated)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_serviceaccount_jsonoverview]]
== Overview
This documentation is for the `ManagedServiceAccount` resource for the {mce-short}. The `ManagedServiceAccount` resource has four possible requests: create, query, delete, and update.
Expand Down
3 changes: 3 additions & 0 deletions clusters/api/multicluster_engine.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
[#multiclusterengine-api]
= MultiClusterEngine API (v1alpha1)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.


[[_mce_jsonoverview]]
== Overview
This documentation is for the MultiClusterEngine resource for multicluster engine for Kubernetes. The `MultiClusterEngine` resource has four possible requests: create, query, delete, and update.
Expand Down
2 changes: 2 additions & 0 deletions clusters/api/placement.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#placements-clusters-api]
= Placements API (v1beta1)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_placement_jsonoverview]]
== Overview
This documentation is for the Placement resource for multicluster engine for Kubernetes. Placement resource has four possible requests: create, query, delete and update.
Expand Down
2 changes: 2 additions & 0 deletions clusters/api/placementdecision.json.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[#placementdecisions-api]
= PlacementDecisions API (v1beta1)

*Deprecated:* The documentation for the APIs is deprecated. Use the _API Explorer_ in the console to view current and supported APIs.

[[_rhacm-docs_apis_placementdecision_jsonoverview]]
== Overview
This documentation is for the PlacementDecision resource for multicluster engine for Kubernetes. PlacementDecision resource has four possible requests: create, query, delete and update.
Expand Down
Loading