oci.OsManagementHub.ManagementStation
Explore with Pulumi AI
This resource provides the Management Station resource in Oracle Cloud Infrastructure Os Management Hub service.
Create a management station. You must provide proxy and mirror configuration information.
Example Usage
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,
sslcert: managementStationMirrorSslcert,
},
proxy: {
isEnabled: managementStationProxyIsEnabled,
forward: managementStationProxyForward,
hosts: managementStationProxyHosts,
port: managementStationProxyPort,
},
definedTags: {
"Operations.CostCenter": "42",
},
description: managementStationDescription,
freeformTags: {
Department: "Finance",
},
});
import pulumi
import pulumi_oci as oci
test_management_station = oci.os_management_hub.ManagementStation("test_management_station",
compartment_id=compartment_id,
display_name=management_station_display_name,
hostname=management_station_hostname,
mirror={
"directory": management_station_mirror_directory,
"port": management_station_mirror_port,
"sslport": management_station_mirror_sslport,
"sslcert": management_station_mirror_sslcert,
},
proxy={
"is_enabled": management_station_proxy_is_enabled,
"forward": management_station_proxy_forward,
"hosts": management_station_proxy_hosts,
"port": management_station_proxy_port,
},
defined_tags={
"Operations.CostCenter": "42",
},
description=management_station_description,
freeform_tags={
"Department": "Finance",
})
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.NewManagementStation(ctx, "test_management_station", &OsManagementHub.ManagementStationArgs{
CompartmentId: pulumi.Any(compartmentId),
DisplayName: pulumi.Any(managementStationDisplayName),
Hostname: pulumi.Any(managementStationHostname),
Mirror: &osmanagementhub.ManagementStationMirrorArgs{
Directory: pulumi.Any(managementStationMirrorDirectory),
Port: pulumi.Any(managementStationMirrorPort),
Sslport: pulumi.Any(managementStationMirrorSslport),
Sslcert: pulumi.Any(managementStationMirrorSslcert),
},
Proxy: &osmanagementhub.ManagementStationProxyArgs{
IsEnabled: pulumi.Any(managementStationProxyIsEnabled),
Forward: pulumi.Any(managementStationProxyForward),
Hosts: pulumi.Any(managementStationProxyHosts),
Port: pulumi.Any(managementStationProxyPort),
},
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
Description: pulumi.Any(managementStationDescription),
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
})
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 = new Oci.OsManagementHub.ManagementStation("test_management_station", new()
{
CompartmentId = compartmentId,
DisplayName = managementStationDisplayName,
Hostname = managementStationHostname,
Mirror = new Oci.OsManagementHub.Inputs.ManagementStationMirrorArgs
{
Directory = managementStationMirrorDirectory,
Port = managementStationMirrorPort,
Sslport = managementStationMirrorSslport,
Sslcert = managementStationMirrorSslcert,
},
Proxy = new Oci.OsManagementHub.Inputs.ManagementStationProxyArgs
{
IsEnabled = managementStationProxyIsEnabled,
Forward = managementStationProxyForward,
Hosts = managementStationProxyHosts,
Port = managementStationProxyPort,
},
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
Description = managementStationDescription,
FreeformTags =
{
{ "Department", "Finance" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.OsManagementHub.ManagementStation;
import com.pulumi.oci.OsManagementHub.ManagementStationArgs;
import com.pulumi.oci.OsManagementHub.inputs.ManagementStationMirrorArgs;
import com.pulumi.oci.OsManagementHub.inputs.ManagementStationProxyArgs;
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) {
var testManagementStation = new ManagementStation("testManagementStation", ManagementStationArgs.builder()
.compartmentId(compartmentId)
.displayName(managementStationDisplayName)
.hostname(managementStationHostname)
.mirror(ManagementStationMirrorArgs.builder()
.directory(managementStationMirrorDirectory)
.port(managementStationMirrorPort)
.sslport(managementStationMirrorSslport)
.sslcert(managementStationMirrorSslcert)
.build())
.proxy(ManagementStationProxyArgs.builder()
.isEnabled(managementStationProxyIsEnabled)
.forward(managementStationProxyForward)
.hosts(managementStationProxyHosts)
.port(managementStationProxyPort)
.build())
.definedTags(Map.of("Operations.CostCenter", "42"))
.description(managementStationDescription)
.freeformTags(Map.of("Department", "Finance"))
.build());
}
}
resources:
testManagementStation:
type: oci:OsManagementHub:ManagementStation
name: test_management_station
properties:
compartmentId: ${compartmentId}
displayName: ${managementStationDisplayName}
hostname: ${managementStationHostname}
mirror:
directory: ${managementStationMirrorDirectory}
port: ${managementStationMirrorPort}
sslport: ${managementStationMirrorSslport}
sslcert: ${managementStationMirrorSslcert}
proxy:
isEnabled: ${managementStationProxyIsEnabled}
forward: ${managementStationProxyForward}
hosts: ${managementStationProxyHosts}
port: ${managementStationProxyPort}
definedTags:
Operations.CostCenter: '42'
description: ${managementStationDescription}
freeformTags:
Department: Finance
Create ManagementStation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementStation(name: string, args: ManagementStationArgs, opts?: CustomResourceOptions);
@overload
def ManagementStation(resource_name: str,
args: ManagementStationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementStation(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
display_name: Optional[str] = None,
hostname: Optional[str] = None,
mirror: Optional[_osmanagementhub.ManagementStationMirrorArgs] = None,
proxy: Optional[_osmanagementhub.ManagementStationProxyArgs] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
refresh_trigger: Optional[int] = None)
func NewManagementStation(ctx *Context, name string, args ManagementStationArgs, opts ...ResourceOption) (*ManagementStation, error)
public ManagementStation(string name, ManagementStationArgs args, CustomResourceOptions? opts = null)
public ManagementStation(String name, ManagementStationArgs args)
public ManagementStation(String name, ManagementStationArgs args, CustomResourceOptions options)
type: oci:OsManagementHub:ManagementStation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ManagementStationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ManagementStationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ManagementStationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementStationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementStationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var managementStationResource = new Oci.OsManagementHub.ManagementStation("managementStationResource", new()
{
CompartmentId = "string",
DisplayName = "string",
Hostname = "string",
Mirror = new Oci.OsManagementHub.Inputs.ManagementStationMirrorArgs
{
Directory = "string",
Port = "string",
Sslport = "string",
Sslcert = "string",
},
Proxy = new Oci.OsManagementHub.Inputs.ManagementStationProxyArgs
{
IsEnabled = false,
Forward = "string",
Hosts = new[]
{
"string",
},
Port = "string",
},
DefinedTags =
{
{ "string", "string" },
},
Description = "string",
FreeformTags =
{
{ "string", "string" },
},
RefreshTrigger = 0,
});
example, err := OsManagementHub.NewManagementStation(ctx, "managementStationResource", &OsManagementHub.ManagementStationArgs{
CompartmentId: pulumi.String("string"),
DisplayName: pulumi.String("string"),
Hostname: pulumi.String("string"),
Mirror: &osmanagementhub.ManagementStationMirrorArgs{
Directory: pulumi.String("string"),
Port: pulumi.String("string"),
Sslport: pulumi.String("string"),
Sslcert: pulumi.String("string"),
},
Proxy: &osmanagementhub.ManagementStationProxyArgs{
IsEnabled: pulumi.Bool(false),
Forward: pulumi.String("string"),
Hosts: pulumi.StringArray{
pulumi.String("string"),
},
Port: pulumi.String("string"),
},
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Description: pulumi.String("string"),
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
RefreshTrigger: pulumi.Int(0),
})
var managementStationResource = new ManagementStation("managementStationResource", ManagementStationArgs.builder()
.compartmentId("string")
.displayName("string")
.hostname("string")
.mirror(ManagementStationMirrorArgs.builder()
.directory("string")
.port("string")
.sslport("string")
.sslcert("string")
.build())
.proxy(ManagementStationProxyArgs.builder()
.isEnabled(false)
.forward("string")
.hosts("string")
.port("string")
.build())
.definedTags(Map.of("string", "string"))
.description("string")
.freeformTags(Map.of("string", "string"))
.refreshTrigger(0)
.build());
management_station_resource = oci.os_management_hub.ManagementStation("managementStationResource",
compartment_id="string",
display_name="string",
hostname="string",
mirror=oci.os_management_hub.ManagementStationMirrorArgs(
directory="string",
port="string",
sslport="string",
sslcert="string",
),
proxy=oci.os_management_hub.ManagementStationProxyArgs(
is_enabled=False,
forward="string",
hosts=["string"],
port="string",
),
defined_tags={
"string": "string",
},
description="string",
freeform_tags={
"string": "string",
},
refresh_trigger=0)
const managementStationResource = new oci.osmanagementhub.ManagementStation("managementStationResource", {
compartmentId: "string",
displayName: "string",
hostname: "string",
mirror: {
directory: "string",
port: "string",
sslport: "string",
sslcert: "string",
},
proxy: {
isEnabled: false,
forward: "string",
hosts: ["string"],
port: "string",
},
definedTags: {
string: "string",
},
description: "string",
freeformTags: {
string: "string",
},
refreshTrigger: 0,
});
type: oci:OsManagementHub:ManagementStation
properties:
compartmentId: string
definedTags:
string: string
description: string
displayName: string
freeformTags:
string: string
hostname: string
mirror:
directory: string
port: string
sslcert: string
sslport: string
proxy:
forward: string
hosts:
- string
isEnabled: false
port: string
refreshTrigger: 0
ManagementStation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ManagementStation resource accepts the following input properties:
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the management station.
- Display
Name string - (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.
- Hostname string
- (Updatable) Hostname of the management station.
- Mirror
Management
Station Mirror - (Updatable) Information used to create the mirror configuration for a management station.
- Proxy
Management
Station Proxy - (Updatable) Information used to create the proxy configuration for a management station.
- Dictionary<string, string>
- (Updatable) 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
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- Dictionary<string, string>
- (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. Example:
{"Department": "Finance"}
- Refresh
Trigger int (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
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the management station.
- Display
Name string - (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.
- Hostname string
- (Updatable) Hostname of the management station.
- Mirror
Management
Station Mirror Args - (Updatable) Information used to create the mirror configuration for a management station.
- Proxy
Management
Station Proxy Args - (Updatable) Information used to create the proxy configuration for a management station.
- map[string]string
- (Updatable) 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
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- map[string]string
- (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. Example:
{"Department": "Finance"}
- Refresh
Trigger int (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
- compartment
Id String - (Updatable) The OCID of the compartment that contains the management station.
- display
Name String - (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.
- hostname String
- (Updatable) Hostname of the management station.
- mirror
Management
Station Mirror - (Updatable) Information used to create the mirror configuration for a management station.
- proxy
Management
Station Proxy - (Updatable) Information used to create the proxy configuration for a management station.
- Map<String,String>
- (Updatable) 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
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- Map<String,String>
- (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. Example:
{"Department": "Finance"}
- refresh
Trigger Integer (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
- compartment
Id string - (Updatable) The OCID of the compartment that contains the management station.
- display
Name string - (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.
- hostname string
- (Updatable) Hostname of the management station.
- mirror
Management
Station Mirror - (Updatable) Information used to create the mirror configuration for a management station.
- proxy
Management
Station Proxy - (Updatable) Information used to create the proxy configuration for a management station.
- {[key: string]: string}
- (Updatable) 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
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- {[key: string]: string}
- (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. Example:
{"Department": "Finance"}
- refresh
Trigger number (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
- compartment_
id str - (Updatable) The OCID of the compartment that contains the management station.
- display_
name str - (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.
- hostname str
- (Updatable) Hostname of the management station.
- mirror
osmanagementhub.
Management Station Mirror Args - (Updatable) Information used to create the mirror configuration for a management station.
- proxy
osmanagementhub.
Management Station Proxy Args - (Updatable) Information used to create the proxy configuration for a management station.
- Mapping[str, str]
- (Updatable) 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
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- Mapping[str, str]
- (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. Example:
{"Department": "Finance"}
- refresh_
trigger int (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
- compartment
Id String - (Updatable) The OCID of the compartment that contains the management station.
- display
Name String - (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.
- hostname String
- (Updatable) Hostname of the management station.
- mirror Property Map
- (Updatable) Information used to create the mirror configuration for a management station.
- proxy Property Map
- (Updatable) Information used to create the proxy configuration for a management station.
- Map<String>
- (Updatable) 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
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- Map<String>
- (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. Example:
{"Department": "Finance"}
- refresh
Trigger Number (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
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementStation resource produces the following output properties:
- Healths
List<Management
Station Health> - Overall health information of the management station.
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Instance stringId - The OCID of the instance that is acting as the management station.
- Mirror
Capacity int - A decimal number representing the amount of mirror capacity used by the sync.
- Mirror
Sync List<ManagementStatuses Station Mirror Sync Status> - Status summary of the mirror sync.
- 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.
- Scheduled
Job 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"}
- Total
Mirrors int - The number of software sources that the station is mirroring.
- Healths
[]Management
Station Health - Overall health information of the management station.
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Instance stringId - The OCID of the instance that is acting as the management station.
- Mirror
Capacity int - A decimal number representing the amount of mirror capacity used by the sync.
- Mirror
Sync []ManagementStatuses Station Mirror Sync Status - Status summary of the mirror sync.
- 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.
- Scheduled
Job 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"}
- Total
Mirrors int - The number of software sources that the station is mirroring.
- healths
List<Management
Station Health> - Overall health information of the management station.
- id String
- The provider-assigned unique ID for this managed resource.
- managed
Instance StringId - The OCID of the instance that is acting as the management station.
- mirror
Capacity Integer - A decimal number representing the amount of mirror capacity used by the sync.
- mirror
Sync List<ManagementStatuses Station Mirror Sync Status> - Status summary of the mirror sync.
- 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.
- scheduled
Job 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"}
- total
Mirrors Integer - The number of software sources that the station is mirroring.
- healths
Management
Station Health[] - Overall health information of the management station.
- id string
- The provider-assigned unique ID for this managed resource.
- managed
Instance stringId - The OCID of the instance that is acting as the management station.
- mirror
Capacity number - A decimal number representing the amount of mirror capacity used by the sync.
- mirror
Sync ManagementStatuses Station Mirror Sync Status[] - Status summary of the mirror sync.
- 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.
- scheduled
Job 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"}
- total
Mirrors number - The number of software sources that the station is mirroring.
- healths
Sequence[osmanagementhub.
Management Station Health] - Overall health information of the management station.
- id str
- The provider-assigned unique ID for this managed resource.
- managed_
instance_ strid - The OCID of the instance that is acting as the management station.
- mirror_
capacity int - A decimal number representing the amount of mirror capacity used by the sync.
- mirror_
sync_ Sequence[osmanagementhub.statuses Management Station Mirror Sync Status] - Status summary of the mirror sync.
- 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.
- 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.
- healths List<Property Map>
- Overall health information of the management station.
- id String
- The provider-assigned unique ID for this managed resource.
- managed
Instance StringId - The OCID of the instance that is acting as the management station.
- 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.
- 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.
- scheduled
Job 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"}
- total
Mirrors Number - The number of software sources that the station is mirroring.
Look up Existing ManagementStation Resource
Get an existing ManagementStation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ManagementStationState, opts?: CustomResourceOptions): ManagementStation
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
healths: Optional[Sequence[_osmanagementhub.ManagementStationHealthArgs]] = None,
hostname: Optional[str] = None,
managed_instance_id: Optional[str] = None,
mirror: Optional[_osmanagementhub.ManagementStationMirrorArgs] = None,
mirror_capacity: Optional[int] = None,
mirror_sync_statuses: Optional[Sequence[_osmanagementhub.ManagementStationMirrorSyncStatusArgs]] = None,
overall_percentage: Optional[int] = None,
overall_state: Optional[str] = None,
profile_id: Optional[str] = None,
proxy: Optional[_osmanagementhub.ManagementStationProxyArgs] = None,
refresh_trigger: Optional[int] = None,
scheduled_job_id: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
total_mirrors: Optional[int] = None) -> ManagementStation
func GetManagementStation(ctx *Context, name string, id IDInput, state *ManagementStationState, opts ...ResourceOption) (*ManagementStation, error)
public static ManagementStation Get(string name, Input<string> id, ManagementStationState? state, CustomResourceOptions? opts = null)
public static ManagementStation get(String name, Output<String> id, ManagementStationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the management station.
- Dictionary<string, string>
- (Updatable) 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
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- Display
Name string - (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.
- Dictionary<string, string>
- (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. Example:
{"Department": "Finance"}
- Healths
List<Management
Station Health> - Overall health information of the management station.
- Hostname string
- (Updatable) Hostname of the management station.
- Managed
Instance stringId - The OCID of the instance that is acting as the management station.
- Mirror
Management
Station Mirror - (Updatable) Information used to create the mirror configuration for a management station.
- Mirror
Capacity int - A decimal number representing the amount of mirror capacity used by the sync.
- Mirror
Sync List<ManagementStatuses Station Mirror Sync Status> - Status summary of the mirror sync.
- 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.
- Proxy
Management
Station Proxy - (Updatable) Information used to create the proxy configuration for a management station.
- Refresh
Trigger int (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
- Scheduled
Job 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"}
- Total
Mirrors int - The number of software sources that the station is mirroring.
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the management station.
- map[string]string
- (Updatable) 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
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- Display
Name string - (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.
- map[string]string
- (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. Example:
{"Department": "Finance"}
- Healths
[]Management
Station Health Args - Overall health information of the management station.
- Hostname string
- (Updatable) Hostname of the management station.
- Managed
Instance stringId - The OCID of the instance that is acting as the management station.
- Mirror
Management
Station Mirror Args - (Updatable) Information used to create the mirror configuration for a management station.
- Mirror
Capacity int - A decimal number representing the amount of mirror capacity used by the sync.
- Mirror
Sync []ManagementStatuses Station Mirror Sync Status Args - Status summary of the mirror sync.
- 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.
- Proxy
Management
Station Proxy Args - (Updatable) Information used to create the proxy configuration for a management station.
- Refresh
Trigger int (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
- Scheduled
Job 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"}
- Total
Mirrors int - The number of software sources that the station is mirroring.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the management station.
- Map<String,String>
- (Updatable) 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
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- display
Name String - (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.
- Map<String,String>
- (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. Example:
{"Department": "Finance"}
- healths
List<Management
Station Health> - Overall health information of the management station.
- hostname String
- (Updatable) Hostname of the management station.
- managed
Instance StringId - The OCID of the instance that is acting as the management station.
- mirror
Management
Station Mirror - (Updatable) Information used to create the mirror configuration for a management station.
- mirror
Capacity Integer - A decimal number representing the amount of mirror capacity used by the sync.
- mirror
Sync List<ManagementStatuses Station Mirror Sync Status> - Status summary of the mirror sync.
- 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.
- proxy
Management
Station Proxy - (Updatable) Information used to create the proxy configuration for a management station.
- refresh
Trigger Integer (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
- scheduled
Job 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"}
- total
Mirrors Integer - The number of software sources that the station is mirroring.
- compartment
Id string - (Updatable) The OCID of the compartment that contains the management station.
- {[key: string]: string}
- (Updatable) 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
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- display
Name string - (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.
- {[key: string]: string}
- (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. Example:
{"Department": "Finance"}
- healths
Management
Station Health[] - Overall health information of the management station.
- hostname string
- (Updatable) Hostname of the management station.
- managed
Instance stringId - The OCID of the instance that is acting as the management station.
- mirror
Management
Station Mirror - (Updatable) Information used to create the mirror configuration for a management station.
- mirror
Capacity number - A decimal number representing the amount of mirror capacity used by the sync.
- mirror
Sync ManagementStatuses Station Mirror Sync Status[] - Status summary of the mirror sync.
- 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.
- proxy
Management
Station Proxy - (Updatable) Information used to create the proxy configuration for a management station.
- refresh
Trigger number (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
- scheduled
Job 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"}
- total
Mirrors number - The number of software sources that the station is mirroring.
- compartment_
id str - (Updatable) The OCID of the compartment that contains the management station.
- Mapping[str, str]
- (Updatable) 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
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- display_
name str - (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.
- Mapping[str, str]
- (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. Example:
{"Department": "Finance"}
- healths
Sequence[osmanagementhub.
Management Station Health Args] - Overall health information of the management station.
- hostname str
- (Updatable) Hostname of the management station.
- managed_
instance_ strid - The OCID of the instance that is acting as the management station.
- mirror
osmanagementhub.
Management Station Mirror Args - (Updatable) Information used to create the mirror configuration for a management station.
- mirror_
capacity int - A decimal number representing the amount of mirror capacity used by the sync.
- mirror_
sync_ Sequence[osmanagementhub.statuses Management Station Mirror Sync Status Args] - Status summary of the mirror sync.
- 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.
- proxy
osmanagementhub.
Management Station Proxy Args - (Updatable) Information used to create the proxy configuration for a management station.
- refresh_
trigger int (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
- 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.
- compartment
Id String - (Updatable) The OCID of the compartment that contains the management station.
- Map<String>
- (Updatable) 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
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- display
Name String - (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.
- Map<String>
- (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. Example:
{"Department": "Finance"}
- healths List<Property Map>
- Overall health information of the management station.
- hostname String
- (Updatable) Hostname of the management station.
- managed
Instance StringId - The OCID of the instance that is acting as the management station.
- mirror Property Map
- (Updatable) Information used to create the mirror configuration for a management station.
- 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.
- 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.
- proxy Property Map
- (Updatable) Information used to create the proxy configuration for a management station.
- refresh
Trigger Number (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
- scheduled
Job 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"}
- total
Mirrors Number - The number of software sources that the station is mirroring.
Supporting Types
ManagementStationHealth, ManagementStationHealthArgs
- Description string
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- State string
- The current state of the management station.
- Description string
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- State string
- The current state of the management station.
- description String
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- state String
- The current state of the management station.
- description string
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- state string
- The current state of the management station.
- description str
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- state str
- The current state of the management station.
- description String
- (Updatable) User-specified description of the management station. Avoid entering confidential information.
- state String
- The current state of the management station.
ManagementStationMirror, ManagementStationMirrorArgs
- Directory string
- (Updatable) Path to the data volume on the management station where software source mirrors are stored.
- Port string
- (Updatable) Default mirror listening port for http.
- Sslport string
- (Updatable) Default mirror listening port for https.
- Sslcert string
- (Updatable) Path to the SSL cerfificate.
- Directory string
- (Updatable) Path to the data volume on the management station where software source mirrors are stored.
- Port string
- (Updatable) Default mirror listening port for http.
- Sslport string
- (Updatable) Default mirror listening port for https.
- Sslcert string
- (Updatable) Path to the SSL cerfificate.
- directory String
- (Updatable) Path to the data volume on the management station where software source mirrors are stored.
- port String
- (Updatable) Default mirror listening port for http.
- sslport String
- (Updatable) Default mirror listening port for https.
- sslcert String
- (Updatable) Path to the SSL cerfificate.
- directory string
- (Updatable) Path to the data volume on the management station where software source mirrors are stored.
- port string
- (Updatable) Default mirror listening port for http.
- sslport string
- (Updatable) Default mirror listening port for https.
- sslcert string
- (Updatable) Path to the SSL cerfificate.
- directory String
- (Updatable) Path to the data volume on the management station where software source mirrors are stored.
- port String
- (Updatable) Default mirror listening port for http.
- sslport String
- (Updatable) Default mirror listening port for https.
- sslcert String
- (Updatable) Path to the SSL cerfificate.
ManagementStationMirrorSyncStatus, ManagementStationMirrorSyncStatusArgs
- 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.
ManagementStationProxy, ManagementStationProxyArgs
- is_
enabled bool - (Updatable) Indicates if the proxy should be enabled or disabled. Default is enabled.
- forward str
- (Updatable) The URL the proxy will forward to.
- hosts Sequence[str]
- (Updatable) List of hosts.
- port str
- (Updatable) Listening port used for the proxy.
Import
ManagementStations can be imported using the id
, e.g.
$ pulumi import oci:OsManagementHub/managementStation:ManagementStation test_management_station "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
oci
Terraform Provider.