This resource provides the Management Appliance resource in Oracle Cloud Infrastructure Oracle Cloud VMware Solution service.
Creates a management appliance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testManagementAppliance = new oci.ocvp.ManagementAppliance("test_management_appliance", {
configuration: {
isLogIngestionEnabled: managementApplianceConfigurationIsLogIngestionEnabled,
isMetricsCollectionEnabled: managementApplianceConfigurationIsMetricsCollectionEnabled,
metrics: managementApplianceConfigurationMetrics,
supportBundleBucketId: testBucket.id,
},
connections: [{
credentialsSecretId: testSecret.id,
type: managementApplianceConnectionsType,
}],
displayName: managementApplianceDisplayName,
sddcId: testSddc.id,
definedTags: {
"Operations.CostCenter": "42",
},
freeformTags: {
Department: "Finance",
},
publicSshKeys: managementAppliancePublicSshKeys,
});
import pulumi
import pulumi_oci as oci
test_management_appliance = oci.ocvp.ManagementAppliance("test_management_appliance",
configuration={
"is_log_ingestion_enabled": management_appliance_configuration_is_log_ingestion_enabled,
"is_metrics_collection_enabled": management_appliance_configuration_is_metrics_collection_enabled,
"metrics": management_appliance_configuration_metrics,
"support_bundle_bucket_id": test_bucket["id"],
},
connections=[{
"credentials_secret_id": test_secret["id"],
"type": management_appliance_connections_type,
}],
display_name=management_appliance_display_name,
sddc_id=test_sddc["id"],
defined_tags={
"Operations.CostCenter": "42",
},
freeform_tags={
"Department": "Finance",
},
public_ssh_keys=management_appliance_public_ssh_keys)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/ocvp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ocvp.NewManagementAppliance(ctx, "test_management_appliance", &ocvp.ManagementApplianceArgs{
Configuration: &ocvp.ManagementApplianceConfigurationArgs{
IsLogIngestionEnabled: pulumi.Any(managementApplianceConfigurationIsLogIngestionEnabled),
IsMetricsCollectionEnabled: pulumi.Any(managementApplianceConfigurationIsMetricsCollectionEnabled),
Metrics: pulumi.Any(managementApplianceConfigurationMetrics),
SupportBundleBucketId: pulumi.Any(testBucket.Id),
},
Connections: ocvp.ManagementApplianceConnectionArray{
&ocvp.ManagementApplianceConnectionArgs{
CredentialsSecretId: pulumi.Any(testSecret.Id),
Type: pulumi.Any(managementApplianceConnectionsType),
},
},
DisplayName: pulumi.Any(managementApplianceDisplayName),
SddcId: pulumi.Any(testSddc.Id),
DefinedTags: pulumi.StringMap{
"Operations.CostCenter": pulumi.String("42"),
},
FreeformTags: pulumi.StringMap{
"Department": pulumi.String("Finance"),
},
PublicSshKeys: pulumi.Any(managementAppliancePublicSshKeys),
})
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 testManagementAppliance = new Oci.Ocvp.ManagementAppliance("test_management_appliance", new()
{
Configuration = new Oci.Ocvp.Inputs.ManagementApplianceConfigurationArgs
{
IsLogIngestionEnabled = managementApplianceConfigurationIsLogIngestionEnabled,
IsMetricsCollectionEnabled = managementApplianceConfigurationIsMetricsCollectionEnabled,
Metrics = managementApplianceConfigurationMetrics,
SupportBundleBucketId = testBucket.Id,
},
Connections = new[]
{
new Oci.Ocvp.Inputs.ManagementApplianceConnectionArgs
{
CredentialsSecretId = testSecret.Id,
Type = managementApplianceConnectionsType,
},
},
DisplayName = managementApplianceDisplayName,
SddcId = testSddc.Id,
DefinedTags =
{
{ "Operations.CostCenter", "42" },
},
FreeformTags =
{
{ "Department", "Finance" },
},
PublicSshKeys = managementAppliancePublicSshKeys,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Ocvp.ManagementAppliance;
import com.pulumi.oci.Ocvp.ManagementApplianceArgs;
import com.pulumi.oci.Ocvp.inputs.ManagementApplianceConfigurationArgs;
import com.pulumi.oci.Ocvp.inputs.ManagementApplianceConnectionArgs;
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 testManagementAppliance = new ManagementAppliance("testManagementAppliance", ManagementApplianceArgs.builder()
.configuration(ManagementApplianceConfigurationArgs.builder()
.isLogIngestionEnabled(managementApplianceConfigurationIsLogIngestionEnabled)
.isMetricsCollectionEnabled(managementApplianceConfigurationIsMetricsCollectionEnabled)
.metrics(managementApplianceConfigurationMetrics)
.supportBundleBucketId(testBucket.id())
.build())
.connections(ManagementApplianceConnectionArgs.builder()
.credentialsSecretId(testSecret.id())
.type(managementApplianceConnectionsType)
.build())
.displayName(managementApplianceDisplayName)
.sddcId(testSddc.id())
.definedTags(Map.of("Operations.CostCenter", "42"))
.freeformTags(Map.of("Department", "Finance"))
.publicSshKeys(managementAppliancePublicSshKeys)
.build());
}
}
resources:
testManagementAppliance:
type: oci:Ocvp:ManagementAppliance
name: test_management_appliance
properties:
configuration:
isLogIngestionEnabled: ${managementApplianceConfigurationIsLogIngestionEnabled}
isMetricsCollectionEnabled: ${managementApplianceConfigurationIsMetricsCollectionEnabled}
metrics: ${managementApplianceConfigurationMetrics}
supportBundleBucketId: ${testBucket.id}
connections:
- credentialsSecretId: ${testSecret.id}
type: ${managementApplianceConnectionsType}
displayName: ${managementApplianceDisplayName}
sddcId: ${testSddc.id}
definedTags:
Operations.CostCenter: '42'
freeformTags:
Department: Finance
publicSshKeys: ${managementAppliancePublicSshKeys}
Create ManagementAppliance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ManagementAppliance(name: string, args: ManagementApplianceArgs, opts?: CustomResourceOptions);@overload
def ManagementAppliance(resource_name: str,
args: ManagementApplianceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ManagementAppliance(resource_name: str,
opts: Optional[ResourceOptions] = None,
configuration: Optional[ManagementApplianceConfigurationArgs] = None,
connections: Optional[Sequence[ManagementApplianceConnectionArgs]] = None,
display_name: Optional[str] = None,
sddc_id: Optional[str] = None,
defined_tags: Optional[Mapping[str, str]] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
public_ssh_keys: Optional[str] = None)func NewManagementAppliance(ctx *Context, name string, args ManagementApplianceArgs, opts ...ResourceOption) (*ManagementAppliance, error)public ManagementAppliance(string name, ManagementApplianceArgs args, CustomResourceOptions? opts = null)
public ManagementAppliance(String name, ManagementApplianceArgs args)
public ManagementAppliance(String name, ManagementApplianceArgs args, CustomResourceOptions options)
type: oci:Ocvp:ManagementAppliance
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 ManagementApplianceArgs
- 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 ManagementApplianceArgs
- 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 ManagementApplianceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ManagementApplianceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ManagementApplianceArgs
- 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 managementApplianceResource = new Oci.Ocvp.ManagementAppliance("managementApplianceResource", new()
{
Configuration = new Oci.Ocvp.Inputs.ManagementApplianceConfigurationArgs
{
IsLogIngestionEnabled = false,
IsMetricsCollectionEnabled = false,
Metrics = new[]
{
"string",
},
SupportBundleBucketId = "string",
},
Connections = new[]
{
new Oci.Ocvp.Inputs.ManagementApplianceConnectionArgs
{
CredentialsSecretId = "string",
Type = "string",
},
},
DisplayName = "string",
SddcId = "string",
DefinedTags =
{
{ "string", "string" },
},
FreeformTags =
{
{ "string", "string" },
},
PublicSshKeys = "string",
});
example, err := ocvp.NewManagementAppliance(ctx, "managementApplianceResource", &ocvp.ManagementApplianceArgs{
Configuration: &ocvp.ManagementApplianceConfigurationArgs{
IsLogIngestionEnabled: pulumi.Bool(false),
IsMetricsCollectionEnabled: pulumi.Bool(false),
Metrics: pulumi.StringArray{
pulumi.String("string"),
},
SupportBundleBucketId: pulumi.String("string"),
},
Connections: ocvp.ManagementApplianceConnectionArray{
&ocvp.ManagementApplianceConnectionArgs{
CredentialsSecretId: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
DisplayName: pulumi.String("string"),
SddcId: pulumi.String("string"),
DefinedTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
FreeformTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
PublicSshKeys: pulumi.String("string"),
})
var managementApplianceResource = new ManagementAppliance("managementApplianceResource", ManagementApplianceArgs.builder()
.configuration(ManagementApplianceConfigurationArgs.builder()
.isLogIngestionEnabled(false)
.isMetricsCollectionEnabled(false)
.metrics("string")
.supportBundleBucketId("string")
.build())
.connections(ManagementApplianceConnectionArgs.builder()
.credentialsSecretId("string")
.type("string")
.build())
.displayName("string")
.sddcId("string")
.definedTags(Map.of("string", "string"))
.freeformTags(Map.of("string", "string"))
.publicSshKeys("string")
.build());
management_appliance_resource = oci.ocvp.ManagementAppliance("managementApplianceResource",
configuration={
"is_log_ingestion_enabled": False,
"is_metrics_collection_enabled": False,
"metrics": ["string"],
"support_bundle_bucket_id": "string",
},
connections=[{
"credentials_secret_id": "string",
"type": "string",
}],
display_name="string",
sddc_id="string",
defined_tags={
"string": "string",
},
freeform_tags={
"string": "string",
},
public_ssh_keys="string")
const managementApplianceResource = new oci.ocvp.ManagementAppliance("managementApplianceResource", {
configuration: {
isLogIngestionEnabled: false,
isMetricsCollectionEnabled: false,
metrics: ["string"],
supportBundleBucketId: "string",
},
connections: [{
credentialsSecretId: "string",
type: "string",
}],
displayName: "string",
sddcId: "string",
definedTags: {
string: "string",
},
freeformTags: {
string: "string",
},
publicSshKeys: "string",
});
type: oci:Ocvp:ManagementAppliance
properties:
configuration:
isLogIngestionEnabled: false
isMetricsCollectionEnabled: false
metrics:
- string
supportBundleBucketId: string
connections:
- credentialsSecretId: string
type: string
definedTags:
string: string
displayName: string
freeformTags:
string: string
publicSshKeys: string
sddcId: string
ManagementAppliance 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 ManagementAppliance resource accepts the following input properties:
- Configuration
Management
Appliance Configuration - (Updatable) Configuration of management appliance.
- Connections
List<Management
Appliance Connection> - (Updatable) Array of connections for management appliance.
- Display
Name string - (Updatable) A descriptive name for the management appliance. It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
- Sddc
Id string The OCID of SDDC in OCI, that this appliance is going to be registered in.
** 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
- 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"} - 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"} - Public
Ssh stringKeys - One or more public SSH keys to be included in
~/.ssh/authorized_keysfile for Management Appliance compute instance. Several public SSH keys must be separate by newline character.
- Configuration
Management
Appliance Configuration Args - (Updatable) Configuration of management appliance.
- Connections
[]Management
Appliance Connection Args - (Updatable) Array of connections for management appliance.
- Display
Name string - (Updatable) A descriptive name for the management appliance. It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
- Sddc
Id string The OCID of SDDC in OCI, that this appliance is going to be registered in.
** 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
- 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"} - 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"} - Public
Ssh stringKeys - One or more public SSH keys to be included in
~/.ssh/authorized_keysfile for Management Appliance compute instance. Several public SSH keys must be separate by newline character.
- configuration
Management
Appliance Configuration - (Updatable) Configuration of management appliance.
- connections
List<Management
Appliance Connection> - (Updatable) Array of connections for management appliance.
- display
Name String - (Updatable) A descriptive name for the management appliance. It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
- sddc
Id String The OCID of SDDC in OCI, that this appliance is going to be registered in.
** 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
- 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"} - 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"} - public
Ssh StringKeys - One or more public SSH keys to be included in
~/.ssh/authorized_keysfile for Management Appliance compute instance. Several public SSH keys must be separate by newline character.
- configuration
Management
Appliance Configuration - (Updatable) Configuration of management appliance.
- connections
Management
Appliance Connection[] - (Updatable) Array of connections for management appliance.
- display
Name string - (Updatable) A descriptive name for the management appliance. It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
- sddc
Id string The OCID of SDDC in OCI, that this appliance is going to be registered in.
** 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
- {[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"} - {[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"} - public
Ssh stringKeys - One or more public SSH keys to be included in
~/.ssh/authorized_keysfile for Management Appliance compute instance. Several public SSH keys must be separate by newline character.
- configuration
Management
Appliance Configuration Args - (Updatable) Configuration of management appliance.
- connections
Sequence[Management
Appliance Connection Args] - (Updatable) Array of connections for management appliance.
- display_
name str - (Updatable) A descriptive name for the management appliance. It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
- sddc_
id str The OCID of SDDC in OCI, that this appliance is going to be registered in.
** 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
- 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"} - 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"} - public_
ssh_ strkeys - One or more public SSH keys to be included in
~/.ssh/authorized_keysfile for Management Appliance compute instance. Several public SSH keys must be separate by newline character.
- configuration Property Map
- (Updatable) Configuration of management appliance.
- connections List<Property Map>
- (Updatable) Array of connections for management appliance.
- display
Name String - (Updatable) A descriptive name for the management appliance. It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. Avoid entering confidential information.
- sddc
Id String The OCID of SDDC in OCI, that this appliance is going to be registered in.
** 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
- 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"} - 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"} - public
Ssh StringKeys - One or more public SSH keys to be included in
~/.ssh/authorized_keysfile for Management Appliance compute instance. Several public SSH keys must be separate by newline character.
Outputs
All input properties are implicitly available as output properties. Additionally, the ManagementAppliance resource produces the following output properties:
- Compartment
Id string - The OCID of compartment in OCI, that this appliance is going to be created in.
- Compute
Instance stringId - The OCID of compute instance of management appliance in OCI.
- Heartbeat
Connection List<ManagementStates Appliance Heartbeat Connection State> - Current states of connections.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Information about current lifecycleState. For FAILED and NEEDS_ATTENTION contains explanations. For other states may contain some details about their progress.
- Management
Agent stringId - The OCID of management agent, that this appliance is running in.
- State string
- Current state of the management appliance.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - Time
Configuration stringUpdated - The date and time the configuration of management appliance was last updated in the format defined by RFC3339.
- Time
Created string - The date and time the management appliance was created in the format defined by RFC3339.
- Time
Last stringHeartbeat - The date and time the management appliance has last received heartbeat in the format defined by RFC3339.
- Time
Updated string - The date and time the management appliance was last updated in the format defined by RFC3339.
- Compartment
Id string - The OCID of compartment in OCI, that this appliance is going to be created in.
- Compute
Instance stringId - The OCID of compute instance of management appliance in OCI.
- Heartbeat
Connection []ManagementStates Appliance Heartbeat Connection State - Current states of connections.
- Id string
- The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string - Information about current lifecycleState. For FAILED and NEEDS_ATTENTION contains explanations. For other states may contain some details about their progress.
- Management
Agent stringId - The OCID of management agent, that this appliance is running in.
- State string
- Current state of the management appliance.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - Time
Configuration stringUpdated - The date and time the configuration of management appliance was last updated in the format defined by RFC3339.
- Time
Created string - The date and time the management appliance was created in the format defined by RFC3339.
- Time
Last stringHeartbeat - The date and time the management appliance has last received heartbeat in the format defined by RFC3339.
- Time
Updated string - The date and time the management appliance was last updated in the format defined by RFC3339.
- compartment
Id String - The OCID of compartment in OCI, that this appliance is going to be created in.
- compute
Instance StringId - The OCID of compute instance of management appliance in OCI.
- heartbeat
Connection List<ManagementStates Appliance Heartbeat Connection State> - Current states of connections.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Information about current lifecycleState. For FAILED and NEEDS_ATTENTION contains explanations. For other states may contain some details about their progress.
- management
Agent StringId - The OCID of management agent, that this appliance is running in.
- state String
- Current state of the management appliance.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Configuration StringUpdated - The date and time the configuration of management appliance was last updated in the format defined by RFC3339.
- time
Created String - The date and time the management appliance was created in the format defined by RFC3339.
- time
Last StringHeartbeat - The date and time the management appliance has last received heartbeat in the format defined by RFC3339.
- time
Updated String - The date and time the management appliance was last updated in the format defined by RFC3339.
- compartment
Id string - The OCID of compartment in OCI, that this appliance is going to be created in.
- compute
Instance stringId - The OCID of compute instance of management appliance in OCI.
- heartbeat
Connection ManagementStates Appliance Heartbeat Connection State[] - Current states of connections.
- id string
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details string - Information about current lifecycleState. For FAILED and NEEDS_ATTENTION contains explanations. For other states may contain some details about their progress.
- management
Agent stringId - The OCID of management agent, that this appliance is running in.
- state string
- Current state of the management appliance.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Configuration stringUpdated - The date and time the configuration of management appliance was last updated in the format defined by RFC3339.
- time
Created string - The date and time the management appliance was created in the format defined by RFC3339.
- time
Last stringHeartbeat - The date and time the management appliance has last received heartbeat in the format defined by RFC3339.
- time
Updated string - The date and time the management appliance was last updated in the format defined by RFC3339.
- compartment_
id str - The OCID of compartment in OCI, that this appliance is going to be created in.
- compute_
instance_ strid - The OCID of compute instance of management appliance in OCI.
- heartbeat_
connection_ Sequence[Managementstates Appliance Heartbeat Connection State] - Current states of connections.
- id str
- The provider-assigned unique ID for this managed resource.
- lifecycle_
details str - Information about current lifecycleState. For FAILED and NEEDS_ATTENTION contains explanations. For other states may contain some details about their progress.
- management_
agent_ strid - The OCID of management agent, that this appliance is running in.
- state str
- Current state of the management appliance.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time_
configuration_ strupdated - The date and time the configuration of management appliance was last updated in the format defined by RFC3339.
- time_
created str - The date and time the management appliance was created in the format defined by RFC3339.
- time_
last_ strheartbeat - The date and time the management appliance has last received heartbeat in the format defined by RFC3339.
- time_
updated str - The date and time the management appliance was last updated in the format defined by RFC3339.
- compartment
Id String - The OCID of compartment in OCI, that this appliance is going to be created in.
- compute
Instance StringId - The OCID of compute instance of management appliance in OCI.
- heartbeat
Connection List<Property Map>States - Current states of connections.
- id String
- The provider-assigned unique ID for this managed resource.
- lifecycle
Details String - Information about current lifecycleState. For FAILED and NEEDS_ATTENTION contains explanations. For other states may contain some details about their progress.
- management
Agent StringId - The OCID of management agent, that this appliance is running in.
- state String
- Current state of the management appliance.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Configuration StringUpdated - The date and time the configuration of management appliance was last updated in the format defined by RFC3339.
- time
Created String - The date and time the management appliance was created in the format defined by RFC3339.
- time
Last StringHeartbeat - The date and time the management appliance has last received heartbeat in the format defined by RFC3339.
- time
Updated String - The date and time the management appliance was last updated in the format defined by RFC3339.
Look up Existing ManagementAppliance Resource
Get an existing ManagementAppliance 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?: ManagementApplianceState, opts?: CustomResourceOptions): ManagementAppliance@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
compute_instance_id: Optional[str] = None,
configuration: Optional[ManagementApplianceConfigurationArgs] = None,
connections: Optional[Sequence[ManagementApplianceConnectionArgs]] = None,
defined_tags: Optional[Mapping[str, str]] = None,
display_name: Optional[str] = None,
freeform_tags: Optional[Mapping[str, str]] = None,
heartbeat_connection_states: Optional[Sequence[ManagementApplianceHeartbeatConnectionStateArgs]] = None,
lifecycle_details: Optional[str] = None,
management_agent_id: Optional[str] = None,
public_ssh_keys: Optional[str] = None,
sddc_id: Optional[str] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, str]] = None,
time_configuration_updated: Optional[str] = None,
time_created: Optional[str] = None,
time_last_heartbeat: Optional[str] = None,
time_updated: Optional[str] = None) -> ManagementAppliancefunc GetManagementAppliance(ctx *Context, name string, id IDInput, state *ManagementApplianceState, opts ...ResourceOption) (*ManagementAppliance, error)public static ManagementAppliance Get(string name, Input<string> id, ManagementApplianceState? state, CustomResourceOptions? opts = null)public static ManagementAppliance get(String name, Output<String> id, ManagementApplianceState state, CustomResourceOptions options)resources: _: type: oci:Ocvp:ManagementAppliance get: id: ${id}- 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 - The OCID of compartment in OCI, that this appliance is going to be created in.
- Compute
Instance stringId - The OCID of compute instance of management appliance in OCI.
- Configuration
Management
Appliance Configuration - (Updatable) Configuration of management appliance.
- Connections
List<Management
Appliance Connection> - (Updatable) Array of connections for management appliance.
- 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"} - Display
Name string - (Updatable) A descriptive name for the management appliance. It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. 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"} - Heartbeat
Connection List<ManagementStates Appliance Heartbeat Connection State> - Current states of connections.
- Lifecycle
Details string - Information about current lifecycleState. For FAILED and NEEDS_ATTENTION contains explanations. For other states may contain some details about their progress.
- Management
Agent stringId - The OCID of management agent, that this appliance is running in.
- Public
Ssh stringKeys - One or more public SSH keys to be included in
~/.ssh/authorized_keysfile for Management Appliance compute instance. Several public SSH keys must be separate by newline character. - Sddc
Id string The OCID of SDDC in OCI, that this appliance is going to be registered in.
** 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
- State string
- Current state of the management appliance.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - Time
Configuration stringUpdated - The date and time the configuration of management appliance was last updated in the format defined by RFC3339.
- Time
Created string - The date and time the management appliance was created in the format defined by RFC3339.
- Time
Last stringHeartbeat - The date and time the management appliance has last received heartbeat in the format defined by RFC3339.
- Time
Updated string - The date and time the management appliance was last updated in the format defined by RFC3339.
- Compartment
Id string - The OCID of compartment in OCI, that this appliance is going to be created in.
- Compute
Instance stringId - The OCID of compute instance of management appliance in OCI.
- Configuration
Management
Appliance Configuration Args - (Updatable) Configuration of management appliance.
- Connections
[]Management
Appliance Connection Args - (Updatable) Array of connections for management appliance.
- 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"} - Display
Name string - (Updatable) A descriptive name for the management appliance. It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. 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"} - Heartbeat
Connection []ManagementStates Appliance Heartbeat Connection State Args - Current states of connections.
- Lifecycle
Details string - Information about current lifecycleState. For FAILED and NEEDS_ATTENTION contains explanations. For other states may contain some details about their progress.
- Management
Agent stringId - The OCID of management agent, that this appliance is running in.
- Public
Ssh stringKeys - One or more public SSH keys to be included in
~/.ssh/authorized_keysfile for Management Appliance compute instance. Several public SSH keys must be separate by newline character. - Sddc
Id string The OCID of SDDC in OCI, that this appliance is going to be registered in.
** 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
- State string
- Current state of the management appliance.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - Time
Configuration stringUpdated - The date and time the configuration of management appliance was last updated in the format defined by RFC3339.
- Time
Created string - The date and time the management appliance was created in the format defined by RFC3339.
- Time
Last stringHeartbeat - The date and time the management appliance has last received heartbeat in the format defined by RFC3339.
- Time
Updated string - The date and time the management appliance was last updated in the format defined by RFC3339.
- compartment
Id String - The OCID of compartment in OCI, that this appliance is going to be created in.
- compute
Instance StringId - The OCID of compute instance of management appliance in OCI.
- configuration
Management
Appliance Configuration - (Updatable) Configuration of management appliance.
- connections
List<Management
Appliance Connection> - (Updatable) Array of connections for management appliance.
- 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"} - display
Name String - (Updatable) A descriptive name for the management appliance. It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. 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"} - heartbeat
Connection List<ManagementStates Appliance Heartbeat Connection State> - Current states of connections.
- lifecycle
Details String - Information about current lifecycleState. For FAILED and NEEDS_ATTENTION contains explanations. For other states may contain some details about their progress.
- management
Agent StringId - The OCID of management agent, that this appliance is running in.
- public
Ssh StringKeys - One or more public SSH keys to be included in
~/.ssh/authorized_keysfile for Management Appliance compute instance. Several public SSH keys must be separate by newline character. - sddc
Id String The OCID of SDDC in OCI, that this appliance is going to be registered in.
** 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
- state String
- Current state of the management appliance.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Configuration StringUpdated - The date and time the configuration of management appliance was last updated in the format defined by RFC3339.
- time
Created String - The date and time the management appliance was created in the format defined by RFC3339.
- time
Last StringHeartbeat - The date and time the management appliance has last received heartbeat in the format defined by RFC3339.
- time
Updated String - The date and time the management appliance was last updated in the format defined by RFC3339.
- compartment
Id string - The OCID of compartment in OCI, that this appliance is going to be created in.
- compute
Instance stringId - The OCID of compute instance of management appliance in OCI.
- configuration
Management
Appliance Configuration - (Updatable) Configuration of management appliance.
- connections
Management
Appliance Connection[] - (Updatable) Array of connections for management appliance.
- {[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"} - display
Name string - (Updatable) A descriptive name for the management appliance. It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. 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"} - heartbeat
Connection ManagementStates Appliance Heartbeat Connection State[] - Current states of connections.
- lifecycle
Details string - Information about current lifecycleState. For FAILED and NEEDS_ATTENTION contains explanations. For other states may contain some details about their progress.
- management
Agent stringId - The OCID of management agent, that this appliance is running in.
- public
Ssh stringKeys - One or more public SSH keys to be included in
~/.ssh/authorized_keysfile for Management Appliance compute instance. Several public SSH keys must be separate by newline character. - sddc
Id string The OCID of SDDC in OCI, that this appliance is going to be registered in.
** 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
- state string
- Current state of the management appliance.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Configuration stringUpdated - The date and time the configuration of management appliance was last updated in the format defined by RFC3339.
- time
Created string - The date and time the management appliance was created in the format defined by RFC3339.
- time
Last stringHeartbeat - The date and time the management appliance has last received heartbeat in the format defined by RFC3339.
- time
Updated string - The date and time the management appliance was last updated in the format defined by RFC3339.
- compartment_
id str - The OCID of compartment in OCI, that this appliance is going to be created in.
- compute_
instance_ strid - The OCID of compute instance of management appliance in OCI.
- configuration
Management
Appliance Configuration Args - (Updatable) Configuration of management appliance.
- connections
Sequence[Management
Appliance Connection Args] - (Updatable) Array of connections for management appliance.
- 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"} - display_
name str - (Updatable) A descriptive name for the management appliance. It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. 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"} - heartbeat_
connection_ Sequence[Managementstates Appliance Heartbeat Connection State Args] - Current states of connections.
- lifecycle_
details str - Information about current lifecycleState. For FAILED and NEEDS_ATTENTION contains explanations. For other states may contain some details about their progress.
- management_
agent_ strid - The OCID of management agent, that this appliance is running in.
- public_
ssh_ strkeys - One or more public SSH keys to be included in
~/.ssh/authorized_keysfile for Management Appliance compute instance. Several public SSH keys must be separate by newline character. - sddc_
id str The OCID of SDDC in OCI, that this appliance is going to be registered in.
** 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
- state str
- Current state of the management appliance.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time_
configuration_ strupdated - The date and time the configuration of management appliance was last updated in the format defined by RFC3339.
- time_
created str - The date and time the management appliance was created in the format defined by RFC3339.
- time_
last_ strheartbeat - The date and time the management appliance has last received heartbeat in the format defined by RFC3339.
- time_
updated str - The date and time the management appliance was last updated in the format defined by RFC3339.
- compartment
Id String - The OCID of compartment in OCI, that this appliance is going to be created in.
- compute
Instance StringId - The OCID of compute instance of management appliance in OCI.
- configuration Property Map
- (Updatable) Configuration of management appliance.
- connections List<Property Map>
- (Updatable) Array of connections for management appliance.
- 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"} - display
Name String - (Updatable) A descriptive name for the management appliance. It must be unique, start with a letter, and contain only letters, digits, whitespaces, dashes and underscores. 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"} - heartbeat
Connection List<Property Map>States - Current states of connections.
- lifecycle
Details String - Information about current lifecycleState. For FAILED and NEEDS_ATTENTION contains explanations. For other states may contain some details about their progress.
- management
Agent StringId - The OCID of management agent, that this appliance is running in.
- public
Ssh StringKeys - One or more public SSH keys to be included in
~/.ssh/authorized_keysfile for Management Appliance compute instance. Several public SSH keys must be separate by newline character. - sddc
Id String The OCID of SDDC in OCI, that this appliance is going to be registered in.
** 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
- state String
- Current state of the management appliance.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{orcl-cloud: {free-tier-retain: true}} - time
Configuration StringUpdated - The date and time the configuration of management appliance was last updated in the format defined by RFC3339.
- time
Created String - The date and time the management appliance was created in the format defined by RFC3339.
- time
Last StringHeartbeat - The date and time the management appliance has last received heartbeat in the format defined by RFC3339.
- time
Updated String - The date and time the management appliance was last updated in the format defined by RFC3339.
Supporting Types
ManagementApplianceConfiguration, ManagementApplianceConfigurationArgs
- Is
Log boolIngestion Enabled - (Updatable) Is log ingestion from SDDC to Oracle Cloud Infrastructure enabled.
- Is
Metrics boolCollection Enabled - (Updatable) Is metrics collection and publishing is enabled for appliance.
- Metrics List<string>
- (Updatable) Array of metrics ids to collect.
- Support
Bundle stringBucket Id - (Updatable) The OCID of support bundle Object Storage bucket.
- Is
Log boolIngestion Enabled - (Updatable) Is log ingestion from SDDC to Oracle Cloud Infrastructure enabled.
- Is
Metrics boolCollection Enabled - (Updatable) Is metrics collection and publishing is enabled for appliance.
- Metrics []string
- (Updatable) Array of metrics ids to collect.
- Support
Bundle stringBucket Id - (Updatable) The OCID of support bundle Object Storage bucket.
- is
Log BooleanIngestion Enabled - (Updatable) Is log ingestion from SDDC to Oracle Cloud Infrastructure enabled.
- is
Metrics BooleanCollection Enabled - (Updatable) Is metrics collection and publishing is enabled for appliance.
- metrics List<String>
- (Updatable) Array of metrics ids to collect.
- support
Bundle StringBucket Id - (Updatable) The OCID of support bundle Object Storage bucket.
- is
Log booleanIngestion Enabled - (Updatable) Is log ingestion from SDDC to Oracle Cloud Infrastructure enabled.
- is
Metrics booleanCollection Enabled - (Updatable) Is metrics collection and publishing is enabled for appliance.
- metrics string[]
- (Updatable) Array of metrics ids to collect.
- support
Bundle stringBucket Id - (Updatable) The OCID of support bundle Object Storage bucket.
- is_
log_ boolingestion_ enabled - (Updatable) Is log ingestion from SDDC to Oracle Cloud Infrastructure enabled.
- is_
metrics_ boolcollection_ enabled - (Updatable) Is metrics collection and publishing is enabled for appliance.
- metrics Sequence[str]
- (Updatable) Array of metrics ids to collect.
- support_
bundle_ strbucket_ id - (Updatable) The OCID of support bundle Object Storage bucket.
- is
Log BooleanIngestion Enabled - (Updatable) Is log ingestion from SDDC to Oracle Cloud Infrastructure enabled.
- is
Metrics BooleanCollection Enabled - (Updatable) Is metrics collection and publishing is enabled for appliance.
- metrics List<String>
- (Updatable) Array of metrics ids to collect.
- support
Bundle StringBucket Id - (Updatable) The OCID of support bundle Object Storage bucket.
ManagementApplianceConnection, ManagementApplianceConnectionArgs
- Credentials
Secret stringId - (Updatable) The OCID of secret in Oracle Cloud Infrastructure vault, that is used for storage of username and password in JSON format.
- Type string
- (Updatable) Type of connection.
- Credentials
Secret stringId - (Updatable) The OCID of secret in Oracle Cloud Infrastructure vault, that is used for storage of username and password in JSON format.
- Type string
- (Updatable) Type of connection.
- credentials
Secret StringId - (Updatable) The OCID of secret in Oracle Cloud Infrastructure vault, that is used for storage of username and password in JSON format.
- type String
- (Updatable) Type of connection.
- credentials
Secret stringId - (Updatable) The OCID of secret in Oracle Cloud Infrastructure vault, that is used for storage of username and password in JSON format.
- type string
- (Updatable) Type of connection.
- credentials_
secret_ strid - (Updatable) The OCID of secret in Oracle Cloud Infrastructure vault, that is used for storage of username and password in JSON format.
- type str
- (Updatable) Type of connection.
- credentials
Secret StringId - (Updatable) The OCID of secret in Oracle Cloud Infrastructure vault, that is used for storage of username and password in JSON format.
- type String
- (Updatable) Type of connection.
ManagementApplianceHeartbeatConnectionState, ManagementApplianceHeartbeatConnectionStateArgs
Import
ManagementAppliances can be imported using the id, e.g.
$ pulumi import oci:Ocvp/managementAppliance:ManagementAppliance test_management_appliance "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
ociTerraform Provider.
