autonomousdatabases

package
v0.20240903.1111904 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: MPL-2.0 Imports: 16 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabases Documentation

The autonomousdatabases SDK allows for interaction with the Azure Resource Manager Service oracledatabase (API Version 2024-06-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/oracledatabase/2024-06-01/autonomousdatabases"

Client Initialization

client := autonomousdatabases.NewAutonomousDatabasesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: AutonomousDatabasesClient.CreateOrUpdate

ctx := context.TODO()
id := autonomousdatabases.NewAutonomousDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "autonomousDatabaseValue")

payload := autonomousdatabases.AutonomousDatabase{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: AutonomousDatabasesClient.Delete

ctx := context.TODO()
id := autonomousdatabases.NewAutonomousDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "autonomousDatabaseValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: AutonomousDatabasesClient.Failover

ctx := context.TODO()
id := autonomousdatabases.NewAutonomousDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "autonomousDatabaseValue")

payload := autonomousdatabases.PeerDbDetails{
	// ...
}


if err := client.FailoverThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: AutonomousDatabasesClient.GenerateWallet

ctx := context.TODO()
id := autonomousdatabases.NewAutonomousDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "autonomousDatabaseValue")

payload := autonomousdatabases.GenerateAutonomousDatabaseWalletDetails{
	// ...
}


read, err := client.GenerateWallet(ctx, id, payload)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AutonomousDatabasesClient.Get

ctx := context.TODO()
id := autonomousdatabases.NewAutonomousDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "autonomousDatabaseValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: AutonomousDatabasesClient.ListByResourceGroup

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: AutonomousDatabasesClient.ListBySubscription

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: AutonomousDatabasesClient.Restore

ctx := context.TODO()
id := autonomousdatabases.NewAutonomousDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "autonomousDatabaseValue")

payload := autonomousdatabases.RestoreAutonomousDatabaseDetails{
	// ...
}


if err := client.RestoreThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: AutonomousDatabasesClient.Shrink

ctx := context.TODO()
id := autonomousdatabases.NewAutonomousDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "autonomousDatabaseValue")

if err := client.ShrinkThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: AutonomousDatabasesClient.Switchover

ctx := context.TODO()
id := autonomousdatabases.NewAutonomousDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "autonomousDatabaseValue")

payload := autonomousdatabases.PeerDbDetails{
	// ...
}


if err := client.SwitchoverThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: AutonomousDatabasesClient.Update

ctx := context.TODO()
id := autonomousdatabases.NewAutonomousDatabaseID("12345678-1234-9876-4563-123456789012", "example-resource-group", "autonomousDatabaseValue")

payload := autonomousdatabases.AutonomousDatabaseUpdate{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAutonomousDatabaseLifecycleState

func PossibleValuesForAutonomousDatabaseLifecycleState() []string

func PossibleValuesForAutonomousMaintenanceScheduleType

func PossibleValuesForAutonomousMaintenanceScheduleType() []string

func PossibleValuesForAzureResourceProvisioningState

func PossibleValuesForAzureResourceProvisioningState() []string

func PossibleValuesForCloneType

func PossibleValuesForCloneType() []string

func PossibleValuesForComputeModel

func PossibleValuesForComputeModel() []string

func PossibleValuesForConsumerGroup

func PossibleValuesForConsumerGroup() []string

func PossibleValuesForDataBaseType

func PossibleValuesForDataBaseType() []string

func PossibleValuesForDataSafeStatusType

func PossibleValuesForDataSafeStatusType() []string

func PossibleValuesForDatabaseEditionType

func PossibleValuesForDatabaseEditionType() []string

func PossibleValuesForDayOfWeekName

func PossibleValuesForDayOfWeekName() []string

func PossibleValuesForDisasterRecoveryType

func PossibleValuesForDisasterRecoveryType() []string

func PossibleValuesForGenerateType

func PossibleValuesForGenerateType() []string

func PossibleValuesForHostFormatType

func PossibleValuesForHostFormatType() []string

func PossibleValuesForLicenseModel

func PossibleValuesForLicenseModel() []string

func PossibleValuesForOpenModeType

func PossibleValuesForOpenModeType() []string

func PossibleValuesForOperationsInsightsStatusType

func PossibleValuesForOperationsInsightsStatusType() []string

func PossibleValuesForPermissionLevelType

func PossibleValuesForPermissionLevelType() []string

func PossibleValuesForProtocolType

func PossibleValuesForProtocolType() []string

func PossibleValuesForRefreshableModelType

func PossibleValuesForRefreshableModelType() []string

func PossibleValuesForRefreshableStatusType

func PossibleValuesForRefreshableStatusType() []string

func PossibleValuesForRepeatCadenceType

func PossibleValuesForRepeatCadenceType() []string

func PossibleValuesForRoleType

func PossibleValuesForRoleType() []string

func PossibleValuesForSessionModeType

func PossibleValuesForSessionModeType() []string

func PossibleValuesForSourceType

func PossibleValuesForSourceType() []string

func PossibleValuesForSyntaxFormatType

func PossibleValuesForSyntaxFormatType() []string

func PossibleValuesForTlsAuthenticationType

func PossibleValuesForTlsAuthenticationType() []string

func PossibleValuesForWorkloadType

func PossibleValuesForWorkloadType() []string

func ValidateAutonomousDatabaseID

func ValidateAutonomousDatabaseID(input interface{}, key string) (warnings []string, errors []error)

ValidateAutonomousDatabaseID checks that 'input' can be parsed as a Autonomous Database ID

Types

type AllConnectionStringType

type AllConnectionStringType struct {
	High   *string `json:"high,omitempty"`
	Low    *string `json:"low,omitempty"`
	Medium *string `json:"medium,omitempty"`
}

type ApexDetailsType

type ApexDetailsType struct {
	ApexVersion *string `json:"apexVersion,omitempty"`
	OrdsVersion *string `json:"ordsVersion,omitempty"`
}

type AutonomousDatabase

type AutonomousDatabase struct {
	Id         *string                          `json:"id,omitempty"`
	Location   string                           `json:"location"`
	Name       *string                          `json:"name,omitempty"`
	Properties AutonomousDatabaseBaseProperties `json:"properties"`
	SystemData *systemdata.SystemData           `json:"systemData,omitempty"`
	Tags       *map[string]string               `json:"tags,omitempty"`
	Type       *string                          `json:"type,omitempty"`
}

func (*AutonomousDatabase) UnmarshalJSON

func (s *AutonomousDatabase) UnmarshalJSON(bytes []byte) error

type AutonomousDatabaseBaseProperties

type AutonomousDatabaseBaseProperties interface {
}

type AutonomousDatabaseCloneProperties

type AutonomousDatabaseCloneProperties struct {
	CloneType                      CloneType              `json:"cloneType"`
	IsReconnectCloneEnabled        *bool                  `json:"isReconnectCloneEnabled,omitempty"`
	IsRefreshableClone             *bool                  `json:"isRefreshableClone,omitempty"`
	RefreshableModel               *RefreshableModelType  `json:"refreshableModel,omitempty"`
	RefreshableStatus              *RefreshableStatusType `json:"refreshableStatus,omitempty"`
	Source                         *SourceType            `json:"source,omitempty"`
	SourceId                       string                 `json:"sourceId"`
	TimeUntilReconnectCloneEnabled *string                `json:"timeUntilReconnectCloneEnabled,omitempty"`

	// Fields inherited from AutonomousDatabaseBaseProperties
	ActualUsedDataStorageSizeInTbs           *float64                           `json:"actualUsedDataStorageSizeInTbs,omitempty"`
	AdminPassword                            *string                            `json:"adminPassword,omitempty"`
	AllocatedStorageSizeInTbs                *float64                           `json:"allocatedStorageSizeInTbs,omitempty"`
	ApexDetails                              *ApexDetailsType                   `json:"apexDetails,omitempty"`
	AutonomousDatabaseId                     *string                            `json:"autonomousDatabaseId,omitempty"`
	AutonomousMaintenanceScheduleType        *AutonomousMaintenanceScheduleType `json:"autonomousMaintenanceScheduleType,omitempty"`
	AvailableUpgradeVersions                 *[]string                          `json:"availableUpgradeVersions,omitempty"`
	BackupRetentionPeriodInDays              *int64                             `json:"backupRetentionPeriodInDays,omitempty"`
	CharacterSet                             *string                            `json:"characterSet,omitempty"`
	ComputeCount                             *float64                           `json:"computeCount,omitempty"`
	ComputeModel                             *ComputeModel                      `json:"computeModel,omitempty"`
	ConnectionStrings                        *ConnectionStringType              `json:"connectionStrings,omitempty"`
	ConnectionUrls                           *ConnectionUrlType                 `json:"connectionUrls,omitempty"`
	CpuCoreCount                             *int64                             `json:"cpuCoreCount,omitempty"`
	CustomerContacts                         *[]CustomerContact                 `json:"customerContacts,omitempty"`
	DataSafeStatus                           *DataSafeStatusType                `json:"dataSafeStatus,omitempty"`
	DataStorageSizeInGbs                     *int64                             `json:"dataStorageSizeInGbs,omitempty"`
	DataStorageSizeInTbs                     *int64                             `json:"dataStorageSizeInTbs,omitempty"`
	DatabaseEdition                          *DatabaseEditionType               `json:"databaseEdition,omitempty"`
	DbVersion                                *string                            `json:"dbVersion,omitempty"`
	DbWorkload                               *WorkloadType                      `json:"dbWorkload,omitempty"`
	DisplayName                              *string                            `json:"displayName,omitempty"`
	FailedDataRecoveryInSeconds              *int64                             `json:"failedDataRecoveryInSeconds,omitempty"`
	InMemoryAreaInGbs                        *int64                             `json:"inMemoryAreaInGbs,omitempty"`
	IsAutoScalingEnabled                     *bool                              `json:"isAutoScalingEnabled,omitempty"`
	IsAutoScalingForStorageEnabled           *bool                              `json:"isAutoScalingForStorageEnabled,omitempty"`
	IsLocalDataGuardEnabled                  *bool                              `json:"isLocalDataGuardEnabled,omitempty"`
	IsMtlsConnectionRequired                 *bool                              `json:"isMtlsConnectionRequired,omitempty"`
	IsPreview                                *bool                              `json:"isPreview,omitempty"`
	IsPreviewVersionWithServiceTermsAccepted *bool                              `json:"isPreviewVersionWithServiceTermsAccepted,omitempty"`
	IsRemoteDataGuardEnabled                 *bool                              `json:"isRemoteDataGuardEnabled,omitempty"`
	LicenseModel                             *LicenseModel                      `json:"licenseModel,omitempty"`
	LifecycleDetails                         *string                            `json:"lifecycleDetails,omitempty"`
	LifecycleState                           *AutonomousDatabaseLifecycleState  `json:"lifecycleState,omitempty"`
	LocalAdgAutoFailoverMaxDataLossLimit     *int64                             `json:"localAdgAutoFailoverMaxDataLossLimit,omitempty"`
	LocalDisasterRecoveryType                *DisasterRecoveryType              `json:"localDisasterRecoveryType,omitempty"`
	LocalStandbyDb                           *AutonomousDatabaseStandbySummary  `json:"localStandbyDb,omitempty"`
	LongTermBackupSchedule                   *LongTermBackUpScheduleDetails     `json:"longTermBackupSchedule,omitempty"`
	MemoryPerOracleComputeUnitInGbs          *int64                             `json:"memoryPerOracleComputeUnitInGbs,omitempty"`
	NcharacterSet                            *string                            `json:"ncharacterSet,omitempty"`
	NextLongTermBackupTimeStamp              *string                            `json:"nextLongTermBackupTimeStamp,omitempty"`
	OciUrl                                   *string                            `json:"ociUrl,omitempty"`
	Ocid                                     *string                            `json:"ocid,omitempty"`
	OpenMode                                 *OpenModeType                      `json:"openMode,omitempty"`
	OperationsInsightsStatus                 *OperationsInsightsStatusType      `json:"operationsInsightsStatus,omitempty"`
	PeerDbId                                 *string                            `json:"peerDbId,omitempty"`
	PeerDbIds                                *[]string                          `json:"peerDbIds,omitempty"`
	PermissionLevel                          *PermissionLevelType               `json:"permissionLevel,omitempty"`
	PrivateEndpoint                          *string                            `json:"privateEndpoint,omitempty"`
	PrivateEndpointIP                        *string                            `json:"privateEndpointIp,omitempty"`
	PrivateEndpointLabel                     *string                            `json:"privateEndpointLabel,omitempty"`
	ProvisionableCPUs                        *[]int64                           `json:"provisionableCpus,omitempty"`
	ProvisioningState                        *AzureResourceProvisioningState    `json:"provisioningState,omitempty"`
	Role                                     *RoleType                          `json:"role,omitempty"`
	ScheduledOperations                      *ScheduledOperationsType           `json:"scheduledOperations,omitempty"`
	ServiceConsoleUrl                        *string                            `json:"serviceConsoleUrl,omitempty"`
	SqlWebDeveloperUrl                       *string                            `json:"sqlWebDeveloperUrl,omitempty"`
	SubnetId                                 *string                            `json:"subnetId,omitempty"`
	SupportedRegionsToCloneTo                *[]string                          `json:"supportedRegionsToCloneTo,omitempty"`
	TimeCreated                              *string                            `json:"timeCreated,omitempty"`
	TimeDataGuardRoleChanged                 *string                            `json:"timeDataGuardRoleChanged,omitempty"`
	TimeDeletionOfFreeAutonomousDatabase     *string                            `json:"timeDeletionOfFreeAutonomousDatabase,omitempty"`
	TimeLocalDataGuardEnabled                *string                            `json:"timeLocalDataGuardEnabled,omitempty"`
	TimeMaintenanceBegin                     *string                            `json:"timeMaintenanceBegin,omitempty"`
	TimeMaintenanceEnd                       *string                            `json:"timeMaintenanceEnd,omitempty"`
	TimeOfLastFailover                       *string                            `json:"timeOfLastFailover,omitempty"`
	TimeOfLastRefresh                        *string                            `json:"timeOfLastRefresh,omitempty"`
	TimeOfLastRefreshPoint                   *string                            `json:"timeOfLastRefreshPoint,omitempty"`
	TimeOfLastSwitchover                     *string                            `json:"timeOfLastSwitchover,omitempty"`
	TimeReclamationOfFreeAutonomousDatabase  *string                            `json:"timeReclamationOfFreeAutonomousDatabase,omitempty"`
	UsedDataStorageSizeInGbs                 *int64                             `json:"usedDataStorageSizeInGbs,omitempty"`
	UsedDataStorageSizeInTbs                 *int64                             `json:"usedDataStorageSizeInTbs,omitempty"`
	VnetId                                   *string                            `json:"vnetId,omitempty"`
	WhitelistedIPs                           *[]string                          `json:"whitelistedIps,omitempty"`
}

func (*AutonomousDatabaseCloneProperties) GetNextLongTermBackupTimeStampAsTime

func (o *AutonomousDatabaseCloneProperties) GetNextLongTermBackupTimeStampAsTime() (*time.Time, error)

func (*AutonomousDatabaseCloneProperties) GetTimeCreatedAsTime

func (o *AutonomousDatabaseCloneProperties) GetTimeCreatedAsTime() (*time.Time, error)

func (*AutonomousDatabaseCloneProperties) GetTimeMaintenanceBeginAsTime

func (o *AutonomousDatabaseCloneProperties) GetTimeMaintenanceBeginAsTime() (*time.Time, error)

func (*AutonomousDatabaseCloneProperties) GetTimeMaintenanceEndAsTime

func (o *AutonomousDatabaseCloneProperties) GetTimeMaintenanceEndAsTime() (*time.Time, error)

func (AutonomousDatabaseCloneProperties) MarshalJSON

func (s AutonomousDatabaseCloneProperties) MarshalJSON() ([]byte, error)

func (*AutonomousDatabaseCloneProperties) SetNextLongTermBackupTimeStampAsTime

func (o *AutonomousDatabaseCloneProperties) SetNextLongTermBackupTimeStampAsTime(input time.Time)

func (*AutonomousDatabaseCloneProperties) SetTimeCreatedAsTime

func (o *AutonomousDatabaseCloneProperties) SetTimeCreatedAsTime(input time.Time)

func (*AutonomousDatabaseCloneProperties) SetTimeMaintenanceBeginAsTime

func (o *AutonomousDatabaseCloneProperties) SetTimeMaintenanceBeginAsTime(input time.Time)

func (*AutonomousDatabaseCloneProperties) SetTimeMaintenanceEndAsTime

func (o *AutonomousDatabaseCloneProperties) SetTimeMaintenanceEndAsTime(input time.Time)

type AutonomousDatabaseId

type AutonomousDatabaseId struct {
	SubscriptionId         string
	ResourceGroupName      string
	AutonomousDatabaseName string
}

AutonomousDatabaseId is a struct representing the Resource ID for a Autonomous Database

func NewAutonomousDatabaseID

func NewAutonomousDatabaseID(subscriptionId string, resourceGroupName string, autonomousDatabaseName string) AutonomousDatabaseId

NewAutonomousDatabaseID returns a new AutonomousDatabaseId struct

func ParseAutonomousDatabaseID

func ParseAutonomousDatabaseID(input string) (*AutonomousDatabaseId, error)

ParseAutonomousDatabaseID parses 'input' into a AutonomousDatabaseId

func ParseAutonomousDatabaseIDInsensitively

func ParseAutonomousDatabaseIDInsensitively(input string) (*AutonomousDatabaseId, error)

ParseAutonomousDatabaseIDInsensitively parses 'input' case-insensitively into a AutonomousDatabaseId note: this method should only be used for API response data and not user input

func (*AutonomousDatabaseId) FromParseResult

func (id *AutonomousDatabaseId) FromParseResult(input resourceids.ParseResult) error

func (AutonomousDatabaseId) ID

func (id AutonomousDatabaseId) ID() string

ID returns the formatted Autonomous Database ID

func (AutonomousDatabaseId) Segments

func (id AutonomousDatabaseId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Autonomous Database ID

func (AutonomousDatabaseId) String

func (id AutonomousDatabaseId) String() string

String returns a human-readable description of this Autonomous Database ID

type AutonomousDatabaseLifecycleState

type AutonomousDatabaseLifecycleState string
const (
	AutonomousDatabaseLifecycleStateAvailable               AutonomousDatabaseLifecycleState = "Available"
	AutonomousDatabaseLifecycleStateAvailableNeedsAttention AutonomousDatabaseLifecycleState = "AvailableNeedsAttention"
	AutonomousDatabaseLifecycleStateBackupInProgress        AutonomousDatabaseLifecycleState = "BackupInProgress"
	AutonomousDatabaseLifecycleStateInaccessible            AutonomousDatabaseLifecycleState = "Inaccessible"
	AutonomousDatabaseLifecycleStateMaintenanceInProgress   AutonomousDatabaseLifecycleState = "MaintenanceInProgress"
	AutonomousDatabaseLifecycleStateProvisioning            AutonomousDatabaseLifecycleState = "Provisioning"
	AutonomousDatabaseLifecycleStateRecreating              AutonomousDatabaseLifecycleState = "Recreating"
	AutonomousDatabaseLifecycleStateRestarting              AutonomousDatabaseLifecycleState = "Restarting"
	AutonomousDatabaseLifecycleStateRestoreFailed           AutonomousDatabaseLifecycleState = "RestoreFailed"
	AutonomousDatabaseLifecycleStateRestoreInProgress       AutonomousDatabaseLifecycleState = "RestoreInProgress"
	AutonomousDatabaseLifecycleStateRoleChangeInProgress    AutonomousDatabaseLifecycleState = "RoleChangeInProgress"
	AutonomousDatabaseLifecycleStateScaleInProgress         AutonomousDatabaseLifecycleState = "ScaleInProgress"
	AutonomousDatabaseLifecycleStateStandby                 AutonomousDatabaseLifecycleState = "Standby"
	AutonomousDatabaseLifecycleStateStarting                AutonomousDatabaseLifecycleState = "Starting"
	AutonomousDatabaseLifecycleStateStopped                 AutonomousDatabaseLifecycleState = "Stopped"
	AutonomousDatabaseLifecycleStateStopping                AutonomousDatabaseLifecycleState = "Stopping"
	AutonomousDatabaseLifecycleStateTerminated              AutonomousDatabaseLifecycleState = "Terminated"
	AutonomousDatabaseLifecycleStateTerminating             AutonomousDatabaseLifecycleState = "Terminating"
	AutonomousDatabaseLifecycleStateUnavailable             AutonomousDatabaseLifecycleState = "Unavailable"
	AutonomousDatabaseLifecycleStateUpdating                AutonomousDatabaseLifecycleState = "Updating"
	AutonomousDatabaseLifecycleStateUpgrading               AutonomousDatabaseLifecycleState = "Upgrading"
)

func (*AutonomousDatabaseLifecycleState) UnmarshalJSON

func (s *AutonomousDatabaseLifecycleState) UnmarshalJSON(bytes []byte) error

type AutonomousDatabaseOperationPredicate

type AutonomousDatabaseOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (AutonomousDatabaseOperationPredicate) Matches

type AutonomousDatabaseProperties

type AutonomousDatabaseProperties struct {

	// Fields inherited from AutonomousDatabaseBaseProperties
	ActualUsedDataStorageSizeInTbs           *float64                           `json:"actualUsedDataStorageSizeInTbs,omitempty"`
	AdminPassword                            *string                            `json:"adminPassword,omitempty"`
	AllocatedStorageSizeInTbs                *float64                           `json:"allocatedStorageSizeInTbs,omitempty"`
	ApexDetails                              *ApexDetailsType                   `json:"apexDetails,omitempty"`
	AutonomousDatabaseId                     *string                            `json:"autonomousDatabaseId,omitempty"`
	AutonomousMaintenanceScheduleType        *AutonomousMaintenanceScheduleType `json:"autonomousMaintenanceScheduleType,omitempty"`
	AvailableUpgradeVersions                 *[]string                          `json:"availableUpgradeVersions,omitempty"`
	BackupRetentionPeriodInDays              *int64                             `json:"backupRetentionPeriodInDays,omitempty"`
	CharacterSet                             *string                            `json:"characterSet,omitempty"`
	ComputeCount                             *float64                           `json:"computeCount,omitempty"`
	ComputeModel                             *ComputeModel                      `json:"computeModel,omitempty"`
	ConnectionStrings                        *ConnectionStringType              `json:"connectionStrings,omitempty"`
	ConnectionUrls                           *ConnectionUrlType                 `json:"connectionUrls,omitempty"`
	CpuCoreCount                             *int64                             `json:"cpuCoreCount,omitempty"`
	CustomerContacts                         *[]CustomerContact                 `json:"customerContacts,omitempty"`
	DataSafeStatus                           *DataSafeStatusType                `json:"dataSafeStatus,omitempty"`
	DataStorageSizeInGbs                     *int64                             `json:"dataStorageSizeInGbs,omitempty"`
	DataStorageSizeInTbs                     *int64                             `json:"dataStorageSizeInTbs,omitempty"`
	DatabaseEdition                          *DatabaseEditionType               `json:"databaseEdition,omitempty"`
	DbVersion                                *string                            `json:"dbVersion,omitempty"`
	DbWorkload                               *WorkloadType                      `json:"dbWorkload,omitempty"`
	DisplayName                              *string                            `json:"displayName,omitempty"`
	FailedDataRecoveryInSeconds              *int64                             `json:"failedDataRecoveryInSeconds,omitempty"`
	InMemoryAreaInGbs                        *int64                             `json:"inMemoryAreaInGbs,omitempty"`
	IsAutoScalingEnabled                     *bool                              `json:"isAutoScalingEnabled,omitempty"`
	IsAutoScalingForStorageEnabled           *bool                              `json:"isAutoScalingForStorageEnabled,omitempty"`
	IsLocalDataGuardEnabled                  *bool                              `json:"isLocalDataGuardEnabled,omitempty"`
	IsMtlsConnectionRequired                 *bool                              `json:"isMtlsConnectionRequired,omitempty"`
	IsPreview                                *bool                              `json:"isPreview,omitempty"`
	IsPreviewVersionWithServiceTermsAccepted *bool                              `json:"isPreviewVersionWithServiceTermsAccepted,omitempty"`
	IsRemoteDataGuardEnabled                 *bool                              `json:"isRemoteDataGuardEnabled,omitempty"`
	LicenseModel                             *LicenseModel                      `json:"licenseModel,omitempty"`
	LifecycleDetails                         *string                            `json:"lifecycleDetails,omitempty"`
	LifecycleState                           *AutonomousDatabaseLifecycleState  `json:"lifecycleState,omitempty"`
	LocalAdgAutoFailoverMaxDataLossLimit     *int64                             `json:"localAdgAutoFailoverMaxDataLossLimit,omitempty"`
	LocalDisasterRecoveryType                *DisasterRecoveryType              `json:"localDisasterRecoveryType,omitempty"`
	LocalStandbyDb                           *AutonomousDatabaseStandbySummary  `json:"localStandbyDb,omitempty"`
	LongTermBackupSchedule                   *LongTermBackUpScheduleDetails     `json:"longTermBackupSchedule,omitempty"`
	MemoryPerOracleComputeUnitInGbs          *int64                             `json:"memoryPerOracleComputeUnitInGbs,omitempty"`
	NcharacterSet                            *string                            `json:"ncharacterSet,omitempty"`
	NextLongTermBackupTimeStamp              *string                            `json:"nextLongTermBackupTimeStamp,omitempty"`
	OciUrl                                   *string                            `json:"ociUrl,omitempty"`
	Ocid                                     *string                            `json:"ocid,omitempty"`
	OpenMode                                 *OpenModeType                      `json:"openMode,omitempty"`
	OperationsInsightsStatus                 *OperationsInsightsStatusType      `json:"operationsInsightsStatus,omitempty"`
	PeerDbId                                 *string                            `json:"peerDbId,omitempty"`
	PeerDbIds                                *[]string                          `json:"peerDbIds,omitempty"`
	PermissionLevel                          *PermissionLevelType               `json:"permissionLevel,omitempty"`
	PrivateEndpoint                          *string                            `json:"privateEndpoint,omitempty"`
	PrivateEndpointIP                        *string                            `json:"privateEndpointIp,omitempty"`
	PrivateEndpointLabel                     *string                            `json:"privateEndpointLabel,omitempty"`
	ProvisionableCPUs                        *[]int64                           `json:"provisionableCpus,omitempty"`
	ProvisioningState                        *AzureResourceProvisioningState    `json:"provisioningState,omitempty"`
	Role                                     *RoleType                          `json:"role,omitempty"`
	ScheduledOperations                      *ScheduledOperationsType           `json:"scheduledOperations,omitempty"`
	ServiceConsoleUrl                        *string                            `json:"serviceConsoleUrl,omitempty"`
	SqlWebDeveloperUrl                       *string                            `json:"sqlWebDeveloperUrl,omitempty"`
	SubnetId                                 *string                            `json:"subnetId,omitempty"`
	SupportedRegionsToCloneTo                *[]string                          `json:"supportedRegionsToCloneTo,omitempty"`
	TimeCreated                              *string                            `json:"timeCreated,omitempty"`
	TimeDataGuardRoleChanged                 *string                            `json:"timeDataGuardRoleChanged,omitempty"`
	TimeDeletionOfFreeAutonomousDatabase     *string                            `json:"timeDeletionOfFreeAutonomousDatabase,omitempty"`
	TimeLocalDataGuardEnabled                *string                            `json:"timeLocalDataGuardEnabled,omitempty"`
	TimeMaintenanceBegin                     *string                            `json:"timeMaintenanceBegin,omitempty"`
	TimeMaintenanceEnd                       *string                            `json:"timeMaintenanceEnd,omitempty"`
	TimeOfLastFailover                       *string                            `json:"timeOfLastFailover,omitempty"`
	TimeOfLastRefresh                        *string                            `json:"timeOfLastRefresh,omitempty"`
	TimeOfLastRefreshPoint                   *string                            `json:"timeOfLastRefreshPoint,omitempty"`
	TimeOfLastSwitchover                     *string                            `json:"timeOfLastSwitchover,omitempty"`
	TimeReclamationOfFreeAutonomousDatabase  *string                            `json:"timeReclamationOfFreeAutonomousDatabase,omitempty"`
	UsedDataStorageSizeInGbs                 *int64                             `json:"usedDataStorageSizeInGbs,omitempty"`
	UsedDataStorageSizeInTbs                 *int64                             `json:"usedDataStorageSizeInTbs,omitempty"`
	VnetId                                   *string                            `json:"vnetId,omitempty"`
	WhitelistedIPs                           *[]string                          `json:"whitelistedIps,omitempty"`
}

func (*AutonomousDatabaseProperties) GetNextLongTermBackupTimeStampAsTime

func (o *AutonomousDatabaseProperties) GetNextLongTermBackupTimeStampAsTime() (*time.Time, error)

func (*AutonomousDatabaseProperties) GetTimeCreatedAsTime

func (o *AutonomousDatabaseProperties) GetTimeCreatedAsTime() (*time.Time, error)

func (*AutonomousDatabaseProperties) GetTimeMaintenanceBeginAsTime

func (o *AutonomousDatabaseProperties) GetTimeMaintenanceBeginAsTime() (*time.Time, error)

func (*AutonomousDatabaseProperties) GetTimeMaintenanceEndAsTime

func (o *AutonomousDatabaseProperties) GetTimeMaintenanceEndAsTime() (*time.Time, error)

func (AutonomousDatabaseProperties) MarshalJSON

func (s AutonomousDatabaseProperties) MarshalJSON() ([]byte, error)

func (*AutonomousDatabaseProperties) SetNextLongTermBackupTimeStampAsTime

func (o *AutonomousDatabaseProperties) SetNextLongTermBackupTimeStampAsTime(input time.Time)

func (*AutonomousDatabaseProperties) SetTimeCreatedAsTime

func (o *AutonomousDatabaseProperties) SetTimeCreatedAsTime(input time.Time)

func (*AutonomousDatabaseProperties) SetTimeMaintenanceBeginAsTime

func (o *AutonomousDatabaseProperties) SetTimeMaintenanceBeginAsTime(input time.Time)

func (*AutonomousDatabaseProperties) SetTimeMaintenanceEndAsTime

func (o *AutonomousDatabaseProperties) SetTimeMaintenanceEndAsTime(input time.Time)

type AutonomousDatabaseStandbySummary

type AutonomousDatabaseStandbySummary struct {
	LagTimeInSeconds                *int64                            `json:"lagTimeInSeconds,omitempty"`
	LifecycleDetails                *string                           `json:"lifecycleDetails,omitempty"`
	LifecycleState                  *AutonomousDatabaseLifecycleState `json:"lifecycleState,omitempty"`
	TimeDataGuardRoleChanged        *string                           `json:"timeDataGuardRoleChanged,omitempty"`
	TimeDisasterRecoveryRoleChanged *string                           `json:"timeDisasterRecoveryRoleChanged,omitempty"`
}

type AutonomousDatabaseUpdate

type AutonomousDatabaseUpdate struct {
	Properties *AutonomousDatabaseUpdateProperties `json:"properties,omitempty"`
	Tags       *map[string]string                  `json:"tags,omitempty"`
}

type AutonomousDatabaseUpdateProperties

type AutonomousDatabaseUpdateProperties struct {
	AdminPassword                        *string                            `json:"adminPassword,omitempty"`
	AutonomousMaintenanceScheduleType    *AutonomousMaintenanceScheduleType `json:"autonomousMaintenanceScheduleType,omitempty"`
	BackupRetentionPeriodInDays          *int64                             `json:"backupRetentionPeriodInDays,omitempty"`
	ComputeCount                         *float64                           `json:"computeCount,omitempty"`
	CpuCoreCount                         *int64                             `json:"cpuCoreCount,omitempty"`
	CustomerContacts                     *[]CustomerContact                 `json:"customerContacts,omitempty"`
	DataStorageSizeInGbs                 *int64                             `json:"dataStorageSizeInGbs,omitempty"`
	DataStorageSizeInTbs                 *int64                             `json:"dataStorageSizeInTbs,omitempty"`
	DatabaseEdition                      *DatabaseEditionType               `json:"databaseEdition,omitempty"`
	DisplayName                          *string                            `json:"displayName,omitempty"`
	IsAutoScalingEnabled                 *bool                              `json:"isAutoScalingEnabled,omitempty"`
	IsAutoScalingForStorageEnabled       *bool                              `json:"isAutoScalingForStorageEnabled,omitempty"`
	IsLocalDataGuardEnabled              *bool                              `json:"isLocalDataGuardEnabled,omitempty"`
	IsMtlsConnectionRequired             *bool                              `json:"isMtlsConnectionRequired,omitempty"`
	LicenseModel                         *LicenseModel                      `json:"licenseModel,omitempty"`
	LocalAdgAutoFailoverMaxDataLossLimit *int64                             `json:"localAdgAutoFailoverMaxDataLossLimit,omitempty"`
	LongTermBackupSchedule               *LongTermBackUpScheduleDetails     `json:"longTermBackupSchedule,omitempty"`
	OpenMode                             *OpenModeType                      `json:"openMode,omitempty"`
	PeerDbId                             *string                            `json:"peerDbId,omitempty"`
	PermissionLevel                      *PermissionLevelType               `json:"permissionLevel,omitempty"`
	Role                                 *RoleType                          `json:"role,omitempty"`
	ScheduledOperations                  *ScheduledOperationsTypeUpdate     `json:"scheduledOperations,omitempty"`
	WhitelistedIPs                       *[]string                          `json:"whitelistedIps,omitempty"`
}

type AutonomousDatabaseWalletFile

type AutonomousDatabaseWalletFile struct {
	WalletFiles string `json:"walletFiles"`
}

type AutonomousDatabasesClient

type AutonomousDatabasesClient struct {
	Client *resourcemanager.Client
}

func NewAutonomousDatabasesClientWithBaseURI

func NewAutonomousDatabasesClientWithBaseURI(sdkApi sdkEnv.Api) (*AutonomousDatabasesClient, error)

func (AutonomousDatabasesClient) CreateOrUpdate

CreateOrUpdate ...

func (AutonomousDatabasesClient) CreateOrUpdateThenPoll

func (c AutonomousDatabasesClient) CreateOrUpdateThenPoll(ctx context.Context, id AutonomousDatabaseId, input AutonomousDatabase) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (AutonomousDatabasesClient) Delete

Delete ...

func (AutonomousDatabasesClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (AutonomousDatabasesClient) Failover

Failover ...

func (AutonomousDatabasesClient) FailoverThenPoll

FailoverThenPoll performs Failover then polls until it's completed

func (AutonomousDatabasesClient) GenerateWallet

GenerateWallet ...

func (AutonomousDatabasesClient) Get

Get ...

func (AutonomousDatabasesClient) ListByResourceGroup

ListByResourceGroup ...

func (AutonomousDatabasesClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (AutonomousDatabasesClient) ListByResourceGroupCompleteMatchingPredicate

func (c AutonomousDatabasesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate AutonomousDatabaseOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (AutonomousDatabasesClient) ListBySubscription

ListBySubscription ...

func (AutonomousDatabasesClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all the results into a single object

func (AutonomousDatabasesClient) ListBySubscriptionCompleteMatchingPredicate

func (c AutonomousDatabasesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate AutonomousDatabaseOperationPredicate) (result ListBySubscriptionCompleteResult, err error)

ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (AutonomousDatabasesClient) Restore

Restore ...

func (AutonomousDatabasesClient) RestoreThenPoll

RestoreThenPoll performs Restore then polls until it's completed

func (AutonomousDatabasesClient) Shrink

Shrink ...

func (AutonomousDatabasesClient) ShrinkThenPoll

ShrinkThenPoll performs Shrink then polls until it's completed

func (AutonomousDatabasesClient) Switchover

Switchover ...

func (AutonomousDatabasesClient) SwitchoverThenPoll

SwitchoverThenPoll performs Switchover then polls until it's completed

func (AutonomousDatabasesClient) Update

Update ...

func (AutonomousDatabasesClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type AutonomousMaintenanceScheduleType

type AutonomousMaintenanceScheduleType string
const (
	AutonomousMaintenanceScheduleTypeEarly   AutonomousMaintenanceScheduleType = "Early"
	AutonomousMaintenanceScheduleTypeRegular AutonomousMaintenanceScheduleType = "Regular"
)

func (*AutonomousMaintenanceScheduleType) UnmarshalJSON

func (s *AutonomousMaintenanceScheduleType) UnmarshalJSON(bytes []byte) error

type AzureResourceProvisioningState

type AzureResourceProvisioningState string
const (
	AzureResourceProvisioningStateCanceled     AzureResourceProvisioningState = "Canceled"
	AzureResourceProvisioningStateFailed       AzureResourceProvisioningState = "Failed"
	AzureResourceProvisioningStateProvisioning AzureResourceProvisioningState = "Provisioning"
	AzureResourceProvisioningStateSucceeded    AzureResourceProvisioningState = "Succeeded"
)

func (*AzureResourceProvisioningState) UnmarshalJSON

func (s *AzureResourceProvisioningState) UnmarshalJSON(bytes []byte) error

type CloneType

type CloneType string
const (
	CloneTypeFull     CloneType = "Full"
	CloneTypeMetadata CloneType = "Metadata"
)

func (*CloneType) UnmarshalJSON

func (s *CloneType) UnmarshalJSON(bytes []byte) error

type ComputeModel

type ComputeModel string
const (
	ComputeModelECPU ComputeModel = "ECPU"
	ComputeModelOCPU ComputeModel = "OCPU"
)

func (*ComputeModel) UnmarshalJSON

func (s *ComputeModel) UnmarshalJSON(bytes []byte) error

type ConnectionStringType

type ConnectionStringType struct {
	AllConnectionStrings *AllConnectionStringType `json:"allConnectionStrings,omitempty"`
	Dedicated            *string                  `json:"dedicated,omitempty"`
	High                 *string                  `json:"high,omitempty"`
	Low                  *string                  `json:"low,omitempty"`
	Medium               *string                  `json:"medium,omitempty"`
	Profiles             *[]ProfileType           `json:"profiles,omitempty"`
}

type ConnectionUrlType

type ConnectionUrlType struct {
	ApexUrl                    *string `json:"apexUrl,omitempty"`
	DatabaseTransformsUrl      *string `json:"databaseTransformsUrl,omitempty"`
	GraphStudioUrl             *string `json:"graphStudioUrl,omitempty"`
	MachineLearningNotebookUrl *string `json:"machineLearningNotebookUrl,omitempty"`
	MongoDbUrl                 *string `json:"mongoDbUrl,omitempty"`
	OrdsUrl                    *string `json:"ordsUrl,omitempty"`
	SqlDevWebUrl               *string `json:"sqlDevWebUrl,omitempty"`
}

type ConsumerGroup

type ConsumerGroup string
const (
	ConsumerGroupHigh     ConsumerGroup = "High"
	ConsumerGroupLow      ConsumerGroup = "Low"
	ConsumerGroupMedium   ConsumerGroup = "Medium"
	ConsumerGroupTp       ConsumerGroup = "Tp"
	ConsumerGroupTpurgent ConsumerGroup = "Tpurgent"
)

func (*ConsumerGroup) UnmarshalJSON

func (s *ConsumerGroup) UnmarshalJSON(bytes []byte) error

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AutonomousDatabase
}

type CustomerContact

type CustomerContact struct {
	Email string `json:"email"`
}

type DataBaseType

type DataBaseType string
const (
	DataBaseTypeClone   DataBaseType = "Clone"
	DataBaseTypeRegular DataBaseType = "Regular"
)

func (*DataBaseType) UnmarshalJSON

func (s *DataBaseType) UnmarshalJSON(bytes []byte) error

type DataSafeStatusType

type DataSafeStatusType string
const (
	DataSafeStatusTypeDeregistering DataSafeStatusType = "Deregistering"
	DataSafeStatusTypeFailed        DataSafeStatusType = "Failed"
	DataSafeStatusTypeNotRegistered DataSafeStatusType = "NotRegistered"
	DataSafeStatusTypeRegistered    DataSafeStatusType = "Registered"
	DataSafeStatusTypeRegistering   DataSafeStatusType = "Registering"
)

func (*DataSafeStatusType) UnmarshalJSON

func (s *DataSafeStatusType) UnmarshalJSON(bytes []byte) error

type DatabaseEditionType

type DatabaseEditionType string
const (
	DatabaseEditionTypeEnterpriseEdition DatabaseEditionType = "EnterpriseEdition"
	DatabaseEditionTypeStandardEdition   DatabaseEditionType = "StandardEdition"
)

func (*DatabaseEditionType) UnmarshalJSON

func (s *DatabaseEditionType) UnmarshalJSON(bytes []byte) error

type DayOfWeek

type DayOfWeek struct {
	Name DayOfWeekName `json:"name"`
}

type DayOfWeekName

type DayOfWeekName string
const (
	DayOfWeekNameFriday    DayOfWeekName = "Friday"
	DayOfWeekNameMonday    DayOfWeekName = "Monday"
	DayOfWeekNameSaturday  DayOfWeekName = "Saturday"
	DayOfWeekNameSunday    DayOfWeekName = "Sunday"
	DayOfWeekNameThursday  DayOfWeekName = "Thursday"
	DayOfWeekNameTuesday   DayOfWeekName = "Tuesday"
	DayOfWeekNameWednesday DayOfWeekName = "Wednesday"
)

func (*DayOfWeekName) UnmarshalJSON

func (s *DayOfWeekName) UnmarshalJSON(bytes []byte) error

type DayOfWeekUpdate

type DayOfWeekUpdate struct {
	Name *DayOfWeekName `json:"name,omitempty"`
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DisasterRecoveryType

type DisasterRecoveryType string
const (
	DisasterRecoveryTypeAdg         DisasterRecoveryType = "Adg"
	DisasterRecoveryTypeBackupBased DisasterRecoveryType = "BackupBased"
)

func (*DisasterRecoveryType) UnmarshalJSON

func (s *DisasterRecoveryType) UnmarshalJSON(bytes []byte) error

type FailoverOperationResponse

type FailoverOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AutonomousDatabase
}

type GenerateAutonomousDatabaseWalletDetails

type GenerateAutonomousDatabaseWalletDetails struct {
	GenerateType *GenerateType `json:"generateType,omitempty"`
	IsRegional   *bool         `json:"isRegional,omitempty"`
	Password     string        `json:"password"`
}

type GenerateType

type GenerateType string
const (
	GenerateTypeAll    GenerateType = "All"
	GenerateTypeSingle GenerateType = "Single"
)

func (*GenerateType) UnmarshalJSON

func (s *GenerateType) UnmarshalJSON(bytes []byte) error

type GenerateWalletOperationResponse

type GenerateWalletOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AutonomousDatabaseWalletFile
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AutonomousDatabase
}

type HostFormatType

type HostFormatType string
const (
	HostFormatTypeFqdn HostFormatType = "Fqdn"
	HostFormatTypeIP   HostFormatType = "Ip"
)

func (*HostFormatType) UnmarshalJSON

func (s *HostFormatType) UnmarshalJSON(bytes []byte) error

type LicenseModel

type LicenseModel string
const (
	LicenseModelBringYourOwnLicense LicenseModel = "BringYourOwnLicense"
	LicenseModelLicenseIncluded     LicenseModel = "LicenseIncluded"
)

func (*LicenseModel) UnmarshalJSON

func (s *LicenseModel) UnmarshalJSON(bytes []byte) error

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []AutonomousDatabase
}

type ListByResourceGroupCustomPager

type ListByResourceGroupCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AutonomousDatabase
}

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []AutonomousDatabase
}

type ListBySubscriptionCustomPager

type ListBySubscriptionCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link

type ListBySubscriptionOperationResponse

type ListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]AutonomousDatabase
}

type LongTermBackUpScheduleDetails

type LongTermBackUpScheduleDetails struct {
	IsDisabled            *bool              `json:"isDisabled,omitempty"`
	RepeatCadence         *RepeatCadenceType `json:"repeatCadence,omitempty"`
	RetentionPeriodInDays *int64             `json:"retentionPeriodInDays,omitempty"`
	TimeOfBackup          *string            `json:"timeOfBackup,omitempty"`
}

func (*LongTermBackUpScheduleDetails) GetTimeOfBackupAsTime

func (o *LongTermBackUpScheduleDetails) GetTimeOfBackupAsTime() (*time.Time, error)

func (*LongTermBackUpScheduleDetails) SetTimeOfBackupAsTime

func (o *LongTermBackUpScheduleDetails) SetTimeOfBackupAsTime(input time.Time)

type OpenModeType

type OpenModeType string
const (
	OpenModeTypeReadOnly  OpenModeType = "ReadOnly"
	OpenModeTypeReadWrite OpenModeType = "ReadWrite"
)

func (*OpenModeType) UnmarshalJSON

func (s *OpenModeType) UnmarshalJSON(bytes []byte) error

type OperationsInsightsStatusType

type OperationsInsightsStatusType string
const (
	OperationsInsightsStatusTypeDisabling       OperationsInsightsStatusType = "Disabling"
	OperationsInsightsStatusTypeEnabled         OperationsInsightsStatusType = "Enabled"
	OperationsInsightsStatusTypeEnabling        OperationsInsightsStatusType = "Enabling"
	OperationsInsightsStatusTypeFailedDisabling OperationsInsightsStatusType = "FailedDisabling"
	OperationsInsightsStatusTypeFailedEnabling  OperationsInsightsStatusType = "FailedEnabling"
	OperationsInsightsStatusTypeNotEnabled      OperationsInsightsStatusType = "NotEnabled"
)

func (*OperationsInsightsStatusType) UnmarshalJSON

func (s *OperationsInsightsStatusType) UnmarshalJSON(bytes []byte) error

type PeerDbDetails

type PeerDbDetails struct {
	PeerDbId *string `json:"peerDbId,omitempty"`
}

type PermissionLevelType

type PermissionLevelType string
const (
	PermissionLevelTypeRestricted   PermissionLevelType = "Restricted"
	PermissionLevelTypeUnrestricted PermissionLevelType = "Unrestricted"
)

func (*PermissionLevelType) UnmarshalJSON

func (s *PermissionLevelType) UnmarshalJSON(bytes []byte) error

type ProfileType

type ProfileType struct {
	ConsumerGroup     *ConsumerGroup         `json:"consumerGroup,omitempty"`
	DisplayName       string                 `json:"displayName"`
	HostFormat        HostFormatType         `json:"hostFormat"`
	IsRegional        *bool                  `json:"isRegional,omitempty"`
	Protocol          ProtocolType           `json:"protocol"`
	SessionMode       SessionModeType        `json:"sessionMode"`
	SyntaxFormat      SyntaxFormatType       `json:"syntaxFormat"`
	TlsAuthentication *TlsAuthenticationType `json:"tlsAuthentication,omitempty"`
	Value             string                 `json:"value"`
}

type ProtocolType

type ProtocolType string
const (
	ProtocolTypeTCP  ProtocolType = "TCP"
	ProtocolTypeTCPS ProtocolType = "TCPS"
)

func (*ProtocolType) UnmarshalJSON

func (s *ProtocolType) UnmarshalJSON(bytes []byte) error

type RawAutonomousDatabaseBasePropertiesImpl

type RawAutonomousDatabaseBasePropertiesImpl struct {
	Type   string
	Values map[string]interface{}
}

RawAutonomousDatabaseBasePropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

type RefreshableModelType

type RefreshableModelType string
const (
	RefreshableModelTypeAutomatic RefreshableModelType = "Automatic"
	RefreshableModelTypeManual    RefreshableModelType = "Manual"
)

func (*RefreshableModelType) UnmarshalJSON

func (s *RefreshableModelType) UnmarshalJSON(bytes []byte) error

type RefreshableStatusType

type RefreshableStatusType string
const (
	RefreshableStatusTypeNotRefreshing RefreshableStatusType = "NotRefreshing"
	RefreshableStatusTypeRefreshing    RefreshableStatusType = "Refreshing"
)

func (*RefreshableStatusType) UnmarshalJSON

func (s *RefreshableStatusType) UnmarshalJSON(bytes []byte) error

type RepeatCadenceType

type RepeatCadenceType string
const (
	RepeatCadenceTypeMonthly RepeatCadenceType = "Monthly"
	RepeatCadenceTypeOneTime RepeatCadenceType = "OneTime"
	RepeatCadenceTypeWeekly  RepeatCadenceType = "Weekly"
	RepeatCadenceTypeYearly  RepeatCadenceType = "Yearly"
)

func (*RepeatCadenceType) UnmarshalJSON

func (s *RepeatCadenceType) UnmarshalJSON(bytes []byte) error

type RestoreAutonomousDatabaseDetails

type RestoreAutonomousDatabaseDetails struct {
	Timestamp string `json:"timestamp"`
}

func (*RestoreAutonomousDatabaseDetails) GetTimestampAsTime

func (o *RestoreAutonomousDatabaseDetails) GetTimestampAsTime() (*time.Time, error)

func (*RestoreAutonomousDatabaseDetails) SetTimestampAsTime

func (o *RestoreAutonomousDatabaseDetails) SetTimestampAsTime(input time.Time)

type RestoreOperationResponse

type RestoreOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AutonomousDatabase
}

type RoleType

type RoleType string
const (
	RoleTypeBackupCopy      RoleType = "BackupCopy"
	RoleTypeDisabledStandby RoleType = "DisabledStandby"
	RoleTypePrimary         RoleType = "Primary"
	RoleTypeSnapshotStandby RoleType = "SnapshotStandby"
	RoleTypeStandby         RoleType = "Standby"
)

func (*RoleType) UnmarshalJSON

func (s *RoleType) UnmarshalJSON(bytes []byte) error

type ScheduledOperationsType

type ScheduledOperationsType struct {
	DayOfWeek          DayOfWeek `json:"dayOfWeek"`
	ScheduledStartTime *string   `json:"scheduledStartTime,omitempty"`
	ScheduledStopTime  *string   `json:"scheduledStopTime,omitempty"`
}

type ScheduledOperationsTypeUpdate

type ScheduledOperationsTypeUpdate struct {
	DayOfWeek          *DayOfWeekUpdate `json:"dayOfWeek,omitempty"`
	ScheduledStartTime *string          `json:"scheduledStartTime,omitempty"`
	ScheduledStopTime  *string          `json:"scheduledStopTime,omitempty"`
}

type SessionModeType

type SessionModeType string
const (
	SessionModeTypeDirect   SessionModeType = "Direct"
	SessionModeTypeRedirect SessionModeType = "Redirect"
)

func (*SessionModeType) UnmarshalJSON

func (s *SessionModeType) UnmarshalJSON(bytes []byte) error

type ShrinkOperationResponse

type ShrinkOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AutonomousDatabase
}

type SourceType

type SourceType string
const (
	SourceTypeBackupFromId                SourceType = "BackupFromId"
	SourceTypeBackupFromTimestamp         SourceType = "BackupFromTimestamp"
	SourceTypeCloneToRefreshable          SourceType = "CloneToRefreshable"
	SourceTypeCrossRegionDataguard        SourceType = "CrossRegionDataguard"
	SourceTypeCrossRegionDisasterRecovery SourceType = "CrossRegionDisasterRecovery"
	SourceTypeDatabase                    SourceType = "Database"
	SourceTypeNone                        SourceType = "None"
)

func (*SourceType) UnmarshalJSON

func (s *SourceType) UnmarshalJSON(bytes []byte) error

type SwitchoverOperationResponse

type SwitchoverOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AutonomousDatabase
}

type SyntaxFormatType

type SyntaxFormatType string
const (
	SyntaxFormatTypeEzconnect     SyntaxFormatType = "Ezconnect"
	SyntaxFormatTypeEzconnectplus SyntaxFormatType = "Ezconnectplus"
	SyntaxFormatTypeLong          SyntaxFormatType = "Long"
)

func (*SyntaxFormatType) UnmarshalJSON

func (s *SyntaxFormatType) UnmarshalJSON(bytes []byte) error

type TlsAuthenticationType

type TlsAuthenticationType string
const (
	TlsAuthenticationTypeMutual TlsAuthenticationType = "Mutual"
	TlsAuthenticationTypeServer TlsAuthenticationType = "Server"
)

func (*TlsAuthenticationType) UnmarshalJSON

func (s *TlsAuthenticationType) UnmarshalJSON(bytes []byte) error

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *AutonomousDatabase
}

type WorkloadType

type WorkloadType string
const (
	WorkloadTypeAJD  WorkloadType = "AJD"
	WorkloadTypeAPEX WorkloadType = "APEX"
	WorkloadTypeDW   WorkloadType = "DW"
	WorkloadTypeOLTP WorkloadType = "OLTP"
)

func (*WorkloadType) UnmarshalJSON

func (s *WorkloadType) UnmarshalJSON(bytes []byte) error

Jump to

Keyboard shortcuts

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