Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + 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 ValidateContainerID(input interface{}, key string) (warnings []string, errors []error) + func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error) + func ValidateMongodbDatabaseCollectionID(input interface{}, key string) (warnings []string, errors []error) + func ValidateRestorableDatabaseAccountID(input interface{}, key string) (warnings []string, errors []error) + type ApiType string + const ApiTypeCassandra + const ApiTypeGremlin + const ApiTypeGremlinVTwo + const ApiTypeMongoDB + const ApiTypeSql + const ApiTypeTable + func (s *ApiType) UnmarshalJSON(bytes []byte) error + type BackupInformation struct + ContinuousBackupInformation *ContinuousBackupInformation + type CompositePath struct + Order *CompositePathSortOrder + Path *string + type CompositePathSortOrder string + const CompositePathSortOrderAscending + const CompositePathSortOrderDescending + func (s *CompositePathSortOrder) UnmarshalJSON(bytes []byte) error + type ConflictResolutionMode string + const ConflictResolutionModeCustom + const ConflictResolutionModeLastWriterWins + func (s *ConflictResolutionMode) UnmarshalJSON(bytes []byte) error + type ConflictResolutionPolicy struct + ConflictResolutionPath *string + ConflictResolutionProcedure *string + Mode *ConflictResolutionMode + type ContainerId struct + ContainerName string + DatabaseAccountName string + ResourceGroupName string + SqlDatabaseName string + SubscriptionId string + func NewContainerID(subscriptionId string, resourceGroupName string, databaseAccountName string, ...) ContainerId + func ParseContainerID(input string) (*ContainerId, error) + func ParseContainerIDInsensitively(input string) (*ContainerId, error) + func (id *ContainerId) FromParseResult(input resourceids.ParseResult) error + func (id ContainerId) ID() string + func (id ContainerId) Segments() []resourceids.Segment + func (id ContainerId) String() string + type ContainerPartitionKey struct + Kind *PartitionKind + Paths *[]string + SystemKey *bool + Version *int64 + type ContinuousBackupInformation struct + LatestRestorableTimestamp *string + type ContinuousBackupRestoreLocation struct + Location *string + type DataType string + const DataTypeLineString + const DataTypeMultiPolygon + const DataTypeNumber + const DataTypePoint + const DataTypePolygon + const DataTypeString + func (s *DataType) UnmarshalJSON(bytes []byte) error + type ExcludedPath struct + Path *string + type IncludedPath struct + Indexes *[]Indexes + Path *string + type IndexKind string + const IndexKindHash + const IndexKindRange + const IndexKindSpatial + func (s *IndexKind) UnmarshalJSON(bytes []byte) error + type Indexes struct + DataType *DataType + Kind *IndexKind + Precision *int64 + type IndexingMode string + const IndexingModeConsistent + const IndexingModeLazy + const IndexingModeNone + func (s *IndexingMode) UnmarshalJSON(bytes []byte) error + type IndexingPolicy struct + Automatic *bool + CompositeIndexes *[][]CompositePath + ExcludedPaths *[]ExcludedPath + IncludedPaths *[]IncludedPath + IndexingMode *IndexingMode + SpatialIndexes *[]SpatialSpec + type LocationId struct + LocationName string + SubscriptionId string + func NewLocationID(subscriptionId string, locationName string) LocationId + func ParseLocationID(input string) (*LocationId, error) + func ParseLocationIDInsensitively(input string) (*LocationId, error) + func (id *LocationId) FromParseResult(input resourceids.ParseResult) error + func (id LocationId) ID() string + func (id LocationId) Segments() []resourceids.Segment + func (id LocationId) String() string + type MongoDBResourcesRetrieveContinuousBackupInformationOperationResponse struct + HttpResponse *http.Response + Model *BackupInformation + OData *odata.OData + Poller pollers.Poller + type MongodbDatabaseCollectionId struct + CollectionName string + DatabaseAccountName string + MongodbDatabaseName string + ResourceGroupName string + SubscriptionId string + func NewMongodbDatabaseCollectionID(subscriptionId string, resourceGroupName string, databaseAccountName string, ...) MongodbDatabaseCollectionId + func ParseMongodbDatabaseCollectionID(input string) (*MongodbDatabaseCollectionId, error) + func ParseMongodbDatabaseCollectionIDInsensitively(input string) (*MongodbDatabaseCollectionId, error) + func (id *MongodbDatabaseCollectionId) FromParseResult(input resourceids.ParseResult) error + func (id MongodbDatabaseCollectionId) ID() string + func (id MongodbDatabaseCollectionId) Segments() []resourceids.Segment + func (id MongodbDatabaseCollectionId) String() string + type OperationType string + const OperationTypeCreate + const OperationTypeDelete + const OperationTypeReplace + const OperationTypeSystemOperation + func (s *OperationType) UnmarshalJSON(bytes []byte) error + type PartitionKind string + const PartitionKindHash + const PartitionKindMultiHash + const PartitionKindRange + func (s *PartitionKind) UnmarshalJSON(bytes []byte) error + type RestorableDatabaseAccountGetResult struct + Id *string + Location *string + Name *string + Properties *RestorableDatabaseAccountProperties + Type *string + type RestorableDatabaseAccountId struct + InstanceId string + LocationName string + SubscriptionId string + func NewRestorableDatabaseAccountID(subscriptionId string, locationName string, instanceId string) RestorableDatabaseAccountId + func ParseRestorableDatabaseAccountID(input string) (*RestorableDatabaseAccountId, error) + func ParseRestorableDatabaseAccountIDInsensitively(input string) (*RestorableDatabaseAccountId, error) + func (id *RestorableDatabaseAccountId) FromParseResult(input resourceids.ParseResult) error + func (id RestorableDatabaseAccountId) ID() string + func (id RestorableDatabaseAccountId) Segments() []resourceids.Segment + func (id RestorableDatabaseAccountId) String() string + type RestorableDatabaseAccountProperties struct + AccountName *string + ApiType *ApiType + CreationTime *string + DeletionTime *string + RestorableLocations *[]RestorableLocationResource + 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 struct + HttpResponse *http.Response + Model *RestorableDatabaseAccountGetResult + OData *odata.OData + type RestorableDatabaseAccountsListByLocationOperationResponse struct + HttpResponse *http.Response + Model *RestorableDatabaseAccountsListResult + OData *odata.OData + type RestorableDatabaseAccountsListOperationResponse struct + HttpResponse *http.Response + Model *RestorableDatabaseAccountsListResult + OData *odata.OData + type RestorableDatabaseAccountsListResult struct + Value *[]RestorableDatabaseAccountGetResult + type RestorableLocationResource struct + CreationTime *string + DeletionTime *string + LocationName *string + RegionalDatabaseAccountInstanceId *string + 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 struct + Id *string + Name *string + Properties *RestorableMongodbCollectionProperties + Type *string + type RestorableMongodbCollectionProperties struct + Resource *RestorableMongodbCollectionPropertiesResource + type RestorableMongodbCollectionPropertiesResource struct + EventTimestamp *string + OperationType *OperationType + OwnerId *string + OwnerResourceId *string + Rid *string + type RestorableMongodbCollectionsListOperationOptions struct + RestorableMongodbDatabaseRid *string + func DefaultRestorableMongodbCollectionsListOperationOptions() RestorableMongodbCollectionsListOperationOptions + func (o RestorableMongodbCollectionsListOperationOptions) ToHeaders() *client.Headers + func (o RestorableMongodbCollectionsListOperationOptions) ToOData() *odata.Query + func (o RestorableMongodbCollectionsListOperationOptions) ToQuery() *client.QueryParams + type RestorableMongodbCollectionsListOperationResponse struct + HttpResponse *http.Response + Model *RestorableMongodbCollectionsListResult + OData *odata.OData + type RestorableMongodbCollectionsListResult struct + Value *[]RestorableMongodbCollectionGetResult + type RestorableMongodbDatabaseGetResult struct + Id *string + Name *string + Properties *RestorableMongodbDatabaseProperties + Type *string + type RestorableMongodbDatabaseProperties struct + Resource *RestorableMongodbDatabasePropertiesResource + type RestorableMongodbDatabasePropertiesResource struct + EventTimestamp *string + OperationType *OperationType + OwnerId *string + OwnerResourceId *string + Rid *string + type RestorableMongodbDatabasesListOperationResponse struct + HttpResponse *http.Response + Model *RestorableMongodbDatabasesListResult + OData *odata.OData + type RestorableMongodbDatabasesListResult struct + Value *[]RestorableMongodbDatabaseGetResult + type RestorableMongodbResourcesGetResult struct + CollectionNames *[]string + DatabaseName *string + Id *string + Name *string + Type *string + type RestorableMongodbResourcesListOperationOptions struct + RestoreLocation *string + RestoreTimestampInUtc *string + func DefaultRestorableMongodbResourcesListOperationOptions() RestorableMongodbResourcesListOperationOptions + func (o RestorableMongodbResourcesListOperationOptions) ToHeaders() *client.Headers + func (o RestorableMongodbResourcesListOperationOptions) ToOData() *odata.Query + func (o RestorableMongodbResourcesListOperationOptions) ToQuery() *client.QueryParams + type RestorableMongodbResourcesListOperationResponse struct + HttpResponse *http.Response + Model *RestorableMongodbResourcesListResult + OData *odata.OData + type RestorableMongodbResourcesListResult struct + Value *[]RestorableMongodbResourcesGetResult + type RestorableSqlContainerGetResult struct + Id *string + Name *string + Properties *RestorableSqlContainerProperties + Type *string + type RestorableSqlContainerProperties struct + Resource *RestorableSqlContainerPropertiesResource + type RestorableSqlContainerPropertiesResource struct + Container *RestorableSqlContainerPropertiesResourceContainer + EventTimestamp *string + OperationType *OperationType + OwnerId *string + OwnerResourceId *string + Rid *string + type RestorableSqlContainerPropertiesResourceContainer struct + AnalyticalStorageTtl *int64 + ConflictResolutionPolicy *ConflictResolutionPolicy + DefaultTtl *int64 + Etag *string + Id *string + IndexingPolicy *IndexingPolicy + PartitionKey *ContainerPartitionKey + Rid *string + Self *string + Ts *float64 + UniqueKeyPolicy *UniqueKeyPolicy + type RestorableSqlContainersListOperationOptions struct + EndTime *string + RestorableSqlDatabaseRid *string + StartTime *string + func DefaultRestorableSqlContainersListOperationOptions() RestorableSqlContainersListOperationOptions + func (o RestorableSqlContainersListOperationOptions) ToHeaders() *client.Headers + func (o RestorableSqlContainersListOperationOptions) ToOData() *odata.Query + func (o RestorableSqlContainersListOperationOptions) ToQuery() *client.QueryParams + type RestorableSqlContainersListOperationResponse struct + HttpResponse *http.Response + Model *RestorableSqlContainersListResult + OData *odata.OData + type RestorableSqlContainersListResult struct + Value *[]RestorableSqlContainerGetResult + type RestorableSqlDatabaseGetResult struct + Id *string + Name *string + Properties *RestorableSqlDatabaseProperties + Type *string + type RestorableSqlDatabaseProperties struct + Resource *RestorableSqlDatabasePropertiesResource + type RestorableSqlDatabasePropertiesResource struct + Database *RestorableSqlDatabasePropertiesResourceDatabase + EventTimestamp *string + OperationType *OperationType + OwnerId *string + OwnerResourceId *string + Rid *string + type RestorableSqlDatabasePropertiesResourceDatabase struct + Colls *string + Etag *string + Id *string + Rid *string + Self *string + Ts *float64 + Users *string + type RestorableSqlDatabasesListOperationResponse struct + HttpResponse *http.Response + Model *RestorableSqlDatabasesListResult + OData *odata.OData + type RestorableSqlDatabasesListResult struct + Value *[]RestorableSqlDatabaseGetResult + type RestorableSqlResourcesGetResult struct + CollectionNames *[]string + DatabaseName *string + Id *string + Name *string + Type *string + type RestorableSqlResourcesListOperationOptions struct + RestoreLocation *string + RestoreTimestampInUtc *string + func DefaultRestorableSqlResourcesListOperationOptions() RestorableSqlResourcesListOperationOptions + func (o RestorableSqlResourcesListOperationOptions) ToHeaders() *client.Headers + func (o RestorableSqlResourcesListOperationOptions) ToOData() *odata.Query + func (o RestorableSqlResourcesListOperationOptions) ToQuery() *client.QueryParams + type RestorableSqlResourcesListOperationResponse struct + HttpResponse *http.Response + Model *RestorableSqlResourcesListResult + OData *odata.OData + type RestorableSqlResourcesListResult struct + Value *[]RestorableSqlResourcesGetResult + type RestorablesClient struct + Client *resourcemanager.Client + func NewRestorablesClientWithBaseURI(sdkApi sdkEnv.Api) (*RestorablesClient, error) + func (c RestorablesClient) MongoDBResourcesRetrieveContinuousBackupInformation(ctx context.Context, id MongodbDatabaseCollectionId, ...) (result MongoDBResourcesRetrieveContinuousBackupInformationOperationResponse, ...) + func (c RestorablesClient) MongoDBResourcesRetrieveContinuousBackupInformationThenPoll(ctx context.Context, id MongodbDatabaseCollectionId, ...) 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 struct + Path *string + Types *[]SpatialType + type SpatialType string + const SpatialTypeLineString + const SpatialTypeMultiPolygon + const SpatialTypePoint + const SpatialTypePolygon + func (s *SpatialType) UnmarshalJSON(bytes []byte) error + type SqlResourcesRetrieveContinuousBackupInformationOperationResponse struct + HttpResponse *http.Response + Model *BackupInformation + OData *odata.OData + Poller pollers.Poller + type UniqueKey struct + Paths *[]string + type UniqueKeyPolicy struct + UniqueKeys *[]UniqueKey