Documentation ¶
Index ¶
- func PossibleValuesForAutonomousDatabaseBackupLifecycleState() []string
- func PossibleValuesForAutonomousDatabaseBackupType() []string
- func PossibleValuesForAzureResourceProvisioningState() []string
- func ValidateAutonomousDatabaseBackupID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateAutonomousDatabaseID(input interface{}, key string) (warnings []string, errors []error)
- type AutonomousDatabaseBackup
- type AutonomousDatabaseBackupId
- func NewAutonomousDatabaseBackupID(subscriptionId string, resourceGroupName string, autonomousDatabaseName string, ...) AutonomousDatabaseBackupId
- func ParseAutonomousDatabaseBackupID(input string) (*AutonomousDatabaseBackupId, error)
- func ParseAutonomousDatabaseBackupIDInsensitively(input string) (*AutonomousDatabaseBackupId, error)
- type AutonomousDatabaseBackupLifecycleState
- type AutonomousDatabaseBackupOperationPredicate
- type AutonomousDatabaseBackupProperties
- type AutonomousDatabaseBackupType
- type AutonomousDatabaseBackupUpdate
- type AutonomousDatabaseBackupUpdateProperties
- type AutonomousDatabaseBackupsClient
- func (c AutonomousDatabaseBackupsClient) CreateOrUpdate(ctx context.Context, id AutonomousDatabaseBackupId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c AutonomousDatabaseBackupsClient) CreateOrUpdateThenPoll(ctx context.Context, id AutonomousDatabaseBackupId, ...) error
- func (c AutonomousDatabaseBackupsClient) Delete(ctx context.Context, id AutonomousDatabaseBackupId) (result DeleteOperationResponse, err error)
- func (c AutonomousDatabaseBackupsClient) DeleteThenPoll(ctx context.Context, id AutonomousDatabaseBackupId) error
- func (c AutonomousDatabaseBackupsClient) Get(ctx context.Context, id AutonomousDatabaseBackupId) (result GetOperationResponse, err error)
- func (c AutonomousDatabaseBackupsClient) ListByAutonomousDatabase(ctx context.Context, id AutonomousDatabaseId) (result ListByAutonomousDatabaseOperationResponse, err error)
- func (c AutonomousDatabaseBackupsClient) ListByAutonomousDatabaseComplete(ctx context.Context, id AutonomousDatabaseId) (ListByAutonomousDatabaseCompleteResult, error)
- func (c AutonomousDatabaseBackupsClient) ListByAutonomousDatabaseCompleteMatchingPredicate(ctx context.Context, id AutonomousDatabaseId, ...) (result ListByAutonomousDatabaseCompleteResult, err error)
- func (c AutonomousDatabaseBackupsClient) Update(ctx context.Context, id AutonomousDatabaseBackupId, ...) (result UpdateOperationResponse, err error)
- func (c AutonomousDatabaseBackupsClient) UpdateThenPoll(ctx context.Context, id AutonomousDatabaseBackupId, ...) error
- type AutonomousDatabaseId
- type AzureResourceProvisioningState
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByAutonomousDatabaseCompleteResult
- type ListByAutonomousDatabaseCustomPager
- type ListByAutonomousDatabaseOperationResponse
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAutonomousDatabaseBackupLifecycleState ¶
func PossibleValuesForAutonomousDatabaseBackupLifecycleState() []string
func PossibleValuesForAutonomousDatabaseBackupType ¶
func PossibleValuesForAutonomousDatabaseBackupType() []string
func PossibleValuesForAzureResourceProvisioningState ¶
func PossibleValuesForAzureResourceProvisioningState() []string
func ValidateAutonomousDatabaseBackupID ¶
func ValidateAutonomousDatabaseBackupID(input interface{}, key string) (warnings []string, errors []error)
ValidateAutonomousDatabaseBackupID checks that 'input' can be parsed as a Autonomous Database Backup ID
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 AutonomousDatabaseBackup ¶
type AutonomousDatabaseBackup struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *AutonomousDatabaseBackupProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type AutonomousDatabaseBackupId ¶
type AutonomousDatabaseBackupId struct { SubscriptionId string ResourceGroupName string AutonomousDatabaseName string AutonomousDatabaseBackupName string }
AutonomousDatabaseBackupId is a struct representing the Resource ID for a Autonomous Database Backup
func NewAutonomousDatabaseBackupID ¶
func NewAutonomousDatabaseBackupID(subscriptionId string, resourceGroupName string, autonomousDatabaseName string, autonomousDatabaseBackupName string) AutonomousDatabaseBackupId
NewAutonomousDatabaseBackupID returns a new AutonomousDatabaseBackupId struct
func ParseAutonomousDatabaseBackupID ¶
func ParseAutonomousDatabaseBackupID(input string) (*AutonomousDatabaseBackupId, error)
ParseAutonomousDatabaseBackupID parses 'input' into a AutonomousDatabaseBackupId
func ParseAutonomousDatabaseBackupIDInsensitively ¶
func ParseAutonomousDatabaseBackupIDInsensitively(input string) (*AutonomousDatabaseBackupId, error)
ParseAutonomousDatabaseBackupIDInsensitively parses 'input' case-insensitively into a AutonomousDatabaseBackupId note: this method should only be used for API response data and not user input
func (*AutonomousDatabaseBackupId) FromParseResult ¶
func (id *AutonomousDatabaseBackupId) FromParseResult(input resourceids.ParseResult) error
func (AutonomousDatabaseBackupId) ID ¶
func (id AutonomousDatabaseBackupId) ID() string
ID returns the formatted Autonomous Database Backup ID
func (AutonomousDatabaseBackupId) Segments ¶
func (id AutonomousDatabaseBackupId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Autonomous Database Backup ID
func (AutonomousDatabaseBackupId) String ¶
func (id AutonomousDatabaseBackupId) String() string
String returns a human-readable description of this Autonomous Database Backup ID
type AutonomousDatabaseBackupLifecycleState ¶
type AutonomousDatabaseBackupLifecycleState string
const ( AutonomousDatabaseBackupLifecycleStateActive AutonomousDatabaseBackupLifecycleState = "Active" AutonomousDatabaseBackupLifecycleStateCreating AutonomousDatabaseBackupLifecycleState = "Creating" AutonomousDatabaseBackupLifecycleStateDeleting AutonomousDatabaseBackupLifecycleState = "Deleting" AutonomousDatabaseBackupLifecycleStateFailed AutonomousDatabaseBackupLifecycleState = "Failed" AutonomousDatabaseBackupLifecycleStateUpdating AutonomousDatabaseBackupLifecycleState = "Updating" )
func (*AutonomousDatabaseBackupLifecycleState) UnmarshalJSON ¶
func (s *AutonomousDatabaseBackupLifecycleState) UnmarshalJSON(bytes []byte) error
type AutonomousDatabaseBackupOperationPredicate ¶
func (AutonomousDatabaseBackupOperationPredicate) Matches ¶
func (p AutonomousDatabaseBackupOperationPredicate) Matches(input AutonomousDatabaseBackup) bool
type AutonomousDatabaseBackupProperties ¶
type AutonomousDatabaseBackupProperties struct { AutonomousDatabaseOcid *string `json:"autonomousDatabaseOcid,omitempty"` BackupType *AutonomousDatabaseBackupType `json:"backupType,omitempty"` DatabaseSizeInTbs *float64 `json:"databaseSizeInTbs,omitempty"` DbVersion *string `json:"dbVersion,omitempty"` DisplayName *string `json:"displayName,omitempty"` IsAutomatic *bool `json:"isAutomatic,omitempty"` IsRestorable *bool `json:"isRestorable,omitempty"` LifecycleDetails *string `json:"lifecycleDetails,omitempty"` LifecycleState *AutonomousDatabaseBackupLifecycleState `json:"lifecycleState,omitempty"` Ocid *string `json:"ocid,omitempty"` ProvisioningState *AzureResourceProvisioningState `json:"provisioningState,omitempty"` RetentionPeriodInDays *int64 `json:"retentionPeriodInDays,omitempty"` SizeInTbs *float64 `json:"sizeInTbs,omitempty"` TimeAvailableTil *string `json:"timeAvailableTil,omitempty"` TimeEnded *string `json:"timeEnded,omitempty"` TimeStarted *string `json:"timeStarted,omitempty"` }
func (*AutonomousDatabaseBackupProperties) GetTimeAvailableTilAsTime ¶
func (o *AutonomousDatabaseBackupProperties) GetTimeAvailableTilAsTime() (*time.Time, error)
func (*AutonomousDatabaseBackupProperties) SetTimeAvailableTilAsTime ¶
func (o *AutonomousDatabaseBackupProperties) SetTimeAvailableTilAsTime(input time.Time)
type AutonomousDatabaseBackupType ¶
type AutonomousDatabaseBackupType string
const ( AutonomousDatabaseBackupTypeFull AutonomousDatabaseBackupType = "Full" AutonomousDatabaseBackupTypeIncremental AutonomousDatabaseBackupType = "Incremental" AutonomousDatabaseBackupTypeLongTerm AutonomousDatabaseBackupType = "LongTerm" )
func (*AutonomousDatabaseBackupType) UnmarshalJSON ¶
func (s *AutonomousDatabaseBackupType) UnmarshalJSON(bytes []byte) error
type AutonomousDatabaseBackupUpdate ¶
type AutonomousDatabaseBackupUpdate struct {
Properties *AutonomousDatabaseBackupUpdateProperties `json:"properties,omitempty"`
}
type AutonomousDatabaseBackupUpdateProperties ¶
type AutonomousDatabaseBackupUpdateProperties struct {
RetentionPeriodInDays *int64 `json:"retentionPeriodInDays,omitempty"`
}
type AutonomousDatabaseBackupsClient ¶
type AutonomousDatabaseBackupsClient struct {
Client *resourcemanager.Client
}
func NewAutonomousDatabaseBackupsClientWithBaseURI ¶
func NewAutonomousDatabaseBackupsClientWithBaseURI(sdkApi sdkEnv.Api) (*AutonomousDatabaseBackupsClient, error)
func (AutonomousDatabaseBackupsClient) CreateOrUpdate ¶
func (c AutonomousDatabaseBackupsClient) CreateOrUpdate(ctx context.Context, id AutonomousDatabaseBackupId, input AutonomousDatabaseBackup) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (AutonomousDatabaseBackupsClient) CreateOrUpdateThenPoll ¶
func (c AutonomousDatabaseBackupsClient) CreateOrUpdateThenPoll(ctx context.Context, id AutonomousDatabaseBackupId, input AutonomousDatabaseBackup) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (AutonomousDatabaseBackupsClient) Delete ¶
func (c AutonomousDatabaseBackupsClient) Delete(ctx context.Context, id AutonomousDatabaseBackupId) (result DeleteOperationResponse, err error)
Delete ...
func (AutonomousDatabaseBackupsClient) DeleteThenPoll ¶
func (c AutonomousDatabaseBackupsClient) DeleteThenPoll(ctx context.Context, id AutonomousDatabaseBackupId) error
DeleteThenPoll performs Delete then polls until it's completed
func (AutonomousDatabaseBackupsClient) Get ¶
func (c AutonomousDatabaseBackupsClient) Get(ctx context.Context, id AutonomousDatabaseBackupId) (result GetOperationResponse, err error)
Get ...
func (AutonomousDatabaseBackupsClient) ListByAutonomousDatabase ¶
func (c AutonomousDatabaseBackupsClient) ListByAutonomousDatabase(ctx context.Context, id AutonomousDatabaseId) (result ListByAutonomousDatabaseOperationResponse, err error)
ListByAutonomousDatabase ...
func (AutonomousDatabaseBackupsClient) ListByAutonomousDatabaseComplete ¶
func (c AutonomousDatabaseBackupsClient) ListByAutonomousDatabaseComplete(ctx context.Context, id AutonomousDatabaseId) (ListByAutonomousDatabaseCompleteResult, error)
ListByAutonomousDatabaseComplete retrieves all the results into a single object
func (AutonomousDatabaseBackupsClient) ListByAutonomousDatabaseCompleteMatchingPredicate ¶
func (c AutonomousDatabaseBackupsClient) ListByAutonomousDatabaseCompleteMatchingPredicate(ctx context.Context, id AutonomousDatabaseId, predicate AutonomousDatabaseBackupOperationPredicate) (result ListByAutonomousDatabaseCompleteResult, err error)
ListByAutonomousDatabaseCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (AutonomousDatabaseBackupsClient) Update ¶
func (c AutonomousDatabaseBackupsClient) Update(ctx context.Context, id AutonomousDatabaseBackupId, input AutonomousDatabaseBackupUpdate) (result UpdateOperationResponse, err error)
Update ...
func (AutonomousDatabaseBackupsClient) UpdateThenPoll ¶
func (c AutonomousDatabaseBackupsClient) UpdateThenPoll(ctx context.Context, id AutonomousDatabaseBackupId, input AutonomousDatabaseBackupUpdate) error
UpdateThenPoll performs Update then polls until it's completed
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 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 DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *AutonomousDatabaseBackup }
type ListByAutonomousDatabaseCompleteResult ¶
type ListByAutonomousDatabaseCompleteResult struct { LatestHttpResponse *http.Response Items []AutonomousDatabaseBackup }
type ListByAutonomousDatabaseCustomPager ¶
func (*ListByAutonomousDatabaseCustomPager) NextPageLink ¶
func (p *ListByAutonomousDatabaseCustomPager) NextPageLink() *odata.Link
type ListByAutonomousDatabaseOperationResponse ¶
type ListByAutonomousDatabaseOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]AutonomousDatabaseBackup }
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_autonomousdatabase.go
- id_autonomousdatabasebackup.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyautonomousdatabase.go
- method_update.go
- model_autonomousdatabasebackup.go
- model_autonomousdatabasebackupproperties.go
- model_autonomousdatabasebackupupdate.go
- model_autonomousdatabasebackupupdateproperties.go
- predicates.go
- version.go