restorables

package
v0.20230324.1144947 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MPL-2.0 Imports: 11 Imported by: 1

README

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

The restorables SDK allows for interaction with the Azure Resource Manager Service cosmosdb (API Version 2022-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-sdk/resource-manager/cosmosdb/2022-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.NewCollectionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "databaseAccountValue", "databaseValue", "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 := restorables.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 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 ValidateCollectionID

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

ValidateCollectionID checks that 'input' can be parsed as a Collection ID

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 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"
)

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 CollectionId

type CollectionId struct {
	SubscriptionId      string
	ResourceGroupName   string
	DatabaseAccountName string
	DatabaseName        string
	CollectionName      string
}

CollectionId is a struct representing the Resource ID for a Collection

func NewCollectionID

func NewCollectionID(subscriptionId string, resourceGroupName string, databaseAccountName string, databaseName string, collectionName string) CollectionId

NewCollectionID returns a new CollectionId struct

func ParseCollectionID

func ParseCollectionID(input string) (*CollectionId, error)

ParseCollectionID parses 'input' into a CollectionId

func ParseCollectionIDInsensitively

func ParseCollectionIDInsensitively(input string) (*CollectionId, error)

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

func (CollectionId) ID

func (id CollectionId) ID() string

ID returns the formatted Collection ID

func (CollectionId) Segments

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

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

func (CollectionId) String

func (id CollectionId) String() string

String returns a human-readable description of this Collection ID

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"
)

type ConflictResolutionMode

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

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) 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 DataType

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

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) 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       polling.LongRunningPoller
	HttpResponse *http.Response
}

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"
)

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"
)

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) 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       polling.LongRunningPoller
	HttpResponse *http.Response
}

type OperationType

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

type PartitionKind

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

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) 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"`
	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) SetCreationTimeAsTime

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

func (*RestorableDatabaseAccountProperties) SetDeletionTimeAsTime

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

type RestorableDatabaseAccountsGetByLocationOperationResponse

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

type RestorableDatabaseAccountsListByLocationOperationResponse

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

type RestorableDatabaseAccountsListOperationResponse

type RestorableDatabaseAccountsListOperationResponse struct {
	HttpResponse *http.Response
	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 {
	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
	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 {
	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

type RestorableGremlinGraphsListOperationResponse

type RestorableGremlinGraphsListOperationResponse struct {
	HttpResponse *http.Response
	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

type RestorableGremlinResourcesListOperationResponse

type RestorableGremlinResourcesListOperationResponse struct {
	HttpResponse *http.Response
	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 {
	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

type RestorableMongodbCollectionsListOperationResponse

type RestorableMongodbCollectionsListOperationResponse struct {
	HttpResponse *http.Response
	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 {
	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
	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

type RestorableMongodbResourcesListOperationResponse

type RestorableMongodbResourcesListOperationResponse struct {
	HttpResponse *http.Response
	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 {
	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"`
	ConflictResolutionPolicy *ConflictResolutionPolicy `json:"conflictResolutionPolicy,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"`
	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

type RestorableSqlContainersListOperationResponse

type RestorableSqlContainersListOperationResponse struct {
	HttpResponse *http.Response
	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 {
	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"`
	Etag  *string  `json:"_etag,omitempty"`
	Id    *string  `json:"id,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
	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

type RestorableSqlResourcesListOperationResponse

type RestorableSqlResourcesListOperationResponse struct {
	HttpResponse *http.Response
	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 {
	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

type RestorableTableResourcesListOperationResponse

type RestorableTableResourcesListOperationResponse struct {
	HttpResponse *http.Response
	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

type RestorableTablesListOperationResponse

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

type RestorableTablesListResult

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

type RestorablesClient

type RestorablesClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewRestorablesClientWithBaseURI

func NewRestorablesClientWithBaseURI(endpoint string) RestorablesClient

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

func (c RestorablesClient) MongoDBResourcesRetrieveContinuousBackupInformation(ctx context.Context, id CollectionId, input ContinuousBackupRestoreLocation) (result MongoDBResourcesRetrieveContinuousBackupInformationOperationResponse, err error)

MongoDBResourcesRetrieveContinuousBackupInformation ...

func (RestorablesClient) MongoDBResourcesRetrieveContinuousBackupInformationThenPoll

func (c RestorablesClient) MongoDBResourcesRetrieveContinuousBackupInformationThenPoll(ctx context.Context, id CollectionId, 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 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"
)

type SqlResourcesRetrieveContinuousBackupInformationOperationResponse

type SqlResourcesRetrieveContinuousBackupInformationOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

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) 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       polling.LongRunningPoller
	HttpResponse *http.Response
}

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