restorables

package
v0.20240318.1145438 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: MPL-2.0 Imports: 14 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/cosmosdb/2023-11-15/restorables Documentation

The restorables SDK allows for interaction with the Azure Resource Manager Service cosmosdb (API Version 2023-11-15).

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/cosmosdb/2023-11-15/restorables"

Client Initialization

client := restorables.NewRestorablesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: RestorablesClient.GremlinResourcesRetrieveContinuousBackupInformation

ctx := context.TODO()
id := restorables.NewGraphID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountValue", "gremlinDatabaseValue", "graphValue")

payload := restorables.ContinuousBackupRestoreLocation{
	// ...
}


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

Example Usage: RestorablesClient.MongoDBResourcesRetrieveContinuousBackupInformation

ctx := context.TODO()
id := restorables.NewMongodbDatabaseCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountValue", "mongodbDatabaseValue", "collectionValue")

payload := restorables.ContinuousBackupRestoreLocation{
	// ...
}


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

Example Usage: RestorablesClient.RestorableDatabaseAccountsGetByLocation

ctx := context.TODO()
id := restorables.NewRestorableDatabaseAccountID("12345678-1234-9876-4563-123456789012", "locationValue", "instanceIdValue")

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

Example Usage: RestorablesClient.RestorableDatabaseAccountsList

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

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

Example Usage: RestorablesClient.RestorableDatabaseAccountsListByLocation

ctx := context.TODO()
id := restorables.NewLocationID("12345678-1234-9876-4563-123456789012", "locationValue")

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

Example Usage: RestorablesClient.RestorableGremlinDatabasesList

ctx := context.TODO()
id := restorables.NewRestorableDatabaseAccountID("12345678-1234-9876-4563-123456789012", "locationValue", "instanceIdValue")

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

Example Usage: RestorablesClient.RestorableGremlinGraphsList

ctx := context.TODO()
id := restorables.NewRestorableDatabaseAccountID("12345678-1234-9876-4563-123456789012", "locationValue", "instanceIdValue")

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

Example Usage: RestorablesClient.RestorableGremlinResourcesList

ctx := context.TODO()
id := restorables.NewRestorableDatabaseAccountID("12345678-1234-9876-4563-123456789012", "locationValue", "instanceIdValue")

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

Example Usage: RestorablesClient.RestorableMongodbCollectionsList

ctx := context.TODO()
id := restorables.NewRestorableDatabaseAccountID("12345678-1234-9876-4563-123456789012", "locationValue", "instanceIdValue")

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

Example Usage: RestorablesClient.RestorableMongodbDatabasesList

ctx := context.TODO()
id := restorables.NewRestorableDatabaseAccountID("12345678-1234-9876-4563-123456789012", "locationValue", "instanceIdValue")

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

Example Usage: RestorablesClient.RestorableMongodbResourcesList

ctx := context.TODO()
id := restorables.NewRestorableDatabaseAccountID("12345678-1234-9876-4563-123456789012", "locationValue", "instanceIdValue")

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

Example Usage: RestorablesClient.RestorableSqlContainersList

ctx := context.TODO()
id := restorables.NewRestorableDatabaseAccountID("12345678-1234-9876-4563-123456789012", "locationValue", "instanceIdValue")

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

Example Usage: RestorablesClient.RestorableSqlDatabasesList

ctx := context.TODO()
id := restorables.NewRestorableDatabaseAccountID("12345678-1234-9876-4563-123456789012", "locationValue", "instanceIdValue")

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

Example Usage: RestorablesClient.RestorableSqlResourcesList

ctx := context.TODO()
id := restorables.NewRestorableDatabaseAccountID("12345678-1234-9876-4563-123456789012", "locationValue", "instanceIdValue")

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

Example Usage: RestorablesClient.RestorableTableResourcesList

ctx := context.TODO()
id := restorables.NewRestorableDatabaseAccountID("12345678-1234-9876-4563-123456789012", "locationValue", "instanceIdValue")

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

Example Usage: RestorablesClient.RestorableTablesList

ctx := context.TODO()
id := restorables.NewRestorableDatabaseAccountID("12345678-1234-9876-4563-123456789012", "locationValue", "instanceIdValue")

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

Example Usage: RestorablesClient.SqlResourcesRetrieveContinuousBackupInformation

ctx := context.TODO()
id := restorables.NewContainerID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountValue", "sqlDatabaseValue", "containerValue")

payload := restorables.ContinuousBackupRestoreLocation{
	// ...
}


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

Example Usage: RestorablesClient.TableResourcesRetrieveContinuousBackupInformation

ctx := context.TODO()
id := restorables.NewTableID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountValue", "tableValue")

payload := restorables.ContinuousBackupRestoreLocation{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForApiType

func PossibleValuesForApiType() []string

func PossibleValuesForCompositePathSortOrder

func PossibleValuesForCompositePathSortOrder() []string

func PossibleValuesForConflictResolutionMode

func PossibleValuesForConflictResolutionMode() []string

func PossibleValuesForCreateMode

func PossibleValuesForCreateMode() []string

func PossibleValuesForDataType

func PossibleValuesForDataType() []string

func PossibleValuesForIndexKind

func PossibleValuesForIndexKind() []string

func PossibleValuesForIndexingMode

func PossibleValuesForIndexingMode() []string

func PossibleValuesForOperationType

func PossibleValuesForOperationType() []string

func PossibleValuesForPartitionKind

func PossibleValuesForPartitionKind() []string

func PossibleValuesForSpatialType

func PossibleValuesForSpatialType() []string

func ValidateContainerID

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

ValidateContainerID checks that 'input' can be parsed as a Container ID

func ValidateGraphID

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

ValidateGraphID checks that 'input' can be parsed as a Graph ID

func ValidateLocationID

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

ValidateLocationID checks that 'input' can be parsed as a Location ID

func ValidateMongodbDatabaseCollectionID

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

ValidateMongodbDatabaseCollectionID checks that 'input' can be parsed as a Mongodb Database Collection ID

func ValidateRestorableDatabaseAccountID

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

ValidateRestorableDatabaseAccountID checks that 'input' can be parsed as a Restorable Database Account ID

func ValidateTableID

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

ValidateTableID checks that 'input' can be parsed as a Table ID

Types

type ApiType

type ApiType string
const (
	ApiTypeCassandra   ApiType = "Cassandra"
	ApiTypeGremlin     ApiType = "Gremlin"
	ApiTypeGremlinVTwo ApiType = "GremlinV2"
	ApiTypeMongoDB     ApiType = "MongoDB"
	ApiTypeSql         ApiType = "Sql"
	ApiTypeTable       ApiType = "Table"
)

func (*ApiType) UnmarshalJSON added in v0.20240306.1111727

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

type BackupInformation

type BackupInformation struct {
	ContinuousBackupInformation *ContinuousBackupInformation `json:"continuousBackupInformation,omitempty"`
}

type ClientEncryptionIncludedPath

type ClientEncryptionIncludedPath struct {
	ClientEncryptionKeyId string `json:"clientEncryptionKeyId"`
	EncryptionAlgorithm   string `json:"encryptionAlgorithm"`
	EncryptionType        string `json:"encryptionType"`
	Path                  string `json:"path"`
}

type ClientEncryptionPolicy

type ClientEncryptionPolicy struct {
	IncludedPaths       []ClientEncryptionIncludedPath `json:"includedPaths"`
	PolicyFormatVersion int64                          `json:"policyFormatVersion"`
}

type CompositePath

type CompositePath struct {
	Order *CompositePathSortOrder `json:"order,omitempty"`
	Path  *string                 `json:"path,omitempty"`
}

type CompositePathSortOrder

type CompositePathSortOrder string
const (
	CompositePathSortOrderAscending  CompositePathSortOrder = "ascending"
	CompositePathSortOrderDescending CompositePathSortOrder = "descending"
)

func (*CompositePathSortOrder) UnmarshalJSON added in v0.20240306.1111727

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

type ComputedProperty

type ComputedProperty struct {
	Name  *string `json:"name,omitempty"`
	Query *string `json:"query,omitempty"`
}

type ConflictResolutionMode

type ConflictResolutionMode string
const (
	ConflictResolutionModeCustom         ConflictResolutionMode = "Custom"
	ConflictResolutionModeLastWriterWins ConflictResolutionMode = "LastWriterWins"
)

func (*ConflictResolutionMode) UnmarshalJSON added in v0.20240306.1111727

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

type ConflictResolutionPolicy

type ConflictResolutionPolicy struct {
	ConflictResolutionPath      *string                 `json:"conflictResolutionPath,omitempty"`
	ConflictResolutionProcedure *string                 `json:"conflictResolutionProcedure,omitempty"`
	Mode                        *ConflictResolutionMode `json:"mode,omitempty"`
}

type ContainerId

type ContainerId struct {
	SubscriptionId      string
	ResourceGroupName   string
	DatabaseAccountName string
	SqlDatabaseName     string
	ContainerName       string
}

ContainerId is a struct representing the Resource ID for a Container

func NewContainerID

func NewContainerID(subscriptionId string, resourceGroupName string, databaseAccountName string, sqlDatabaseName string, containerName string) ContainerId

NewContainerID returns a new ContainerId struct

func ParseContainerID

func ParseContainerID(input string) (*ContainerId, error)

ParseContainerID parses 'input' into a ContainerId

func ParseContainerIDInsensitively

func ParseContainerIDInsensitively(input string) (*ContainerId, error)

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

func (*ContainerId) FromParseResult

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

func (ContainerId) ID

func (id ContainerId) ID() string

ID returns the formatted Container ID

func (ContainerId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Container ID

func (ContainerId) String

func (id ContainerId) String() string

String returns a human-readable description of this Container ID

type ContainerPartitionKey

type ContainerPartitionKey struct {
	Kind      *PartitionKind `json:"kind,omitempty"`
	Paths     *[]string      `json:"paths,omitempty"`
	SystemKey *bool          `json:"systemKey,omitempty"`
	Version   *int64         `json:"version,omitempty"`
}

type ContinuousBackupInformation

type ContinuousBackupInformation struct {
	LatestRestorableTimestamp *string `json:"latestRestorableTimestamp,omitempty"`
}

type ContinuousBackupRestoreLocation

type ContinuousBackupRestoreLocation struct {
	Location *string `json:"location,omitempty"`
}

type CreateMode

type CreateMode string
const (
	CreateModeDefault CreateMode = "Default"
	CreateModeRestore CreateMode = "Restore"
)

func (*CreateMode) UnmarshalJSON added in v0.20240306.1111727

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

type DataType

type DataType string
const (
	DataTypeLineString   DataType = "LineString"
	DataTypeMultiPolygon DataType = "MultiPolygon"
	DataTypeNumber       DataType = "Number"
	DataTypePoint        DataType = "Point"
	DataTypePolygon      DataType = "Polygon"
	DataTypeString       DataType = "String"
)

func (*DataType) UnmarshalJSON added in v0.20240306.1111727

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

type ExcludedPath

type ExcludedPath struct {
	Path *string `json:"path,omitempty"`
}

type GraphId

type GraphId struct {
	SubscriptionId      string
	ResourceGroupName   string
	DatabaseAccountName string
	GremlinDatabaseName string
	GraphName           string
}

GraphId is a struct representing the Resource ID for a Graph

func NewGraphID

func NewGraphID(subscriptionId string, resourceGroupName string, databaseAccountName string, gremlinDatabaseName string, graphName string) GraphId

NewGraphID returns a new GraphId struct

func ParseGraphID

func ParseGraphID(input string) (*GraphId, error)

ParseGraphID parses 'input' into a GraphId

func ParseGraphIDInsensitively

func ParseGraphIDInsensitively(input string) (*GraphId, error)

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

func (*GraphId) FromParseResult

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

func (GraphId) ID

func (id GraphId) ID() string

ID returns the formatted Graph ID

func (GraphId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Graph ID

func (GraphId) String

func (id GraphId) String() string

String returns a human-readable description of this Graph ID

type GremlinResourcesRetrieveContinuousBackupInformationOperationResponse

type GremlinResourcesRetrieveContinuousBackupInformationOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BackupInformation
}

type IncludedPath

type IncludedPath struct {
	Indexes *[]Indexes `json:"indexes,omitempty"`
	Path    *string    `json:"path,omitempty"`
}

type IndexKind

type IndexKind string
const (
	IndexKindHash    IndexKind = "Hash"
	IndexKindRange   IndexKind = "Range"
	IndexKindSpatial IndexKind = "Spatial"
)

func (*IndexKind) UnmarshalJSON added in v0.20240306.1111727

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

type Indexes

type Indexes struct {
	DataType  *DataType  `json:"dataType,omitempty"`
	Kind      *IndexKind `json:"kind,omitempty"`
	Precision *int64     `json:"precision,omitempty"`
}

type IndexingMode

type IndexingMode string
const (
	IndexingModeConsistent IndexingMode = "consistent"
	IndexingModeLazy       IndexingMode = "lazy"
	IndexingModeNone       IndexingMode = "none"
)

func (*IndexingMode) UnmarshalJSON added in v0.20240306.1111727

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

type IndexingPolicy

type IndexingPolicy struct {
	Automatic        *bool              `json:"automatic,omitempty"`
	CompositeIndexes *[][]CompositePath `json:"compositeIndexes,omitempty"`
	ExcludedPaths    *[]ExcludedPath    `json:"excludedPaths,omitempty"`
	IncludedPaths    *[]IncludedPath    `json:"includedPaths,omitempty"`
	IndexingMode     *IndexingMode      `json:"indexingMode,omitempty"`
	SpatialIndexes   *[]SpatialSpec     `json:"spatialIndexes,omitempty"`
}

type LocationId

type LocationId struct {
	SubscriptionId string
	LocationName   string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, locationName string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

func ParseLocationIDInsensitively(input string) (*LocationId, error)

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

func (*LocationId) FromParseResult

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

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Location ID

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

type MongoDBResourcesRetrieveContinuousBackupInformationOperationResponse

type MongoDBResourcesRetrieveContinuousBackupInformationOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BackupInformation
}

type MongodbDatabaseCollectionId

type MongodbDatabaseCollectionId struct {
	SubscriptionId      string
	ResourceGroupName   string
	DatabaseAccountName string
	MongodbDatabaseName string
	CollectionName      string
}

MongodbDatabaseCollectionId is a struct representing the Resource ID for a Mongodb Database Collection

func NewMongodbDatabaseCollectionID

func NewMongodbDatabaseCollectionID(subscriptionId string, resourceGroupName string, databaseAccountName string, mongodbDatabaseName string, collectionName string) MongodbDatabaseCollectionId

NewMongodbDatabaseCollectionID returns a new MongodbDatabaseCollectionId struct

func ParseMongodbDatabaseCollectionID

func ParseMongodbDatabaseCollectionID(input string) (*MongodbDatabaseCollectionId, error)

ParseMongodbDatabaseCollectionID parses 'input' into a MongodbDatabaseCollectionId

func ParseMongodbDatabaseCollectionIDInsensitively

func ParseMongodbDatabaseCollectionIDInsensitively(input string) (*MongodbDatabaseCollectionId, error)

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

func (*MongodbDatabaseCollectionId) FromParseResult

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

func (MongodbDatabaseCollectionId) ID

ID returns the formatted Mongodb Database Collection ID

func (MongodbDatabaseCollectionId) Segments

Segments returns a slice of Resource ID Segments which comprise this Mongodb Database Collection ID

func (MongodbDatabaseCollectionId) String

func (id MongodbDatabaseCollectionId) String() string

String returns a human-readable description of this Mongodb Database Collection ID

type OperationType

type OperationType string
const (
	OperationTypeCreate          OperationType = "Create"
	OperationTypeDelete          OperationType = "Delete"
	OperationTypeRecreate        OperationType = "Recreate"
	OperationTypeReplace         OperationType = "Replace"
	OperationTypeSystemOperation OperationType = "SystemOperation"
)

func (*OperationType) UnmarshalJSON added in v0.20240306.1111727

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

type PartitionKind

type PartitionKind string
const (
	PartitionKindHash      PartitionKind = "Hash"
	PartitionKindMultiHash PartitionKind = "MultiHash"
	PartitionKindRange     PartitionKind = "Range"
)

func (*PartitionKind) UnmarshalJSON added in v0.20240306.1111727

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

type RestorableDatabaseAccountGetResult

type RestorableDatabaseAccountGetResult struct {
	Id         *string                              `json:"id,omitempty"`
	Location   *string                              `json:"location,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *RestorableDatabaseAccountProperties `json:"properties,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

type RestorableDatabaseAccountId

type RestorableDatabaseAccountId struct {
	SubscriptionId string
	LocationName   string
	InstanceId     string
}

RestorableDatabaseAccountId is a struct representing the Resource ID for a Restorable Database Account

func NewRestorableDatabaseAccountID

func NewRestorableDatabaseAccountID(subscriptionId string, locationName string, instanceId string) RestorableDatabaseAccountId

NewRestorableDatabaseAccountID returns a new RestorableDatabaseAccountId struct

func ParseRestorableDatabaseAccountID

func ParseRestorableDatabaseAccountID(input string) (*RestorableDatabaseAccountId, error)

ParseRestorableDatabaseAccountID parses 'input' into a RestorableDatabaseAccountId

func ParseRestorableDatabaseAccountIDInsensitively

func ParseRestorableDatabaseAccountIDInsensitively(input string) (*RestorableDatabaseAccountId, error)

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

func (*RestorableDatabaseAccountId) FromParseResult

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

func (RestorableDatabaseAccountId) ID

ID returns the formatted Restorable Database Account ID

func (RestorableDatabaseAccountId) Segments

Segments returns a slice of Resource ID Segments which comprise this Restorable Database Account ID

func (RestorableDatabaseAccountId) String

func (id RestorableDatabaseAccountId) String() string

String returns a human-readable description of this Restorable Database Account ID

type RestorableDatabaseAccountProperties

type RestorableDatabaseAccountProperties struct {
	AccountName          *string                       `json:"accountName,omitempty"`
	ApiType              *ApiType                      `json:"apiType,omitempty"`
	CreationTime         *string                       `json:"creationTime,omitempty"`
	DeletionTime         *string                       `json:"deletionTime,omitempty"`
	OldestRestorableTime *string                       `json:"oldestRestorableTime,omitempty"`
	RestorableLocations  *[]RestorableLocationResource `json:"restorableLocations,omitempty"`
}

func (*RestorableDatabaseAccountProperties) GetCreationTimeAsTime

func (o *RestorableDatabaseAccountProperties) GetCreationTimeAsTime() (*time.Time, error)

func (*RestorableDatabaseAccountProperties) GetDeletionTimeAsTime

func (o *RestorableDatabaseAccountProperties) GetDeletionTimeAsTime() (*time.Time, error)

func (*RestorableDatabaseAccountProperties) GetOldestRestorableTimeAsTime

func (o *RestorableDatabaseAccountProperties) GetOldestRestorableTimeAsTime() (*time.Time, error)

func (*RestorableDatabaseAccountProperties) SetCreationTimeAsTime

func (o *RestorableDatabaseAccountProperties) SetCreationTimeAsTime(input time.Time)

func (*RestorableDatabaseAccountProperties) SetDeletionTimeAsTime

func (o *RestorableDatabaseAccountProperties) SetDeletionTimeAsTime(input time.Time)

func (*RestorableDatabaseAccountProperties) SetOldestRestorableTimeAsTime

func (o *RestorableDatabaseAccountProperties) SetOldestRestorableTimeAsTime(input time.Time)

type RestorableDatabaseAccountsGetByLocationOperationResponse

type RestorableDatabaseAccountsGetByLocationOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RestorableDatabaseAccountGetResult
}

type RestorableDatabaseAccountsListByLocationOperationResponse

type RestorableDatabaseAccountsListByLocationOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RestorableDatabaseAccountsListResult
}

type RestorableDatabaseAccountsListOperationResponse

type RestorableDatabaseAccountsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RestorableDatabaseAccountsListResult
}

type RestorableDatabaseAccountsListResult

type RestorableDatabaseAccountsListResult struct {
	Value *[]RestorableDatabaseAccountGetResult `json:"value,omitempty"`
}

type RestorableGremlinDatabaseGetResult

type RestorableGremlinDatabaseGetResult struct {
	Id         *string                              `json:"id,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *RestorableGremlinDatabaseProperties `json:"properties,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

type RestorableGremlinDatabaseProperties

type RestorableGremlinDatabaseProperties struct {
	Resource *RestorableGremlinDatabasePropertiesResource `json:"resource,omitempty"`
}

type RestorableGremlinDatabasePropertiesResource

type RestorableGremlinDatabasePropertiesResource struct {
	CanUndelete       *string        `json:"canUndelete,omitempty"`
	CanUndeleteReason *string        `json:"canUndeleteReason,omitempty"`
	EventTimestamp    *string        `json:"eventTimestamp,omitempty"`
	OperationType     *OperationType `json:"operationType,omitempty"`
	OwnerId           *string        `json:"ownerId,omitempty"`
	OwnerResourceId   *string        `json:"ownerResourceId,omitempty"`
	Rid               *string        `json:"_rid,omitempty"`
}

type RestorableGremlinDatabasesListOperationResponse

type RestorableGremlinDatabasesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RestorableGremlinDatabasesListResult
}

type RestorableGremlinDatabasesListResult

type RestorableGremlinDatabasesListResult struct {
	Value *[]RestorableGremlinDatabaseGetResult `json:"value,omitempty"`
}

type RestorableGremlinGraphGetResult

type RestorableGremlinGraphGetResult struct {
	Id         *string                           `json:"id,omitempty"`
	Name       *string                           `json:"name,omitempty"`
	Properties *RestorableGremlinGraphProperties `json:"properties,omitempty"`
	Type       *string                           `json:"type,omitempty"`
}

type RestorableGremlinGraphProperties

type RestorableGremlinGraphProperties struct {
	Resource *RestorableGremlinGraphPropertiesResource `json:"resource,omitempty"`
}

type RestorableGremlinGraphPropertiesResource

type RestorableGremlinGraphPropertiesResource struct {
	CanUndelete       *string        `json:"canUndelete,omitempty"`
	CanUndeleteReason *string        `json:"canUndeleteReason,omitempty"`
	EventTimestamp    *string        `json:"eventTimestamp,omitempty"`
	OperationType     *OperationType `json:"operationType,omitempty"`
	OwnerId           *string        `json:"ownerId,omitempty"`
	OwnerResourceId   *string        `json:"ownerResourceId,omitempty"`
	Rid               *string        `json:"_rid,omitempty"`
}

type RestorableGremlinGraphsListOperationOptions

type RestorableGremlinGraphsListOperationOptions struct {
	EndTime                      *string
	RestorableGremlinDatabaseRid *string
	StartTime                    *string
}

func DefaultRestorableGremlinGraphsListOperationOptions

func DefaultRestorableGremlinGraphsListOperationOptions() RestorableGremlinGraphsListOperationOptions

func (RestorableGremlinGraphsListOperationOptions) ToHeaders added in v0.20240306.1111727

func (RestorableGremlinGraphsListOperationOptions) ToOData added in v0.20240306.1111727

func (RestorableGremlinGraphsListOperationOptions) ToQuery added in v0.20240306.1111727

type RestorableGremlinGraphsListOperationResponse

type RestorableGremlinGraphsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RestorableGremlinGraphsListResult
}

type RestorableGremlinGraphsListResult

type RestorableGremlinGraphsListResult struct {
	Value *[]RestorableGremlinGraphGetResult `json:"value,omitempty"`
}

type RestorableGremlinResourcesGetResult

type RestorableGremlinResourcesGetResult struct {
	DatabaseName *string   `json:"databaseName,omitempty"`
	GraphNames   *[]string `json:"graphNames,omitempty"`
	Id           *string   `json:"id,omitempty"`
	Name         *string   `json:"name,omitempty"`
	Type         *string   `json:"type,omitempty"`
}

type RestorableGremlinResourcesListOperationOptions

type RestorableGremlinResourcesListOperationOptions struct {
	RestoreLocation       *string
	RestoreTimestampInUtc *string
}

func DefaultRestorableGremlinResourcesListOperationOptions

func DefaultRestorableGremlinResourcesListOperationOptions() RestorableGremlinResourcesListOperationOptions

func (RestorableGremlinResourcesListOperationOptions) ToHeaders added in v0.20240306.1111727

func (RestorableGremlinResourcesListOperationOptions) ToOData added in v0.20240306.1111727

func (RestorableGremlinResourcesListOperationOptions) ToQuery added in v0.20240306.1111727

type RestorableGremlinResourcesListOperationResponse

type RestorableGremlinResourcesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RestorableGremlinResourcesListResult
}

type RestorableGremlinResourcesListResult

type RestorableGremlinResourcesListResult struct {
	Value *[]RestorableGremlinResourcesGetResult `json:"value,omitempty"`
}

type RestorableLocationResource

type RestorableLocationResource struct {
	CreationTime                      *string `json:"creationTime,omitempty"`
	DeletionTime                      *string `json:"deletionTime,omitempty"`
	LocationName                      *string `json:"locationName,omitempty"`
	RegionalDatabaseAccountInstanceId *string `json:"regionalDatabaseAccountInstanceId,omitempty"`
}

func (*RestorableLocationResource) GetCreationTimeAsTime

func (o *RestorableLocationResource) GetCreationTimeAsTime() (*time.Time, error)

func (*RestorableLocationResource) GetDeletionTimeAsTime

func (o *RestorableLocationResource) GetDeletionTimeAsTime() (*time.Time, error)

func (*RestorableLocationResource) SetCreationTimeAsTime

func (o *RestorableLocationResource) SetCreationTimeAsTime(input time.Time)

func (*RestorableLocationResource) SetDeletionTimeAsTime

func (o *RestorableLocationResource) SetDeletionTimeAsTime(input time.Time)

type RestorableMongodbCollectionGetResult

type RestorableMongodbCollectionGetResult struct {
	Id         *string                                `json:"id,omitempty"`
	Name       *string                                `json:"name,omitempty"`
	Properties *RestorableMongodbCollectionProperties `json:"properties,omitempty"`
	Type       *string                                `json:"type,omitempty"`
}

type RestorableMongodbCollectionProperties

type RestorableMongodbCollectionProperties struct {
	Resource *RestorableMongodbCollectionPropertiesResource `json:"resource,omitempty"`
}

type RestorableMongodbCollectionPropertiesResource

type RestorableMongodbCollectionPropertiesResource struct {
	CanUndelete       *string        `json:"canUndelete,omitempty"`
	CanUndeleteReason *string        `json:"canUndeleteReason,omitempty"`
	EventTimestamp    *string        `json:"eventTimestamp,omitempty"`
	OperationType     *OperationType `json:"operationType,omitempty"`
	OwnerId           *string        `json:"ownerId,omitempty"`
	OwnerResourceId   *string        `json:"ownerResourceId,omitempty"`
	Rid               *string        `json:"_rid,omitempty"`
}

type RestorableMongodbCollectionsListOperationOptions

type RestorableMongodbCollectionsListOperationOptions struct {
	EndTime                      *string
	RestorableMongodbDatabaseRid *string
	StartTime                    *string
}

func DefaultRestorableMongodbCollectionsListOperationOptions

func DefaultRestorableMongodbCollectionsListOperationOptions() RestorableMongodbCollectionsListOperationOptions

func (RestorableMongodbCollectionsListOperationOptions) ToHeaders added in v0.20240306.1111727

func (RestorableMongodbCollectionsListOperationOptions) ToOData added in v0.20240306.1111727

func (RestorableMongodbCollectionsListOperationOptions) ToQuery added in v0.20240306.1111727

type RestorableMongodbCollectionsListOperationResponse

type RestorableMongodbCollectionsListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RestorableMongodbCollectionsListResult
}

type RestorableMongodbCollectionsListResult

type RestorableMongodbCollectionsListResult struct {
	Value *[]RestorableMongodbCollectionGetResult `json:"value,omitempty"`
}

type RestorableMongodbDatabaseGetResult

type RestorableMongodbDatabaseGetResult struct {
	Id         *string                              `json:"id,omitempty"`
	Name       *string                              `json:"name,omitempty"`
	Properties *RestorableMongodbDatabaseProperties `json:"properties,omitempty"`
	Type       *string                              `json:"type,omitempty"`
}

type RestorableMongodbDatabaseProperties

type RestorableMongodbDatabaseProperties struct {
	Resource *RestorableMongodbDatabasePropertiesResource `json:"resource,omitempty"`
}

type RestorableMongodbDatabasePropertiesResource

type RestorableMongodbDatabasePropertiesResource struct {
	CanUndelete       *string        `json:"canUndelete,omitempty"`
	CanUndeleteReason *string        `json:"canUndeleteReason,omitempty"`
	EventTimestamp    *string        `json:"eventTimestamp,omitempty"`
	OperationType     *OperationType `json:"operationType,omitempty"`
	OwnerId           *string        `json:"ownerId,omitempty"`
	OwnerResourceId   *string        `json:"ownerResourceId,omitempty"`
	Rid               *string        `json:"_rid,omitempty"`
}

type RestorableMongodbDatabasesListOperationResponse

type RestorableMongodbDatabasesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RestorableMongodbDatabasesListResult
}

type RestorableMongodbDatabasesListResult

type RestorableMongodbDatabasesListResult struct {
	Value *[]RestorableMongodbDatabaseGetResult `json:"value,omitempty"`
}

type RestorableMongodbResourcesGetResult

type RestorableMongodbResourcesGetResult struct {
	CollectionNames *[]string `json:"collectionNames,omitempty"`
	DatabaseName    *string   `json:"databaseName,omitempty"`
	Id              *string   `json:"id,omitempty"`
	Name            *string   `json:"name,omitempty"`
	Type            *string   `json:"type,omitempty"`
}

type RestorableMongodbResourcesListOperationOptions

type RestorableMongodbResourcesListOperationOptions struct {
	RestoreLocation       *string
	RestoreTimestampInUtc *string
}

func DefaultRestorableMongodbResourcesListOperationOptions

func DefaultRestorableMongodbResourcesListOperationOptions() RestorableMongodbResourcesListOperationOptions

func (RestorableMongodbResourcesListOperationOptions) ToHeaders added in v0.20240306.1111727

func (RestorableMongodbResourcesListOperationOptions) ToOData added in v0.20240306.1111727

func (RestorableMongodbResourcesListOperationOptions) ToQuery added in v0.20240306.1111727

type RestorableMongodbResourcesListOperationResponse

type RestorableMongodbResourcesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RestorableMongodbResourcesListResult
}

type RestorableMongodbResourcesListResult

type RestorableMongodbResourcesListResult struct {
	Value *[]RestorableMongodbResourcesGetResult `json:"value,omitempty"`
}

type RestorableSqlContainerGetResult

type RestorableSqlContainerGetResult struct {
	Id         *string                           `json:"id,omitempty"`
	Name       *string                           `json:"name,omitempty"`
	Properties *RestorableSqlContainerProperties `json:"properties,omitempty"`
	Type       *string                           `json:"type,omitempty"`
}

type RestorableSqlContainerProperties

type RestorableSqlContainerProperties struct {
	Resource *RestorableSqlContainerPropertiesResource `json:"resource,omitempty"`
}

type RestorableSqlContainerPropertiesResource

type RestorableSqlContainerPropertiesResource struct {
	CanUndelete       *string                                            `json:"canUndelete,omitempty"`
	CanUndeleteReason *string                                            `json:"canUndeleteReason,omitempty"`
	Container         *RestorableSqlContainerPropertiesResourceContainer `json:"container,omitempty"`
	EventTimestamp    *string                                            `json:"eventTimestamp,omitempty"`
	OperationType     *OperationType                                     `json:"operationType,omitempty"`
	OwnerId           *string                                            `json:"ownerId,omitempty"`
	OwnerResourceId   *string                                            `json:"ownerResourceId,omitempty"`
	Rid               *string                                            `json:"_rid,omitempty"`
}

type RestorableSqlContainerPropertiesResourceContainer

type RestorableSqlContainerPropertiesResourceContainer struct {
	AnalyticalStorageTtl     *int64                    `json:"analyticalStorageTtl,omitempty"`
	ClientEncryptionPolicy   *ClientEncryptionPolicy   `json:"clientEncryptionPolicy,omitempty"`
	ComputedProperties       *[]ComputedProperty       `json:"computedProperties,omitempty"`
	ConflictResolutionPolicy *ConflictResolutionPolicy `json:"conflictResolutionPolicy,omitempty"`
	CreateMode               *CreateMode               `json:"createMode,omitempty"`
	DefaultTtl               *int64                    `json:"defaultTtl,omitempty"`
	Etag                     *string                   `json:"_etag,omitempty"`
	Id                       *string                   `json:"id,omitempty"`
	IndexingPolicy           *IndexingPolicy           `json:"indexingPolicy,omitempty"`
	PartitionKey             *ContainerPartitionKey    `json:"partitionKey,omitempty"`
	RestoreParameters        *RestoreParametersBase    `json:"restoreParameters,omitempty"`
	Rid                      *string                   `json:"_rid,omitempty"`
	Self                     *string                   `json:"_self,omitempty"`
	Ts                       *float64                  `json:"_ts,omitempty"`
	UniqueKeyPolicy          *UniqueKeyPolicy          `json:"uniqueKeyPolicy,omitempty"`
}

type RestorableSqlContainersListOperationOptions

type RestorableSqlContainersListOperationOptions struct {
	EndTime                  *string
	RestorableSqlDatabaseRid *string
	StartTime                *string
}

func DefaultRestorableSqlContainersListOperationOptions

func DefaultRestorableSqlContainersListOperationOptions() RestorableSqlContainersListOperationOptions

func (RestorableSqlContainersListOperationOptions) ToHeaders added in v0.20240306.1111727

func (RestorableSqlContainersListOperationOptions) ToOData added in v0.20240306.1111727

func (RestorableSqlContainersListOperationOptions) ToQuery added in v0.20240306.1111727

type RestorableSqlContainersListOperationResponse

type RestorableSqlContainersListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RestorableSqlContainersListResult
}

type RestorableSqlContainersListResult

type RestorableSqlContainersListResult struct {
	Value *[]RestorableSqlContainerGetResult `json:"value,omitempty"`
}

type RestorableSqlDatabaseGetResult

type RestorableSqlDatabaseGetResult struct {
	Id         *string                          `json:"id,omitempty"`
	Name       *string                          `json:"name,omitempty"`
	Properties *RestorableSqlDatabaseProperties `json:"properties,omitempty"`
	Type       *string                          `json:"type,omitempty"`
}

type RestorableSqlDatabaseProperties

type RestorableSqlDatabaseProperties struct {
	Resource *RestorableSqlDatabasePropertiesResource `json:"resource,omitempty"`
}

type RestorableSqlDatabasePropertiesResource

type RestorableSqlDatabasePropertiesResource struct {
	CanUndelete       *string                                          `json:"canUndelete,omitempty"`
	CanUndeleteReason *string                                          `json:"canUndeleteReason,omitempty"`
	Database          *RestorableSqlDatabasePropertiesResourceDatabase `json:"database,omitempty"`
	EventTimestamp    *string                                          `json:"eventTimestamp,omitempty"`
	OperationType     *OperationType                                   `json:"operationType,omitempty"`
	OwnerId           *string                                          `json:"ownerId,omitempty"`
	OwnerResourceId   *string                                          `json:"ownerResourceId,omitempty"`
	Rid               *string                                          `json:"_rid,omitempty"`
}

type RestorableSqlDatabasePropertiesResourceDatabase

type RestorableSqlDatabasePropertiesResourceDatabase struct {
	Colls             *string                `json:"_colls,omitempty"`
	CreateMode        *CreateMode            `json:"createMode,omitempty"`
	Etag              *string                `json:"_etag,omitempty"`
	Id                *string                `json:"id,omitempty"`
	RestoreParameters *RestoreParametersBase `json:"restoreParameters,omitempty"`
	Rid               *string                `json:"_rid,omitempty"`
	Self              *string                `json:"_self,omitempty"`
	Ts                *float64               `json:"_ts,omitempty"`
	Users             *string                `json:"_users,omitempty"`
}

type RestorableSqlDatabasesListOperationResponse

type RestorableSqlDatabasesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RestorableSqlDatabasesListResult
}

type RestorableSqlDatabasesListResult

type RestorableSqlDatabasesListResult struct {
	Value *[]RestorableSqlDatabaseGetResult `json:"value,omitempty"`
}

type RestorableSqlResourcesGetResult

type RestorableSqlResourcesGetResult struct {
	CollectionNames *[]string `json:"collectionNames,omitempty"`
	DatabaseName    *string   `json:"databaseName,omitempty"`
	Id              *string   `json:"id,omitempty"`
	Name            *string   `json:"name,omitempty"`
	Type            *string   `json:"type,omitempty"`
}

type RestorableSqlResourcesListOperationOptions

type RestorableSqlResourcesListOperationOptions struct {
	RestoreLocation       *string
	RestoreTimestampInUtc *string
}

func DefaultRestorableSqlResourcesListOperationOptions

func DefaultRestorableSqlResourcesListOperationOptions() RestorableSqlResourcesListOperationOptions

func (RestorableSqlResourcesListOperationOptions) ToHeaders added in v0.20240306.1111727

func (RestorableSqlResourcesListOperationOptions) ToOData added in v0.20240306.1111727

func (RestorableSqlResourcesListOperationOptions) ToQuery added in v0.20240306.1111727

type RestorableSqlResourcesListOperationResponse

type RestorableSqlResourcesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RestorableSqlResourcesListResult
}

type RestorableSqlResourcesListResult

type RestorableSqlResourcesListResult struct {
	Value *[]RestorableSqlResourcesGetResult `json:"value,omitempty"`
}

type RestorableTableGetResult

type RestorableTableGetResult struct {
	Id         *string                    `json:"id,omitempty"`
	Name       *string                    `json:"name,omitempty"`
	Properties *RestorableTableProperties `json:"properties,omitempty"`
	Type       *string                    `json:"type,omitempty"`
}

type RestorableTableProperties

type RestorableTableProperties struct {
	Resource *RestorableTablePropertiesResource `json:"resource,omitempty"`
}

type RestorableTablePropertiesResource

type RestorableTablePropertiesResource struct {
	CanUndelete       *string        `json:"canUndelete,omitempty"`
	CanUndeleteReason *string        `json:"canUndeleteReason,omitempty"`
	EventTimestamp    *string        `json:"eventTimestamp,omitempty"`
	OperationType     *OperationType `json:"operationType,omitempty"`
	OwnerId           *string        `json:"ownerId,omitempty"`
	OwnerResourceId   *string        `json:"ownerResourceId,omitempty"`
	Rid               *string        `json:"_rid,omitempty"`
}

type RestorableTableResourcesGetResult

type RestorableTableResourcesGetResult struct {
	Id   *string `json:"id,omitempty"`
	Name *string `json:"name,omitempty"`
	Type *string `json:"type,omitempty"`
}

type RestorableTableResourcesListOperationOptions

type RestorableTableResourcesListOperationOptions struct {
	RestoreLocation       *string
	RestoreTimestampInUtc *string
}

func DefaultRestorableTableResourcesListOperationOptions

func DefaultRestorableTableResourcesListOperationOptions() RestorableTableResourcesListOperationOptions

func (RestorableTableResourcesListOperationOptions) ToHeaders added in v0.20240306.1111727

func (RestorableTableResourcesListOperationOptions) ToOData added in v0.20240306.1111727

func (RestorableTableResourcesListOperationOptions) ToQuery added in v0.20240306.1111727

type RestorableTableResourcesListOperationResponse

type RestorableTableResourcesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RestorableTableResourcesListResult
}

type RestorableTableResourcesListResult

type RestorableTableResourcesListResult struct {
	Value *[]RestorableTableResourcesGetResult `json:"value,omitempty"`
}

type RestorableTablesListOperationOptions

type RestorableTablesListOperationOptions struct {
	EndTime   *string
	StartTime *string
}

func DefaultRestorableTablesListOperationOptions

func DefaultRestorableTablesListOperationOptions() RestorableTablesListOperationOptions

func (RestorableTablesListOperationOptions) ToHeaders added in v0.20240306.1111727

func (RestorableTablesListOperationOptions) ToOData added in v0.20240306.1111727

func (RestorableTablesListOperationOptions) ToQuery added in v0.20240306.1111727

type RestorableTablesListOperationResponse

type RestorableTablesListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *RestorableTablesListResult
}

type RestorableTablesListResult

type RestorableTablesListResult struct {
	Value *[]RestorableTableGetResult `json:"value,omitempty"`
}

type RestorablesClient

type RestorablesClient struct {
	Client *resourcemanager.Client
}

func NewRestorablesClientWithBaseURI

func NewRestorablesClientWithBaseURI(sdkApi sdkEnv.Api) (*RestorablesClient, error)

func (RestorablesClient) GremlinResourcesRetrieveContinuousBackupInformation

func (c RestorablesClient) GremlinResourcesRetrieveContinuousBackupInformation(ctx context.Context, id GraphId, input ContinuousBackupRestoreLocation) (result GremlinResourcesRetrieveContinuousBackupInformationOperationResponse, err error)

GremlinResourcesRetrieveContinuousBackupInformation ...

func (RestorablesClient) GremlinResourcesRetrieveContinuousBackupInformationThenPoll

func (c RestorablesClient) GremlinResourcesRetrieveContinuousBackupInformationThenPoll(ctx context.Context, id GraphId, input ContinuousBackupRestoreLocation) error

GremlinResourcesRetrieveContinuousBackupInformationThenPoll performs GremlinResourcesRetrieveContinuousBackupInformation then polls until it's completed

func (RestorablesClient) MongoDBResourcesRetrieveContinuousBackupInformation

MongoDBResourcesRetrieveContinuousBackupInformation ...

func (RestorablesClient) MongoDBResourcesRetrieveContinuousBackupInformationThenPoll

func (c RestorablesClient) MongoDBResourcesRetrieveContinuousBackupInformationThenPoll(ctx context.Context, id MongodbDatabaseCollectionId, input ContinuousBackupRestoreLocation) error

MongoDBResourcesRetrieveContinuousBackupInformationThenPoll performs MongoDBResourcesRetrieveContinuousBackupInformation then polls until it's completed

func (RestorablesClient) RestorableDatabaseAccountsGetByLocation

RestorableDatabaseAccountsGetByLocation ...

func (RestorablesClient) RestorableDatabaseAccountsList

func (c RestorablesClient) RestorableDatabaseAccountsList(ctx context.Context, id commonids.SubscriptionId) (result RestorableDatabaseAccountsListOperationResponse, err error)

RestorableDatabaseAccountsList ...

func (RestorablesClient) RestorableDatabaseAccountsListByLocation

func (c RestorablesClient) RestorableDatabaseAccountsListByLocation(ctx context.Context, id LocationId) (result RestorableDatabaseAccountsListByLocationOperationResponse, err error)

RestorableDatabaseAccountsListByLocation ...

func (RestorablesClient) RestorableGremlinDatabasesList

RestorableGremlinDatabasesList ...

func (RestorablesClient) RestorableGremlinGraphsList

RestorableGremlinGraphsList ...

func (RestorablesClient) RestorableGremlinResourcesList

RestorableGremlinResourcesList ...

func (RestorablesClient) RestorableMongodbCollectionsList

RestorableMongodbCollectionsList ...

func (RestorablesClient) RestorableMongodbDatabasesList

RestorableMongodbDatabasesList ...

func (RestorablesClient) RestorableMongodbResourcesList

RestorableMongodbResourcesList ...

func (RestorablesClient) RestorableSqlContainersList

RestorableSqlContainersList ...

func (RestorablesClient) RestorableSqlDatabasesList

RestorableSqlDatabasesList ...

func (RestorablesClient) RestorableSqlResourcesList

RestorableSqlResourcesList ...

func (RestorablesClient) RestorableTableResourcesList

RestorableTableResourcesList ...

func (RestorablesClient) RestorableTablesList

RestorableTablesList ...

func (RestorablesClient) SqlResourcesRetrieveContinuousBackupInformation

func (c RestorablesClient) SqlResourcesRetrieveContinuousBackupInformation(ctx context.Context, id ContainerId, input ContinuousBackupRestoreLocation) (result SqlResourcesRetrieveContinuousBackupInformationOperationResponse, err error)

SqlResourcesRetrieveContinuousBackupInformation ...

func (RestorablesClient) SqlResourcesRetrieveContinuousBackupInformationThenPoll

func (c RestorablesClient) SqlResourcesRetrieveContinuousBackupInformationThenPoll(ctx context.Context, id ContainerId, input ContinuousBackupRestoreLocation) error

SqlResourcesRetrieveContinuousBackupInformationThenPoll performs SqlResourcesRetrieveContinuousBackupInformation then polls until it's completed

func (RestorablesClient) TableResourcesRetrieveContinuousBackupInformation

func (c RestorablesClient) TableResourcesRetrieveContinuousBackupInformation(ctx context.Context, id TableId, input ContinuousBackupRestoreLocation) (result TableResourcesRetrieveContinuousBackupInformationOperationResponse, err error)

TableResourcesRetrieveContinuousBackupInformation ...

func (RestorablesClient) TableResourcesRetrieveContinuousBackupInformationThenPoll

func (c RestorablesClient) TableResourcesRetrieveContinuousBackupInformationThenPoll(ctx context.Context, id TableId, input ContinuousBackupRestoreLocation) error

TableResourcesRetrieveContinuousBackupInformationThenPoll performs TableResourcesRetrieveContinuousBackupInformation then polls until it's completed

type RestoreParametersBase

type RestoreParametersBase struct {
	RestoreSource         *string `json:"restoreSource,omitempty"`
	RestoreTimestampInUtc *string `json:"restoreTimestampInUtc,omitempty"`
}

func (*RestoreParametersBase) GetRestoreTimestampInUtcAsTime

func (o *RestoreParametersBase) GetRestoreTimestampInUtcAsTime() (*time.Time, error)

func (*RestoreParametersBase) SetRestoreTimestampInUtcAsTime

func (o *RestoreParametersBase) SetRestoreTimestampInUtcAsTime(input time.Time)

type SpatialSpec

type SpatialSpec struct {
	Path  *string        `json:"path,omitempty"`
	Types *[]SpatialType `json:"types,omitempty"`
}

type SpatialType

type SpatialType string
const (
	SpatialTypeLineString   SpatialType = "LineString"
	SpatialTypeMultiPolygon SpatialType = "MultiPolygon"
	SpatialTypePoint        SpatialType = "Point"
	SpatialTypePolygon      SpatialType = "Polygon"
)

func (*SpatialType) UnmarshalJSON added in v0.20240306.1111727

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

type SqlResourcesRetrieveContinuousBackupInformationOperationResponse

type SqlResourcesRetrieveContinuousBackupInformationOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BackupInformation
}

type TableId

type TableId struct {
	SubscriptionId      string
	ResourceGroupName   string
	DatabaseAccountName string
	TableName           string
}

TableId is a struct representing the Resource ID for a Table

func NewTableID

func NewTableID(subscriptionId string, resourceGroupName string, databaseAccountName string, tableName string) TableId

NewTableID returns a new TableId struct

func ParseTableID

func ParseTableID(input string) (*TableId, error)

ParseTableID parses 'input' into a TableId

func ParseTableIDInsensitively

func ParseTableIDInsensitively(input string) (*TableId, error)

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

func (*TableId) FromParseResult

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

func (TableId) ID

func (id TableId) ID() string

ID returns the formatted Table ID

func (TableId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Table ID

func (TableId) String

func (id TableId) String() string

String returns a human-readable description of this Table ID

type TableResourcesRetrieveContinuousBackupInformationOperationResponse

type TableResourcesRetrieveContinuousBackupInformationOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *BackupInformation
}

type UniqueKey

type UniqueKey struct {
	Paths *[]string `json:"paths,omitempty"`
}

type UniqueKeyPolicy

type UniqueKeyPolicy struct {
	UniqueKeys *[]UniqueKey `json:"uniqueKeys,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

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