1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. OsManagementHub
  5. getManagementStation
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

oci.OsManagementHub.getManagementStation

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi

    This data source provides details about a specific Management Station resource in Oracle Cloud Infrastructure Os Management Hub service.

    Gets information about the specified management station.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testManagementStation = oci.OsManagementHub.getManagementStation({
        managementStationId: testManagementStationOciOsManagementHubManagementStation.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_management_station = oci.OsManagementHub.get_management_station(management_station_id=test_management_station_oci_os_management_hub_management_station["id"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/OsManagementHub"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := OsManagementHub.GetManagementStation(ctx, &osmanagementhub.GetManagementStationArgs{
    			ManagementStationId: testManagementStationOciOsManagementHubManagementStation.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testManagementStation = Oci.OsManagementHub.GetManagementStation.Invoke(new()
        {
            ManagementStationId = testManagementStationOciOsManagementHubManagementStation.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.OsManagementHub.OsManagementHubFunctions;
    import com.pulumi.oci.OsManagementHub.inputs.GetManagementStationArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testManagementStation = OsManagementHubFunctions.getManagementStation(GetManagementStationArgs.builder()
                .managementStationId(testManagementStationOciOsManagementHubManagementStation.id())
                .build());
    
        }
    }
    
    variables:
      testManagementStation:
        fn::invoke:
          Function: oci:OsManagementHub:getManagementStation
          Arguments:
            managementStationId: ${testManagementStationOciOsManagementHubManagementStation.id}
    

    Using getManagementStation

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getManagementStation(args: GetManagementStationArgs, opts?: InvokeOptions): Promise<GetManagementStationResult>
    function getManagementStationOutput(args: GetManagementStationOutputArgs, opts?: InvokeOptions): Output<GetManagementStationResult>
    def get_management_station(management_station_id: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetManagementStationResult
    def get_management_station_output(management_station_id: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetManagementStationResult]
    func GetManagementStation(ctx *Context, args *GetManagementStationArgs, opts ...InvokeOption) (*GetManagementStationResult, error)
    func GetManagementStationOutput(ctx *Context, args *GetManagementStationOutputArgs, opts ...InvokeOption) GetManagementStationResultOutput

    > Note: This function is named GetManagementStation in the Go SDK.

    public static class GetManagementStation 
    {
        public static Task<GetManagementStationResult> InvokeAsync(GetManagementStationArgs args, InvokeOptions? opts = null)
        public static Output<GetManagementStationResult> Invoke(GetManagementStationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetManagementStationResult> getManagementStation(GetManagementStationArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:OsManagementHub/getManagementStation:getManagementStation
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ManagementStationId string
    The OCID of the management station.
    ManagementStationId string
    The OCID of the management station.
    managementStationId String
    The OCID of the management station.
    managementStationId string
    The OCID of the management station.
    management_station_id str
    The OCID of the management station.
    managementStationId String
    The OCID of the management station.

    getManagementStation Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment that contains the management station.
    DefinedTags Dictionary<string, object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    Explanation of the health status.
    DisplayName string
    A user-friendly name for the management station.
    FreeformTags Dictionary<string, object>
    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. Example: {"Department": "Finance"}
    Healths List<GetManagementStationHealth>
    Overall health information of the management station.
    Hostname string
    Hostname of the management station.
    Id string
    The OCID of the management station.
    ManagedInstanceId string
    The OCID of the instance that is acting as the management station.
    ManagementStationId string
    MirrorCapacity int
    A decimal number representing the amount of mirror capacity used by the sync.
    MirrorSyncStatuses List<GetManagementStationMirrorSyncStatus>
    Status summary of the mirror sync.
    Mirrors List<GetManagementStationMirror>
    Mirror information used for the management station configuration.
    OverallPercentage int
    A decimal number representing the progress of the current mirror sync.
    OverallState string
    Current state of the mirror sync for the management station.
    ProfileId string
    The OCID of the registration profile used for the management station.
    Proxies List<GetManagementStationProxy>
    Proxy information used for the management station configuration.
    RefreshTrigger int
    ScheduledJobId string
    The OCID of the scheduled job for the mirror sync.
    State string
    The current state of the management station.
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TotalMirrors int
    The number of software sources that the station is mirroring.
    CompartmentId string
    The OCID of the compartment that contains the management station.
    DefinedTags map[string]interface{}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    Description string
    Explanation of the health status.
    DisplayName string
    A user-friendly name for the management station.
    FreeformTags map[string]interface{}
    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. Example: {"Department": "Finance"}
    Healths []GetManagementStationHealth
    Overall health information of the management station.
    Hostname string
    Hostname of the management station.
    Id string
    The OCID of the management station.
    ManagedInstanceId string
    The OCID of the instance that is acting as the management station.
    ManagementStationId string
    MirrorCapacity int
    A decimal number representing the amount of mirror capacity used by the sync.
    MirrorSyncStatuses []GetManagementStationMirrorSyncStatus
    Status summary of the mirror sync.
    Mirrors []GetManagementStationMirror
    Mirror information used for the management station configuration.
    OverallPercentage int
    A decimal number representing the progress of the current mirror sync.
    OverallState string
    Current state of the mirror sync for the management station.
    ProfileId string
    The OCID of the registration profile used for the management station.
    Proxies []GetManagementStationProxy
    Proxy information used for the management station configuration.
    RefreshTrigger int
    ScheduledJobId string
    The OCID of the scheduled job for the mirror sync.
    State string
    The current state of the management station.
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    TotalMirrors int
    The number of software sources that the station is mirroring.
    compartmentId String
    The OCID of the compartment that contains the management station.
    definedTags Map<String,Object>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    Explanation of the health status.
    displayName String
    A user-friendly name for the management station.
    freeformTags Map<String,Object>
    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. Example: {"Department": "Finance"}
    healths List<GetManagementStationHealth>
    Overall health information of the management station.
    hostname String
    Hostname of the management station.
    id String
    The OCID of the management station.
    managedInstanceId String
    The OCID of the instance that is acting as the management station.
    managementStationId String
    mirrorCapacity Integer
    A decimal number representing the amount of mirror capacity used by the sync.
    mirrorSyncStatuses List<GetManagementStationMirrorSyncStatus>
    Status summary of the mirror sync.
    mirrors List<GetManagementStationMirror>
    Mirror information used for the management station configuration.
    overallPercentage Integer
    A decimal number representing the progress of the current mirror sync.
    overallState String
    Current state of the mirror sync for the management station.
    profileId String
    The OCID of the registration profile used for the management station.
    proxies List<GetManagementStationProxy>
    Proxy information used for the management station configuration.
    refreshTrigger Integer
    scheduledJobId String
    The OCID of the scheduled job for the mirror sync.
    state String
    The current state of the management station.
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    totalMirrors Integer
    The number of software sources that the station is mirroring.
    compartmentId string
    The OCID of the compartment that contains the management station.
    definedTags {[key: string]: any}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description string
    Explanation of the health status.
    displayName string
    A user-friendly name for the management station.
    freeformTags {[key: string]: any}
    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. Example: {"Department": "Finance"}
    healths GetManagementStationHealth[]
    Overall health information of the management station.
    hostname string
    Hostname of the management station.
    id string
    The OCID of the management station.
    managedInstanceId string
    The OCID of the instance that is acting as the management station.
    managementStationId string
    mirrorCapacity number
    A decimal number representing the amount of mirror capacity used by the sync.
    mirrorSyncStatuses GetManagementStationMirrorSyncStatus[]
    Status summary of the mirror sync.
    mirrors GetManagementStationMirror[]
    Mirror information used for the management station configuration.
    overallPercentage number
    A decimal number representing the progress of the current mirror sync.
    overallState string
    Current state of the mirror sync for the management station.
    profileId string
    The OCID of the registration profile used for the management station.
    proxies GetManagementStationProxy[]
    Proxy information used for the management station configuration.
    refreshTrigger number
    scheduledJobId string
    The OCID of the scheduled job for the mirror sync.
    state string
    The current state of the management station.
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    totalMirrors number
    The number of software sources that the station is mirroring.
    compartment_id str
    The OCID of the compartment that contains the management station.
    defined_tags Mapping[str, Any]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description str
    Explanation of the health status.
    display_name str
    A user-friendly name for the management station.
    freeform_tags Mapping[str, Any]
    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. Example: {"Department": "Finance"}
    healths Sequence[osmanagementhub.GetManagementStationHealth]
    Overall health information of the management station.
    hostname str
    Hostname of the management station.
    id str
    The OCID of the management station.
    managed_instance_id str
    The OCID of the instance that is acting as the management station.
    management_station_id str
    mirror_capacity int
    A decimal number representing the amount of mirror capacity used by the sync.
    mirror_sync_statuses Sequence[osmanagementhub.GetManagementStationMirrorSyncStatus]
    Status summary of the mirror sync.
    mirrors Sequence[osmanagementhub.GetManagementStationMirror]
    Mirror information used for the management station configuration.
    overall_percentage int
    A decimal number representing the progress of the current mirror sync.
    overall_state str
    Current state of the mirror sync for the management station.
    profile_id str
    The OCID of the registration profile used for the management station.
    proxies Sequence[osmanagementhub.GetManagementStationProxy]
    Proxy information used for the management station configuration.
    refresh_trigger int
    scheduled_job_id str
    The OCID of the scheduled job for the mirror sync.
    state str
    The current state of the management station.
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    total_mirrors int
    The number of software sources that the station is mirroring.
    compartmentId String
    The OCID of the compartment that contains the management station.
    definedTags Map<Any>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
    description String
    Explanation of the health status.
    displayName String
    A user-friendly name for the management station.
    freeformTags Map<Any>
    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. Example: {"Department": "Finance"}
    healths List<Property Map>
    Overall health information of the management station.
    hostname String
    Hostname of the management station.
    id String
    The OCID of the management station.
    managedInstanceId String
    The OCID of the instance that is acting as the management station.
    managementStationId String
    mirrorCapacity Number
    A decimal number representing the amount of mirror capacity used by the sync.
    mirrorSyncStatuses List<Property Map>
    Status summary of the mirror sync.
    mirrors List<Property Map>
    Mirror information used for the management station configuration.
    overallPercentage Number
    A decimal number representing the progress of the current mirror sync.
    overallState String
    Current state of the mirror sync for the management station.
    profileId String
    The OCID of the registration profile used for the management station.
    proxies List<Property Map>
    Proxy information used for the management station configuration.
    refreshTrigger Number
    scheduledJobId String
    The OCID of the scheduled job for the mirror sync.
    state String
    The current state of the management station.
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. Example: {"orcl-cloud.free-tier-retained": "true"}
    totalMirrors Number
    The number of software sources that the station is mirroring.

    Supporting Types

    GetManagementStationHealth

    Description string
    Explanation of the health status.
    State string
    The current state of the management station.
    Description string
    Explanation of the health status.
    State string
    The current state of the management station.
    description String
    Explanation of the health status.
    state String
    The current state of the management station.
    description string
    Explanation of the health status.
    state string
    The current state of the management station.
    description str
    Explanation of the health status.
    state str
    The current state of the management station.
    description String
    Explanation of the health status.
    state String
    The current state of the management station.

    GetManagementStationMirror

    Directory string
    Path to the data volume on the management station where software source mirrors are stored.
    Port string
    Listening port used for the proxy.
    Sslcert string
    Path to the SSL cerfificate.
    Sslport string
    Default mirror listening port for https.
    Directory string
    Path to the data volume on the management station where software source mirrors are stored.
    Port string
    Listening port used for the proxy.
    Sslcert string
    Path to the SSL cerfificate.
    Sslport string
    Default mirror listening port for https.
    directory String
    Path to the data volume on the management station where software source mirrors are stored.
    port String
    Listening port used for the proxy.
    sslcert String
    Path to the SSL cerfificate.
    sslport String
    Default mirror listening port for https.
    directory string
    Path to the data volume on the management station where software source mirrors are stored.
    port string
    Listening port used for the proxy.
    sslcert string
    Path to the SSL cerfificate.
    sslport string
    Default mirror listening port for https.
    directory str
    Path to the data volume on the management station where software source mirrors are stored.
    port str
    Listening port used for the proxy.
    sslcert str
    Path to the SSL cerfificate.
    sslport str
    Default mirror listening port for https.
    directory String
    Path to the data volume on the management station where software source mirrors are stored.
    port String
    Listening port used for the proxy.
    sslcert String
    Path to the SSL cerfificate.
    sslport String
    Default mirror listening port for https.

    GetManagementStationMirrorSyncStatus

    Failed int
    Total number of software sources that failed to sync.
    Queued int
    Total number of software sources that are queued for sync.
    Synced int
    Total number of software sources that successfully synced.
    Syncing int
    Total number of software sources currently syncing.
    Unsynced int
    Total number of software sources that have not yet been synced.
    Failed int
    Total number of software sources that failed to sync.
    Queued int
    Total number of software sources that are queued for sync.
    Synced int
    Total number of software sources that successfully synced.
    Syncing int
    Total number of software sources currently syncing.
    Unsynced int
    Total number of software sources that have not yet been synced.
    failed Integer
    Total number of software sources that failed to sync.
    queued Integer
    Total number of software sources that are queued for sync.
    synced Integer
    Total number of software sources that successfully synced.
    syncing Integer
    Total number of software sources currently syncing.
    unsynced Integer
    Total number of software sources that have not yet been synced.
    failed number
    Total number of software sources that failed to sync.
    queued number
    Total number of software sources that are queued for sync.
    synced number
    Total number of software sources that successfully synced.
    syncing number
    Total number of software sources currently syncing.
    unsynced number
    Total number of software sources that have not yet been synced.
    failed int
    Total number of software sources that failed to sync.
    queued int
    Total number of software sources that are queued for sync.
    synced int
    Total number of software sources that successfully synced.
    syncing int
    Total number of software sources currently syncing.
    unsynced int
    Total number of software sources that have not yet been synced.
    failed Number
    Total number of software sources that failed to sync.
    queued Number
    Total number of software sources that are queued for sync.
    synced Number
    Total number of software sources that successfully synced.
    syncing Number
    Total number of software sources currently syncing.
    unsynced Number
    Total number of software sources that have not yet been synced.

    GetManagementStationProxy

    Forward string
    The URL the proxy will forward to.
    Hosts List<string>
    List of hosts.
    IsEnabled bool
    Indicates if the proxy should be enabled or disabled. Default is enabled.
    Port string
    Listening port used for the proxy.
    Forward string
    The URL the proxy will forward to.
    Hosts []string
    List of hosts.
    IsEnabled bool
    Indicates if the proxy should be enabled or disabled. Default is enabled.
    Port string
    Listening port used for the proxy.
    forward String
    The URL the proxy will forward to.
    hosts List<String>
    List of hosts.
    isEnabled Boolean
    Indicates if the proxy should be enabled or disabled. Default is enabled.
    port String
    Listening port used for the proxy.
    forward string
    The URL the proxy will forward to.
    hosts string[]
    List of hosts.
    isEnabled boolean
    Indicates if the proxy should be enabled or disabled. Default is enabled.
    port string
    Listening port used for the proxy.
    forward str
    The URL the proxy will forward to.
    hosts Sequence[str]
    List of hosts.
    is_enabled bool
    Indicates if the proxy should be enabled or disabled. Default is enabled.
    port str
    Listening port used for the proxy.
    forward String
    The URL the proxy will forward to.
    hosts List<String>
    List of hosts.
    isEnabled Boolean
    Indicates if the proxy should be enabled or disabled. Default is enabled.
    port String
    Listening port used for the proxy.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi