Documentation ¶
Index ¶
- func PossibleValuesForApiType() []string
- func PossibleValuesForCompositePathSortOrder() []string
- func PossibleValuesForConflictResolutionMode() []string
- func PossibleValuesForDataType() []string
- func PossibleValuesForIndexKind() []string
- func PossibleValuesForIndexingMode() []string
- func PossibleValuesForOperationType() []string
- func PossibleValuesForPartitionKind() []string
- func PossibleValuesForSpatialType() []string
- func ValidateCollectionID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateContainerID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRestorableDatabaseAccountID(input interface{}, key string) (warnings []string, errors []error)
- type ApiType
- type BackupInformation
- type CollectionId
- type CompositePath
- type CompositePathSortOrder
- type ConflictResolutionMode
- type ConflictResolutionPolicy
- type ContainerId
- type ContainerPartitionKey
- type ContinuousBackupInformation
- type ContinuousBackupRestoreLocation
- type DataType
- type DatabaseRestoreResource
- type ExcludedPath
- type IncludedPath
- type IndexKind
- type Indexes
- type IndexingMode
- type IndexingPolicy
- type LocationId
- type MongoDBResourcesRetrieveContinuousBackupInformationOperationResponse
- type OperationType
- type PartitionKind
- type RestorableDatabaseAccountGetResult
- type RestorableDatabaseAccountId
- func NewRestorableDatabaseAccountID(subscriptionId string, locationName string, instanceId string) RestorableDatabaseAccountId
- func ParseRestorableDatabaseAccountID(input string) (*RestorableDatabaseAccountId, error)
- func ParseRestorableDatabaseAccountIDInsensitively(input string) (*RestorableDatabaseAccountId, error)
- type RestorableDatabaseAccountProperties
- func (o *RestorableDatabaseAccountProperties) GetCreationTimeAsTime() (*time.Time, error)
- func (o *RestorableDatabaseAccountProperties) GetDeletionTimeAsTime() (*time.Time, error)
- func (o *RestorableDatabaseAccountProperties) SetCreationTimeAsTime(input time.Time)
- func (o *RestorableDatabaseAccountProperties) SetDeletionTimeAsTime(input time.Time)
- type RestorableDatabaseAccountsGetByLocationOperationResponse
- type RestorableDatabaseAccountsListByLocationOperationResponse
- type RestorableDatabaseAccountsListOperationResponse
- type RestorableDatabaseAccountsListResult
- type RestorableLocationResource
- func (o *RestorableLocationResource) GetCreationTimeAsTime() (*time.Time, error)
- func (o *RestorableLocationResource) GetDeletionTimeAsTime() (*time.Time, error)
- func (o *RestorableLocationResource) SetCreationTimeAsTime(input time.Time)
- func (o *RestorableLocationResource) SetDeletionTimeAsTime(input time.Time)
- type RestorableMongodbCollectionGetResult
- type RestorableMongodbCollectionProperties
- type RestorableMongodbCollectionPropertiesResource
- type RestorableMongodbCollectionsListOperationOptions
- type RestorableMongodbCollectionsListOperationResponse
- type RestorableMongodbCollectionsListResult
- type RestorableMongodbDatabaseGetResult
- type RestorableMongodbDatabaseProperties
- type RestorableMongodbDatabasePropertiesResource
- type RestorableMongodbDatabasesListOperationResponse
- type RestorableMongodbDatabasesListResult
- type RestorableMongodbResourcesListOperationOptions
- type RestorableMongodbResourcesListOperationResponse
- type RestorableMongodbResourcesListResult
- type RestorableSqlContainerGetResult
- type RestorableSqlContainerProperties
- type RestorableSqlContainerPropertiesResource
- type RestorableSqlContainerPropertiesResourceContainer
- type RestorableSqlContainersListOperationOptions
- type RestorableSqlContainersListOperationResponse
- type RestorableSqlContainersListResult
- type RestorableSqlDatabaseGetResult
- type RestorableSqlDatabaseProperties
- type RestorableSqlDatabasePropertiesResource
- type RestorableSqlDatabasePropertiesResourceDatabase
- type RestorableSqlDatabasesListOperationResponse
- type RestorableSqlDatabasesListResult
- type RestorableSqlResourcesListOperationOptions
- type RestorableSqlResourcesListOperationResponse
- type RestorableSqlResourcesListResult
- type RestorablesClient
- func (c RestorablesClient) MongoDBResourcesRetrieveContinuousBackupInformation(ctx context.Context, id CollectionId, input ContinuousBackupRestoreLocation) (result MongoDBResourcesRetrieveContinuousBackupInformationOperationResponse, ...)
- func (c RestorablesClient) MongoDBResourcesRetrieveContinuousBackupInformationThenPoll(ctx context.Context, id CollectionId, input ContinuousBackupRestoreLocation) error
- func (c RestorablesClient) RestorableDatabaseAccountsGetByLocation(ctx context.Context, id RestorableDatabaseAccountId) (result RestorableDatabaseAccountsGetByLocationOperationResponse, err error)
- func (c RestorablesClient) RestorableDatabaseAccountsList(ctx context.Context, id commonids.SubscriptionId) (result RestorableDatabaseAccountsListOperationResponse, err error)
- func (c RestorablesClient) RestorableDatabaseAccountsListByLocation(ctx context.Context, id LocationId) (result RestorableDatabaseAccountsListByLocationOperationResponse, err error)
- func (c RestorablesClient) RestorableMongodbCollectionsList(ctx context.Context, id RestorableDatabaseAccountId, ...) (result RestorableMongodbCollectionsListOperationResponse, err error)
- func (c RestorablesClient) RestorableMongodbDatabasesList(ctx context.Context, id RestorableDatabaseAccountId) (result RestorableMongodbDatabasesListOperationResponse, err error)
- func (c RestorablesClient) RestorableMongodbResourcesList(ctx context.Context, id RestorableDatabaseAccountId, ...) (result RestorableMongodbResourcesListOperationResponse, err error)
- func (c RestorablesClient) RestorableSqlContainersList(ctx context.Context, id RestorableDatabaseAccountId, ...) (result RestorableSqlContainersListOperationResponse, err error)
- func (c RestorablesClient) RestorableSqlDatabasesList(ctx context.Context, id RestorableDatabaseAccountId) (result RestorableSqlDatabasesListOperationResponse, err error)
- func (c RestorablesClient) RestorableSqlResourcesList(ctx context.Context, id RestorableDatabaseAccountId, ...) (result RestorableSqlResourcesListOperationResponse, err error)
- func (c RestorablesClient) SqlResourcesRetrieveContinuousBackupInformation(ctx context.Context, id ContainerId, input ContinuousBackupRestoreLocation) (result SqlResourcesRetrieveContinuousBackupInformationOperationResponse, ...)
- func (c RestorablesClient) SqlResourcesRetrieveContinuousBackupInformationThenPoll(ctx context.Context, id ContainerId, input ContinuousBackupRestoreLocation) error
- type SpatialSpec
- type SpatialType
- type SqlResourcesRetrieveContinuousBackupInformationOperationResponse
- type UniqueKey
- type UniqueKeyPolicy
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 ¶
ValidateCollectionID checks that 'input' can be parsed as a Collection ID
func ValidateContainerID ¶
ValidateContainerID checks that 'input' can be parsed as a Container ID
func ValidateLocationID ¶
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
Types ¶
type BackupInformation ¶
type BackupInformation struct {
ContinuousBackupInformation *ContinuousBackupInformation `json:"continuousBackupInformation,omitempty"`
}
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) 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) 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 DatabaseRestoreResource ¶
type ExcludedPath ¶
type ExcludedPath struct {
Path *string `json:"path,omitempty"`
}
type IncludedPath ¶
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 ¶
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) 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 ¶
func (id RestorableDatabaseAccountId) ID() string
ID returns the formatted Restorable Database Account ID
func (RestorableDatabaseAccountId) Segments ¶
func (id RestorableDatabaseAccountId) Segments() []resourceids.Segment
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 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 {
RestorableMongodbDatabaseRid *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 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 *[]DatabaseRestoreResource `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"` 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 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 *[]DatabaseRestoreResource `json:"value,omitempty"`
}
type RestorablesClient ¶
func NewRestorablesClientWithBaseURI ¶
func NewRestorablesClientWithBaseURI(endpoint string) RestorablesClient
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 ¶
func (c RestorablesClient) RestorableDatabaseAccountsGetByLocation(ctx context.Context, id RestorableDatabaseAccountId) (result RestorableDatabaseAccountsGetByLocationOperationResponse, err error)
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) RestorableMongodbCollectionsList ¶
func (c RestorablesClient) RestorableMongodbCollectionsList(ctx context.Context, id RestorableDatabaseAccountId, options RestorableMongodbCollectionsListOperationOptions) (result RestorableMongodbCollectionsListOperationResponse, err error)
RestorableMongodbCollectionsList ...
func (RestorablesClient) RestorableMongodbDatabasesList ¶
func (c RestorablesClient) RestorableMongodbDatabasesList(ctx context.Context, id RestorableDatabaseAccountId) (result RestorableMongodbDatabasesListOperationResponse, err error)
RestorableMongodbDatabasesList ...
func (RestorablesClient) RestorableMongodbResourcesList ¶
func (c RestorablesClient) RestorableMongodbResourcesList(ctx context.Context, id RestorableDatabaseAccountId, options RestorableMongodbResourcesListOperationOptions) (result RestorableMongodbResourcesListOperationResponse, err error)
RestorableMongodbResourcesList ...
func (RestorablesClient) RestorableSqlContainersList ¶
func (c RestorablesClient) RestorableSqlContainersList(ctx context.Context, id RestorableDatabaseAccountId, options RestorableSqlContainersListOperationOptions) (result RestorableSqlContainersListOperationResponse, err error)
RestorableSqlContainersList ...
func (RestorablesClient) RestorableSqlDatabasesList ¶
func (c RestorablesClient) RestorableSqlDatabasesList(ctx context.Context, id RestorableDatabaseAccountId) (result RestorableSqlDatabasesListOperationResponse, err error)
RestorableSqlDatabasesList ...
func (RestorablesClient) RestorableSqlResourcesList ¶
func (c RestorablesClient) RestorableSqlResourcesList(ctx context.Context, id RestorableDatabaseAccountId, options RestorableSqlResourcesListOperationOptions) (result RestorableSqlResourcesListOperationResponse, err error)
RestorableSqlResourcesList ...
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
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 UniqueKeyPolicy ¶
type UniqueKeyPolicy struct {
UniqueKeys *[]UniqueKey `json:"uniqueKeys,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_collection.go
- id_container.go
- id_location.go
- id_restorabledatabaseaccount.go
- method_mongodbresourcesretrievecontinuousbackupinformation_autorest.go
- method_restorabledatabaseaccountsgetbylocation_autorest.go
- method_restorabledatabaseaccountslist_autorest.go
- method_restorabledatabaseaccountslistbylocation_autorest.go
- method_restorablemongodbcollectionslist_autorest.go
- method_restorablemongodbdatabaseslist_autorest.go
- method_restorablemongodbresourceslist_autorest.go
- method_restorablesqlcontainerslist_autorest.go
- method_restorablesqldatabaseslist_autorest.go
- method_restorablesqlresourceslist_autorest.go
- method_sqlresourcesretrievecontinuousbackupinformation_autorest.go
- model_backupinformation.go
- model_compositepath.go
- model_conflictresolutionpolicy.go
- model_containerpartitionkey.go
- model_continuousbackupinformation.go
- model_continuousbackuprestorelocation.go
- model_databaserestoreresource.go
- model_excludedpath.go
- model_includedpath.go
- model_indexes.go
- model_indexingpolicy.go
- model_restorabledatabaseaccountgetresult.go
- model_restorabledatabaseaccountproperties.go
- model_restorabledatabaseaccountslistresult.go
- model_restorablelocationresource.go
- model_restorablemongodbcollectiongetresult.go
- model_restorablemongodbcollectionproperties.go
- model_restorablemongodbcollectionpropertiesresource.go
- model_restorablemongodbcollectionslistresult.go
- model_restorablemongodbdatabasegetresult.go
- model_restorablemongodbdatabaseproperties.go
- model_restorablemongodbdatabasepropertiesresource.go
- model_restorablemongodbdatabaseslistresult.go
- model_restorablemongodbresourceslistresult.go
- model_restorablesqlcontainergetresult.go
- model_restorablesqlcontainerproperties.go
- model_restorablesqlcontainerpropertiesresource.go
- model_restorablesqlcontainerpropertiesresourcecontainer.go
- model_restorablesqlcontainerslistresult.go
- model_restorablesqldatabasegetresult.go
- model_restorablesqldatabaseproperties.go
- model_restorablesqldatabasepropertiesresource.go
- model_restorablesqldatabasepropertiesresourcedatabase.go
- model_restorablesqldatabaseslistresult.go
- model_restorablesqlresourceslistresult.go
- model_spatialspec.go
- model_uniquekey.go
- model_uniquekeypolicy.go
- version.go