1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. OsManagementHub
  5. ManagementStation
Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi

oci.OsManagementHub.ManagementStation

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi

    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={
            "directory": "string",
            "port": "string",
            "sslport": "string",
            "sslcert": "string",
        },
        proxy={
            "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

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ManagementStation resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment that contains the management station.
    DisplayName 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 ManagementStationMirror
    (Updatable) Information used to create the mirror configuration for a management station.
    Proxy ManagementStationProxy
    (Updatable) Information used to create the proxy configuration for a management station.
    DefinedTags 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.
    FreeformTags 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"}
    RefreshTrigger 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

    CompartmentId string
    (Updatable) The OCID of the compartment that contains the management station.
    DisplayName 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 ManagementStationMirrorArgs
    (Updatable) Information used to create the mirror configuration for a management station.
    Proxy ManagementStationProxyArgs
    (Updatable) Information used to create the proxy configuration for a management station.
    DefinedTags 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.
    FreeformTags 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"}
    RefreshTrigger 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

    compartmentId String
    (Updatable) The OCID of the compartment that contains the management station.
    displayName 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 ManagementStationMirror
    (Updatable) Information used to create the mirror configuration for a management station.
    proxy ManagementStationProxy
    (Updatable) Information used to create the proxy configuration for a management station.
    definedTags 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.
    freeformTags 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"}
    refreshTrigger 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

    compartmentId string
    (Updatable) The OCID of the compartment that contains the management station.
    displayName 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 ManagementStationMirror
    (Updatable) Information used to create the mirror configuration for a management station.
    proxy ManagementStationProxy
    (Updatable) Information used to create the proxy configuration for a management station.
    definedTags {[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.
    freeformTags {[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"}
    refreshTrigger 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.ManagementStationMirrorArgs
    (Updatable) Information used to create the mirror configuration for a management station.
    proxy osmanagementhub.ManagementStationProxyArgs
    (Updatable) Information used to create the proxy configuration for a management station.
    defined_tags 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.
    freeform_tags 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

    compartmentId String
    (Updatable) The OCID of the compartment that contains the management station.
    displayName 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.
    definedTags 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.
    freeformTags 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"}
    refreshTrigger 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<ManagementStationHealth>
    Overall health information of the management station.
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedInstanceId string
    The OCID of the instance that is acting as the management station.
    MirrorCapacity int
    A decimal number representing the amount of mirror capacity used by the sync.
    MirrorSyncStatuses List<ManagementStationMirrorSyncStatus>
    Status summary of the mirror sync.
    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.
    ScheduledJobId string
    The OCID of the scheduled job for the mirror sync.
    State string
    The current state of the management station.
    SystemTags 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.
    Healths []ManagementStationHealth
    Overall health information of the management station.
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedInstanceId string
    The OCID of the instance that is acting as the management station.
    MirrorCapacity int
    A decimal number representing the amount of mirror capacity used by the sync.
    MirrorSyncStatuses []ManagementStationMirrorSyncStatus
    Status summary of the mirror sync.
    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.
    ScheduledJobId string
    The OCID of the scheduled job for the mirror sync.
    State string
    The current state of the management station.
    SystemTags 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.
    healths List<ManagementStationHealth>
    Overall health information of the management station.
    id String
    The provider-assigned unique ID for this managed resource.
    managedInstanceId String
    The OCID of the instance that is acting as the management station.
    mirrorCapacity Integer
    A decimal number representing the amount of mirror capacity used by the sync.
    mirrorSyncStatuses List<ManagementStationMirrorSyncStatus>
    Status summary of the mirror sync.
    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.
    scheduledJobId String
    The OCID of the scheduled job for the mirror sync.
    state String
    The current state of the management station.
    systemTags 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.
    healths ManagementStationHealth[]
    Overall health information of the management station.
    id string
    The provider-assigned unique ID for this managed resource.
    managedInstanceId string
    The OCID of the instance that is acting as the management station.
    mirrorCapacity number
    A decimal number representing the amount of mirror capacity used by the sync.
    mirrorSyncStatuses ManagementStationMirrorSyncStatus[]
    Status summary of the mirror sync.
    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.
    scheduledJobId string
    The OCID of the scheduled job for the mirror sync.
    state string
    The current state of the management station.
    systemTags {[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.
    healths Sequence[osmanagementhub.ManagementStationHealth]
    Overall health information of the management station.
    id str
    The provider-assigned unique ID for this managed resource.
    managed_instance_id str
    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_statuses Sequence[osmanagementhub.ManagementStationMirrorSyncStatus]
    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_id str
    The OCID of the scheduled job for the mirror sync.
    state str
    The current state of the management station.
    system_tags Mapping[str, 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.
    managedInstanceId String
    The OCID of the instance that is acting as the management station.
    mirrorCapacity Number
    A decimal number representing the amount of mirror capacity used by the sync.
    mirrorSyncStatuses List<Property Map>
    Status summary of the mirror sync.
    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.
    scheduledJobId String
    The OCID of the scheduled job for the mirror sync.
    state String
    The current state of the management station.
    systemTags 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.

    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.
    The following state arguments are supported:
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the management station.
    DefinedTags 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.
    DisplayName 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.
    FreeformTags 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<ManagementStationHealth>
    Overall health information of the management station.
    Hostname string
    (Updatable) Hostname of the management station.
    ManagedInstanceId string
    The OCID of the instance that is acting as the management station.
    Mirror ManagementStationMirror
    (Updatable) Information used to create the mirror configuration for a management station.
    MirrorCapacity int
    A decimal number representing the amount of mirror capacity used by the sync.
    MirrorSyncStatuses List<ManagementStationMirrorSyncStatus>
    Status summary of the mirror sync.
    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.
    Proxy ManagementStationProxy
    (Updatable) Information used to create the proxy configuration for a management station.
    RefreshTrigger 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

    ScheduledJobId string
    The OCID of the scheduled job for the mirror sync.
    State string
    The current state of the management station.
    SystemTags 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
    (Updatable) The OCID of the compartment that contains the management station.
    DefinedTags 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.
    DisplayName 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.
    FreeformTags 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 []ManagementStationHealthArgs
    Overall health information of the management station.
    Hostname string
    (Updatable) Hostname of the management station.
    ManagedInstanceId string
    The OCID of the instance that is acting as the management station.
    Mirror ManagementStationMirrorArgs
    (Updatable) Information used to create the mirror configuration for a management station.
    MirrorCapacity int
    A decimal number representing the amount of mirror capacity used by the sync.
    MirrorSyncStatuses []ManagementStationMirrorSyncStatusArgs
    Status summary of the mirror sync.
    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.
    Proxy ManagementStationProxyArgs
    (Updatable) Information used to create the proxy configuration for a management station.
    RefreshTrigger 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

    ScheduledJobId string
    The OCID of the scheduled job for the mirror sync.
    State string
    The current state of the management station.
    SystemTags 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
    (Updatable) The OCID of the compartment that contains the management station.
    definedTags 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.
    displayName 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.
    freeformTags 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<ManagementStationHealth>
    Overall health information of the management station.
    hostname String
    (Updatable) Hostname of the management station.
    managedInstanceId String
    The OCID of the instance that is acting as the management station.
    mirror ManagementStationMirror
    (Updatable) Information used to create the mirror configuration for a management station.
    mirrorCapacity Integer
    A decimal number representing the amount of mirror capacity used by the sync.
    mirrorSyncStatuses List<ManagementStationMirrorSyncStatus>
    Status summary of the mirror sync.
    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.
    proxy ManagementStationProxy
    (Updatable) Information used to create the proxy configuration for a management station.
    refreshTrigger 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

    scheduledJobId String
    The OCID of the scheduled job for the mirror sync.
    state String
    The current state of the management station.
    systemTags 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
    (Updatable) The OCID of the compartment that contains the management station.
    definedTags {[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.
    displayName 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.
    freeformTags {[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 ManagementStationHealth[]
    Overall health information of the management station.
    hostname string
    (Updatable) Hostname of the management station.
    managedInstanceId string
    The OCID of the instance that is acting as the management station.
    mirror ManagementStationMirror
    (Updatable) Information used to create the mirror configuration for a management station.
    mirrorCapacity number
    A decimal number representing the amount of mirror capacity used by the sync.
    mirrorSyncStatuses ManagementStationMirrorSyncStatus[]
    Status summary of the mirror sync.
    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.
    proxy ManagementStationProxy
    (Updatable) Information used to create the proxy configuration for a management station.
    refreshTrigger 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

    scheduledJobId string
    The OCID of the scheduled job for the mirror sync.
    state string
    The current state of the management station.
    systemTags {[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
    (Updatable) The OCID of the compartment that contains the management station.
    defined_tags 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.
    freeform_tags 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.ManagementStationHealthArgs]
    Overall health information of the management station.
    hostname str
    (Updatable) Hostname of the management station.
    managed_instance_id str
    The OCID of the instance that is acting as the management station.
    mirror osmanagementhub.ManagementStationMirrorArgs
    (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_statuses Sequence[osmanagementhub.ManagementStationMirrorSyncStatusArgs]
    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.ManagementStationProxyArgs
    (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_id str
    The OCID of the scheduled job for the mirror sync.
    state str
    The current state of the management station.
    system_tags Mapping[str, 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
    (Updatable) The OCID of the compartment that contains the management station.
    definedTags 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.
    displayName 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.
    freeformTags 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.
    managedInstanceId String
    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.
    mirrorCapacity Number
    A decimal number representing the amount of mirror capacity used by the sync.
    mirrorSyncStatuses List<Property Map>
    Status summary of the mirror sync.
    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.
    proxy Property Map
    (Updatable) Information used to create the proxy configuration for a management station.
    refreshTrigger 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

    scheduledJobId String
    The OCID of the scheduled job for the mirror sync.
    state String
    The current state of the management station.
    systemTags 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

    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 str
    (Updatable) Path to the data volume on the management station where software source mirrors are stored.
    port str
    (Updatable) Default mirror listening port for http.
    sslport str
    (Updatable) Default mirror listening port for https.
    sslcert str
    (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

    IsEnabled bool
    (Updatable) Indicates if the proxy should be enabled or disabled. Default is enabled.
    Forward string
    (Updatable) The URL the proxy will forward to.
    Hosts List<string>
    (Updatable) List of hosts.
    Port string
    (Updatable) Listening port used for the proxy.
    IsEnabled bool
    (Updatable) Indicates if the proxy should be enabled or disabled. Default is enabled.
    Forward string
    (Updatable) The URL the proxy will forward to.
    Hosts []string
    (Updatable) List of hosts.
    Port string
    (Updatable) Listening port used for the proxy.
    isEnabled Boolean
    (Updatable) Indicates if the proxy should be enabled or disabled. Default is enabled.
    forward String
    (Updatable) The URL the proxy will forward to.
    hosts List<String>
    (Updatable) List of hosts.
    port String
    (Updatable) Listening port used for the proxy.
    isEnabled boolean
    (Updatable) Indicates if the proxy should be enabled or disabled. Default is enabled.
    forward string
    (Updatable) The URL the proxy will forward to.
    hosts string[]
    (Updatable) List of hosts.
    port string
    (Updatable) Listening port used for the proxy.
    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.
    isEnabled Boolean
    (Updatable) Indicates if the proxy should be enabled or disabled. Default is enabled.
    forward String
    (Updatable) The URL the proxy will forward to.
    hosts List<String>
    (Updatable) List of hosts.
    port String
    (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.
    oci logo
    Oracle Cloud Infrastructure v2.18.0 published on Friday, Nov 22, 2024 by Pulumi