Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.OsManagementHub.getManagementStation
Explore with Pulumi AI
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:
- Management
Station stringId - The OCID of the management station.
- Management
Station stringId - The OCID of the management station.
- management
Station StringId - The OCID of the management station.
- management
Station stringId - The OCID of the management station.
- management_
station_ strid - The OCID of the management station.
- management
Station StringId - The OCID of the management station.
getManagementStation Result
The following output properties are available:
- Compartment
Id string - The OCID of the compartment that contains the management station.
- 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.
- Display
Name string - A user-friendly name for the management station.
- 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<Get
Management Station Health> - Overall health information of the management station.
- Hostname string
- Hostname of the management station.
- Id string
- The OCID of the management station.
- Managed
Instance stringId - The OCID of the instance that is acting as the management station.
- Management
Station stringId - Mirror
Capacity int - A decimal number representing the amount of mirror capacity used by the sync.
- Mirror
Sync List<GetStatuses Management Station Mirror Sync Status> - Status summary of the mirror sync.
- Mirrors
List<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 string - Current state of the mirror sync for the management station.
- Profile
Id string - The OCID of the registration profile used for the management station.
- Proxies
List<Get
Management Station Proxy> - Proxy information used for the management station configuration.
- Refresh
Trigger int - Scheduled
Job stringId - The OCID of the scheduled job for the mirror sync.
- State string
- The current state of the management station.
- Dictionary<string, object>
- 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.
- Compartment
Id string - The OCID of the compartment that contains the management station.
- 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.
- Display
Name string - A user-friendly name for the management station.
- 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
[]Get
Management Station Health - Overall health information of the management station.
- Hostname string
- Hostname of the management station.
- Id string
- The OCID of the management station.
- Managed
Instance stringId - The OCID of the instance that is acting as the management station.
- Management
Station stringId - Mirror
Capacity int - A decimal number representing the amount of mirror capacity used by the sync.
- Mirror
Sync []GetStatuses Management Station Mirror Sync Status - Status summary of the mirror sync.
- Mirrors
[]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 string - Current state of the mirror sync for the management station.
- Profile
Id string - The OCID of the registration profile used for the management station.
- Proxies
[]Get
Management Station Proxy - Proxy information used for the management station configuration.
- Refresh
Trigger int - Scheduled
Job stringId - The OCID of the scheduled job for the mirror sync.
- State string
- The current state of the management station.
- map[string]interface{}
- 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.
- compartment
Id String - The OCID of the compartment that contains the management station.
- 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.
- display
Name String - A user-friendly name for the management station.
- 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<Get
Management Station Health> - Overall health information of the management station.
- hostname String
- Hostname of the management station.
- id String
- The OCID of the management station.
- managed
Instance StringId - The OCID of the instance that is acting as the management station.
- management
Station StringId - mirror
Capacity Integer - A decimal number representing the amount of mirror capacity used by the sync.
- mirror
Sync List<GetStatuses Management Station Mirror Sync Status> - Status summary of the mirror sync.
- mirrors
List<Get
Management Station Mirror> - Mirror information used for the management station configuration.
- overall
Percentage Integer - A decimal number representing the progress of the current mirror sync.
- overall
State String - Current state of the mirror sync for the management station.
- profile
Id String - The OCID of the registration profile used for the management station.
- proxies
List<Get
Management Station Proxy> - Proxy information used for the management station configuration.
- refresh
Trigger Integer - scheduled
Job StringId - The OCID of the scheduled job for the mirror sync.
- state String
- The current state of the management station.
- Map<String,Object>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- total
Mirrors Integer - The number of software sources that the station is mirroring.
- compartment
Id string - The OCID of the compartment that contains the management station.
- {[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.
- display
Name string - A user-friendly name for the management station.
- {[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
Get
Management Station Health[] - Overall health information of the management station.
- hostname string
- Hostname of the management station.
- id string
- The OCID of the management station.
- managed
Instance stringId - The OCID of the instance that is acting as the management station.
- management
Station stringId - mirror
Capacity number - A decimal number representing the amount of mirror capacity used by the sync.
- mirror
Sync GetStatuses Management Station Mirror Sync Status[] - Status summary of the mirror sync.
- mirrors
Get
Management Station Mirror[] - Mirror information used for the management station configuration.
- overall
Percentage number - A decimal number representing the progress of the current mirror sync.
- overall
State string - Current state of the mirror sync for the management station.
- profile
Id string - The OCID of the registration profile used for the management station.
- proxies
Get
Management Station Proxy[] - Proxy information used for the management station configuration.
- refresh
Trigger number - scheduled
Job stringId - The OCID of the scheduled job for the mirror sync.
- state string
- The current state of the management station.
- {[key: string]: any}
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- total
Mirrors 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, 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.
- 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.
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, 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.
- compartment
Id String - The OCID of the compartment that contains the management station.
- 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.
- display
Name String - A user-friendly name for the management station.
- 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.
- managed
Instance StringId - The OCID of the instance that is acting as the management station.
- management
Station StringId - mirror
Capacity Number - A decimal number representing the amount of mirror capacity used by the sync.
- mirror
Sync List<Property Map>Statuses - Status summary of the mirror sync.
- mirrors List<Property Map>
- Mirror information used for the management station configuration.
- overall
Percentage Number - A decimal number representing the progress of the current mirror sync.
- overall
State String - Current state of the mirror sync for the management station.
- profile
Id String - The OCID of the registration profile used for the management station.
- proxies List<Property Map>
- Proxy information used for the management station configuration.
- refresh
Trigger Number - scheduled
Job StringId - The OCID of the scheduled job for the mirror sync.
- state String
- The current state of the management station.
- Map<Any>
- System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud.free-tier-retained": "true"}
- total
Mirrors 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
oci
Terraform Provider.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi