import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Management Stations in Oracle Cloud Infrastructure Os Management Hub service. * * Lists management stations within the specified compartment. Filter the list against a variety of criteria * including but not limited to name, status, and location. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagementStations = oci.osmanagementhub.getManagementStations({ * compartmentId: compartmentId, * displayName: managementStationDisplayName, * displayNameContains: managementStationDisplayNameContains, * healthState: managementStationHealthState, * id: managementStationId, * locations: managementStationLocation, * locationNotEqualTos: managementStationLocationNotEqualTo, * managedInstanceId: testManagedInstance.id, * state: managementStationState, * }); * ``` */ export declare function getManagementStations(args?: GetManagementStationsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagementStations. */ export interface GetManagementStationsArgs { /** * (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment. */ compartmentId?: string; /** * A filter to return resources that match the given user-friendly name. */ displayName?: string; /** * A filter to return resources that may partially match the given display name. */ displayNameContains?: string; filters?: inputs.OsManagementHub.GetManagementStationsFilter[]; /** * A filter that returns information for management stations in the specified health state. */ healthState?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station. A filter that returns information about the specified management station. */ id?: string; /** * A filter to return only resources whose location does not match the given value. */ locationNotEqualTos?: string[]; /** * A filter to return only resources whose location matches the given value. */ locations?: string[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. This filter returns resources associated with this managed instance. */ managedInstanceId?: string; /** * A filter that returns information for management stations in the specified state. */ state?: string; } /** * A collection of values returned by getManagementStations. */ export interface GetManagementStationsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the management station. */ readonly compartmentId?: string; /** * User-friendly name for the management station. */ readonly displayName?: string; readonly displayNameContains?: string; readonly filters?: outputs.OsManagementHub.GetManagementStationsFilter[]; readonly healthState?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station. */ readonly id?: string; readonly locationNotEqualTos?: string[]; /** * The location of the instance that is acting as the management station. */ readonly locations?: string[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance that is acting as the management station. */ readonly managedInstanceId?: string; /** * The list of management_station_collection. */ readonly managementStationCollections: outputs.OsManagementHub.GetManagementStationsManagementStationCollection[]; /** * The current state of the management station. */ readonly state?: string; } /** * This data source provides the list of Management Stations in Oracle Cloud Infrastructure Os Management Hub service. * * Lists management stations within the specified compartment. Filter the list against a variety of criteria * including but not limited to name, status, and location. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagementStations = oci.osmanagementhub.getManagementStations({ * compartmentId: compartmentId, * displayName: managementStationDisplayName, * displayNameContains: managementStationDisplayNameContains, * healthState: managementStationHealthState, * id: managementStationId, * locations: managementStationLocation, * locationNotEqualTos: managementStationLocationNotEqualTo, * managedInstanceId: testManagedInstance.id, * state: managementStationState, * }); * ``` */ export declare function getManagementStationsOutput(args?: GetManagementStationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagementStations. */ export interface GetManagementStationsOutputArgs { /** * (Updatable) The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment. */ compartmentId?: pulumi.Input; /** * A filter to return resources that match the given user-friendly name. */ displayName?: pulumi.Input; /** * A filter to return resources that may partially match the given display name. */ displayNameContains?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter that returns information for management stations in the specified health state. */ healthState?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management station. A filter that returns information about the specified management station. */ id?: pulumi.Input; /** * A filter to return only resources whose location does not match the given value. */ locationNotEqualTos?: pulumi.Input[] | undefined>; /** * A filter to return only resources whose location matches the given value. */ locations?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. This filter returns resources associated with this managed instance. */ managedInstanceId?: pulumi.Input; /** * A filter that returns information for management stations in the specified state. */ state?: pulumi.Input; } //# sourceMappingURL=getManagementStations.d.ts.map