import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Management Station resource in Oracle Cloud Infrastructure Os Management Hub service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/os-management/latest/ManagementStation * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/os_management_hub * * Creates a management station using the proxy and mirror configuration information provided. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagementStation = new oci.osmanagementhub.ManagementStation("test_management_station", { * compartmentId: compartmentId, * displayName: managementStationDisplayName, * hostname: managementStationHostname, * mirror: { * directory: managementStationMirrorDirectory, * port: managementStationMirrorPort, * sslport: managementStationMirrorSslport, * isSslverifyEnabled: managementStationMirrorIsSslverifyEnabled === "true", * sslcert: managementStationMirrorSslcert, * }, * proxy: { * isEnabled: managementStationProxyIsEnabled === "true", * forward: managementStationProxyForward, * hosts: managementStationProxyHosts, * port: managementStationProxyPort, * }, * archType: managementStationArchType, * definedTags: { * "Operations.CostCenter": "42", * }, * description: managementStationDescription, * freeformTags: { * Department: "Finance", * }, * isAutoConfigEnabled: managementStationIsAutoConfigEnabled === "true", * osFamily: managementStationOsFamily, * }); * ``` * * ## Import * * ManagementStations can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:OsManagementHub/managementStation:ManagementStation test_management_station "id" * ``` */ export declare class ManagementStation extends pulumi.CustomResource { /** * Get an existing ManagementStation resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ManagementStationState, opts?: pulumi.CustomResourceOptions): ManagementStation; /** * Returns true if the given object is an instance of ManagementStation. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ManagementStation; /** * (Updatable) The architecture type. */ readonly archType: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the management station. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * (Updatable) User-specified description of the management station. Avoid entering confidential information. */ readonly description: pulumi.Output; /** * (Updatable) User-friendly name for the management station. Does not have to be unique and you can change the name later. Avoid entering confidential information. */ readonly displayName: pulumi.Output; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * Overall health information of the management station. */ readonly healths: pulumi.Output; /** * (Updatable) Hostname of the management station. */ readonly hostname: pulumi.Output; /** * (Updatable) When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station. */ readonly isAutoConfigEnabled: pulumi.Output; /** * The location of the instance that is acting as the management station. */ readonly location: pulumi.Output; /** * 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: pulumi.Output; /** * (Updatable) Information used to create the mirror configuration for a management station. */ readonly mirror: pulumi.Output; /** * A decimal number representing the amount of mirror capacity used by the sync. */ readonly mirrorCapacity: pulumi.Output; /** * The total number of all packages within the mirrored software sources. */ readonly mirrorPackageCount: pulumi.Output; /** * The total size of all software source mirrors in bytes. */ readonly mirrorSize: pulumi.Output; /** * Amount of available mirror storage in bytes. */ readonly mirrorStorageAvailableSize: pulumi.Output; /** * Total mirror storage size in bytes. */ readonly mirrorStorageSize: pulumi.Output; /** * Status summary of the mirror sync. */ readonly mirrorSyncStatuses: pulumi.Output; /** * The total number of unique packages within the mirrored software sources on the station. Each package is counted only once, regardless of how many versions it has. */ readonly mirrorUniquePackageCount: pulumi.Output; /** * (Updatable) The operating system family. */ readonly osFamily: pulumi.Output; /** * A decimal number representing the progress of the current mirror sync. */ readonly overallPercentage: pulumi.Output; /** * Current state of the mirror sync for the management station. */ readonly overallState: pulumi.Output; /** * A list of other management stations that are behind the same load balancer within a high availability configuration. Stations are identified as peers if they have the same hostname and compartment. */ readonly peerManagementStations: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile used for the management station. */ readonly profileId: pulumi.Output; /** * (Updatable) Information used to create the proxy configuration for a management station. */ readonly proxy: pulumi.Output; /** * (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly refreshTrigger: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled job for the mirror sync. */ readonly scheduledJobId: pulumi.Output; /** * The current state of the management station. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The number of software sources that the station is mirroring. */ readonly totalMirrors: pulumi.Output; /** * Create a ManagementStation resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ManagementStationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ManagementStation resources. */ export interface ManagementStationState { /** * (Updatable) The architecture type. */ archType?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the management station. */ compartmentId?: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) User-specified description of the management station. Avoid entering confidential information. */ description?: pulumi.Input; /** * (Updatable) User-friendly name for the management station. Does not have to be unique and you can change the name later. Avoid entering confidential information. */ displayName?: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Overall health information of the management station. */ healths?: pulumi.Input[] | undefined>; /** * (Updatable) Hostname of the management station. */ hostname?: pulumi.Input; /** * (Updatable) When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station. */ isAutoConfigEnabled?: pulumi.Input; /** * The location of the instance that is acting as the management station. */ location?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance that is acting as the management station. */ managedInstanceId?: pulumi.Input; /** * (Updatable) Information used to create the mirror configuration for a management station. */ mirror?: pulumi.Input; /** * A decimal number representing the amount of mirror capacity used by the sync. */ mirrorCapacity?: pulumi.Input; /** * The total number of all packages within the mirrored software sources. */ mirrorPackageCount?: pulumi.Input; /** * The total size of all software source mirrors in bytes. */ mirrorSize?: pulumi.Input; /** * Amount of available mirror storage in bytes. */ mirrorStorageAvailableSize?: pulumi.Input; /** * Total mirror storage size in bytes. */ mirrorStorageSize?: pulumi.Input; /** * Status summary of the mirror sync. */ mirrorSyncStatuses?: pulumi.Input[] | undefined>; /** * The total number of unique packages within the mirrored software sources on the station. Each package is counted only once, regardless of how many versions it has. */ mirrorUniquePackageCount?: pulumi.Input; /** * (Updatable) The operating system family. */ osFamily?: pulumi.Input; /** * A decimal number representing the progress of the current mirror sync. */ overallPercentage?: pulumi.Input; /** * Current state of the mirror sync for the management station. */ overallState?: pulumi.Input; /** * A list of other management stations that are behind the same load balancer within a high availability configuration. Stations are identified as peers if they have the same hostname and compartment. */ peerManagementStations?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the registration profile used for the management station. */ profileId?: pulumi.Input; /** * (Updatable) Information used to create the proxy configuration for a management station. */ proxy?: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ refreshTrigger?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the scheduled job for the mirror sync. */ scheduledJobId?: pulumi.Input; /** * The current state of the management station. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The number of software sources that the station is mirroring. */ totalMirrors?: pulumi.Input; } /** * The set of arguments for constructing a ManagementStation resource. */ export interface ManagementStationArgs { /** * (Updatable) The architecture type. */ archType?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the management station. */ compartmentId: pulumi.Input; /** * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) User-specified description of the management station. Avoid entering confidential information. */ description?: pulumi.Input; /** * (Updatable) User-friendly name for the management station. Does not have to be unique and you can change the name later. Avoid entering confidential information. */ displayName: pulumi.Input; /** * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * (Updatable) Hostname of the management station. */ hostname: pulumi.Input; /** * (Updatable) When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station. */ isAutoConfigEnabled?: pulumi.Input; /** * (Updatable) Information used to create the mirror configuration for a management station. */ mirror: pulumi.Input; /** * (Updatable) The operating system family. */ osFamily?: pulumi.Input; /** * (Updatable) Information used to create the proxy configuration for a management station. */ proxy: pulumi.Input; /** * (Updatable) An optional property when incremented triggers Refresh. Could be set to any integer value. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ refreshTrigger?: pulumi.Input; } //# sourceMappingURL=managementStation.d.ts.map