Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
oci.OsManagementHub.getManagementStation
Explore with Pulumi AI
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/v2/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 dictionaryThe following arguments are supported:
- ManagementStation stringId 
- The OCID of the management station.
- ManagementStation stringId 
- The OCID of the management station.
- managementStation StringId 
- The OCID of the management station.
- managementStation stringId 
- The OCID of the management station.
- management_station_ strid 
- The OCID of the management station.
- managementStation StringId 
- 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.
- Dictionary<string, string>
- 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.
- Dictionary<string, string>
- 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<GetManagement Station Health> 
- Overall health information of the management station.
- Hostname string
- Hostname of the management station.
- Id string
- The OCID of the management station.
- ManagedInstance stringId 
- The OCID of the instance that is acting as the management station.
- ManagementStation stringId 
- MirrorCapacity int
- A decimal number representing the amount of mirror capacity used by the sync.
- MirrorSync List<GetStatuses Management Station Mirror Sync Status> 
- Status summary of the mirror sync.
- Mirrors
List<GetManagement Station Mirror> 
- 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<GetManagement Station Proxy> 
- Proxy information used for the management station configuration.
- RefreshTrigger int
- ScheduledJob stringId 
- The OCID of the scheduled job for the mirror sync.
- State string
- The current state of the management station.
- Dictionary<string, string>
- 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.
- map[string]string
- 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.
- map[string]string
- 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
[]GetManagement Station Health 
- Overall health information of the management station.
- Hostname string
- Hostname of the management station.
- Id string
- The OCID of the management station.
- ManagedInstance stringId 
- The OCID of the instance that is acting as the management station.
- ManagementStation stringId 
- MirrorCapacity int
- A decimal number representing the amount of mirror capacity used by the sync.
- MirrorSync []GetStatuses Management Station Mirror Sync Status 
- Status summary of the mirror sync.
- Mirrors
[]GetManagement Station Mirror 
- 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
[]GetManagement Station Proxy 
- Proxy information used for the management station configuration.
- RefreshTrigger int
- ScheduledJob stringId 
- The OCID of the scheduled job for the mirror sync.
- State string
- The current state of the management station.
- map[string]string
- 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.
- Map<String,String>
- 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.
- Map<String,String>
- 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<GetManagement Station Health> 
- Overall health information of the management station.
- hostname String
- Hostname of the management station.
- id String
- The OCID of the management station.
- managedInstance StringId 
- The OCID of the instance that is acting as the management station.
- managementStation StringId 
- mirrorCapacity Integer
- A decimal number representing the amount of mirror capacity used by the sync.
- mirrorSync List<GetStatuses Management Station Mirror Sync Status> 
- Status summary of the mirror sync.
- mirrors
List<GetManagement Station Mirror> 
- 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<GetManagement Station Proxy> 
- Proxy information used for the management station configuration.
- refreshTrigger Integer
- scheduledJob StringId 
- The OCID of the scheduled job for the mirror sync.
- state String
- The current state of the management station.
- Map<String,String>
- 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.
- {[key: string]: string}
- 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.
- {[key: string]: string}
- 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
GetManagement Station Health[] 
- Overall health information of the management station.
- hostname string
- Hostname of the management station.
- id string
- The OCID of the management station.
- managedInstance stringId 
- The OCID of the instance that is acting as the management station.
- managementStation stringId 
- mirrorCapacity number
- A decimal number representing the amount of mirror capacity used by the sync.
- mirrorSync GetStatuses Management Station Mirror Sync Status[] 
- Status summary of the mirror sync.
- mirrors
GetManagement Station Mirror[] 
- 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
GetManagement Station Proxy[] 
- Proxy information used for the management station configuration.
- refreshTrigger number
- scheduledJob stringId 
- The OCID of the scheduled job for the mirror sync.
- state string
- The current state of the management station.
- {[key: string]: string}
- 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.
- Mapping[str, str]
- 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.
- Mapping[str, str]
- 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.Get Management Station Health] 
- Overall health information of the management station.
- hostname str
- Hostname of the management station.
- id str
- The OCID of the management station.
- managed_instance_ strid 
- The OCID of the instance that is acting as the management station.
- management_station_ strid 
- mirror_capacity int
- A decimal number representing the amount of mirror capacity used by the sync.
- mirror_sync_ Sequence[osmanagementhub.statuses Get Management Station Mirror Sync Status] 
- Status summary of the mirror sync.
- mirrors
Sequence[osmanagementhub.Get Management Station Mirror] 
- 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.Get Management Station Proxy] 
- Proxy information used for the management station configuration.
- refresh_trigger int
- scheduled_job_ strid 
- The OCID of the scheduled job for the mirror sync.
- state str
- The current state of the management station.
- Mapping[str, str]
- 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.
- Map<String>
- 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.
- Map<String>
- 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.
- managedInstance StringId 
- The OCID of the instance that is acting as the management station.
- managementStation StringId 
- mirrorCapacity Number
- A decimal number representing the amount of mirror capacity used by the sync.
- mirrorSync List<Property Map>Statuses 
- 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
- scheduledJob StringId 
- The OCID of the scheduled job for the mirror sync.
- state String
- The current state of the management station.
- Map<String>
- 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   
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 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.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.