1515from datadog_api_client .v2 .model .fleet_agents_response import FleetAgentsResponse
1616from datadog_api_client .v2 .model .fleet_agent_info_response import FleetAgentInfoResponse
1717from datadog_api_client .v2 .model .fleet_tracers_response import FleetTracersResponse
18- from datadog_api_client .v2 .model .fleet_clusters_response import FleetClustersResponse
19- from datadog_api_client .v2 .model .fleet_instrumented_pods_response import FleetInstrumentedPodsResponse
2018from datadog_api_client .v2 .model .fleet_deployments_response import FleetDeploymentsResponse
2119from datadog_api_client .v2 .model .fleet_deployment_response import FleetDeploymentResponse
2220from datadog_api_client .v2 .model .fleet_deployment_configure_create_request import FleetDeploymentConfigureCreateRequest
@@ -360,60 +358,6 @@ def __init__(self, api_client=None):
360358 api_client = api_client ,
361359 )
362360
363- self ._list_fleet_clusters_endpoint = _Endpoint (
364- settings = {
365- "response_type" : (FleetClustersResponse ,),
366- "auth" : ["apiKeyAuth" , "appKeyAuth" ],
367- "endpoint_path" : "/api/unstable/fleet/clusters" ,
368- "operation_id" : "list_fleet_clusters" ,
369- "http_method" : "GET" ,
370- "version" : "v2" ,
371- },
372- params_map = {
373- "page_number" : {
374- "validation" : {
375- "inclusive_minimum" : 0 ,
376- },
377- "openapi_types" : (int ,),
378- "attribute" : "page_number" ,
379- "location" : "query" ,
380- },
381- "page_size" : {
382- "validation" : {
383- "inclusive_maximum" : 100 ,
384- "inclusive_minimum" : 1 ,
385- },
386- "openapi_types" : (int ,),
387- "attribute" : "page_size" ,
388- "location" : "query" ,
389- },
390- "sort_attribute" : {
391- "openapi_types" : (str ,),
392- "attribute" : "sort_attribute" ,
393- "location" : "query" ,
394- },
395- "sort_descending" : {
396- "openapi_types" : (bool ,),
397- "attribute" : "sort_descending" ,
398- "location" : "query" ,
399- },
400- "filter" : {
401- "openapi_types" : (str ,),
402- "attribute" : "filter" ,
403- "location" : "query" ,
404- },
405- "tags" : {
406- "openapi_types" : (str ,),
407- "attribute" : "tags" ,
408- "location" : "query" ,
409- },
410- },
411- headers_map = {
412- "accept" : ["application/json" ],
413- },
414- api_client = api_client ,
415- )
416-
417361 self ._list_fleet_deployments_endpoint = _Endpoint (
418362 settings = {
419363 "response_type" : (FleetDeploymentsResponse ,),
@@ -444,29 +388,6 @@ def __init__(self, api_client=None):
444388 api_client = api_client ,
445389 )
446390
447- self ._list_fleet_instrumented_pods_endpoint = _Endpoint (
448- settings = {
449- "response_type" : (FleetInstrumentedPodsResponse ,),
450- "auth" : ["apiKeyAuth" , "appKeyAuth" ],
451- "endpoint_path" : "/api/unstable/fleet/clusters/{cluster_name}/instrumented_pods" ,
452- "operation_id" : "list_fleet_instrumented_pods" ,
453- "http_method" : "GET" ,
454- "version" : "v2" ,
455- },
456- params_map = {
457- "cluster_name" : {
458- "required" : True ,
459- "openapi_types" : (str ,),
460- "attribute" : "cluster_name" ,
461- "location" : "path" ,
462- },
463- },
464- headers_map = {
465- "accept" : ["application/json" ],
466- },
467- api_client = api_client ,
468- )
469-
470391 self ._list_fleet_schedules_endpoint = _Endpoint (
471392 settings = {
472393 "response_type" : (FleetSchedulesResponse ,),
@@ -925,59 +846,6 @@ def list_fleet_agent_versions(
925846 kwargs : Dict [str , Any ] = {}
926847 return self ._list_fleet_agent_versions_endpoint .call_with_http_info (** kwargs )
927848
928- def list_fleet_clusters (
929- self ,
930- * ,
931- page_number : Union [int , UnsetType ] = unset ,
932- page_size : Union [int , UnsetType ] = unset ,
933- sort_attribute : Union [str , UnsetType ] = unset ,
934- sort_descending : Union [bool , UnsetType ] = unset ,
935- filter : Union [str , UnsetType ] = unset ,
936- tags : Union [str , UnsetType ] = unset ,
937- ) -> FleetClustersResponse :
938- """List all fleet clusters.
939-
940- Retrieve a paginated list of Kubernetes clusters in the fleet.
941-
942- This endpoint returns clusters with metadata including node counts, agent versions,
943- enabled products, and associated services. Use the ``page_number`` and ``page_size``
944- query parameters to paginate through results.
945-
946- :param page_number: Page number for pagination (starts at 0).
947- :type page_number: int, optional
948- :param page_size: Number of results per page (must be greater than 0 and less than or equal to 100).
949- :type page_size: int, optional
950- :param sort_attribute: Attribute to sort by.
951- :type sort_attribute: str, optional
952- :param sort_descending: Sort order (true for descending, false for ascending).
953- :type sort_descending: bool, optional
954- :param filter: Filter string for narrowing down cluster results.
955- :type filter: str, optional
956- :param tags: Comma-separated list of tags to filter clusters.
957- :type tags: str, optional
958- :rtype: FleetClustersResponse
959- """
960- kwargs : Dict [str , Any ] = {}
961- if page_number is not unset :
962- kwargs ["page_number" ] = page_number
963-
964- if page_size is not unset :
965- kwargs ["page_size" ] = page_size
966-
967- if sort_attribute is not unset :
968- kwargs ["sort_attribute" ] = sort_attribute
969-
970- if sort_descending is not unset :
971- kwargs ["sort_descending" ] = sort_descending
972-
973- if filter is not unset :
974- kwargs ["filter" ] = filter
975-
976- if tags is not unset :
977- kwargs ["tags" ] = tags
978-
979- return self ._list_fleet_clusters_endpoint .call_with_http_info (** kwargs )
980-
981849 def list_fleet_deployments (
982850 self ,
983851 * ,
@@ -1004,28 +872,6 @@ def list_fleet_deployments(
1004872
1005873 return self ._list_fleet_deployments_endpoint .call_with_http_info (** kwargs )
1006874
1007- def list_fleet_instrumented_pods (
1008- self ,
1009- cluster_name : str ,
1010- ) -> FleetInstrumentedPodsResponse :
1011- """List instrumented pods for a cluster.
1012-
1013- Retrieve the list of pods targeted for Single Step Instrumentation (SSI) injection
1014- in a specific Kubernetes cluster.
1015-
1016- This endpoint returns pod groups organized by owner reference (deployment, statefulset, etc.)
1017- with their injection annotations and applied targets. Use the clusters list endpoint
1018- to discover available cluster names.
1019-
1020- :param cluster_name: The name of the Kubernetes cluster.
1021- :type cluster_name: str
1022- :rtype: FleetInstrumentedPodsResponse
1023- """
1024- kwargs : Dict [str , Any ] = {}
1025- kwargs ["cluster_name" ] = cluster_name
1026-
1027- return self ._list_fleet_instrumented_pods_endpoint .call_with_http_info (** kwargs )
1028-
1029875 def list_fleet_schedules (
1030876 self ,
1031877 ) -> FleetSchedulesResponse :
0 commit comments