recoverymod

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetProtectedDatabaseFetchConfigurationArgs

type GetProtectedDatabaseFetchConfigurationArgs struct {
	Base64EncodeContent *bool `pulumi:"base64EncodeContent"`
	// Currently has four config options ALL, TNSNAMES, HOSTS and CABUNDLE. All will return a zipped folder containing the contents of both tnsnames and the certificateChainPem.
	ConfigurationType *string `pulumi:"configurationType"`
	// The protected database OCID.
	ProtectedDatabaseId string `pulumi:"protectedDatabaseId"`
}

A collection of arguments for invoking getProtectedDatabaseFetchConfiguration.

type GetProtectedDatabaseFetchConfigurationOutputArgs

type GetProtectedDatabaseFetchConfigurationOutputArgs struct {
	Base64EncodeContent pulumi.BoolPtrInput `pulumi:"base64EncodeContent"`
	// Currently has four config options ALL, TNSNAMES, HOSTS and CABUNDLE. All will return a zipped folder containing the contents of both tnsnames and the certificateChainPem.
	ConfigurationType pulumi.StringPtrInput `pulumi:"configurationType"`
	// The protected database OCID.
	ProtectedDatabaseId pulumi.StringInput `pulumi:"protectedDatabaseId"`
}

A collection of arguments for invoking getProtectedDatabaseFetchConfiguration.

func (GetProtectedDatabaseFetchConfigurationOutputArgs) ElementType

type GetProtectedDatabaseFetchConfigurationResult

type GetProtectedDatabaseFetchConfigurationResult struct {
	Base64EncodeContent *bool   `pulumi:"base64EncodeContent"`
	ConfigurationType   *string `pulumi:"configurationType"`
	// content of the downloaded config file for recovery service. It is base64 encoded by default. To store the config in plaintext set `base64EncodeContent` to false.
	Content string `pulumi:"content"`
	// The provider-assigned unique ID for this managed resource.
	Id                  string `pulumi:"id"`
	ProtectedDatabaseId string `pulumi:"protectedDatabaseId"`
}

A collection of values returned by getProtectedDatabaseFetchConfiguration.

func GetProtectedDatabaseFetchConfiguration

This data source provides details about a specific Protected Database Fetch Configuration resource in Oracle Cloud Infrastructure Recovery service.

Downloads the network service configuration file 'tnsnames.ora' for a specified protected database. Applies to user-defined recovery systems only.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/RecoveryMod"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := RecoveryMod.GetProtectedDatabaseFetchConfiguration(ctx, &recoverymod.GetProtectedDatabaseFetchConfigurationArgs{
			ProtectedDatabaseId: oci_recovery_protected_database.Test_protected_database.Id,
			Base64EncodeContent: pulumi.BoolRef(true),
			ConfigurationType:   pulumi.StringRef(_var.Protected_database_fetch_configuration_configuration_type),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProtectedDatabaseFetchConfigurationResultOutput

type GetProtectedDatabaseFetchConfigurationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProtectedDatabaseFetchConfiguration.

func (GetProtectedDatabaseFetchConfigurationResultOutput) Base64EncodeContent

func (GetProtectedDatabaseFetchConfigurationResultOutput) ConfigurationType

func (GetProtectedDatabaseFetchConfigurationResultOutput) Content

content of the downloaded config file for recovery service. It is base64 encoded by default. To store the config in plaintext set `base64EncodeContent` to false.

func (GetProtectedDatabaseFetchConfigurationResultOutput) ElementType

func (GetProtectedDatabaseFetchConfigurationResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetProtectedDatabaseFetchConfigurationResultOutput) ProtectedDatabaseId

func (GetProtectedDatabaseFetchConfigurationResultOutput) ToGetProtectedDatabaseFetchConfigurationResultOutput

func (o GetProtectedDatabaseFetchConfigurationResultOutput) ToGetProtectedDatabaseFetchConfigurationResultOutput() GetProtectedDatabaseFetchConfigurationResultOutput

func (GetProtectedDatabaseFetchConfigurationResultOutput) ToGetProtectedDatabaseFetchConfigurationResultOutputWithContext

func (o GetProtectedDatabaseFetchConfigurationResultOutput) ToGetProtectedDatabaseFetchConfigurationResultOutputWithContext(ctx context.Context) GetProtectedDatabaseFetchConfigurationResultOutput

type GetProtectedDatabaseMetric

type GetProtectedDatabaseMetric struct {
	// The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
	BackupSpaceEstimateInGbs float64 `pulumi:"backupSpaceEstimateInGbs"`
	// Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
	BackupSpaceUsedInGbs float64 `pulumi:"backupSpaceUsedInGbs"`
	// Number of seconds backups are currently retained for this database.
	CurrentRetentionPeriodInSeconds float64 `pulumi:"currentRetentionPeriodInSeconds"`
	// The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
	DbSizeInGbs float64 `pulumi:"dbSizeInGbs"`
	// The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
	IsRedoLogsEnabled bool `pulumi:"isRedoLogsEnabled"`
	// The maximum number of days to retain backups for a protected database.
	RetentionPeriodInDays float64 `pulumi:"retentionPeriodInDays"`
	// This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available.  This is the time we received the last backup or last redo-log shipped.
	UnprotectedWindowInSeconds float64 `pulumi:"unprotectedWindowInSeconds"`
}

type GetProtectedDatabaseMetricArgs

type GetProtectedDatabaseMetricArgs struct {
	// The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
	BackupSpaceEstimateInGbs pulumi.Float64Input `pulumi:"backupSpaceEstimateInGbs"`
	// Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
	BackupSpaceUsedInGbs pulumi.Float64Input `pulumi:"backupSpaceUsedInGbs"`
	// Number of seconds backups are currently retained for this database.
	CurrentRetentionPeriodInSeconds pulumi.Float64Input `pulumi:"currentRetentionPeriodInSeconds"`
	// The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
	DbSizeInGbs pulumi.Float64Input `pulumi:"dbSizeInGbs"`
	// The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
	IsRedoLogsEnabled pulumi.BoolInput `pulumi:"isRedoLogsEnabled"`
	// The maximum number of days to retain backups for a protected database.
	RetentionPeriodInDays pulumi.Float64Input `pulumi:"retentionPeriodInDays"`
	// This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available.  This is the time we received the last backup or last redo-log shipped.
	UnprotectedWindowInSeconds pulumi.Float64Input `pulumi:"unprotectedWindowInSeconds"`
}

func (GetProtectedDatabaseMetricArgs) ElementType

func (GetProtectedDatabaseMetricArgs) ToGetProtectedDatabaseMetricOutput

func (i GetProtectedDatabaseMetricArgs) ToGetProtectedDatabaseMetricOutput() GetProtectedDatabaseMetricOutput

func (GetProtectedDatabaseMetricArgs) ToGetProtectedDatabaseMetricOutputWithContext

func (i GetProtectedDatabaseMetricArgs) ToGetProtectedDatabaseMetricOutputWithContext(ctx context.Context) GetProtectedDatabaseMetricOutput

type GetProtectedDatabaseMetricArray

type GetProtectedDatabaseMetricArray []GetProtectedDatabaseMetricInput

func (GetProtectedDatabaseMetricArray) ElementType

func (GetProtectedDatabaseMetricArray) ToGetProtectedDatabaseMetricArrayOutput

func (i GetProtectedDatabaseMetricArray) ToGetProtectedDatabaseMetricArrayOutput() GetProtectedDatabaseMetricArrayOutput

func (GetProtectedDatabaseMetricArray) ToGetProtectedDatabaseMetricArrayOutputWithContext

func (i GetProtectedDatabaseMetricArray) ToGetProtectedDatabaseMetricArrayOutputWithContext(ctx context.Context) GetProtectedDatabaseMetricArrayOutput

type GetProtectedDatabaseMetricArrayInput

type GetProtectedDatabaseMetricArrayInput interface {
	pulumi.Input

	ToGetProtectedDatabaseMetricArrayOutput() GetProtectedDatabaseMetricArrayOutput
	ToGetProtectedDatabaseMetricArrayOutputWithContext(context.Context) GetProtectedDatabaseMetricArrayOutput
}

GetProtectedDatabaseMetricArrayInput is an input type that accepts GetProtectedDatabaseMetricArray and GetProtectedDatabaseMetricArrayOutput values. You can construct a concrete instance of `GetProtectedDatabaseMetricArrayInput` via:

GetProtectedDatabaseMetricArray{ GetProtectedDatabaseMetricArgs{...} }

type GetProtectedDatabaseMetricArrayOutput

type GetProtectedDatabaseMetricArrayOutput struct{ *pulumi.OutputState }

func (GetProtectedDatabaseMetricArrayOutput) ElementType

func (GetProtectedDatabaseMetricArrayOutput) Index

func (GetProtectedDatabaseMetricArrayOutput) ToGetProtectedDatabaseMetricArrayOutput

func (o GetProtectedDatabaseMetricArrayOutput) ToGetProtectedDatabaseMetricArrayOutput() GetProtectedDatabaseMetricArrayOutput

func (GetProtectedDatabaseMetricArrayOutput) ToGetProtectedDatabaseMetricArrayOutputWithContext

func (o GetProtectedDatabaseMetricArrayOutput) ToGetProtectedDatabaseMetricArrayOutputWithContext(ctx context.Context) GetProtectedDatabaseMetricArrayOutput

type GetProtectedDatabaseMetricInput

type GetProtectedDatabaseMetricInput interface {
	pulumi.Input

	ToGetProtectedDatabaseMetricOutput() GetProtectedDatabaseMetricOutput
	ToGetProtectedDatabaseMetricOutputWithContext(context.Context) GetProtectedDatabaseMetricOutput
}

GetProtectedDatabaseMetricInput is an input type that accepts GetProtectedDatabaseMetricArgs and GetProtectedDatabaseMetricOutput values. You can construct a concrete instance of `GetProtectedDatabaseMetricInput` via:

GetProtectedDatabaseMetricArgs{...}

type GetProtectedDatabaseMetricOutput

type GetProtectedDatabaseMetricOutput struct{ *pulumi.OutputState }

func (GetProtectedDatabaseMetricOutput) BackupSpaceEstimateInGbs

func (o GetProtectedDatabaseMetricOutput) BackupSpaceEstimateInGbs() pulumi.Float64Output

The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.

func (GetProtectedDatabaseMetricOutput) BackupSpaceUsedInGbs

func (o GetProtectedDatabaseMetricOutput) BackupSpaceUsedInGbs() pulumi.Float64Output

Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.

func (GetProtectedDatabaseMetricOutput) CurrentRetentionPeriodInSeconds

func (o GetProtectedDatabaseMetricOutput) CurrentRetentionPeriodInSeconds() pulumi.Float64Output

Number of seconds backups are currently retained for this database.

func (GetProtectedDatabaseMetricOutput) DbSizeInGbs

The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.

func (GetProtectedDatabaseMetricOutput) ElementType

func (GetProtectedDatabaseMetricOutput) IsRedoLogsEnabled

func (o GetProtectedDatabaseMetricOutput) IsRedoLogsEnabled() pulumi.BoolOutput

The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.

func (GetProtectedDatabaseMetricOutput) RetentionPeriodInDays

func (o GetProtectedDatabaseMetricOutput) RetentionPeriodInDays() pulumi.Float64Output

The maximum number of days to retain backups for a protected database.

func (GetProtectedDatabaseMetricOutput) ToGetProtectedDatabaseMetricOutput

func (o GetProtectedDatabaseMetricOutput) ToGetProtectedDatabaseMetricOutput() GetProtectedDatabaseMetricOutput

func (GetProtectedDatabaseMetricOutput) ToGetProtectedDatabaseMetricOutputWithContext

func (o GetProtectedDatabaseMetricOutput) ToGetProtectedDatabaseMetricOutputWithContext(ctx context.Context) GetProtectedDatabaseMetricOutput

func (GetProtectedDatabaseMetricOutput) UnprotectedWindowInSeconds

func (o GetProtectedDatabaseMetricOutput) UnprotectedWindowInSeconds() pulumi.Float64Output

This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped.

type GetProtectedDatabaseRecoveryServiceSubnet

type GetProtectedDatabaseRecoveryServiceSubnet struct {
	// Recovery Service Subnet Identifier.
	RecoveryServiceSubnetId string `pulumi:"recoveryServiceSubnetId"`
	// The current state of the Protected Database.
	State string `pulumi:"state"`
}

type GetProtectedDatabaseRecoveryServiceSubnetArgs

type GetProtectedDatabaseRecoveryServiceSubnetArgs struct {
	// Recovery Service Subnet Identifier.
	RecoveryServiceSubnetId pulumi.StringInput `pulumi:"recoveryServiceSubnetId"`
	// The current state of the Protected Database.
	State pulumi.StringInput `pulumi:"state"`
}

func (GetProtectedDatabaseRecoveryServiceSubnetArgs) ElementType

func (GetProtectedDatabaseRecoveryServiceSubnetArgs) ToGetProtectedDatabaseRecoveryServiceSubnetOutput

func (i GetProtectedDatabaseRecoveryServiceSubnetArgs) ToGetProtectedDatabaseRecoveryServiceSubnetOutput() GetProtectedDatabaseRecoveryServiceSubnetOutput

func (GetProtectedDatabaseRecoveryServiceSubnetArgs) ToGetProtectedDatabaseRecoveryServiceSubnetOutputWithContext

func (i GetProtectedDatabaseRecoveryServiceSubnetArgs) ToGetProtectedDatabaseRecoveryServiceSubnetOutputWithContext(ctx context.Context) GetProtectedDatabaseRecoveryServiceSubnetOutput

type GetProtectedDatabaseRecoveryServiceSubnetArray

type GetProtectedDatabaseRecoveryServiceSubnetArray []GetProtectedDatabaseRecoveryServiceSubnetInput

func (GetProtectedDatabaseRecoveryServiceSubnetArray) ElementType

func (GetProtectedDatabaseRecoveryServiceSubnetArray) ToGetProtectedDatabaseRecoveryServiceSubnetArrayOutput

func (i GetProtectedDatabaseRecoveryServiceSubnetArray) ToGetProtectedDatabaseRecoveryServiceSubnetArrayOutput() GetProtectedDatabaseRecoveryServiceSubnetArrayOutput

func (GetProtectedDatabaseRecoveryServiceSubnetArray) ToGetProtectedDatabaseRecoveryServiceSubnetArrayOutputWithContext

func (i GetProtectedDatabaseRecoveryServiceSubnetArray) ToGetProtectedDatabaseRecoveryServiceSubnetArrayOutputWithContext(ctx context.Context) GetProtectedDatabaseRecoveryServiceSubnetArrayOutput

type GetProtectedDatabaseRecoveryServiceSubnetArrayInput

type GetProtectedDatabaseRecoveryServiceSubnetArrayInput interface {
	pulumi.Input

	ToGetProtectedDatabaseRecoveryServiceSubnetArrayOutput() GetProtectedDatabaseRecoveryServiceSubnetArrayOutput
	ToGetProtectedDatabaseRecoveryServiceSubnetArrayOutputWithContext(context.Context) GetProtectedDatabaseRecoveryServiceSubnetArrayOutput
}

GetProtectedDatabaseRecoveryServiceSubnetArrayInput is an input type that accepts GetProtectedDatabaseRecoveryServiceSubnetArray and GetProtectedDatabaseRecoveryServiceSubnetArrayOutput values. You can construct a concrete instance of `GetProtectedDatabaseRecoveryServiceSubnetArrayInput` via:

GetProtectedDatabaseRecoveryServiceSubnetArray{ GetProtectedDatabaseRecoveryServiceSubnetArgs{...} }

type GetProtectedDatabaseRecoveryServiceSubnetArrayOutput

type GetProtectedDatabaseRecoveryServiceSubnetArrayOutput struct{ *pulumi.OutputState }

func (GetProtectedDatabaseRecoveryServiceSubnetArrayOutput) ElementType

func (GetProtectedDatabaseRecoveryServiceSubnetArrayOutput) Index

func (GetProtectedDatabaseRecoveryServiceSubnetArrayOutput) ToGetProtectedDatabaseRecoveryServiceSubnetArrayOutput

func (GetProtectedDatabaseRecoveryServiceSubnetArrayOutput) ToGetProtectedDatabaseRecoveryServiceSubnetArrayOutputWithContext

func (o GetProtectedDatabaseRecoveryServiceSubnetArrayOutput) ToGetProtectedDatabaseRecoveryServiceSubnetArrayOutputWithContext(ctx context.Context) GetProtectedDatabaseRecoveryServiceSubnetArrayOutput

type GetProtectedDatabaseRecoveryServiceSubnetInput

type GetProtectedDatabaseRecoveryServiceSubnetInput interface {
	pulumi.Input

	ToGetProtectedDatabaseRecoveryServiceSubnetOutput() GetProtectedDatabaseRecoveryServiceSubnetOutput
	ToGetProtectedDatabaseRecoveryServiceSubnetOutputWithContext(context.Context) GetProtectedDatabaseRecoveryServiceSubnetOutput
}

GetProtectedDatabaseRecoveryServiceSubnetInput is an input type that accepts GetProtectedDatabaseRecoveryServiceSubnetArgs and GetProtectedDatabaseRecoveryServiceSubnetOutput values. You can construct a concrete instance of `GetProtectedDatabaseRecoveryServiceSubnetInput` via:

GetProtectedDatabaseRecoveryServiceSubnetArgs{...}

type GetProtectedDatabaseRecoveryServiceSubnetOutput

type GetProtectedDatabaseRecoveryServiceSubnetOutput struct{ *pulumi.OutputState }

func (GetProtectedDatabaseRecoveryServiceSubnetOutput) ElementType

func (GetProtectedDatabaseRecoveryServiceSubnetOutput) RecoveryServiceSubnetId

Recovery Service Subnet Identifier.

func (GetProtectedDatabaseRecoveryServiceSubnetOutput) State

The current state of the Protected Database.

func (GetProtectedDatabaseRecoveryServiceSubnetOutput) ToGetProtectedDatabaseRecoveryServiceSubnetOutput

func (o GetProtectedDatabaseRecoveryServiceSubnetOutput) ToGetProtectedDatabaseRecoveryServiceSubnetOutput() GetProtectedDatabaseRecoveryServiceSubnetOutput

func (GetProtectedDatabaseRecoveryServiceSubnetOutput) ToGetProtectedDatabaseRecoveryServiceSubnetOutputWithContext

func (o GetProtectedDatabaseRecoveryServiceSubnetOutput) ToGetProtectedDatabaseRecoveryServiceSubnetOutputWithContext(ctx context.Context) GetProtectedDatabaseRecoveryServiceSubnetOutput

type GetProtectedDatabasesArgs

type GetProtectedDatabasesArgs struct {
	// The compartment OCID.
	CompartmentId string `pulumi:"compartmentId"`
	// A filter to return only resources that match the entire 'displayname' given.
	DisplayName *string                       `pulumi:"displayName"`
	Filters     []GetProtectedDatabasesFilter `pulumi:"filters"`
	// The protected database OCID.
	Id *string `pulumi:"id"`
	// The protection policy OCID.
	ProtectionPolicyId *string `pulumi:"protectionPolicyId"`
	// The recovery service subnet OCID.
	RecoveryServiceSubnetId *string `pulumi:"recoveryServiceSubnetId"`
	// A filter to return only the resources that match the specified lifecycle state.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getProtectedDatabases.

type GetProtectedDatabasesFilter

type GetProtectedDatabasesFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetProtectedDatabasesFilterArgs

type GetProtectedDatabasesFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetProtectedDatabasesFilterArgs) ElementType

func (GetProtectedDatabasesFilterArgs) ToGetProtectedDatabasesFilterOutput

func (i GetProtectedDatabasesFilterArgs) ToGetProtectedDatabasesFilterOutput() GetProtectedDatabasesFilterOutput

func (GetProtectedDatabasesFilterArgs) ToGetProtectedDatabasesFilterOutputWithContext

func (i GetProtectedDatabasesFilterArgs) ToGetProtectedDatabasesFilterOutputWithContext(ctx context.Context) GetProtectedDatabasesFilterOutput

type GetProtectedDatabasesFilterArray

type GetProtectedDatabasesFilterArray []GetProtectedDatabasesFilterInput

func (GetProtectedDatabasesFilterArray) ElementType

func (GetProtectedDatabasesFilterArray) ToGetProtectedDatabasesFilterArrayOutput

func (i GetProtectedDatabasesFilterArray) ToGetProtectedDatabasesFilterArrayOutput() GetProtectedDatabasesFilterArrayOutput

func (GetProtectedDatabasesFilterArray) ToGetProtectedDatabasesFilterArrayOutputWithContext

func (i GetProtectedDatabasesFilterArray) ToGetProtectedDatabasesFilterArrayOutputWithContext(ctx context.Context) GetProtectedDatabasesFilterArrayOutput

type GetProtectedDatabasesFilterArrayInput

type GetProtectedDatabasesFilterArrayInput interface {
	pulumi.Input

	ToGetProtectedDatabasesFilterArrayOutput() GetProtectedDatabasesFilterArrayOutput
	ToGetProtectedDatabasesFilterArrayOutputWithContext(context.Context) GetProtectedDatabasesFilterArrayOutput
}

GetProtectedDatabasesFilterArrayInput is an input type that accepts GetProtectedDatabasesFilterArray and GetProtectedDatabasesFilterArrayOutput values. You can construct a concrete instance of `GetProtectedDatabasesFilterArrayInput` via:

GetProtectedDatabasesFilterArray{ GetProtectedDatabasesFilterArgs{...} }

type GetProtectedDatabasesFilterArrayOutput

type GetProtectedDatabasesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetProtectedDatabasesFilterArrayOutput) ElementType

func (GetProtectedDatabasesFilterArrayOutput) Index

func (GetProtectedDatabasesFilterArrayOutput) ToGetProtectedDatabasesFilterArrayOutput

func (o GetProtectedDatabasesFilterArrayOutput) ToGetProtectedDatabasesFilterArrayOutput() GetProtectedDatabasesFilterArrayOutput

func (GetProtectedDatabasesFilterArrayOutput) ToGetProtectedDatabasesFilterArrayOutputWithContext

func (o GetProtectedDatabasesFilterArrayOutput) ToGetProtectedDatabasesFilterArrayOutputWithContext(ctx context.Context) GetProtectedDatabasesFilterArrayOutput

type GetProtectedDatabasesFilterInput

type GetProtectedDatabasesFilterInput interface {
	pulumi.Input

	ToGetProtectedDatabasesFilterOutput() GetProtectedDatabasesFilterOutput
	ToGetProtectedDatabasesFilterOutputWithContext(context.Context) GetProtectedDatabasesFilterOutput
}

GetProtectedDatabasesFilterInput is an input type that accepts GetProtectedDatabasesFilterArgs and GetProtectedDatabasesFilterOutput values. You can construct a concrete instance of `GetProtectedDatabasesFilterInput` via:

GetProtectedDatabasesFilterArgs{...}

type GetProtectedDatabasesFilterOutput

type GetProtectedDatabasesFilterOutput struct{ *pulumi.OutputState }

func (GetProtectedDatabasesFilterOutput) ElementType

func (GetProtectedDatabasesFilterOutput) Name

func (GetProtectedDatabasesFilterOutput) Regex

func (GetProtectedDatabasesFilterOutput) ToGetProtectedDatabasesFilterOutput

func (o GetProtectedDatabasesFilterOutput) ToGetProtectedDatabasesFilterOutput() GetProtectedDatabasesFilterOutput

func (GetProtectedDatabasesFilterOutput) ToGetProtectedDatabasesFilterOutputWithContext

func (o GetProtectedDatabasesFilterOutput) ToGetProtectedDatabasesFilterOutputWithContext(ctx context.Context) GetProtectedDatabasesFilterOutput

func (GetProtectedDatabasesFilterOutput) Values

type GetProtectedDatabasesOutputArgs

type GetProtectedDatabasesOutputArgs struct {
	// The compartment OCID.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// A filter to return only resources that match the entire 'displayname' given.
	DisplayName pulumi.StringPtrInput                 `pulumi:"displayName"`
	Filters     GetProtectedDatabasesFilterArrayInput `pulumi:"filters"`
	// The protected database OCID.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// The protection policy OCID.
	ProtectionPolicyId pulumi.StringPtrInput `pulumi:"protectionPolicyId"`
	// The recovery service subnet OCID.
	RecoveryServiceSubnetId pulumi.StringPtrInput `pulumi:"recoveryServiceSubnetId"`
	// A filter to return only the resources that match the specified lifecycle state.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getProtectedDatabases.

func (GetProtectedDatabasesOutputArgs) ElementType

type GetProtectedDatabasesProtectedDatabaseCollection

type GetProtectedDatabasesProtectedDatabaseCollection struct {
	Items []GetProtectedDatabasesProtectedDatabaseCollectionItem `pulumi:"items"`
}

type GetProtectedDatabasesProtectedDatabaseCollectionArgs

type GetProtectedDatabasesProtectedDatabaseCollectionArgs struct {
	Items GetProtectedDatabasesProtectedDatabaseCollectionItemArrayInput `pulumi:"items"`
}

func (GetProtectedDatabasesProtectedDatabaseCollectionArgs) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionArgs) ToGetProtectedDatabasesProtectedDatabaseCollectionOutput

func (i GetProtectedDatabasesProtectedDatabaseCollectionArgs) ToGetProtectedDatabasesProtectedDatabaseCollectionOutput() GetProtectedDatabasesProtectedDatabaseCollectionOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionArgs) ToGetProtectedDatabasesProtectedDatabaseCollectionOutputWithContext

func (i GetProtectedDatabasesProtectedDatabaseCollectionArgs) ToGetProtectedDatabasesProtectedDatabaseCollectionOutputWithContext(ctx context.Context) GetProtectedDatabasesProtectedDatabaseCollectionOutput

type GetProtectedDatabasesProtectedDatabaseCollectionArray

type GetProtectedDatabasesProtectedDatabaseCollectionArray []GetProtectedDatabasesProtectedDatabaseCollectionInput

func (GetProtectedDatabasesProtectedDatabaseCollectionArray) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionArray) ToGetProtectedDatabasesProtectedDatabaseCollectionArrayOutput

func (i GetProtectedDatabasesProtectedDatabaseCollectionArray) ToGetProtectedDatabasesProtectedDatabaseCollectionArrayOutput() GetProtectedDatabasesProtectedDatabaseCollectionArrayOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionArray) ToGetProtectedDatabasesProtectedDatabaseCollectionArrayOutputWithContext

func (i GetProtectedDatabasesProtectedDatabaseCollectionArray) ToGetProtectedDatabasesProtectedDatabaseCollectionArrayOutputWithContext(ctx context.Context) GetProtectedDatabasesProtectedDatabaseCollectionArrayOutput

type GetProtectedDatabasesProtectedDatabaseCollectionArrayInput

type GetProtectedDatabasesProtectedDatabaseCollectionArrayInput interface {
	pulumi.Input

	ToGetProtectedDatabasesProtectedDatabaseCollectionArrayOutput() GetProtectedDatabasesProtectedDatabaseCollectionArrayOutput
	ToGetProtectedDatabasesProtectedDatabaseCollectionArrayOutputWithContext(context.Context) GetProtectedDatabasesProtectedDatabaseCollectionArrayOutput
}

GetProtectedDatabasesProtectedDatabaseCollectionArrayInput is an input type that accepts GetProtectedDatabasesProtectedDatabaseCollectionArray and GetProtectedDatabasesProtectedDatabaseCollectionArrayOutput values. You can construct a concrete instance of `GetProtectedDatabasesProtectedDatabaseCollectionArrayInput` via:

GetProtectedDatabasesProtectedDatabaseCollectionArray{ GetProtectedDatabasesProtectedDatabaseCollectionArgs{...} }

type GetProtectedDatabasesProtectedDatabaseCollectionArrayOutput

type GetProtectedDatabasesProtectedDatabaseCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetProtectedDatabasesProtectedDatabaseCollectionArrayOutput) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionArrayOutput) Index

func (GetProtectedDatabasesProtectedDatabaseCollectionArrayOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionArrayOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionArrayOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionArrayOutputWithContext

func (o GetProtectedDatabasesProtectedDatabaseCollectionArrayOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionArrayOutputWithContext(ctx context.Context) GetProtectedDatabasesProtectedDatabaseCollectionArrayOutput

type GetProtectedDatabasesProtectedDatabaseCollectionInput

type GetProtectedDatabasesProtectedDatabaseCollectionInput interface {
	pulumi.Input

	ToGetProtectedDatabasesProtectedDatabaseCollectionOutput() GetProtectedDatabasesProtectedDatabaseCollectionOutput
	ToGetProtectedDatabasesProtectedDatabaseCollectionOutputWithContext(context.Context) GetProtectedDatabasesProtectedDatabaseCollectionOutput
}

GetProtectedDatabasesProtectedDatabaseCollectionInput is an input type that accepts GetProtectedDatabasesProtectedDatabaseCollectionArgs and GetProtectedDatabasesProtectedDatabaseCollectionOutput values. You can construct a concrete instance of `GetProtectedDatabasesProtectedDatabaseCollectionInput` via:

GetProtectedDatabasesProtectedDatabaseCollectionArgs{...}

type GetProtectedDatabasesProtectedDatabaseCollectionItem

type GetProtectedDatabasesProtectedDatabaseCollectionItem struct {
	// The compartment OCID.
	CompartmentId string `pulumi:"compartmentId"`
	// The OCID of the protected database.
	DatabaseId string `pulumi:"databaseId"`
	// The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
	DatabaseSize string `pulumi:"databaseSize"`
	// The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
	DbUniqueName string `pulumi:"dbUniqueName"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// A filter to return only resources that match the entire 'displayname' given.
	DisplayName string `pulumi:"displayName"`
	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// Indicates the protection status of the database. Allowed values are:
	// * HEALTHY
	// * WARNING
	// * ALERT
	Health string `pulumi:"health"`
	// A message describing the current health of the protected database.
	HealthDetails string `pulumi:"healthDetails"`
	// The protected database OCID.
	Id string `pulumi:"id"`
	// Indicates whether the protected database is created by Recovery Service or created manually. Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource. Set to <b>FALSE</b> for a user-defined protected database.
	IsReadOnlyResource bool `pulumi:"isReadOnlyResource"`
	// The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups. For this to be effective, additional configuration is needed on client side.
	IsRedoLogsShipped bool `pulumi:"isRedoLogsShipped"`
	// Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	// Backup performance and storage utilization metrics for the protected database.
	Metrics  []GetProtectedDatabasesProtectedDatabaseCollectionItemMetric `pulumi:"metrics"`
	Password string                                                       `pulumi:"password"`
	// The protection policy OCID.
	ProtectionPolicyId string `pulumi:"protectionPolicyId"`
	// List of recovery service subnet resources associated with the protected database.
	RecoveryServiceSubnets []GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnet `pulumi:"recoveryServiceSubnets"`
	// A filter to return only the resources that match the specified lifecycle state.
	State string `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
	TimeCreated string `pulumi:"timeCreated"`
	// An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
	TimeUpdated string `pulumi:"timeUpdated"`
	// The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
	VpcUserName string `pulumi:"vpcUserName"`
}

type GetProtectedDatabasesProtectedDatabaseCollectionItemArgs

type GetProtectedDatabasesProtectedDatabaseCollectionItemArgs struct {
	// The compartment OCID.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// The OCID of the protected database.
	DatabaseId pulumi.StringInput `pulumi:"databaseId"`
	// The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
	DatabaseSize pulumi.StringInput `pulumi:"databaseSize"`
	// The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
	DbUniqueName pulumi.StringInput `pulumi:"dbUniqueName"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// A filter to return only resources that match the entire 'displayname' given.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// Indicates the protection status of the database. Allowed values are:
	// * HEALTHY
	// * WARNING
	// * ALERT
	Health pulumi.StringInput `pulumi:"health"`
	// A message describing the current health of the protected database.
	HealthDetails pulumi.StringInput `pulumi:"healthDetails"`
	// The protected database OCID.
	Id pulumi.StringInput `pulumi:"id"`
	// Indicates whether the protected database is created by Recovery Service or created manually. Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource. Set to <b>FALSE</b> for a user-defined protected database.
	IsReadOnlyResource pulumi.BoolInput `pulumi:"isReadOnlyResource"`
	// The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups. For this to be effective, additional configuration is needed on client side.
	IsRedoLogsShipped pulumi.BoolInput `pulumi:"isRedoLogsShipped"`
	// Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.
	LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"`
	// Backup performance and storage utilization metrics for the protected database.
	Metrics  GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayInput `pulumi:"metrics"`
	Password pulumi.StringInput                                                   `pulumi:"password"`
	// The protection policy OCID.
	ProtectionPolicyId pulumi.StringInput `pulumi:"protectionPolicyId"`
	// List of recovery service subnet resources associated with the protected database.
	RecoveryServiceSubnets GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayInput `pulumi:"recoveryServiceSubnets"`
	// A filter to return only the resources that match the specified lifecycle state.
	State pulumi.StringInput `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	SystemTags pulumi.MapInput `pulumi:"systemTags"`
	// An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
	// The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
	VpcUserName pulumi.StringInput `pulumi:"vpcUserName"`
}

func (GetProtectedDatabasesProtectedDatabaseCollectionItemArgs) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionItemArgs) ToGetProtectedDatabasesProtectedDatabaseCollectionItemOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemArgs) ToGetProtectedDatabasesProtectedDatabaseCollectionItemOutputWithContext

func (i GetProtectedDatabasesProtectedDatabaseCollectionItemArgs) ToGetProtectedDatabasesProtectedDatabaseCollectionItemOutputWithContext(ctx context.Context) GetProtectedDatabasesProtectedDatabaseCollectionItemOutput

type GetProtectedDatabasesProtectedDatabaseCollectionItemArray

type GetProtectedDatabasesProtectedDatabaseCollectionItemArray []GetProtectedDatabasesProtectedDatabaseCollectionItemInput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemArray) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionItemArray) ToGetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput

func (i GetProtectedDatabasesProtectedDatabaseCollectionItemArray) ToGetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput() GetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemArray) ToGetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutputWithContext

func (i GetProtectedDatabasesProtectedDatabaseCollectionItemArray) ToGetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutputWithContext(ctx context.Context) GetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput

type GetProtectedDatabasesProtectedDatabaseCollectionItemArrayInput

type GetProtectedDatabasesProtectedDatabaseCollectionItemArrayInput interface {
	pulumi.Input

	ToGetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput() GetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput
	ToGetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutputWithContext(context.Context) GetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput
}

GetProtectedDatabasesProtectedDatabaseCollectionItemArrayInput is an input type that accepts GetProtectedDatabasesProtectedDatabaseCollectionItemArray and GetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput values. You can construct a concrete instance of `GetProtectedDatabasesProtectedDatabaseCollectionItemArrayInput` via:

GetProtectedDatabasesProtectedDatabaseCollectionItemArray{ GetProtectedDatabasesProtectedDatabaseCollectionItemArgs{...} }

type GetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput

type GetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput) Index

func (GetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutputWithContext

func (o GetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutputWithContext(ctx context.Context) GetProtectedDatabasesProtectedDatabaseCollectionItemArrayOutput

type GetProtectedDatabasesProtectedDatabaseCollectionItemInput

type GetProtectedDatabasesProtectedDatabaseCollectionItemInput interface {
	pulumi.Input

	ToGetProtectedDatabasesProtectedDatabaseCollectionItemOutput() GetProtectedDatabasesProtectedDatabaseCollectionItemOutput
	ToGetProtectedDatabasesProtectedDatabaseCollectionItemOutputWithContext(context.Context) GetProtectedDatabasesProtectedDatabaseCollectionItemOutput
}

GetProtectedDatabasesProtectedDatabaseCollectionItemInput is an input type that accepts GetProtectedDatabasesProtectedDatabaseCollectionItemArgs and GetProtectedDatabasesProtectedDatabaseCollectionItemOutput values. You can construct a concrete instance of `GetProtectedDatabasesProtectedDatabaseCollectionItemInput` via:

GetProtectedDatabasesProtectedDatabaseCollectionItemArgs{...}

type GetProtectedDatabasesProtectedDatabaseCollectionItemMetric

type GetProtectedDatabasesProtectedDatabaseCollectionItemMetric struct {
	// The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
	BackupSpaceEstimateInGbs float64 `pulumi:"backupSpaceEstimateInGbs"`
	// Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
	BackupSpaceUsedInGbs float64 `pulumi:"backupSpaceUsedInGbs"`
	// Number of seconds backups are currently retained for this database.
	CurrentRetentionPeriodInSeconds float64 `pulumi:"currentRetentionPeriodInSeconds"`
	// The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
	DbSizeInGbs float64 `pulumi:"dbSizeInGbs"`
	// The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
	IsRedoLogsEnabled bool `pulumi:"isRedoLogsEnabled"`
	// The maximum number of days to retain backups for a protected database.
	RetentionPeriodInDays float64 `pulumi:"retentionPeriodInDays"`
	// This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available.  This is the time we received the last backup or last redo-log shipped.
	UnprotectedWindowInSeconds float64 `pulumi:"unprotectedWindowInSeconds"`
}

type GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArgs

type GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArgs struct {
	// The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
	BackupSpaceEstimateInGbs pulumi.Float64Input `pulumi:"backupSpaceEstimateInGbs"`
	// Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
	BackupSpaceUsedInGbs pulumi.Float64Input `pulumi:"backupSpaceUsedInGbs"`
	// Number of seconds backups are currently retained for this database.
	CurrentRetentionPeriodInSeconds pulumi.Float64Input `pulumi:"currentRetentionPeriodInSeconds"`
	// The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
	DbSizeInGbs pulumi.Float64Input `pulumi:"dbSizeInGbs"`
	// The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
	IsRedoLogsEnabled pulumi.BoolInput `pulumi:"isRedoLogsEnabled"`
	// The maximum number of days to retain backups for a protected database.
	RetentionPeriodInDays pulumi.Float64Input `pulumi:"retentionPeriodInDays"`
	// This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available.  This is the time we received the last backup or last redo-log shipped.
	UnprotectedWindowInSeconds pulumi.Float64Input `pulumi:"unprotectedWindowInSeconds"`
}

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArgs) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArgs) ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArgs) ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutputWithContext

func (i GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArgs) ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutputWithContext(ctx context.Context) GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput

type GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArray

type GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArray []GetProtectedDatabasesProtectedDatabaseCollectionItemMetricInput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArray) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArray) ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArray) ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutputWithContext

func (i GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArray) ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutputWithContext(ctx context.Context) GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutput

type GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayInput

type GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayInput interface {
	pulumi.Input

	ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutput() GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutput
	ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutputWithContext(context.Context) GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutput
}

GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayInput is an input type that accepts GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArray and GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutput values. You can construct a concrete instance of `GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayInput` via:

GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArray{ GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArgs{...} }

type GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutput

type GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutput struct{ *pulumi.OutputState }

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutput) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutputWithContext

func (o GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutputWithContext(ctx context.Context) GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArrayOutput

type GetProtectedDatabasesProtectedDatabaseCollectionItemMetricInput

type GetProtectedDatabasesProtectedDatabaseCollectionItemMetricInput interface {
	pulumi.Input

	ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput() GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput
	ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutputWithContext(context.Context) GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput
}

GetProtectedDatabasesProtectedDatabaseCollectionItemMetricInput is an input type that accepts GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArgs and GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput values. You can construct a concrete instance of `GetProtectedDatabasesProtectedDatabaseCollectionItemMetricInput` via:

GetProtectedDatabasesProtectedDatabaseCollectionItemMetricArgs{...}

type GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput

type GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput struct{ *pulumi.OutputState }

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput) BackupSpaceEstimateInGbs

The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput) BackupSpaceUsedInGbs

Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput) CurrentRetentionPeriodInSeconds

Number of seconds backups are currently retained for this database.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput) DbSizeInGbs

The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput) IsRedoLogsEnabled

The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput) RetentionPeriodInDays

The maximum number of days to retain backups for a protected database.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutputWithContext

func (o GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutputWithContext(ctx context.Context) GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemMetricOutput) UnprotectedWindowInSeconds

This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped.

type GetProtectedDatabasesProtectedDatabaseCollectionItemOutput

type GetProtectedDatabasesProtectedDatabaseCollectionItemOutput struct{ *pulumi.OutputState }

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) CompartmentId

The compartment OCID.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) DatabaseId

The OCID of the protected database.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) DatabaseSize

The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) DbUniqueName

The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) DisplayName

A filter to return only resources that match the entire 'displayname' given.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) FreeformTags

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) Health

Indicates the protection status of the database. Allowed values are: * HEALTHY * WARNING * ALERT

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) HealthDetails

A message describing the current health of the protected database.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) Id

The protected database OCID.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) IsReadOnlyResource

Indicates whether the protected database is created by Recovery Service or created manually. Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource. Set to <b>FALSE</b> for a user-defined protected database.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) IsRedoLogsShipped

The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups. For this to be effective, additional configuration is needed on client side.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) LifecycleDetails

Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) Metrics

Backup performance and storage utilization metrics for the protected database.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) Password

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) ProtectionPolicyId

The protection policy OCID.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) RecoveryServiceSubnets

List of recovery service subnet resources associated with the protected database.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) State

A filter to return only the resources that match the specified lifecycle state.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) TimeCreated

An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) TimeUpdated

An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemOutputWithContext

func (o GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemOutputWithContext(ctx context.Context) GetProtectedDatabasesProtectedDatabaseCollectionItemOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemOutput) VpcUserName

The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.

type GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnet

type GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnet struct {
	// The recovery service subnet OCID.
	RecoveryServiceSubnetId string `pulumi:"recoveryServiceSubnetId"`
	// A filter to return only the resources that match the specified lifecycle state.
	State string `pulumi:"state"`
}

type GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArgs

type GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArgs struct {
	// The recovery service subnet OCID.
	RecoveryServiceSubnetId pulumi.StringInput `pulumi:"recoveryServiceSubnetId"`
	// A filter to return only the resources that match the specified lifecycle state.
	State pulumi.StringInput `pulumi:"state"`
}

func (GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArgs) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArgs) ToGetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArgs) ToGetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutputWithContext

type GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArray

type GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArray []GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetInput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArray) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArray) ToGetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArray) ToGetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayOutputWithContext

type GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayInput

type GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayInput interface {
	pulumi.Input

	ToGetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayOutput() GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayOutput
	ToGetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayOutputWithContext(context.Context) GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayOutput
}

GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayInput is an input type that accepts GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArray and GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayOutput values. You can construct a concrete instance of `GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayInput` via:

GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArray{ GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArgs{...} }

type GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayOutput

type GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayOutput struct{ *pulumi.OutputState }

func (GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayOutput) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArrayOutputWithContext

type GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetInput

type GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetInput interface {
	pulumi.Input

	ToGetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutput() GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutput
	ToGetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutputWithContext(context.Context) GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutput
}

GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetInput is an input type that accepts GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArgs and GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutput values. You can construct a concrete instance of `GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetInput` via:

GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetArgs{...}

type GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutput

type GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutput struct{ *pulumi.OutputState }

func (GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutput) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutput) RecoveryServiceSubnetId

The recovery service subnet OCID.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutput) State

A filter to return only the resources that match the specified lifecycle state.

func (GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetOutputWithContext

type GetProtectedDatabasesProtectedDatabaseCollectionOutput

type GetProtectedDatabasesProtectedDatabaseCollectionOutput struct{ *pulumi.OutputState }

func (GetProtectedDatabasesProtectedDatabaseCollectionOutput) ElementType

func (GetProtectedDatabasesProtectedDatabaseCollectionOutput) Items

func (GetProtectedDatabasesProtectedDatabaseCollectionOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionOutput

func (GetProtectedDatabasesProtectedDatabaseCollectionOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionOutputWithContext

func (o GetProtectedDatabasesProtectedDatabaseCollectionOutput) ToGetProtectedDatabasesProtectedDatabaseCollectionOutputWithContext(ctx context.Context) GetProtectedDatabasesProtectedDatabaseCollectionOutput

type GetProtectedDatabasesResult

type GetProtectedDatabasesResult struct {
	// The OCID of the compartment that contains the protected database.
	CompartmentId string `pulumi:"compartmentId"`
	// The protected database name. You can change the displayName. Avoid entering confidential information.
	DisplayName *string                       `pulumi:"displayName"`
	Filters     []GetProtectedDatabasesFilter `pulumi:"filters"`
	// The OCID of the protected database.
	Id *string `pulumi:"id"`
	// The list of protected_database_collection.
	ProtectedDatabaseCollections []GetProtectedDatabasesProtectedDatabaseCollection `pulumi:"protectedDatabaseCollections"`
	// The OCID of the protection policy associated with the protected database.
	ProtectionPolicyId *string `pulumi:"protectionPolicyId"`
	// Recovery Service Subnet Identifier.
	RecoveryServiceSubnetId *string `pulumi:"recoveryServiceSubnetId"`
	// The current state of the Protected Database.
	State *string `pulumi:"state"`
}

A collection of values returned by getProtectedDatabases.

func GetProtectedDatabases

func GetProtectedDatabases(ctx *pulumi.Context, args *GetProtectedDatabasesArgs, opts ...pulumi.InvokeOption) (*GetProtectedDatabasesResult, error)

This data source provides the list of Protected Databases in Oracle Cloud Infrastructure Recovery service.

Lists the protected databases based on the specified parameters.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/RecoveryMod"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := RecoveryMod.GetProtectedDatabases(ctx, &recoverymod.GetProtectedDatabasesArgs{
			CompartmentId:           _var.Compartment_id,
			DisplayName:             pulumi.StringRef(_var.Protected_database_display_name),
			Id:                      pulumi.StringRef(_var.Protected_database_id),
			ProtectionPolicyId:      pulumi.StringRef(oci_recovery_protection_policy.Test_protection_policy.Id),
			RecoveryServiceSubnetId: pulumi.StringRef(oci_recovery_recovery_service_subnet.Test_recovery_service_subnet.Id),
			State:                   pulumi.StringRef(_var.Protected_database_state),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProtectedDatabasesResultOutput

type GetProtectedDatabasesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProtectedDatabases.

func (GetProtectedDatabasesResultOutput) CompartmentId

The OCID of the compartment that contains the protected database.

func (GetProtectedDatabasesResultOutput) DisplayName

The protected database name. You can change the displayName. Avoid entering confidential information.

func (GetProtectedDatabasesResultOutput) ElementType

func (GetProtectedDatabasesResultOutput) Filters

func (GetProtectedDatabasesResultOutput) Id

The OCID of the protected database.

func (GetProtectedDatabasesResultOutput) ProtectedDatabaseCollections

The list of protected_database_collection.

func (GetProtectedDatabasesResultOutput) ProtectionPolicyId

The OCID of the protection policy associated with the protected database.

func (GetProtectedDatabasesResultOutput) RecoveryServiceSubnetId

func (o GetProtectedDatabasesResultOutput) RecoveryServiceSubnetId() pulumi.StringPtrOutput

Recovery Service Subnet Identifier.

func (GetProtectedDatabasesResultOutput) State

The current state of the Protected Database.

func (GetProtectedDatabasesResultOutput) ToGetProtectedDatabasesResultOutput

func (o GetProtectedDatabasesResultOutput) ToGetProtectedDatabasesResultOutput() GetProtectedDatabasesResultOutput

func (GetProtectedDatabasesResultOutput) ToGetProtectedDatabasesResultOutputWithContext

func (o GetProtectedDatabasesResultOutput) ToGetProtectedDatabasesResultOutputWithContext(ctx context.Context) GetProtectedDatabasesResultOutput

type GetProtectionPoliciesArgs

type GetProtectionPoliciesArgs struct {
	// The compartment OCID.
	CompartmentId string `pulumi:"compartmentId"`
	// A filter to return only resources that match the entire 'displayname' given.
	DisplayName *string                       `pulumi:"displayName"`
	Filters     []GetProtectionPoliciesFilter `pulumi:"filters"`
	// A filter to return only the policies that match the owner as 'Customer' or 'Oracle'.
	Owner *string `pulumi:"owner"`
	// The protection policy OCID.
	ProtectionPolicyId *string `pulumi:"protectionPolicyId"`
	// A filter to return only resources their lifecycleState matches the given lifecycleState.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getProtectionPolicies.

type GetProtectionPoliciesFilter

type GetProtectionPoliciesFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetProtectionPoliciesFilterArgs

type GetProtectionPoliciesFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetProtectionPoliciesFilterArgs) ElementType

func (GetProtectionPoliciesFilterArgs) ToGetProtectionPoliciesFilterOutput

func (i GetProtectionPoliciesFilterArgs) ToGetProtectionPoliciesFilterOutput() GetProtectionPoliciesFilterOutput

func (GetProtectionPoliciesFilterArgs) ToGetProtectionPoliciesFilterOutputWithContext

func (i GetProtectionPoliciesFilterArgs) ToGetProtectionPoliciesFilterOutputWithContext(ctx context.Context) GetProtectionPoliciesFilterOutput

type GetProtectionPoliciesFilterArray

type GetProtectionPoliciesFilterArray []GetProtectionPoliciesFilterInput

func (GetProtectionPoliciesFilterArray) ElementType

func (GetProtectionPoliciesFilterArray) ToGetProtectionPoliciesFilterArrayOutput

func (i GetProtectionPoliciesFilterArray) ToGetProtectionPoliciesFilterArrayOutput() GetProtectionPoliciesFilterArrayOutput

func (GetProtectionPoliciesFilterArray) ToGetProtectionPoliciesFilterArrayOutputWithContext

func (i GetProtectionPoliciesFilterArray) ToGetProtectionPoliciesFilterArrayOutputWithContext(ctx context.Context) GetProtectionPoliciesFilterArrayOutput

type GetProtectionPoliciesFilterArrayInput

type GetProtectionPoliciesFilterArrayInput interface {
	pulumi.Input

	ToGetProtectionPoliciesFilterArrayOutput() GetProtectionPoliciesFilterArrayOutput
	ToGetProtectionPoliciesFilterArrayOutputWithContext(context.Context) GetProtectionPoliciesFilterArrayOutput
}

GetProtectionPoliciesFilterArrayInput is an input type that accepts GetProtectionPoliciesFilterArray and GetProtectionPoliciesFilterArrayOutput values. You can construct a concrete instance of `GetProtectionPoliciesFilterArrayInput` via:

GetProtectionPoliciesFilterArray{ GetProtectionPoliciesFilterArgs{...} }

type GetProtectionPoliciesFilterArrayOutput

type GetProtectionPoliciesFilterArrayOutput struct{ *pulumi.OutputState }

func (GetProtectionPoliciesFilterArrayOutput) ElementType

func (GetProtectionPoliciesFilterArrayOutput) Index

func (GetProtectionPoliciesFilterArrayOutput) ToGetProtectionPoliciesFilterArrayOutput

func (o GetProtectionPoliciesFilterArrayOutput) ToGetProtectionPoliciesFilterArrayOutput() GetProtectionPoliciesFilterArrayOutput

func (GetProtectionPoliciesFilterArrayOutput) ToGetProtectionPoliciesFilterArrayOutputWithContext

func (o GetProtectionPoliciesFilterArrayOutput) ToGetProtectionPoliciesFilterArrayOutputWithContext(ctx context.Context) GetProtectionPoliciesFilterArrayOutput

type GetProtectionPoliciesFilterInput

type GetProtectionPoliciesFilterInput interface {
	pulumi.Input

	ToGetProtectionPoliciesFilterOutput() GetProtectionPoliciesFilterOutput
	ToGetProtectionPoliciesFilterOutputWithContext(context.Context) GetProtectionPoliciesFilterOutput
}

GetProtectionPoliciesFilterInput is an input type that accepts GetProtectionPoliciesFilterArgs and GetProtectionPoliciesFilterOutput values. You can construct a concrete instance of `GetProtectionPoliciesFilterInput` via:

GetProtectionPoliciesFilterArgs{...}

type GetProtectionPoliciesFilterOutput

type GetProtectionPoliciesFilterOutput struct{ *pulumi.OutputState }

func (GetProtectionPoliciesFilterOutput) ElementType

func (GetProtectionPoliciesFilterOutput) Name

func (GetProtectionPoliciesFilterOutput) Regex

func (GetProtectionPoliciesFilterOutput) ToGetProtectionPoliciesFilterOutput

func (o GetProtectionPoliciesFilterOutput) ToGetProtectionPoliciesFilterOutput() GetProtectionPoliciesFilterOutput

func (GetProtectionPoliciesFilterOutput) ToGetProtectionPoliciesFilterOutputWithContext

func (o GetProtectionPoliciesFilterOutput) ToGetProtectionPoliciesFilterOutputWithContext(ctx context.Context) GetProtectionPoliciesFilterOutput

func (GetProtectionPoliciesFilterOutput) Values

type GetProtectionPoliciesOutputArgs

type GetProtectionPoliciesOutputArgs struct {
	// The compartment OCID.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// A filter to return only resources that match the entire 'displayname' given.
	DisplayName pulumi.StringPtrInput                 `pulumi:"displayName"`
	Filters     GetProtectionPoliciesFilterArrayInput `pulumi:"filters"`
	// A filter to return only the policies that match the owner as 'Customer' or 'Oracle'.
	Owner pulumi.StringPtrInput `pulumi:"owner"`
	// The protection policy OCID.
	ProtectionPolicyId pulumi.StringPtrInput `pulumi:"protectionPolicyId"`
	// A filter to return only resources their lifecycleState matches the given lifecycleState.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getProtectionPolicies.

func (GetProtectionPoliciesOutputArgs) ElementType

type GetProtectionPoliciesProtectionPolicyCollection

type GetProtectionPoliciesProtectionPolicyCollection struct {
	Items []GetProtectionPoliciesProtectionPolicyCollectionItem `pulumi:"items"`
}

type GetProtectionPoliciesProtectionPolicyCollectionArgs

type GetProtectionPoliciesProtectionPolicyCollectionArgs struct {
	Items GetProtectionPoliciesProtectionPolicyCollectionItemArrayInput `pulumi:"items"`
}

func (GetProtectionPoliciesProtectionPolicyCollectionArgs) ElementType

func (GetProtectionPoliciesProtectionPolicyCollectionArgs) ToGetProtectionPoliciesProtectionPolicyCollectionOutput

func (i GetProtectionPoliciesProtectionPolicyCollectionArgs) ToGetProtectionPoliciesProtectionPolicyCollectionOutput() GetProtectionPoliciesProtectionPolicyCollectionOutput

func (GetProtectionPoliciesProtectionPolicyCollectionArgs) ToGetProtectionPoliciesProtectionPolicyCollectionOutputWithContext

func (i GetProtectionPoliciesProtectionPolicyCollectionArgs) ToGetProtectionPoliciesProtectionPolicyCollectionOutputWithContext(ctx context.Context) GetProtectionPoliciesProtectionPolicyCollectionOutput

type GetProtectionPoliciesProtectionPolicyCollectionArray

type GetProtectionPoliciesProtectionPolicyCollectionArray []GetProtectionPoliciesProtectionPolicyCollectionInput

func (GetProtectionPoliciesProtectionPolicyCollectionArray) ElementType

func (GetProtectionPoliciesProtectionPolicyCollectionArray) ToGetProtectionPoliciesProtectionPolicyCollectionArrayOutput

func (i GetProtectionPoliciesProtectionPolicyCollectionArray) ToGetProtectionPoliciesProtectionPolicyCollectionArrayOutput() GetProtectionPoliciesProtectionPolicyCollectionArrayOutput

func (GetProtectionPoliciesProtectionPolicyCollectionArray) ToGetProtectionPoliciesProtectionPolicyCollectionArrayOutputWithContext

func (i GetProtectionPoliciesProtectionPolicyCollectionArray) ToGetProtectionPoliciesProtectionPolicyCollectionArrayOutputWithContext(ctx context.Context) GetProtectionPoliciesProtectionPolicyCollectionArrayOutput

type GetProtectionPoliciesProtectionPolicyCollectionArrayInput

type GetProtectionPoliciesProtectionPolicyCollectionArrayInput interface {
	pulumi.Input

	ToGetProtectionPoliciesProtectionPolicyCollectionArrayOutput() GetProtectionPoliciesProtectionPolicyCollectionArrayOutput
	ToGetProtectionPoliciesProtectionPolicyCollectionArrayOutputWithContext(context.Context) GetProtectionPoliciesProtectionPolicyCollectionArrayOutput
}

GetProtectionPoliciesProtectionPolicyCollectionArrayInput is an input type that accepts GetProtectionPoliciesProtectionPolicyCollectionArray and GetProtectionPoliciesProtectionPolicyCollectionArrayOutput values. You can construct a concrete instance of `GetProtectionPoliciesProtectionPolicyCollectionArrayInput` via:

GetProtectionPoliciesProtectionPolicyCollectionArray{ GetProtectionPoliciesProtectionPolicyCollectionArgs{...} }

type GetProtectionPoliciesProtectionPolicyCollectionArrayOutput

type GetProtectionPoliciesProtectionPolicyCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetProtectionPoliciesProtectionPolicyCollectionArrayOutput) ElementType

func (GetProtectionPoliciesProtectionPolicyCollectionArrayOutput) Index

func (GetProtectionPoliciesProtectionPolicyCollectionArrayOutput) ToGetProtectionPoliciesProtectionPolicyCollectionArrayOutput

func (GetProtectionPoliciesProtectionPolicyCollectionArrayOutput) ToGetProtectionPoliciesProtectionPolicyCollectionArrayOutputWithContext

func (o GetProtectionPoliciesProtectionPolicyCollectionArrayOutput) ToGetProtectionPoliciesProtectionPolicyCollectionArrayOutputWithContext(ctx context.Context) GetProtectionPoliciesProtectionPolicyCollectionArrayOutput

type GetProtectionPoliciesProtectionPolicyCollectionInput

type GetProtectionPoliciesProtectionPolicyCollectionInput interface {
	pulumi.Input

	ToGetProtectionPoliciesProtectionPolicyCollectionOutput() GetProtectionPoliciesProtectionPolicyCollectionOutput
	ToGetProtectionPoliciesProtectionPolicyCollectionOutputWithContext(context.Context) GetProtectionPoliciesProtectionPolicyCollectionOutput
}

GetProtectionPoliciesProtectionPolicyCollectionInput is an input type that accepts GetProtectionPoliciesProtectionPolicyCollectionArgs and GetProtectionPoliciesProtectionPolicyCollectionOutput values. You can construct a concrete instance of `GetProtectionPoliciesProtectionPolicyCollectionInput` via:

GetProtectionPoliciesProtectionPolicyCollectionArgs{...}

type GetProtectionPoliciesProtectionPolicyCollectionItem

type GetProtectionPoliciesProtectionPolicyCollectionItem struct {
	// The maximum number of days to retain backups for a protected database. Specify a period ranging from a minimum 14 days to a maximum 95 days. For example, specify the value 55 if you want to retain backups for 55 days.
	BackupRetentionPeriodInDays int `pulumi:"backupRetentionPeriodInDays"`
	// The compartment OCID.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// A filter to return only resources that match the entire 'displayname' given.
	DisplayName string `pulumi:"displayName"`
	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The protection policy OCID.
	Id string `pulumi:"id"`
	// Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
	IsPredefinedPolicy bool `pulumi:"isPredefinedPolicy"`
	// Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	// A filter to return only resources their lifecycleState matches the given lifecycleState.
	State string `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// An RFC3339 formatted datetime string that indicates the created time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
	TimeCreated string `pulumi:"timeCreated"`
	// An RFC3339 formatted datetime string that indicates the updated time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
	TimeUpdated string `pulumi:"timeUpdated"`
}

type GetProtectionPoliciesProtectionPolicyCollectionItemArgs

type GetProtectionPoliciesProtectionPolicyCollectionItemArgs struct {
	// The maximum number of days to retain backups for a protected database. Specify a period ranging from a minimum 14 days to a maximum 95 days. For example, specify the value 55 if you want to retain backups for 55 days.
	BackupRetentionPeriodInDays pulumi.IntInput `pulumi:"backupRetentionPeriodInDays"`
	// The compartment OCID.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// A filter to return only resources that match the entire 'displayname' given.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// The protection policy OCID.
	Id pulumi.StringInput `pulumi:"id"`
	// Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
	IsPredefinedPolicy pulumi.BoolInput `pulumi:"isPredefinedPolicy"`
	// Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
	LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"`
	// A filter to return only resources their lifecycleState matches the given lifecycleState.
	State pulumi.StringInput `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	SystemTags pulumi.MapInput `pulumi:"systemTags"`
	// An RFC3339 formatted datetime string that indicates the created time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// An RFC3339 formatted datetime string that indicates the updated time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
}

func (GetProtectionPoliciesProtectionPolicyCollectionItemArgs) ElementType

func (GetProtectionPoliciesProtectionPolicyCollectionItemArgs) ToGetProtectionPoliciesProtectionPolicyCollectionItemOutput

func (GetProtectionPoliciesProtectionPolicyCollectionItemArgs) ToGetProtectionPoliciesProtectionPolicyCollectionItemOutputWithContext

func (i GetProtectionPoliciesProtectionPolicyCollectionItemArgs) ToGetProtectionPoliciesProtectionPolicyCollectionItemOutputWithContext(ctx context.Context) GetProtectionPoliciesProtectionPolicyCollectionItemOutput

type GetProtectionPoliciesProtectionPolicyCollectionItemArray

type GetProtectionPoliciesProtectionPolicyCollectionItemArray []GetProtectionPoliciesProtectionPolicyCollectionItemInput

func (GetProtectionPoliciesProtectionPolicyCollectionItemArray) ElementType

func (GetProtectionPoliciesProtectionPolicyCollectionItemArray) ToGetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput

func (i GetProtectionPoliciesProtectionPolicyCollectionItemArray) ToGetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput() GetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput

func (GetProtectionPoliciesProtectionPolicyCollectionItemArray) ToGetProtectionPoliciesProtectionPolicyCollectionItemArrayOutputWithContext

func (i GetProtectionPoliciesProtectionPolicyCollectionItemArray) ToGetProtectionPoliciesProtectionPolicyCollectionItemArrayOutputWithContext(ctx context.Context) GetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput

type GetProtectionPoliciesProtectionPolicyCollectionItemArrayInput

type GetProtectionPoliciesProtectionPolicyCollectionItemArrayInput interface {
	pulumi.Input

	ToGetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput() GetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput
	ToGetProtectionPoliciesProtectionPolicyCollectionItemArrayOutputWithContext(context.Context) GetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput
}

GetProtectionPoliciesProtectionPolicyCollectionItemArrayInput is an input type that accepts GetProtectionPoliciesProtectionPolicyCollectionItemArray and GetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput values. You can construct a concrete instance of `GetProtectionPoliciesProtectionPolicyCollectionItemArrayInput` via:

GetProtectionPoliciesProtectionPolicyCollectionItemArray{ GetProtectionPoliciesProtectionPolicyCollectionItemArgs{...} }

type GetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput

type GetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput) ElementType

func (GetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput) Index

func (GetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput) ToGetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput

func (GetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput) ToGetProtectionPoliciesProtectionPolicyCollectionItemArrayOutputWithContext

func (o GetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput) ToGetProtectionPoliciesProtectionPolicyCollectionItemArrayOutputWithContext(ctx context.Context) GetProtectionPoliciesProtectionPolicyCollectionItemArrayOutput

type GetProtectionPoliciesProtectionPolicyCollectionItemInput

type GetProtectionPoliciesProtectionPolicyCollectionItemInput interface {
	pulumi.Input

	ToGetProtectionPoliciesProtectionPolicyCollectionItemOutput() GetProtectionPoliciesProtectionPolicyCollectionItemOutput
	ToGetProtectionPoliciesProtectionPolicyCollectionItemOutputWithContext(context.Context) GetProtectionPoliciesProtectionPolicyCollectionItemOutput
}

GetProtectionPoliciesProtectionPolicyCollectionItemInput is an input type that accepts GetProtectionPoliciesProtectionPolicyCollectionItemArgs and GetProtectionPoliciesProtectionPolicyCollectionItemOutput values. You can construct a concrete instance of `GetProtectionPoliciesProtectionPolicyCollectionItemInput` via:

GetProtectionPoliciesProtectionPolicyCollectionItemArgs{...}

type GetProtectionPoliciesProtectionPolicyCollectionItemOutput

type GetProtectionPoliciesProtectionPolicyCollectionItemOutput struct{ *pulumi.OutputState }

func (GetProtectionPoliciesProtectionPolicyCollectionItemOutput) BackupRetentionPeriodInDays

The maximum number of days to retain backups for a protected database. Specify a period ranging from a minimum 14 days to a maximum 95 days. For example, specify the value 55 if you want to retain backups for 55 days.

func (GetProtectionPoliciesProtectionPolicyCollectionItemOutput) CompartmentId

The compartment OCID.

func (GetProtectionPoliciesProtectionPolicyCollectionItemOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (GetProtectionPoliciesProtectionPolicyCollectionItemOutput) DisplayName

A filter to return only resources that match the entire 'displayname' given.

func (GetProtectionPoliciesProtectionPolicyCollectionItemOutput) ElementType

func (GetProtectionPoliciesProtectionPolicyCollectionItemOutput) FreeformTags

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (GetProtectionPoliciesProtectionPolicyCollectionItemOutput) Id

The protection policy OCID.

func (GetProtectionPoliciesProtectionPolicyCollectionItemOutput) IsPredefinedPolicy

Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.

func (GetProtectionPoliciesProtectionPolicyCollectionItemOutput) LifecycleDetails

Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.

func (GetProtectionPoliciesProtectionPolicyCollectionItemOutput) State

A filter to return only resources their lifecycleState matches the given lifecycleState.

func (GetProtectionPoliciesProtectionPolicyCollectionItemOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (GetProtectionPoliciesProtectionPolicyCollectionItemOutput) TimeCreated

An RFC3339 formatted datetime string that indicates the created time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.

func (GetProtectionPoliciesProtectionPolicyCollectionItemOutput) TimeUpdated

An RFC3339 formatted datetime string that indicates the updated time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.

func (GetProtectionPoliciesProtectionPolicyCollectionItemOutput) ToGetProtectionPoliciesProtectionPolicyCollectionItemOutput

func (GetProtectionPoliciesProtectionPolicyCollectionItemOutput) ToGetProtectionPoliciesProtectionPolicyCollectionItemOutputWithContext

func (o GetProtectionPoliciesProtectionPolicyCollectionItemOutput) ToGetProtectionPoliciesProtectionPolicyCollectionItemOutputWithContext(ctx context.Context) GetProtectionPoliciesProtectionPolicyCollectionItemOutput

type GetProtectionPoliciesProtectionPolicyCollectionOutput

type GetProtectionPoliciesProtectionPolicyCollectionOutput struct{ *pulumi.OutputState }

func (GetProtectionPoliciesProtectionPolicyCollectionOutput) ElementType

func (GetProtectionPoliciesProtectionPolicyCollectionOutput) Items

func (GetProtectionPoliciesProtectionPolicyCollectionOutput) ToGetProtectionPoliciesProtectionPolicyCollectionOutput

func (GetProtectionPoliciesProtectionPolicyCollectionOutput) ToGetProtectionPoliciesProtectionPolicyCollectionOutputWithContext

func (o GetProtectionPoliciesProtectionPolicyCollectionOutput) ToGetProtectionPoliciesProtectionPolicyCollectionOutputWithContext(ctx context.Context) GetProtectionPoliciesProtectionPolicyCollectionOutput

type GetProtectionPoliciesResult

type GetProtectionPoliciesResult struct {
	// The OCID of the compartment that contains the protection policy.
	CompartmentId string `pulumi:"compartmentId"`
	// A user provided name for the protection policy.
	DisplayName *string                       `pulumi:"displayName"`
	Filters     []GetProtectionPoliciesFilter `pulumi:"filters"`
	// The provider-assigned unique ID for this managed resource.
	Id    string  `pulumi:"id"`
	Owner *string `pulumi:"owner"`
	// The list of protection_policy_collection.
	ProtectionPolicyCollections []GetProtectionPoliciesProtectionPolicyCollection `pulumi:"protectionPolicyCollections"`
	ProtectionPolicyId          *string                                           `pulumi:"protectionPolicyId"`
	// The current state of the protection policy. Allowed values are:
	// * CREATING
	// * UPDATING
	// * ACTIVE
	// * DELETING
	// * DELETED
	// * FAILED
	State *string `pulumi:"state"`
}

A collection of values returned by getProtectionPolicies.

func GetProtectionPolicies

func GetProtectionPolicies(ctx *pulumi.Context, args *GetProtectionPoliciesArgs, opts ...pulumi.InvokeOption) (*GetProtectionPoliciesResult, error)

This data source provides the list of Protection Policies in Oracle Cloud Infrastructure Recovery service.

Gets a list of protection policies based on the specified parameters.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/RecoveryMod"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := RecoveryMod.GetProtectionPolicies(ctx, &recoverymod.GetProtectionPoliciesArgs{
			CompartmentId:      _var.Compartment_id,
			DisplayName:        pulumi.StringRef(_var.Protection_policy_display_name),
			Owner:              pulumi.StringRef(_var.Protection_policy_owner),
			ProtectionPolicyId: pulumi.StringRef(oci_recovery_protection_policy.Test_protection_policy.Id),
			State:              pulumi.StringRef(_var.Protection_policy_state),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetProtectionPoliciesResultOutput

type GetProtectionPoliciesResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProtectionPolicies.

func (GetProtectionPoliciesResultOutput) CompartmentId

The OCID of the compartment that contains the protection policy.

func (GetProtectionPoliciesResultOutput) DisplayName

A user provided name for the protection policy.

func (GetProtectionPoliciesResultOutput) ElementType

func (GetProtectionPoliciesResultOutput) Filters

func (GetProtectionPoliciesResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetProtectionPoliciesResultOutput) Owner

func (GetProtectionPoliciesResultOutput) ProtectionPolicyCollections

The list of protection_policy_collection.

func (GetProtectionPoliciesResultOutput) ProtectionPolicyId

func (GetProtectionPoliciesResultOutput) State

The current state of the protection policy. Allowed values are: * CREATING * UPDATING * ACTIVE * DELETING * DELETED * FAILED

func (GetProtectionPoliciesResultOutput) ToGetProtectionPoliciesResultOutput

func (o GetProtectionPoliciesResultOutput) ToGetProtectionPoliciesResultOutput() GetProtectionPoliciesResultOutput

func (GetProtectionPoliciesResultOutput) ToGetProtectionPoliciesResultOutputWithContext

func (o GetProtectionPoliciesResultOutput) ToGetProtectionPoliciesResultOutputWithContext(ctx context.Context) GetProtectionPoliciesResultOutput

type GetRecoveryServiceSubnetsArgs

type GetRecoveryServiceSubnetsArgs struct {
	// The compartment OCID.
	CompartmentId string `pulumi:"compartmentId"`
	// A filter to return only resources that match the entire 'displayname' given.
	DisplayName *string                           `pulumi:"displayName"`
	Filters     []GetRecoveryServiceSubnetsFilter `pulumi:"filters"`
	// The recovery service subnet OCID.
	Id *string `pulumi:"id"`
	// A filter to return only the resources that match the specified lifecycle state. Allowed values are:
	// * CREATING
	// * UPDATING
	// * ACTIVE
	// * DELETING
	// * DELETED
	// * FAILED
	State *string `pulumi:"state"`
	// The OCID of the virtual cloud network (VCN) associated with the recovery service subnet.
	VcnId *string `pulumi:"vcnId"`
}

A collection of arguments for invoking getRecoveryServiceSubnets.

type GetRecoveryServiceSubnetsFilter

type GetRecoveryServiceSubnetsFilter struct {
	Name   string   `pulumi:"name"`
	Regex  *bool    `pulumi:"regex"`
	Values []string `pulumi:"values"`
}

type GetRecoveryServiceSubnetsFilterArgs

type GetRecoveryServiceSubnetsFilterArgs struct {
	Name   pulumi.StringInput      `pulumi:"name"`
	Regex  pulumi.BoolPtrInput     `pulumi:"regex"`
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (GetRecoveryServiceSubnetsFilterArgs) ElementType

func (GetRecoveryServiceSubnetsFilterArgs) ToGetRecoveryServiceSubnetsFilterOutput

func (i GetRecoveryServiceSubnetsFilterArgs) ToGetRecoveryServiceSubnetsFilterOutput() GetRecoveryServiceSubnetsFilterOutput

func (GetRecoveryServiceSubnetsFilterArgs) ToGetRecoveryServiceSubnetsFilterOutputWithContext

func (i GetRecoveryServiceSubnetsFilterArgs) ToGetRecoveryServiceSubnetsFilterOutputWithContext(ctx context.Context) GetRecoveryServiceSubnetsFilterOutput

type GetRecoveryServiceSubnetsFilterArray

type GetRecoveryServiceSubnetsFilterArray []GetRecoveryServiceSubnetsFilterInput

func (GetRecoveryServiceSubnetsFilterArray) ElementType

func (GetRecoveryServiceSubnetsFilterArray) ToGetRecoveryServiceSubnetsFilterArrayOutput

func (i GetRecoveryServiceSubnetsFilterArray) ToGetRecoveryServiceSubnetsFilterArrayOutput() GetRecoveryServiceSubnetsFilterArrayOutput

func (GetRecoveryServiceSubnetsFilterArray) ToGetRecoveryServiceSubnetsFilterArrayOutputWithContext

func (i GetRecoveryServiceSubnetsFilterArray) ToGetRecoveryServiceSubnetsFilterArrayOutputWithContext(ctx context.Context) GetRecoveryServiceSubnetsFilterArrayOutput

type GetRecoveryServiceSubnetsFilterArrayInput

type GetRecoveryServiceSubnetsFilterArrayInput interface {
	pulumi.Input

	ToGetRecoveryServiceSubnetsFilterArrayOutput() GetRecoveryServiceSubnetsFilterArrayOutput
	ToGetRecoveryServiceSubnetsFilterArrayOutputWithContext(context.Context) GetRecoveryServiceSubnetsFilterArrayOutput
}

GetRecoveryServiceSubnetsFilterArrayInput is an input type that accepts GetRecoveryServiceSubnetsFilterArray and GetRecoveryServiceSubnetsFilterArrayOutput values. You can construct a concrete instance of `GetRecoveryServiceSubnetsFilterArrayInput` via:

GetRecoveryServiceSubnetsFilterArray{ GetRecoveryServiceSubnetsFilterArgs{...} }

type GetRecoveryServiceSubnetsFilterArrayOutput

type GetRecoveryServiceSubnetsFilterArrayOutput struct{ *pulumi.OutputState }

func (GetRecoveryServiceSubnetsFilterArrayOutput) ElementType

func (GetRecoveryServiceSubnetsFilterArrayOutput) Index

func (GetRecoveryServiceSubnetsFilterArrayOutput) ToGetRecoveryServiceSubnetsFilterArrayOutput

func (o GetRecoveryServiceSubnetsFilterArrayOutput) ToGetRecoveryServiceSubnetsFilterArrayOutput() GetRecoveryServiceSubnetsFilterArrayOutput

func (GetRecoveryServiceSubnetsFilterArrayOutput) ToGetRecoveryServiceSubnetsFilterArrayOutputWithContext

func (o GetRecoveryServiceSubnetsFilterArrayOutput) ToGetRecoveryServiceSubnetsFilterArrayOutputWithContext(ctx context.Context) GetRecoveryServiceSubnetsFilterArrayOutput

type GetRecoveryServiceSubnetsFilterInput

type GetRecoveryServiceSubnetsFilterInput interface {
	pulumi.Input

	ToGetRecoveryServiceSubnetsFilterOutput() GetRecoveryServiceSubnetsFilterOutput
	ToGetRecoveryServiceSubnetsFilterOutputWithContext(context.Context) GetRecoveryServiceSubnetsFilterOutput
}

GetRecoveryServiceSubnetsFilterInput is an input type that accepts GetRecoveryServiceSubnetsFilterArgs and GetRecoveryServiceSubnetsFilterOutput values. You can construct a concrete instance of `GetRecoveryServiceSubnetsFilterInput` via:

GetRecoveryServiceSubnetsFilterArgs{...}

type GetRecoveryServiceSubnetsFilterOutput

type GetRecoveryServiceSubnetsFilterOutput struct{ *pulumi.OutputState }

func (GetRecoveryServiceSubnetsFilterOutput) ElementType

func (GetRecoveryServiceSubnetsFilterOutput) Name

func (GetRecoveryServiceSubnetsFilterOutput) Regex

func (GetRecoveryServiceSubnetsFilterOutput) ToGetRecoveryServiceSubnetsFilterOutput

func (o GetRecoveryServiceSubnetsFilterOutput) ToGetRecoveryServiceSubnetsFilterOutput() GetRecoveryServiceSubnetsFilterOutput

func (GetRecoveryServiceSubnetsFilterOutput) ToGetRecoveryServiceSubnetsFilterOutputWithContext

func (o GetRecoveryServiceSubnetsFilterOutput) ToGetRecoveryServiceSubnetsFilterOutputWithContext(ctx context.Context) GetRecoveryServiceSubnetsFilterOutput

func (GetRecoveryServiceSubnetsFilterOutput) Values

type GetRecoveryServiceSubnetsOutputArgs

type GetRecoveryServiceSubnetsOutputArgs struct {
	// The compartment OCID.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// A filter to return only resources that match the entire 'displayname' given.
	DisplayName pulumi.StringPtrInput                     `pulumi:"displayName"`
	Filters     GetRecoveryServiceSubnetsFilterArrayInput `pulumi:"filters"`
	// The recovery service subnet OCID.
	Id pulumi.StringPtrInput `pulumi:"id"`
	// A filter to return only the resources that match the specified lifecycle state. Allowed values are:
	// * CREATING
	// * UPDATING
	// * ACTIVE
	// * DELETING
	// * DELETED
	// * FAILED
	State pulumi.StringPtrInput `pulumi:"state"`
	// The OCID of the virtual cloud network (VCN) associated with the recovery service subnet.
	VcnId pulumi.StringPtrInput `pulumi:"vcnId"`
}

A collection of arguments for invoking getRecoveryServiceSubnets.

func (GetRecoveryServiceSubnetsOutputArgs) ElementType

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollection

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollection struct {
	Items []GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItem `pulumi:"items"`
}

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArgs

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArgs struct {
	Items GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayInput `pulumi:"items"`
}

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArgs) ElementType

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArgs) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutput

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArgs) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutputWithContext

func (i GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArgs) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutputWithContext(ctx context.Context) GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutput

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArray

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArray []GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionInput

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArray) ElementType

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArray) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutput

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArray) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutputWithContext

func (i GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArray) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutputWithContext(ctx context.Context) GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutput

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayInput

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayInput interface {
	pulumi.Input

	ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutput() GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutput
	ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutputWithContext(context.Context) GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutput
}

GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayInput is an input type that accepts GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArray and GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutput values. You can construct a concrete instance of `GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayInput` via:

GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArray{ GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArgs{...} }

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutput

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutput) ElementType

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutput) Index

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutput) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutput

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutput) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutputWithContext

func (o GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutput) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutputWithContext(ctx context.Context) GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArrayOutput

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionInput

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionInput interface {
	pulumi.Input

	ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutput() GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutput
	ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutputWithContext(context.Context) GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutput
}

GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionInput is an input type that accepts GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArgs and GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutput values. You can construct a concrete instance of `GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionInput` via:

GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionArgs{...}

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItem

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItem struct {
	// The compartment OCID.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// A filter to return only resources that match the entire 'displayname' given.
	DisplayName string `pulumi:"displayName"`
	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The recovery service subnet OCID.
	Id string `pulumi:"id"`
	// Detailed description about the current lifecycle state of the recovery service subnet. For example, it can be used to provide actionable information for a resource in a Failed state
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	// A filter to return only the resources that match the specified lifecycle state. Allowed values are:
	// * CREATING
	// * UPDATING
	// * ACTIVE
	// * DELETING
	// * DELETED
	// * FAILED
	State string `pulumi:"state"`
	// The OCID of the subnet used as the recovery service subnet.
	SubnetId string `pulumi:"subnetId"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
	TimeCreated string `pulumi:"timeCreated"`
	// An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
	TimeUpdated string `pulumi:"timeUpdated"`
	// The OCID of the virtual cloud network (VCN) associated with the recovery service subnet.
	VcnId string `pulumi:"vcnId"`
}

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArgs

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArgs struct {
	// The compartment OCID.
	CompartmentId pulumi.StringInput `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags pulumi.MapInput `pulumi:"definedTags"`
	// A filter to return only resources that match the entire 'displayname' given.
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput `pulumi:"freeformTags"`
	// The recovery service subnet OCID.
	Id pulumi.StringInput `pulumi:"id"`
	// Detailed description about the current lifecycle state of the recovery service subnet. For example, it can be used to provide actionable information for a resource in a Failed state
	LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"`
	// A filter to return only the resources that match the specified lifecycle state. Allowed values are:
	// * CREATING
	// * UPDATING
	// * ACTIVE
	// * DELETING
	// * DELETED
	// * FAILED
	State pulumi.StringInput `pulumi:"state"`
	// The OCID of the subnet used as the recovery service subnet.
	SubnetId pulumi.StringInput `pulumi:"subnetId"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	SystemTags pulumi.MapInput `pulumi:"systemTags"`
	// An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
	TimeCreated pulumi.StringInput `pulumi:"timeCreated"`
	// An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
	TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"`
	// The OCID of the virtual cloud network (VCN) associated with the recovery service subnet.
	VcnId pulumi.StringInput `pulumi:"vcnId"`
}

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArgs) ElementType

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArgs) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArgs) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutputWithContext

func (i GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArgs) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutputWithContext(ctx context.Context) GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArray

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArray []GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemInput

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArray) ElementType

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArray) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutput

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArray) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutputWithContext

func (i GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArray) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutputWithContext(ctx context.Context) GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutput

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayInput

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayInput interface {
	pulumi.Input

	ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutput() GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutput
	ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutputWithContext(context.Context) GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutput
}

GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayInput is an input type that accepts GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArray and GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutput values. You can construct a concrete instance of `GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayInput` via:

GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArray{ GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArgs{...} }

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutput

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutput struct{ *pulumi.OutputState }

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutput) ElementType

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutput) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutput

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutput) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutputWithContext

func (o GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutput) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutputWithContext(ctx context.Context) GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArrayOutput

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemInput

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemInput interface {
	pulumi.Input

	ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput() GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput
	ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutputWithContext(context.Context) GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput
}

GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemInput is an input type that accepts GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArgs and GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput values. You can construct a concrete instance of `GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemInput` via:

GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemArgs{...}

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput struct{ *pulumi.OutputState }

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) CompartmentId

The compartment OCID.

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) DisplayName

A filter to return only resources that match the entire 'displayname' given.

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) ElementType

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) FreeformTags

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) Id

The recovery service subnet OCID.

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) LifecycleDetails

Detailed description about the current lifecycle state of the recovery service subnet. For example, it can be used to provide actionable information for a resource in a Failed state

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) State

A filter to return only the resources that match the specified lifecycle state. Allowed values are: * CREATING * UPDATING * ACTIVE * DELETING * DELETED * FAILED

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) SubnetId

The OCID of the subnet used as the recovery service subnet.

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) TimeCreated

An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) TimeUpdated

An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutputWithContext

func (o GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutputWithContext(ctx context.Context) GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemOutput) VcnId

The OCID of the virtual cloud network (VCN) associated with the recovery service subnet.

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutput

type GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutput struct{ *pulumi.OutputState }

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutput) ElementType

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutput) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutput

func (GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutput) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutputWithContext

func (o GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutput) ToGetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutputWithContext(ctx context.Context) GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionOutput

type GetRecoveryServiceSubnetsResult

type GetRecoveryServiceSubnetsResult struct {
	// The compartment OCID.
	CompartmentId string `pulumi:"compartmentId"`
	// A user-provided name for the recovery service subnet.
	DisplayName *string                           `pulumi:"displayName"`
	Filters     []GetRecoveryServiceSubnetsFilter `pulumi:"filters"`
	// The recovery service subnet OCID.
	Id *string `pulumi:"id"`
	// The list of recovery_service_subnet_collection.
	RecoveryServiceSubnetCollections []GetRecoveryServiceSubnetsRecoveryServiceSubnetCollection `pulumi:"recoveryServiceSubnetCollections"`
	// The current state of the recovery service subnet. Allowed values are:
	// * CREATING
	// * UPDATING
	// * ACTIVE
	// * DELETING
	// * DELETED
	// * FAILED
	State *string `pulumi:"state"`
	// VCN Identifier.
	VcnId *string `pulumi:"vcnId"`
}

A collection of values returned by getRecoveryServiceSubnets.

func GetRecoveryServiceSubnets

func GetRecoveryServiceSubnets(ctx *pulumi.Context, args *GetRecoveryServiceSubnetsArgs, opts ...pulumi.InvokeOption) (*GetRecoveryServiceSubnetsResult, error)

This data source provides the list of Recovery Service Subnets in Oracle Cloud Infrastructure Recovery service.

Returns a list of Recovery Service Subnets.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/RecoveryMod"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := RecoveryMod.GetRecoveryServiceSubnets(ctx, &recoverymod.GetRecoveryServiceSubnetsArgs{
			CompartmentId: _var.Compartment_id,
			DisplayName:   pulumi.StringRef(_var.Recovery_service_subnet_display_name),
			Id:            pulumi.StringRef(_var.Recovery_service_subnet_id),
			State:         pulumi.StringRef(_var.Recovery_service_subnet_state),
			VcnId:         pulumi.StringRef(oci_core_vcn.Test_vcn.Id),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetRecoveryServiceSubnetsResultOutput

type GetRecoveryServiceSubnetsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRecoveryServiceSubnets.

func (GetRecoveryServiceSubnetsResultOutput) CompartmentId

The compartment OCID.

func (GetRecoveryServiceSubnetsResultOutput) DisplayName

A user-provided name for the recovery service subnet.

func (GetRecoveryServiceSubnetsResultOutput) ElementType

func (GetRecoveryServiceSubnetsResultOutput) Filters

func (GetRecoveryServiceSubnetsResultOutput) Id

The recovery service subnet OCID.

func (GetRecoveryServiceSubnetsResultOutput) RecoveryServiceSubnetCollections

The list of recovery_service_subnet_collection.

func (GetRecoveryServiceSubnetsResultOutput) State

The current state of the recovery service subnet. Allowed values are: * CREATING * UPDATING * ACTIVE * DELETING * DELETED * FAILED

func (GetRecoveryServiceSubnetsResultOutput) ToGetRecoveryServiceSubnetsResultOutput

func (o GetRecoveryServiceSubnetsResultOutput) ToGetRecoveryServiceSubnetsResultOutput() GetRecoveryServiceSubnetsResultOutput

func (GetRecoveryServiceSubnetsResultOutput) ToGetRecoveryServiceSubnetsResultOutputWithContext

func (o GetRecoveryServiceSubnetsResultOutput) ToGetRecoveryServiceSubnetsResultOutputWithContext(ctx context.Context) GetRecoveryServiceSubnetsResultOutput

func (GetRecoveryServiceSubnetsResultOutput) VcnId

VCN Identifier.

type LookupProtectedDatabaseArgs

type LookupProtectedDatabaseArgs struct {
	// The protected database OCID.
	ProtectedDatabaseId string `pulumi:"protectedDatabaseId"`
}

A collection of arguments for invoking getProtectedDatabase.

type LookupProtectedDatabaseOutputArgs

type LookupProtectedDatabaseOutputArgs struct {
	// The protected database OCID.
	ProtectedDatabaseId pulumi.StringInput `pulumi:"protectedDatabaseId"`
}

A collection of arguments for invoking getProtectedDatabase.

func (LookupProtectedDatabaseOutputArgs) ElementType

type LookupProtectedDatabaseResult

type LookupProtectedDatabaseResult struct {
	// The OCID of the compartment that contains the protected database.
	CompartmentId string `pulumi:"compartmentId"`
	// The OCID of the protected database.
	DatabaseId string `pulumi:"databaseId"`
	// The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
	DatabaseSize string `pulumi:"databaseSize"`
	// The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.
	DbUniqueName string `pulumi:"dbUniqueName"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// The protected database name. You can change the displayName. Avoid entering confidential information.
	DisplayName string `pulumi:"displayName"`
	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// Indicates the protection status of the database. Allowed values are:
	// * HEALTHY
	// * WARNING
	// * ALERT
	Health string `pulumi:"health"`
	// A message describing the current health of the protected database.
	HealthDetails string `pulumi:"healthDetails"`
	// The OCID of the protected database.
	Id string `pulumi:"id"`
	// Indicates whether the protected database is created by Recovery Service or created manually. Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource. Set to <b>FALSE</b> for a user-defined protected database.
	IsReadOnlyResource bool `pulumi:"isReadOnlyResource"`
	// The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups. For this to be effective, additional configuration is needed on client side.
	IsRedoLogsShipped bool `pulumi:"isRedoLogsShipped"`
	// Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.
	LifecycleDetails string `pulumi:"lifecycleDetails"`
	// Backup performance and storage utilization metrics for the protected database.
	Metrics             []GetProtectedDatabaseMetric `pulumi:"metrics"`
	Password            string                       `pulumi:"password"`
	ProtectedDatabaseId string                       `pulumi:"protectedDatabaseId"`
	// The OCID of the protection policy associated with the protected database.
	ProtectionPolicyId string `pulumi:"protectionPolicyId"`
	// List of recovery service subnet resources associated with the protected database.
	RecoveryServiceSubnets []GetProtectedDatabaseRecoveryServiceSubnet `pulumi:"recoveryServiceSubnets"`
	// The current state of the Protected Database.
	State string `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
	TimeCreated string `pulumi:"timeCreated"`
	// An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
	TimeUpdated string `pulumi:"timeUpdated"`
	// The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
	VpcUserName string `pulumi:"vpcUserName"`
}

A collection of values returned by getProtectedDatabase.

func LookupProtectedDatabase

func LookupProtectedDatabase(ctx *pulumi.Context, args *LookupProtectedDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupProtectedDatabaseResult, error)

This data source provides details about a specific Protected Database resource in Oracle Cloud Infrastructure Recovery service.

Gets information about a specified protected database.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/RecoveryMod"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := RecoveryMod.GetProtectedDatabase(ctx, &recoverymod.GetProtectedDatabaseArgs{
			ProtectedDatabaseId: oci_recovery_protected_database.Test_protected_database.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupProtectedDatabaseResultOutput

type LookupProtectedDatabaseResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProtectedDatabase.

func (LookupProtectedDatabaseResultOutput) CompartmentId

The OCID of the compartment that contains the protected database.

func (LookupProtectedDatabaseResultOutput) DatabaseId

The OCID of the protected database.

func (LookupProtectedDatabaseResultOutput) DatabaseSize

The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.

func (LookupProtectedDatabaseResultOutput) DbUniqueName

The dbUniqueName for the protected database in Recovery Service. You cannot change the unique name.

func (LookupProtectedDatabaseResultOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (LookupProtectedDatabaseResultOutput) DisplayName

The protected database name. You can change the displayName. Avoid entering confidential information.

func (LookupProtectedDatabaseResultOutput) ElementType

func (LookupProtectedDatabaseResultOutput) FreeformTags

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (LookupProtectedDatabaseResultOutput) Health

Indicates the protection status of the database. Allowed values are: * HEALTHY * WARNING * ALERT

func (LookupProtectedDatabaseResultOutput) HealthDetails

A message describing the current health of the protected database.

func (LookupProtectedDatabaseResultOutput) Id

The OCID of the protected database.

func (LookupProtectedDatabaseResultOutput) IsReadOnlyResource

func (o LookupProtectedDatabaseResultOutput) IsReadOnlyResource() pulumi.BoolOutput

Indicates whether the protected database is created by Recovery Service or created manually. Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource. Set to <b>FALSE</b> for a user-defined protected database.

func (LookupProtectedDatabaseResultOutput) IsRedoLogsShipped

The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups. For this to be effective, additional configuration is needed on client side.

func (LookupProtectedDatabaseResultOutput) LifecycleDetails

Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.

func (LookupProtectedDatabaseResultOutput) Metrics

Backup performance and storage utilization metrics for the protected database.

func (LookupProtectedDatabaseResultOutput) Password

func (LookupProtectedDatabaseResultOutput) ProtectedDatabaseId

func (LookupProtectedDatabaseResultOutput) ProtectionPolicyId

The OCID of the protection policy associated with the protected database.

func (LookupProtectedDatabaseResultOutput) RecoveryServiceSubnets

List of recovery service subnet resources associated with the protected database.

func (LookupProtectedDatabaseResultOutput) State

The current state of the Protected Database.

func (LookupProtectedDatabaseResultOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (LookupProtectedDatabaseResultOutput) TimeCreated

An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'

func (LookupProtectedDatabaseResultOutput) TimeUpdated

An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'

func (LookupProtectedDatabaseResultOutput) ToLookupProtectedDatabaseResultOutput

func (o LookupProtectedDatabaseResultOutput) ToLookupProtectedDatabaseResultOutput() LookupProtectedDatabaseResultOutput

func (LookupProtectedDatabaseResultOutput) ToLookupProtectedDatabaseResultOutputWithContext

func (o LookupProtectedDatabaseResultOutput) ToLookupProtectedDatabaseResultOutputWithContext(ctx context.Context) LookupProtectedDatabaseResultOutput

func (LookupProtectedDatabaseResultOutput) VpcUserName

The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.

type LookupProtectionPolicyArgs

type LookupProtectionPolicyArgs struct {
	// The protection policy OCID.
	ProtectionPolicyId string `pulumi:"protectionPolicyId"`
}

A collection of arguments for invoking getProtectionPolicy.

type LookupProtectionPolicyOutputArgs

type LookupProtectionPolicyOutputArgs struct {
	// The protection policy OCID.
	ProtectionPolicyId pulumi.StringInput `pulumi:"protectionPolicyId"`
}

A collection of arguments for invoking getProtectionPolicy.

func (LookupProtectionPolicyOutputArgs) ElementType

type LookupProtectionPolicyResult

type LookupProtectionPolicyResult struct {
	// The maximum number of days to retain backups for a protected database. Specify a period ranging from a minimum 14 days to a maximum 95 days. For example, specify the value 55 if you want to retain backups for 55 days.
	BackupRetentionPeriodInDays int `pulumi:"backupRetentionPeriodInDays"`
	// The OCID of the compartment that contains the protection policy.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// A user provided name for the protection policy.
	DisplayName string `pulumi:"displayName"`
	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The protection policy OCID.
	Id string `pulumi:"id"`
	// Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
	IsPredefinedPolicy bool `pulumi:"isPredefinedPolicy"`
	// Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
	LifecycleDetails   string `pulumi:"lifecycleDetails"`
	ProtectionPolicyId string `pulumi:"protectionPolicyId"`
	// The current state of the protection policy. Allowed values are:
	// * CREATING
	// * UPDATING
	// * ACTIVE
	// * DELETING
	// * DELETED
	// * FAILED
	State string `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// An RFC3339 formatted datetime string that indicates the created time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
	TimeCreated string `pulumi:"timeCreated"`
	// An RFC3339 formatted datetime string that indicates the updated time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
	TimeUpdated string `pulumi:"timeUpdated"`
}

A collection of values returned by getProtectionPolicy.

func LookupProtectionPolicy

func LookupProtectionPolicy(ctx *pulumi.Context, args *LookupProtectionPolicyArgs, opts ...pulumi.InvokeOption) (*LookupProtectionPolicyResult, error)

This data source provides details about a specific Protection Policy resource in Oracle Cloud Infrastructure Recovery service.

Gets information about a specified protection policy.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/RecoveryMod"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := RecoveryMod.GetProtectionPolicy(ctx, &recoverymod.GetProtectionPolicyArgs{
			ProtectionPolicyId: oci_recovery_protection_policy.Test_protection_policy.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupProtectionPolicyResultOutput

type LookupProtectionPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getProtectionPolicy.

func (LookupProtectionPolicyResultOutput) BackupRetentionPeriodInDays

func (o LookupProtectionPolicyResultOutput) BackupRetentionPeriodInDays() pulumi.IntOutput

The maximum number of days to retain backups for a protected database. Specify a period ranging from a minimum 14 days to a maximum 95 days. For example, specify the value 55 if you want to retain backups for 55 days.

func (LookupProtectionPolicyResultOutput) CompartmentId

The OCID of the compartment that contains the protection policy.

func (LookupProtectionPolicyResultOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (LookupProtectionPolicyResultOutput) DisplayName

A user provided name for the protection policy.

func (LookupProtectionPolicyResultOutput) ElementType

func (LookupProtectionPolicyResultOutput) FreeformTags

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (LookupProtectionPolicyResultOutput) Id

The protection policy OCID.

func (LookupProtectionPolicyResultOutput) IsPredefinedPolicy

func (o LookupProtectionPolicyResultOutput) IsPredefinedPolicy() pulumi.BoolOutput

Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.

func (LookupProtectionPolicyResultOutput) LifecycleDetails

Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.

func (LookupProtectionPolicyResultOutput) ProtectionPolicyId

func (LookupProtectionPolicyResultOutput) State

The current state of the protection policy. Allowed values are: * CREATING * UPDATING * ACTIVE * DELETING * DELETED * FAILED

func (LookupProtectionPolicyResultOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (LookupProtectionPolicyResultOutput) TimeCreated

An RFC3339 formatted datetime string that indicates the created time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.

func (LookupProtectionPolicyResultOutput) TimeUpdated

An RFC3339 formatted datetime string that indicates the updated time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.

func (LookupProtectionPolicyResultOutput) ToLookupProtectionPolicyResultOutput

func (o LookupProtectionPolicyResultOutput) ToLookupProtectionPolicyResultOutput() LookupProtectionPolicyResultOutput

func (LookupProtectionPolicyResultOutput) ToLookupProtectionPolicyResultOutputWithContext

func (o LookupProtectionPolicyResultOutput) ToLookupProtectionPolicyResultOutputWithContext(ctx context.Context) LookupProtectionPolicyResultOutput

type LookupRecoveryServiceSubnetArgs

type LookupRecoveryServiceSubnetArgs struct {
	// The recovery service subnet OCID.
	RecoveryServiceSubnetId string `pulumi:"recoveryServiceSubnetId"`
}

A collection of arguments for invoking getRecoveryServiceSubnet.

type LookupRecoveryServiceSubnetOutputArgs

type LookupRecoveryServiceSubnetOutputArgs struct {
	// The recovery service subnet OCID.
	RecoveryServiceSubnetId pulumi.StringInput `pulumi:"recoveryServiceSubnetId"`
}

A collection of arguments for invoking getRecoveryServiceSubnet.

func (LookupRecoveryServiceSubnetOutputArgs) ElementType

type LookupRecoveryServiceSubnetResult

type LookupRecoveryServiceSubnetResult struct {
	// The compartment OCID.
	CompartmentId string `pulumi:"compartmentId"`
	// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags map[string]interface{} `pulumi:"definedTags"`
	// A user-provided name for the recovery service subnet.
	DisplayName string `pulumi:"displayName"`
	// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags map[string]interface{} `pulumi:"freeformTags"`
	// The recovery service subnet OCID.
	Id string `pulumi:"id"`
	// Detailed description about the current lifecycle state of the recovery service subnet. For example, it can be used to provide actionable information for a resource in a Failed state
	LifecycleDetails        string `pulumi:"lifecycleDetails"`
	RecoveryServiceSubnetId string `pulumi:"recoveryServiceSubnetId"`
	// The current state of the recovery service subnet. Allowed values are:
	// * CREATING
	// * UPDATING
	// * ACTIVE
	// * DELETING
	// * DELETED
	// * FAILED
	State string `pulumi:"state"`
	// The OCID of the subnet used as the recovery service subnet.
	SubnetId string `pulumi:"subnetId"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	SystemTags map[string]interface{} `pulumi:"systemTags"`
	// An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
	TimeCreated string `pulumi:"timeCreated"`
	// An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
	TimeUpdated string `pulumi:"timeUpdated"`
	// VCN Identifier.
	VcnId string `pulumi:"vcnId"`
}

A collection of values returned by getRecoveryServiceSubnet.

func LookupRecoveryServiceSubnet

func LookupRecoveryServiceSubnet(ctx *pulumi.Context, args *LookupRecoveryServiceSubnetArgs, opts ...pulumi.InvokeOption) (*LookupRecoveryServiceSubnetResult, error)

This data source provides details about a specific Recovery Service Subnet resource in Oracle Cloud Infrastructure Recovery service.

Gets information about a specified recovery service subnet.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/RecoveryMod"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := RecoveryMod.GetRecoveryServiceSubnet(ctx, &recoverymod.GetRecoveryServiceSubnetArgs{
			RecoveryServiceSubnetId: oci_recovery_recovery_service_subnet.Test_recovery_service_subnet.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupRecoveryServiceSubnetResultOutput

type LookupRecoveryServiceSubnetResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getRecoveryServiceSubnet.

func (LookupRecoveryServiceSubnetResultOutput) CompartmentId

The compartment OCID.

func (LookupRecoveryServiceSubnetResultOutput) DefinedTags

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (LookupRecoveryServiceSubnetResultOutput) DisplayName

A user-provided name for the recovery service subnet.

func (LookupRecoveryServiceSubnetResultOutput) ElementType

func (LookupRecoveryServiceSubnetResultOutput) FreeformTags

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (LookupRecoveryServiceSubnetResultOutput) Id

The recovery service subnet OCID.

func (LookupRecoveryServiceSubnetResultOutput) LifecycleDetails

Detailed description about the current lifecycle state of the recovery service subnet. For example, it can be used to provide actionable information for a resource in a Failed state

func (LookupRecoveryServiceSubnetResultOutput) RecoveryServiceSubnetId

func (o LookupRecoveryServiceSubnetResultOutput) RecoveryServiceSubnetId() pulumi.StringOutput

func (LookupRecoveryServiceSubnetResultOutput) State

The current state of the recovery service subnet. Allowed values are: * CREATING * UPDATING * ACTIVE * DELETING * DELETED * FAILED

func (LookupRecoveryServiceSubnetResultOutput) SubnetId

The OCID of the subnet used as the recovery service subnet.

func (LookupRecoveryServiceSubnetResultOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (LookupRecoveryServiceSubnetResultOutput) TimeCreated

An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.

func (LookupRecoveryServiceSubnetResultOutput) TimeUpdated

An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.

func (LookupRecoveryServiceSubnetResultOutput) ToLookupRecoveryServiceSubnetResultOutput

func (o LookupRecoveryServiceSubnetResultOutput) ToLookupRecoveryServiceSubnetResultOutput() LookupRecoveryServiceSubnetResultOutput

func (LookupRecoveryServiceSubnetResultOutput) ToLookupRecoveryServiceSubnetResultOutputWithContext

func (o LookupRecoveryServiceSubnetResultOutput) ToLookupRecoveryServiceSubnetResultOutputWithContext(ctx context.Context) LookupRecoveryServiceSubnetResultOutput

func (LookupRecoveryServiceSubnetResultOutput) VcnId

VCN Identifier.

type ProtectedDatabase

type ProtectedDatabase struct {
	pulumi.CustomResourceState

	// (Updatable) The OCID of the compartment that contains the protected database.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// The OCID of the protected database.
	DatabaseId pulumi.StringOutput `pulumi:"databaseId"`
	// (Updatable) The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
	DatabaseSize pulumi.StringOutput `pulumi:"databaseSize"`
	// The dbUniqueName of the protected database in Recovery Service. You cannot change the unique name.
	DbUniqueName pulumi.StringOutput `pulumi:"dbUniqueName"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// (Updatable) The protected database name. You can change the displayName. Avoid entering confidential information.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// Indicates the protection status of the database. Allowed values are:
	// * HEALTHY
	// * WARNING
	// * ALERT
	Health pulumi.StringOutput `pulumi:"health"`
	// A message describing the current health of the protected database.
	HealthDetails pulumi.StringOutput `pulumi:"healthDetails"`
	// Indicates whether the protected database is created by Recovery Service or created manually. Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource. Set to <b>FALSE</b> for a user-defined protected database.
	IsReadOnlyResource pulumi.BoolOutput `pulumi:"isReadOnlyResource"`
	// (Updatable) The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
	IsRedoLogsShipped pulumi.BoolOutput `pulumi:"isRedoLogsShipped"`
	// Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.
	LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"`
	// Backup performance and storage utilization metrics for the protected database.
	Metrics ProtectedDatabaseMetricArrayOutput `pulumi:"metrics"`
	// (Updatable) Password credential which can be used to connect to Protected Database. It must contain at least 2 uppercase, 2 lowercase, 2 numeric and 2 special characters. The special characters must be underscore (_), number sign (https://docs.cloud.oracle.com/iaas/api/#) or hyphen (-). The password must not contain the username "admin", regardless of casing.
	Password pulumi.StringOutput `pulumi:"password"`
	// (Updatable) The OCID of the protection policy associated with the protected database.
	ProtectionPolicyId pulumi.StringOutput `pulumi:"protectionPolicyId"`
	// (Updatable) List of recovery service subnet resources associated with the protected database.
	RecoveryServiceSubnets ProtectedDatabaseRecoveryServiceSubnetArrayOutput `pulumi:"recoveryServiceSubnets"`
	// The current state of the Protected Database.
	State pulumi.StringOutput `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	SystemTags pulumi.MapOutput `pulumi:"systemTags"`
	// An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
	// The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
	VpcUserName pulumi.StringOutput `pulumi:"vpcUserName"`
}

This resource provides the Protected Database resource in Oracle Cloud Infrastructure Recovery service.

Creates a new Protected Database.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/RecoveryMod"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := RecoveryMod.NewProtectedDatabase(ctx, "testProtectedDatabase", &RecoveryMod.ProtectedDatabaseArgs{
			CompartmentId:      pulumi.Any(_var.Compartment_id),
			DbUniqueName:       pulumi.Any(_var.Protected_database_db_unique_name),
			DisplayName:        pulumi.Any(_var.Protected_database_display_name),
			Password:           pulumi.Any(_var.Protected_database_password),
			ProtectionPolicyId: pulumi.Any(oci_recovery_protection_policy.Test_protection_policy.Id),
			RecoveryServiceSubnets: recoverymod.ProtectedDatabaseRecoveryServiceSubnetArray{
				&recoverymod.ProtectedDatabaseRecoveryServiceSubnetArgs{
					RecoveryServiceSubnetId: pulumi.Any(oci_recovery_recovery_service_subnet.Test_recovery_service_subnet.Id),
				},
			},
			DatabaseId:   pulumi.Any(oci_database_database.Test_database.Id),
			DatabaseSize: pulumi.Any(_var.Protected_database_database_size),
			DefinedTags: pulumi.AnyMap{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			FreeformTags: pulumi.AnyMap{
				"bar-key": pulumi.Any("value"),
			},
			IsRedoLogsShipped: pulumi.Any(_var.Protected_database_is_redo_logs_shipped),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ProtectedDatabases can be imported using the `id`, e.g.

```sh

$ pulumi import oci:RecoveryMod/protectedDatabase:ProtectedDatabase test_protected_database "id"

```

func GetProtectedDatabase

func GetProtectedDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProtectedDatabaseState, opts ...pulumi.ResourceOption) (*ProtectedDatabase, error)

GetProtectedDatabase gets an existing ProtectedDatabase resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProtectedDatabase

func NewProtectedDatabase(ctx *pulumi.Context,
	name string, args *ProtectedDatabaseArgs, opts ...pulumi.ResourceOption) (*ProtectedDatabase, error)

NewProtectedDatabase registers a new resource with the given unique name, arguments, and options.

func (*ProtectedDatabase) ElementType

func (*ProtectedDatabase) ElementType() reflect.Type

func (*ProtectedDatabase) ToProtectedDatabaseOutput

func (i *ProtectedDatabase) ToProtectedDatabaseOutput() ProtectedDatabaseOutput

func (*ProtectedDatabase) ToProtectedDatabaseOutputWithContext

func (i *ProtectedDatabase) ToProtectedDatabaseOutputWithContext(ctx context.Context) ProtectedDatabaseOutput

type ProtectedDatabaseArgs

type ProtectedDatabaseArgs struct {
	// (Updatable) The OCID of the compartment that contains the protected database.
	CompartmentId pulumi.StringInput
	// The OCID of the protected database.
	DatabaseId pulumi.StringPtrInput
	// (Updatable) The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
	DatabaseSize pulumi.StringPtrInput
	// The dbUniqueName of the protected database in Recovery Service. You cannot change the unique name.
	DbUniqueName pulumi.StringInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags pulumi.MapInput
	// (Updatable) The protected database name. You can change the displayName. Avoid entering confidential information.
	DisplayName pulumi.StringInput
	// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput
	// (Updatable) The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
	IsRedoLogsShipped pulumi.BoolPtrInput
	// (Updatable) Password credential which can be used to connect to Protected Database. It must contain at least 2 uppercase, 2 lowercase, 2 numeric and 2 special characters. The special characters must be underscore (_), number sign (https://docs.cloud.oracle.com/iaas/api/#) or hyphen (-). The password must not contain the username "admin", regardless of casing.
	Password pulumi.StringInput
	// (Updatable) The OCID of the protection policy associated with the protected database.
	ProtectionPolicyId pulumi.StringInput
	// (Updatable) List of recovery service subnet resources associated with the protected database.
	RecoveryServiceSubnets ProtectedDatabaseRecoveryServiceSubnetArrayInput
}

The set of arguments for constructing a ProtectedDatabase resource.

func (ProtectedDatabaseArgs) ElementType

func (ProtectedDatabaseArgs) ElementType() reflect.Type

type ProtectedDatabaseArray

type ProtectedDatabaseArray []ProtectedDatabaseInput

func (ProtectedDatabaseArray) ElementType

func (ProtectedDatabaseArray) ElementType() reflect.Type

func (ProtectedDatabaseArray) ToProtectedDatabaseArrayOutput

func (i ProtectedDatabaseArray) ToProtectedDatabaseArrayOutput() ProtectedDatabaseArrayOutput

func (ProtectedDatabaseArray) ToProtectedDatabaseArrayOutputWithContext

func (i ProtectedDatabaseArray) ToProtectedDatabaseArrayOutputWithContext(ctx context.Context) ProtectedDatabaseArrayOutput

type ProtectedDatabaseArrayInput

type ProtectedDatabaseArrayInput interface {
	pulumi.Input

	ToProtectedDatabaseArrayOutput() ProtectedDatabaseArrayOutput
	ToProtectedDatabaseArrayOutputWithContext(context.Context) ProtectedDatabaseArrayOutput
}

ProtectedDatabaseArrayInput is an input type that accepts ProtectedDatabaseArray and ProtectedDatabaseArrayOutput values. You can construct a concrete instance of `ProtectedDatabaseArrayInput` via:

ProtectedDatabaseArray{ ProtectedDatabaseArgs{...} }

type ProtectedDatabaseArrayOutput

type ProtectedDatabaseArrayOutput struct{ *pulumi.OutputState }

func (ProtectedDatabaseArrayOutput) ElementType

func (ProtectedDatabaseArrayOutput) Index

func (ProtectedDatabaseArrayOutput) ToProtectedDatabaseArrayOutput

func (o ProtectedDatabaseArrayOutput) ToProtectedDatabaseArrayOutput() ProtectedDatabaseArrayOutput

func (ProtectedDatabaseArrayOutput) ToProtectedDatabaseArrayOutputWithContext

func (o ProtectedDatabaseArrayOutput) ToProtectedDatabaseArrayOutputWithContext(ctx context.Context) ProtectedDatabaseArrayOutput

type ProtectedDatabaseInput

type ProtectedDatabaseInput interface {
	pulumi.Input

	ToProtectedDatabaseOutput() ProtectedDatabaseOutput
	ToProtectedDatabaseOutputWithContext(ctx context.Context) ProtectedDatabaseOutput
}

type ProtectedDatabaseMap

type ProtectedDatabaseMap map[string]ProtectedDatabaseInput

func (ProtectedDatabaseMap) ElementType

func (ProtectedDatabaseMap) ElementType() reflect.Type

func (ProtectedDatabaseMap) ToProtectedDatabaseMapOutput

func (i ProtectedDatabaseMap) ToProtectedDatabaseMapOutput() ProtectedDatabaseMapOutput

func (ProtectedDatabaseMap) ToProtectedDatabaseMapOutputWithContext

func (i ProtectedDatabaseMap) ToProtectedDatabaseMapOutputWithContext(ctx context.Context) ProtectedDatabaseMapOutput

type ProtectedDatabaseMapInput

type ProtectedDatabaseMapInput interface {
	pulumi.Input

	ToProtectedDatabaseMapOutput() ProtectedDatabaseMapOutput
	ToProtectedDatabaseMapOutputWithContext(context.Context) ProtectedDatabaseMapOutput
}

ProtectedDatabaseMapInput is an input type that accepts ProtectedDatabaseMap and ProtectedDatabaseMapOutput values. You can construct a concrete instance of `ProtectedDatabaseMapInput` via:

ProtectedDatabaseMap{ "key": ProtectedDatabaseArgs{...} }

type ProtectedDatabaseMapOutput

type ProtectedDatabaseMapOutput struct{ *pulumi.OutputState }

func (ProtectedDatabaseMapOutput) ElementType

func (ProtectedDatabaseMapOutput) ElementType() reflect.Type

func (ProtectedDatabaseMapOutput) MapIndex

func (ProtectedDatabaseMapOutput) ToProtectedDatabaseMapOutput

func (o ProtectedDatabaseMapOutput) ToProtectedDatabaseMapOutput() ProtectedDatabaseMapOutput

func (ProtectedDatabaseMapOutput) ToProtectedDatabaseMapOutputWithContext

func (o ProtectedDatabaseMapOutput) ToProtectedDatabaseMapOutputWithContext(ctx context.Context) ProtectedDatabaseMapOutput

type ProtectedDatabaseMetric

type ProtectedDatabaseMetric struct {
	// The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
	BackupSpaceEstimateInGbs *float64 `pulumi:"backupSpaceEstimateInGbs"`
	// Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
	BackupSpaceUsedInGbs *float64 `pulumi:"backupSpaceUsedInGbs"`
	// Number of seconds backups are currently retained for this database.
	CurrentRetentionPeriodInSeconds *float64 `pulumi:"currentRetentionPeriodInSeconds"`
	// The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
	DbSizeInGbs *float64 `pulumi:"dbSizeInGbs"`
	// The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
	IsRedoLogsEnabled *bool `pulumi:"isRedoLogsEnabled"`
	// The maximum number of days to retain backups for a protected database.
	RetentionPeriodInDays *float64 `pulumi:"retentionPeriodInDays"`
	// This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available.  This is the time we received the last backup or last redo-log shipped.
	UnprotectedWindowInSeconds *float64 `pulumi:"unprotectedWindowInSeconds"`
}

type ProtectedDatabaseMetricArgs

type ProtectedDatabaseMetricArgs struct {
	// The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.
	BackupSpaceEstimateInGbs pulumi.Float64PtrInput `pulumi:"backupSpaceEstimateInGbs"`
	// Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.
	BackupSpaceUsedInGbs pulumi.Float64PtrInput `pulumi:"backupSpaceUsedInGbs"`
	// Number of seconds backups are currently retained for this database.
	CurrentRetentionPeriodInSeconds pulumi.Float64PtrInput `pulumi:"currentRetentionPeriodInSeconds"`
	// The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.
	DbSizeInGbs pulumi.Float64PtrInput `pulumi:"dbSizeInGbs"`
	// The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
	IsRedoLogsEnabled pulumi.BoolPtrInput `pulumi:"isRedoLogsEnabled"`
	// The maximum number of days to retain backups for a protected database.
	RetentionPeriodInDays pulumi.Float64PtrInput `pulumi:"retentionPeriodInDays"`
	// This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available.  This is the time we received the last backup or last redo-log shipped.
	UnprotectedWindowInSeconds pulumi.Float64PtrInput `pulumi:"unprotectedWindowInSeconds"`
}

func (ProtectedDatabaseMetricArgs) ElementType

func (ProtectedDatabaseMetricArgs) ToProtectedDatabaseMetricOutput

func (i ProtectedDatabaseMetricArgs) ToProtectedDatabaseMetricOutput() ProtectedDatabaseMetricOutput

func (ProtectedDatabaseMetricArgs) ToProtectedDatabaseMetricOutputWithContext

func (i ProtectedDatabaseMetricArgs) ToProtectedDatabaseMetricOutputWithContext(ctx context.Context) ProtectedDatabaseMetricOutput

type ProtectedDatabaseMetricArray

type ProtectedDatabaseMetricArray []ProtectedDatabaseMetricInput

func (ProtectedDatabaseMetricArray) ElementType

func (ProtectedDatabaseMetricArray) ToProtectedDatabaseMetricArrayOutput

func (i ProtectedDatabaseMetricArray) ToProtectedDatabaseMetricArrayOutput() ProtectedDatabaseMetricArrayOutput

func (ProtectedDatabaseMetricArray) ToProtectedDatabaseMetricArrayOutputWithContext

func (i ProtectedDatabaseMetricArray) ToProtectedDatabaseMetricArrayOutputWithContext(ctx context.Context) ProtectedDatabaseMetricArrayOutput

type ProtectedDatabaseMetricArrayInput

type ProtectedDatabaseMetricArrayInput interface {
	pulumi.Input

	ToProtectedDatabaseMetricArrayOutput() ProtectedDatabaseMetricArrayOutput
	ToProtectedDatabaseMetricArrayOutputWithContext(context.Context) ProtectedDatabaseMetricArrayOutput
}

ProtectedDatabaseMetricArrayInput is an input type that accepts ProtectedDatabaseMetricArray and ProtectedDatabaseMetricArrayOutput values. You can construct a concrete instance of `ProtectedDatabaseMetricArrayInput` via:

ProtectedDatabaseMetricArray{ ProtectedDatabaseMetricArgs{...} }

type ProtectedDatabaseMetricArrayOutput

type ProtectedDatabaseMetricArrayOutput struct{ *pulumi.OutputState }

func (ProtectedDatabaseMetricArrayOutput) ElementType

func (ProtectedDatabaseMetricArrayOutput) Index

func (ProtectedDatabaseMetricArrayOutput) ToProtectedDatabaseMetricArrayOutput

func (o ProtectedDatabaseMetricArrayOutput) ToProtectedDatabaseMetricArrayOutput() ProtectedDatabaseMetricArrayOutput

func (ProtectedDatabaseMetricArrayOutput) ToProtectedDatabaseMetricArrayOutputWithContext

func (o ProtectedDatabaseMetricArrayOutput) ToProtectedDatabaseMetricArrayOutputWithContext(ctx context.Context) ProtectedDatabaseMetricArrayOutput

type ProtectedDatabaseMetricInput

type ProtectedDatabaseMetricInput interface {
	pulumi.Input

	ToProtectedDatabaseMetricOutput() ProtectedDatabaseMetricOutput
	ToProtectedDatabaseMetricOutputWithContext(context.Context) ProtectedDatabaseMetricOutput
}

ProtectedDatabaseMetricInput is an input type that accepts ProtectedDatabaseMetricArgs and ProtectedDatabaseMetricOutput values. You can construct a concrete instance of `ProtectedDatabaseMetricInput` via:

ProtectedDatabaseMetricArgs{...}

type ProtectedDatabaseMetricOutput

type ProtectedDatabaseMetricOutput struct{ *pulumi.OutputState }

func (ProtectedDatabaseMetricOutput) BackupSpaceEstimateInGbs

func (o ProtectedDatabaseMetricOutput) BackupSpaceEstimateInGbs() pulumi.Float64PtrOutput

The estimated backup storage space, in gigabytes, required to meet the recovery window goal, including foot print and backups for the protected database.

func (ProtectedDatabaseMetricOutput) BackupSpaceUsedInGbs

func (o ProtectedDatabaseMetricOutput) BackupSpaceUsedInGbs() pulumi.Float64PtrOutput

Backup storage space, in gigabytes, utilized by the protected database. Oracle charges for the total storage used.

func (ProtectedDatabaseMetricOutput) CurrentRetentionPeriodInSeconds

func (o ProtectedDatabaseMetricOutput) CurrentRetentionPeriodInSeconds() pulumi.Float64PtrOutput

Number of seconds backups are currently retained for this database.

func (ProtectedDatabaseMetricOutput) DbSizeInGbs

The estimated space, in gigabytes, consumed by the protected database. The database size is based on the size of the data files in the catalog, and does not include archive logs.

func (ProtectedDatabaseMetricOutput) ElementType

func (ProtectedDatabaseMetricOutput) IsRedoLogsEnabled

func (o ProtectedDatabaseMetricOutput) IsRedoLogsEnabled() pulumi.BoolPtrOutput

The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.

func (ProtectedDatabaseMetricOutput) RetentionPeriodInDays

func (o ProtectedDatabaseMetricOutput) RetentionPeriodInDays() pulumi.Float64PtrOutput

The maximum number of days to retain backups for a protected database.

func (ProtectedDatabaseMetricOutput) ToProtectedDatabaseMetricOutput

func (o ProtectedDatabaseMetricOutput) ToProtectedDatabaseMetricOutput() ProtectedDatabaseMetricOutput

func (ProtectedDatabaseMetricOutput) ToProtectedDatabaseMetricOutputWithContext

func (o ProtectedDatabaseMetricOutput) ToProtectedDatabaseMetricOutputWithContext(ctx context.Context) ProtectedDatabaseMetricOutput

func (ProtectedDatabaseMetricOutput) UnprotectedWindowInSeconds

func (o ProtectedDatabaseMetricOutput) UnprotectedWindowInSeconds() pulumi.Float64PtrOutput

This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped.

type ProtectedDatabaseOutput

type ProtectedDatabaseOutput struct{ *pulumi.OutputState }

func (ProtectedDatabaseOutput) CompartmentId

func (o ProtectedDatabaseOutput) CompartmentId() pulumi.StringOutput

(Updatable) The OCID of the compartment that contains the protected database.

func (ProtectedDatabaseOutput) DatabaseId

The OCID of the protected database.

func (ProtectedDatabaseOutput) DatabaseSize

func (o ProtectedDatabaseOutput) DatabaseSize() pulumi.StringOutput

(Updatable) The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.

func (ProtectedDatabaseOutput) DbUniqueName

func (o ProtectedDatabaseOutput) DbUniqueName() pulumi.StringOutput

The dbUniqueName of the protected database in Recovery Service. You cannot change the unique name.

func (ProtectedDatabaseOutput) DefinedTags

func (o ProtectedDatabaseOutput) DefinedTags() pulumi.MapOutput

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (ProtectedDatabaseOutput) DisplayName

(Updatable) The protected database name. You can change the displayName. Avoid entering confidential information.

func (ProtectedDatabaseOutput) ElementType

func (ProtectedDatabaseOutput) ElementType() reflect.Type

func (ProtectedDatabaseOutput) FreeformTags

func (o ProtectedDatabaseOutput) FreeformTags() pulumi.MapOutput

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (ProtectedDatabaseOutput) Health

Indicates the protection status of the database. Allowed values are: * HEALTHY * WARNING * ALERT

func (ProtectedDatabaseOutput) HealthDetails

func (o ProtectedDatabaseOutput) HealthDetails() pulumi.StringOutput

A message describing the current health of the protected database.

func (ProtectedDatabaseOutput) IsReadOnlyResource

func (o ProtectedDatabaseOutput) IsReadOnlyResource() pulumi.BoolOutput

Indicates whether the protected database is created by Recovery Service or created manually. Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource. Set to <b>FALSE</b> for a user-defined protected database.

func (ProtectedDatabaseOutput) IsRedoLogsShipped

func (o ProtectedDatabaseOutput) IsRedoLogsShipped() pulumi.BoolOutput

(Updatable) The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.

func (ProtectedDatabaseOutput) LifecycleDetails

func (o ProtectedDatabaseOutput) LifecycleDetails() pulumi.StringOutput

Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.

func (ProtectedDatabaseOutput) Metrics

Backup performance and storage utilization metrics for the protected database.

func (ProtectedDatabaseOutput) Password

(Updatable) Password credential which can be used to connect to Protected Database. It must contain at least 2 uppercase, 2 lowercase, 2 numeric and 2 special characters. The special characters must be underscore (_), number sign (https://docs.cloud.oracle.com/iaas/api/#) or hyphen (-). The password must not contain the username "admin", regardless of casing.

func (ProtectedDatabaseOutput) ProtectionPolicyId

func (o ProtectedDatabaseOutput) ProtectionPolicyId() pulumi.StringOutput

(Updatable) The OCID of the protection policy associated with the protected database.

func (ProtectedDatabaseOutput) RecoveryServiceSubnets

(Updatable) List of recovery service subnet resources associated with the protected database.

func (ProtectedDatabaseOutput) State

The current state of the Protected Database.

func (ProtectedDatabaseOutput) SystemTags

func (o ProtectedDatabaseOutput) SystemTags() pulumi.MapOutput

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (ProtectedDatabaseOutput) TimeCreated

An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'

func (ProtectedDatabaseOutput) TimeUpdated

An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'

func (ProtectedDatabaseOutput) ToProtectedDatabaseOutput

func (o ProtectedDatabaseOutput) ToProtectedDatabaseOutput() ProtectedDatabaseOutput

func (ProtectedDatabaseOutput) ToProtectedDatabaseOutputWithContext

func (o ProtectedDatabaseOutput) ToProtectedDatabaseOutputWithContext(ctx context.Context) ProtectedDatabaseOutput

func (ProtectedDatabaseOutput) VpcUserName

The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.

type ProtectedDatabaseRecoveryServiceSubnet

type ProtectedDatabaseRecoveryServiceSubnet struct {
	// (Updatable) The recovery service subnet OCID.
	//
	// ** 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
	RecoveryServiceSubnetId string `pulumi:"recoveryServiceSubnetId"`
	// The current state of the Protected Database.
	State *string `pulumi:"state"`
}

type ProtectedDatabaseRecoveryServiceSubnetArgs

type ProtectedDatabaseRecoveryServiceSubnetArgs struct {
	// (Updatable) The recovery service subnet OCID.
	//
	// ** 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
	RecoveryServiceSubnetId pulumi.StringInput `pulumi:"recoveryServiceSubnetId"`
	// The current state of the Protected Database.
	State pulumi.StringPtrInput `pulumi:"state"`
}

func (ProtectedDatabaseRecoveryServiceSubnetArgs) ElementType

func (ProtectedDatabaseRecoveryServiceSubnetArgs) ToProtectedDatabaseRecoveryServiceSubnetOutput

func (i ProtectedDatabaseRecoveryServiceSubnetArgs) ToProtectedDatabaseRecoveryServiceSubnetOutput() ProtectedDatabaseRecoveryServiceSubnetOutput

func (ProtectedDatabaseRecoveryServiceSubnetArgs) ToProtectedDatabaseRecoveryServiceSubnetOutputWithContext

func (i ProtectedDatabaseRecoveryServiceSubnetArgs) ToProtectedDatabaseRecoveryServiceSubnetOutputWithContext(ctx context.Context) ProtectedDatabaseRecoveryServiceSubnetOutput

type ProtectedDatabaseRecoveryServiceSubnetArray

type ProtectedDatabaseRecoveryServiceSubnetArray []ProtectedDatabaseRecoveryServiceSubnetInput

func (ProtectedDatabaseRecoveryServiceSubnetArray) ElementType

func (ProtectedDatabaseRecoveryServiceSubnetArray) ToProtectedDatabaseRecoveryServiceSubnetArrayOutput

func (i ProtectedDatabaseRecoveryServiceSubnetArray) ToProtectedDatabaseRecoveryServiceSubnetArrayOutput() ProtectedDatabaseRecoveryServiceSubnetArrayOutput

func (ProtectedDatabaseRecoveryServiceSubnetArray) ToProtectedDatabaseRecoveryServiceSubnetArrayOutputWithContext

func (i ProtectedDatabaseRecoveryServiceSubnetArray) ToProtectedDatabaseRecoveryServiceSubnetArrayOutputWithContext(ctx context.Context) ProtectedDatabaseRecoveryServiceSubnetArrayOutput

type ProtectedDatabaseRecoveryServiceSubnetArrayInput

type ProtectedDatabaseRecoveryServiceSubnetArrayInput interface {
	pulumi.Input

	ToProtectedDatabaseRecoveryServiceSubnetArrayOutput() ProtectedDatabaseRecoveryServiceSubnetArrayOutput
	ToProtectedDatabaseRecoveryServiceSubnetArrayOutputWithContext(context.Context) ProtectedDatabaseRecoveryServiceSubnetArrayOutput
}

ProtectedDatabaseRecoveryServiceSubnetArrayInput is an input type that accepts ProtectedDatabaseRecoveryServiceSubnetArray and ProtectedDatabaseRecoveryServiceSubnetArrayOutput values. You can construct a concrete instance of `ProtectedDatabaseRecoveryServiceSubnetArrayInput` via:

ProtectedDatabaseRecoveryServiceSubnetArray{ ProtectedDatabaseRecoveryServiceSubnetArgs{...} }

type ProtectedDatabaseRecoveryServiceSubnetArrayOutput

type ProtectedDatabaseRecoveryServiceSubnetArrayOutput struct{ *pulumi.OutputState }

func (ProtectedDatabaseRecoveryServiceSubnetArrayOutput) ElementType

func (ProtectedDatabaseRecoveryServiceSubnetArrayOutput) Index

func (ProtectedDatabaseRecoveryServiceSubnetArrayOutput) ToProtectedDatabaseRecoveryServiceSubnetArrayOutput

func (o ProtectedDatabaseRecoveryServiceSubnetArrayOutput) ToProtectedDatabaseRecoveryServiceSubnetArrayOutput() ProtectedDatabaseRecoveryServiceSubnetArrayOutput

func (ProtectedDatabaseRecoveryServiceSubnetArrayOutput) ToProtectedDatabaseRecoveryServiceSubnetArrayOutputWithContext

func (o ProtectedDatabaseRecoveryServiceSubnetArrayOutput) ToProtectedDatabaseRecoveryServiceSubnetArrayOutputWithContext(ctx context.Context) ProtectedDatabaseRecoveryServiceSubnetArrayOutput

type ProtectedDatabaseRecoveryServiceSubnetInput

type ProtectedDatabaseRecoveryServiceSubnetInput interface {
	pulumi.Input

	ToProtectedDatabaseRecoveryServiceSubnetOutput() ProtectedDatabaseRecoveryServiceSubnetOutput
	ToProtectedDatabaseRecoveryServiceSubnetOutputWithContext(context.Context) ProtectedDatabaseRecoveryServiceSubnetOutput
}

ProtectedDatabaseRecoveryServiceSubnetInput is an input type that accepts ProtectedDatabaseRecoveryServiceSubnetArgs and ProtectedDatabaseRecoveryServiceSubnetOutput values. You can construct a concrete instance of `ProtectedDatabaseRecoveryServiceSubnetInput` via:

ProtectedDatabaseRecoveryServiceSubnetArgs{...}

type ProtectedDatabaseRecoveryServiceSubnetOutput

type ProtectedDatabaseRecoveryServiceSubnetOutput struct{ *pulumi.OutputState }

func (ProtectedDatabaseRecoveryServiceSubnetOutput) ElementType

func (ProtectedDatabaseRecoveryServiceSubnetOutput) RecoveryServiceSubnetId

(Updatable) The recovery service subnet OCID.

** 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

func (ProtectedDatabaseRecoveryServiceSubnetOutput) State

The current state of the Protected Database.

func (ProtectedDatabaseRecoveryServiceSubnetOutput) ToProtectedDatabaseRecoveryServiceSubnetOutput

func (o ProtectedDatabaseRecoveryServiceSubnetOutput) ToProtectedDatabaseRecoveryServiceSubnetOutput() ProtectedDatabaseRecoveryServiceSubnetOutput

func (ProtectedDatabaseRecoveryServiceSubnetOutput) ToProtectedDatabaseRecoveryServiceSubnetOutputWithContext

func (o ProtectedDatabaseRecoveryServiceSubnetOutput) ToProtectedDatabaseRecoveryServiceSubnetOutputWithContext(ctx context.Context) ProtectedDatabaseRecoveryServiceSubnetOutput

type ProtectedDatabaseState

type ProtectedDatabaseState struct {
	// (Updatable) The OCID of the compartment that contains the protected database.
	CompartmentId pulumi.StringPtrInput
	// The OCID of the protected database.
	DatabaseId pulumi.StringPtrInput
	// (Updatable) The size of the protected database. XS - Less than 5GB, S - 5GB to 50GB, M - 50GB to 500GB, L - 500GB to 1TB, XL - 1TB to 5TB, XXL - Greater than 5TB.
	DatabaseSize pulumi.StringPtrInput
	// The dbUniqueName of the protected database in Recovery Service. You cannot change the unique name.
	DbUniqueName pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags pulumi.MapInput
	// (Updatable) The protected database name. You can change the displayName. Avoid entering confidential information.
	DisplayName pulumi.StringPtrInput
	// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput
	// Indicates the protection status of the database. Allowed values are:
	// * HEALTHY
	// * WARNING
	// * ALERT
	Health pulumi.StringPtrInput
	// A message describing the current health of the protected database.
	HealthDetails pulumi.StringPtrInput
	// Indicates whether the protected database is created by Recovery Service or created manually. Set to <b>TRUE</b> for a service-defined protected database. When you enable the OCI-managed automatic backups option for a database and set Recovery Service as the backup destination, then Recovery Service creates the associated protected database resource. Set to <b>FALSE</b> for a user-defined protected database.
	IsReadOnlyResource pulumi.BoolPtrInput
	// (Updatable) The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups.
	IsRedoLogsShipped pulumi.BoolPtrInput
	// Detailed description about the current lifecycle state of the protected database. For example, it can be used to provide actionable information for a resource in a Failed state.
	LifecycleDetails pulumi.StringPtrInput
	// Backup performance and storage utilization metrics for the protected database.
	Metrics ProtectedDatabaseMetricArrayInput
	// (Updatable) Password credential which can be used to connect to Protected Database. It must contain at least 2 uppercase, 2 lowercase, 2 numeric and 2 special characters. The special characters must be underscore (_), number sign (https://docs.cloud.oracle.com/iaas/api/#) or hyphen (-). The password must not contain the username "admin", regardless of casing.
	Password pulumi.StringPtrInput
	// (Updatable) The OCID of the protection policy associated with the protected database.
	ProtectionPolicyId pulumi.StringPtrInput
	// (Updatable) List of recovery service subnet resources associated with the protected database.
	RecoveryServiceSubnets ProtectedDatabaseRecoveryServiceSubnetArrayInput
	// The current state of the Protected Database.
	State pulumi.StringPtrInput
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	SystemTags pulumi.MapInput
	// An RFC3339 formatted datetime string that indicates the created time for a protected database. For example: '2020-05-22T21:10:29.600Z'
	TimeCreated pulumi.StringPtrInput
	// An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z'
	TimeUpdated pulumi.StringPtrInput
	// The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service.
	VpcUserName pulumi.StringPtrInput
}

func (ProtectedDatabaseState) ElementType

func (ProtectedDatabaseState) ElementType() reflect.Type

type ProtectionPolicy

type ProtectionPolicy struct {
	pulumi.CustomResourceState

	// (Updatable) The maximum number of days to retain backups for a protected database.
	BackupRetentionPeriodInDays pulumi.IntOutput `pulumi:"backupRetentionPeriodInDays"`
	// (Updatable) Compartment Identifier
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// (Updatable) A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "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
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
	IsPredefinedPolicy pulumi.BoolOutput `pulumi:"isPredefinedPolicy"`
	// Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
	LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"`
	// The current state of the protection policy. Allowed values are:
	// * CREATING
	// * UPDATING
	// * ACTIVE
	// * DELETING
	// * DELETED
	// * FAILED
	State pulumi.StringOutput `pulumi:"state"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	SystemTags pulumi.MapOutput `pulumi:"systemTags"`
	// An RFC3339 formatted datetime string that indicates the created time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// An RFC3339 formatted datetime string that indicates the updated time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
}

This resource provides the Protection Policy resource in Oracle Cloud Infrastructure Recovery service.

Creates a new Protection Policy.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/RecoveryMod"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := RecoveryMod.NewProtectionPolicy(ctx, "testProtectionPolicy", &RecoveryMod.ProtectionPolicyArgs{
			BackupRetentionPeriodInDays: pulumi.Any(_var.Protection_policy_backup_retention_period_in_days),
			CompartmentId:               pulumi.Any(_var.Compartment_id),
			DisplayName:                 pulumi.Any(_var.Protection_policy_display_name),
			DefinedTags: pulumi.AnyMap{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			FreeformTags: pulumi.AnyMap{
				"bar-key": pulumi.Any("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

ProtectionPolicies can be imported using the `id`, e.g.

```sh

$ pulumi import oci:RecoveryMod/protectionPolicy:ProtectionPolicy test_protection_policy "id"

```

func GetProtectionPolicy

func GetProtectionPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ProtectionPolicyState, opts ...pulumi.ResourceOption) (*ProtectionPolicy, error)

GetProtectionPolicy gets an existing ProtectionPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewProtectionPolicy

func NewProtectionPolicy(ctx *pulumi.Context,
	name string, args *ProtectionPolicyArgs, opts ...pulumi.ResourceOption) (*ProtectionPolicy, error)

NewProtectionPolicy registers a new resource with the given unique name, arguments, and options.

func (*ProtectionPolicy) ElementType

func (*ProtectionPolicy) ElementType() reflect.Type

func (*ProtectionPolicy) ToProtectionPolicyOutput

func (i *ProtectionPolicy) ToProtectionPolicyOutput() ProtectionPolicyOutput

func (*ProtectionPolicy) ToProtectionPolicyOutputWithContext

func (i *ProtectionPolicy) ToProtectionPolicyOutputWithContext(ctx context.Context) ProtectionPolicyOutput

type ProtectionPolicyArgs

type ProtectionPolicyArgs struct {
	// (Updatable) The maximum number of days to retain backups for a protected database.
	BackupRetentionPeriodInDays pulumi.IntInput
	// (Updatable) Compartment Identifier
	CompartmentId pulumi.StringInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags pulumi.MapInput
	// (Updatable) A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
	DisplayName pulumi.StringInput
	// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "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
	FreeformTags pulumi.MapInput
}

The set of arguments for constructing a ProtectionPolicy resource.

func (ProtectionPolicyArgs) ElementType

func (ProtectionPolicyArgs) ElementType() reflect.Type

type ProtectionPolicyArray

type ProtectionPolicyArray []ProtectionPolicyInput

func (ProtectionPolicyArray) ElementType

func (ProtectionPolicyArray) ElementType() reflect.Type

func (ProtectionPolicyArray) ToProtectionPolicyArrayOutput

func (i ProtectionPolicyArray) ToProtectionPolicyArrayOutput() ProtectionPolicyArrayOutput

func (ProtectionPolicyArray) ToProtectionPolicyArrayOutputWithContext

func (i ProtectionPolicyArray) ToProtectionPolicyArrayOutputWithContext(ctx context.Context) ProtectionPolicyArrayOutput

type ProtectionPolicyArrayInput

type ProtectionPolicyArrayInput interface {
	pulumi.Input

	ToProtectionPolicyArrayOutput() ProtectionPolicyArrayOutput
	ToProtectionPolicyArrayOutputWithContext(context.Context) ProtectionPolicyArrayOutput
}

ProtectionPolicyArrayInput is an input type that accepts ProtectionPolicyArray and ProtectionPolicyArrayOutput values. You can construct a concrete instance of `ProtectionPolicyArrayInput` via:

ProtectionPolicyArray{ ProtectionPolicyArgs{...} }

type ProtectionPolicyArrayOutput

type ProtectionPolicyArrayOutput struct{ *pulumi.OutputState }

func (ProtectionPolicyArrayOutput) ElementType

func (ProtectionPolicyArrayOutput) Index

func (ProtectionPolicyArrayOutput) ToProtectionPolicyArrayOutput

func (o ProtectionPolicyArrayOutput) ToProtectionPolicyArrayOutput() ProtectionPolicyArrayOutput

func (ProtectionPolicyArrayOutput) ToProtectionPolicyArrayOutputWithContext

func (o ProtectionPolicyArrayOutput) ToProtectionPolicyArrayOutputWithContext(ctx context.Context) ProtectionPolicyArrayOutput

type ProtectionPolicyInput

type ProtectionPolicyInput interface {
	pulumi.Input

	ToProtectionPolicyOutput() ProtectionPolicyOutput
	ToProtectionPolicyOutputWithContext(ctx context.Context) ProtectionPolicyOutput
}

type ProtectionPolicyMap

type ProtectionPolicyMap map[string]ProtectionPolicyInput

func (ProtectionPolicyMap) ElementType

func (ProtectionPolicyMap) ElementType() reflect.Type

func (ProtectionPolicyMap) ToProtectionPolicyMapOutput

func (i ProtectionPolicyMap) ToProtectionPolicyMapOutput() ProtectionPolicyMapOutput

func (ProtectionPolicyMap) ToProtectionPolicyMapOutputWithContext

func (i ProtectionPolicyMap) ToProtectionPolicyMapOutputWithContext(ctx context.Context) ProtectionPolicyMapOutput

type ProtectionPolicyMapInput

type ProtectionPolicyMapInput interface {
	pulumi.Input

	ToProtectionPolicyMapOutput() ProtectionPolicyMapOutput
	ToProtectionPolicyMapOutputWithContext(context.Context) ProtectionPolicyMapOutput
}

ProtectionPolicyMapInput is an input type that accepts ProtectionPolicyMap and ProtectionPolicyMapOutput values. You can construct a concrete instance of `ProtectionPolicyMapInput` via:

ProtectionPolicyMap{ "key": ProtectionPolicyArgs{...} }

type ProtectionPolicyMapOutput

type ProtectionPolicyMapOutput struct{ *pulumi.OutputState }

func (ProtectionPolicyMapOutput) ElementType

func (ProtectionPolicyMapOutput) ElementType() reflect.Type

func (ProtectionPolicyMapOutput) MapIndex

func (ProtectionPolicyMapOutput) ToProtectionPolicyMapOutput

func (o ProtectionPolicyMapOutput) ToProtectionPolicyMapOutput() ProtectionPolicyMapOutput

func (ProtectionPolicyMapOutput) ToProtectionPolicyMapOutputWithContext

func (o ProtectionPolicyMapOutput) ToProtectionPolicyMapOutputWithContext(ctx context.Context) ProtectionPolicyMapOutput

type ProtectionPolicyOutput

type ProtectionPolicyOutput struct{ *pulumi.OutputState }

func (ProtectionPolicyOutput) BackupRetentionPeriodInDays

func (o ProtectionPolicyOutput) BackupRetentionPeriodInDays() pulumi.IntOutput

(Updatable) The maximum number of days to retain backups for a protected database.

func (ProtectionPolicyOutput) CompartmentId

func (o ProtectionPolicyOutput) CompartmentId() pulumi.StringOutput

(Updatable) Compartment Identifier

func (ProtectionPolicyOutput) DefinedTags

func (o ProtectionPolicyOutput) DefinedTags() pulumi.MapOutput

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (ProtectionPolicyOutput) DisplayName

func (o ProtectionPolicyOutput) DisplayName() pulumi.StringOutput

(Updatable) A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.

func (ProtectionPolicyOutput) ElementType

func (ProtectionPolicyOutput) ElementType() reflect.Type

func (ProtectionPolicyOutput) FreeformTags

func (o ProtectionPolicyOutput) FreeformTags() pulumi.MapOutput

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "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

func (ProtectionPolicyOutput) IsPredefinedPolicy

func (o ProtectionPolicyOutput) IsPredefinedPolicy() pulumi.BoolOutput

Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.

func (ProtectionPolicyOutput) LifecycleDetails

func (o ProtectionPolicyOutput) LifecycleDetails() pulumi.StringOutput

Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.

func (ProtectionPolicyOutput) State

The current state of the protection policy. Allowed values are: * CREATING * UPDATING * ACTIVE * DELETING * DELETED * FAILED

func (ProtectionPolicyOutput) SystemTags

func (o ProtectionPolicyOutput) SystemTags() pulumi.MapOutput

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (ProtectionPolicyOutput) TimeCreated

func (o ProtectionPolicyOutput) TimeCreated() pulumi.StringOutput

An RFC3339 formatted datetime string that indicates the created time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.

func (ProtectionPolicyOutput) TimeUpdated

func (o ProtectionPolicyOutput) TimeUpdated() pulumi.StringOutput

An RFC3339 formatted datetime string that indicates the updated time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.

func (ProtectionPolicyOutput) ToProtectionPolicyOutput

func (o ProtectionPolicyOutput) ToProtectionPolicyOutput() ProtectionPolicyOutput

func (ProtectionPolicyOutput) ToProtectionPolicyOutputWithContext

func (o ProtectionPolicyOutput) ToProtectionPolicyOutputWithContext(ctx context.Context) ProtectionPolicyOutput

type ProtectionPolicyState

type ProtectionPolicyState struct {
	// (Updatable) The maximum number of days to retain backups for a protected database.
	BackupRetentionPeriodInDays pulumi.IntPtrInput
	// (Updatable) Compartment Identifier
	CompartmentId pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags pulumi.MapInput
	// (Updatable) A user provided name for the protection policy. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
	DisplayName pulumi.StringPtrInput
	// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "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
	FreeformTags pulumi.MapInput
	// Set to TRUE if the policy is Oracle-defined, and FALSE for a user-defined custom policy. You can modify only the custom policies.
	IsPredefinedPolicy pulumi.BoolPtrInput
	// Detailed description about the current lifecycle state of the protection policy. For example, it can be used to provide actionable information for a resource in a Failed state.
	LifecycleDetails pulumi.StringPtrInput
	// The current state of the protection policy. Allowed values are:
	// * CREATING
	// * UPDATING
	// * ACTIVE
	// * DELETING
	// * DELETED
	// * FAILED
	State pulumi.StringPtrInput
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	SystemTags pulumi.MapInput
	// An RFC3339 formatted datetime string that indicates the created time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
	TimeCreated pulumi.StringPtrInput
	// An RFC3339 formatted datetime string that indicates the updated time for the protection policy. For example: '2020-05-22T21:10:29.600Z'.
	TimeUpdated pulumi.StringPtrInput
}

func (ProtectionPolicyState) ElementType

func (ProtectionPolicyState) ElementType() reflect.Type

type RecoveryServiceSubnet

type RecoveryServiceSubnet struct {
	pulumi.CustomResourceState

	// (Updatable) The compartment OCID.
	CompartmentId pulumi.StringOutput `pulumi:"compartmentId"`
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags pulumi.MapOutput `pulumi:"definedTags"`
	// (Updatable) A user-provided name for the recovery service subnet. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapOutput `pulumi:"freeformTags"`
	// Detailed description about the current lifecycle state of the recovery service subnet. For example, it can be used to provide actionable information for a resource in a Failed state
	LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"`
	// The current state of the recovery service subnet. Allowed values are:
	// * CREATING
	// * UPDATING
	// * ACTIVE
	// * DELETING
	// * DELETED
	// * FAILED
	State pulumi.StringOutput `pulumi:"state"`
	// The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).
	SubnetId pulumi.StringOutput `pulumi:"subnetId"`
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	SystemTags pulumi.MapOutput `pulumi:"systemTags"`
	// An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
	TimeCreated pulumi.StringOutput `pulumi:"timeCreated"`
	// An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
	TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"`
	// The OCID of the virtual cloud network (VCN) that contains the recovery service subnet. You can create a single recovery service subnet per VCN.
	//
	// ** 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
	VcnId pulumi.StringOutput `pulumi:"vcnId"`
}

This resource provides the Recovery Service Subnet resource in Oracle Cloud Infrastructure Recovery service.

Creates a new Recovery Service Subnet.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-oci/sdk/go/oci/RecoveryMod"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := RecoveryMod.NewRecoveryServiceSubnet(ctx, "testRecoveryServiceSubnet", &RecoveryMod.RecoveryServiceSubnetArgs{
			CompartmentId: pulumi.Any(_var.Compartment_id),
			DisplayName:   pulumi.Any(_var.Recovery_service_subnet_display_name),
			SubnetId:      pulumi.Any(oci_core_subnet.Test_subnet.Id),
			VcnId:         pulumi.Any(oci_core_vcn.Test_vcn.Id),
			DefinedTags: pulumi.AnyMap{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			FreeformTags: pulumi.AnyMap{
				"bar-key": pulumi.Any("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

RecoveryServiceSubnets can be imported using the `id`, e.g.

```sh

$ pulumi import oci:RecoveryMod/recoveryServiceSubnet:RecoveryServiceSubnet test_recovery_service_subnet "id"

```

func GetRecoveryServiceSubnet

func GetRecoveryServiceSubnet(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *RecoveryServiceSubnetState, opts ...pulumi.ResourceOption) (*RecoveryServiceSubnet, error)

GetRecoveryServiceSubnet gets an existing RecoveryServiceSubnet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewRecoveryServiceSubnet

func NewRecoveryServiceSubnet(ctx *pulumi.Context,
	name string, args *RecoveryServiceSubnetArgs, opts ...pulumi.ResourceOption) (*RecoveryServiceSubnet, error)

NewRecoveryServiceSubnet registers a new resource with the given unique name, arguments, and options.

func (*RecoveryServiceSubnet) ElementType

func (*RecoveryServiceSubnet) ElementType() reflect.Type

func (*RecoveryServiceSubnet) ToRecoveryServiceSubnetOutput

func (i *RecoveryServiceSubnet) ToRecoveryServiceSubnetOutput() RecoveryServiceSubnetOutput

func (*RecoveryServiceSubnet) ToRecoveryServiceSubnetOutputWithContext

func (i *RecoveryServiceSubnet) ToRecoveryServiceSubnetOutputWithContext(ctx context.Context) RecoveryServiceSubnetOutput

type RecoveryServiceSubnetArgs

type RecoveryServiceSubnetArgs struct {
	// (Updatable) The compartment OCID.
	CompartmentId pulumi.StringInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags pulumi.MapInput
	// (Updatable) A user-provided name for the recovery service subnet. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
	DisplayName pulumi.StringInput
	// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput
	// The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).
	SubnetId pulumi.StringInput
	// The OCID of the virtual cloud network (VCN) that contains the recovery service subnet. You can create a single recovery service subnet per VCN.
	//
	// ** 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
	VcnId pulumi.StringInput
}

The set of arguments for constructing a RecoveryServiceSubnet resource.

func (RecoveryServiceSubnetArgs) ElementType

func (RecoveryServiceSubnetArgs) ElementType() reflect.Type

type RecoveryServiceSubnetArray

type RecoveryServiceSubnetArray []RecoveryServiceSubnetInput

func (RecoveryServiceSubnetArray) ElementType

func (RecoveryServiceSubnetArray) ElementType() reflect.Type

func (RecoveryServiceSubnetArray) ToRecoveryServiceSubnetArrayOutput

func (i RecoveryServiceSubnetArray) ToRecoveryServiceSubnetArrayOutput() RecoveryServiceSubnetArrayOutput

func (RecoveryServiceSubnetArray) ToRecoveryServiceSubnetArrayOutputWithContext

func (i RecoveryServiceSubnetArray) ToRecoveryServiceSubnetArrayOutputWithContext(ctx context.Context) RecoveryServiceSubnetArrayOutput

type RecoveryServiceSubnetArrayInput

type RecoveryServiceSubnetArrayInput interface {
	pulumi.Input

	ToRecoveryServiceSubnetArrayOutput() RecoveryServiceSubnetArrayOutput
	ToRecoveryServiceSubnetArrayOutputWithContext(context.Context) RecoveryServiceSubnetArrayOutput
}

RecoveryServiceSubnetArrayInput is an input type that accepts RecoveryServiceSubnetArray and RecoveryServiceSubnetArrayOutput values. You can construct a concrete instance of `RecoveryServiceSubnetArrayInput` via:

RecoveryServiceSubnetArray{ RecoveryServiceSubnetArgs{...} }

type RecoveryServiceSubnetArrayOutput

type RecoveryServiceSubnetArrayOutput struct{ *pulumi.OutputState }

func (RecoveryServiceSubnetArrayOutput) ElementType

func (RecoveryServiceSubnetArrayOutput) Index

func (RecoveryServiceSubnetArrayOutput) ToRecoveryServiceSubnetArrayOutput

func (o RecoveryServiceSubnetArrayOutput) ToRecoveryServiceSubnetArrayOutput() RecoveryServiceSubnetArrayOutput

func (RecoveryServiceSubnetArrayOutput) ToRecoveryServiceSubnetArrayOutputWithContext

func (o RecoveryServiceSubnetArrayOutput) ToRecoveryServiceSubnetArrayOutputWithContext(ctx context.Context) RecoveryServiceSubnetArrayOutput

type RecoveryServiceSubnetInput

type RecoveryServiceSubnetInput interface {
	pulumi.Input

	ToRecoveryServiceSubnetOutput() RecoveryServiceSubnetOutput
	ToRecoveryServiceSubnetOutputWithContext(ctx context.Context) RecoveryServiceSubnetOutput
}

type RecoveryServiceSubnetMap

type RecoveryServiceSubnetMap map[string]RecoveryServiceSubnetInput

func (RecoveryServiceSubnetMap) ElementType

func (RecoveryServiceSubnetMap) ElementType() reflect.Type

func (RecoveryServiceSubnetMap) ToRecoveryServiceSubnetMapOutput

func (i RecoveryServiceSubnetMap) ToRecoveryServiceSubnetMapOutput() RecoveryServiceSubnetMapOutput

func (RecoveryServiceSubnetMap) ToRecoveryServiceSubnetMapOutputWithContext

func (i RecoveryServiceSubnetMap) ToRecoveryServiceSubnetMapOutputWithContext(ctx context.Context) RecoveryServiceSubnetMapOutput

type RecoveryServiceSubnetMapInput

type RecoveryServiceSubnetMapInput interface {
	pulumi.Input

	ToRecoveryServiceSubnetMapOutput() RecoveryServiceSubnetMapOutput
	ToRecoveryServiceSubnetMapOutputWithContext(context.Context) RecoveryServiceSubnetMapOutput
}

RecoveryServiceSubnetMapInput is an input type that accepts RecoveryServiceSubnetMap and RecoveryServiceSubnetMapOutput values. You can construct a concrete instance of `RecoveryServiceSubnetMapInput` via:

RecoveryServiceSubnetMap{ "key": RecoveryServiceSubnetArgs{...} }

type RecoveryServiceSubnetMapOutput

type RecoveryServiceSubnetMapOutput struct{ *pulumi.OutputState }

func (RecoveryServiceSubnetMapOutput) ElementType

func (RecoveryServiceSubnetMapOutput) MapIndex

func (RecoveryServiceSubnetMapOutput) ToRecoveryServiceSubnetMapOutput

func (o RecoveryServiceSubnetMapOutput) ToRecoveryServiceSubnetMapOutput() RecoveryServiceSubnetMapOutput

func (RecoveryServiceSubnetMapOutput) ToRecoveryServiceSubnetMapOutputWithContext

func (o RecoveryServiceSubnetMapOutput) ToRecoveryServiceSubnetMapOutputWithContext(ctx context.Context) RecoveryServiceSubnetMapOutput

type RecoveryServiceSubnetOutput

type RecoveryServiceSubnetOutput struct{ *pulumi.OutputState }

func (RecoveryServiceSubnetOutput) CompartmentId

(Updatable) The compartment OCID.

func (RecoveryServiceSubnetOutput) DefinedTags

(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (RecoveryServiceSubnetOutput) DisplayName

(Updatable) A user-provided name for the recovery service subnet. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.

func (RecoveryServiceSubnetOutput) ElementType

func (RecoveryServiceSubnetOutput) FreeformTags

func (o RecoveryServiceSubnetOutput) FreeformTags() pulumi.MapOutput

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`

func (RecoveryServiceSubnetOutput) LifecycleDetails

func (o RecoveryServiceSubnetOutput) LifecycleDetails() pulumi.StringOutput

Detailed description about the current lifecycle state of the recovery service subnet. For example, it can be used to provide actionable information for a resource in a Failed state

func (RecoveryServiceSubnetOutput) State

The current state of the recovery service subnet. Allowed values are: * CREATING * UPDATING * ACTIVE * DELETING * DELETED * FAILED

func (RecoveryServiceSubnetOutput) SubnetId

The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).

func (RecoveryServiceSubnetOutput) SystemTags

Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)

func (RecoveryServiceSubnetOutput) TimeCreated

An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.

func (RecoveryServiceSubnetOutput) TimeUpdated

An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.

func (RecoveryServiceSubnetOutput) ToRecoveryServiceSubnetOutput

func (o RecoveryServiceSubnetOutput) ToRecoveryServiceSubnetOutput() RecoveryServiceSubnetOutput

func (RecoveryServiceSubnetOutput) ToRecoveryServiceSubnetOutputWithContext

func (o RecoveryServiceSubnetOutput) ToRecoveryServiceSubnetOutputWithContext(ctx context.Context) RecoveryServiceSubnetOutput

func (RecoveryServiceSubnetOutput) VcnId

The OCID of the virtual cloud network (VCN) that contains the recovery service subnet. You can create a single recovery service subnet per VCN.

** 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

type RecoveryServiceSubnetState

type RecoveryServiceSubnetState struct {
	// (Updatable) The compartment OCID.
	CompartmentId pulumi.StringPtrInput
	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	DefinedTags pulumi.MapInput
	// (Updatable) A user-provided name for the recovery service subnet. The 'displayName' does not have to be unique, and it can be modified. Avoid entering confidential information.
	DisplayName pulumi.StringPtrInput
	// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}`
	FreeformTags pulumi.MapInput
	// Detailed description about the current lifecycle state of the recovery service subnet. For example, it can be used to provide actionable information for a resource in a Failed state
	LifecycleDetails pulumi.StringPtrInput
	// The current state of the recovery service subnet. Allowed values are:
	// * CREATING
	// * UPDATING
	// * ACTIVE
	// * DELETING
	// * DELETED
	// * FAILED
	State pulumi.StringPtrInput
	// The OCID of the subnet associated with the recovery service subnet. You can create a single backup network per virtual cloud network (VCN).
	SubnetId pulumi.StringPtrInput
	// Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm)
	SystemTags pulumi.MapInput
	// An RFC3339 formatted datetime string that indicates the last created time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
	TimeCreated pulumi.StringPtrInput
	// An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'.
	TimeUpdated pulumi.StringPtrInput
	// The OCID of the virtual cloud network (VCN) that contains the recovery service subnet. You can create a single recovery service subnet per VCN.
	//
	// ** 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
	VcnId pulumi.StringPtrInput
}

func (RecoveryServiceSubnetState) ElementType

func (RecoveryServiceSubnetState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL