Documentation ¶
Index ¶
- type CollectionClientAPI
- type CollectionPartitionClientAPI
- type CollectionPartitionRegionClientAPI
- type CollectionRegionClientAPI
- type DatabaseAccountRegionClientAPI
- type DatabaseAccountsClientAPI
- type DatabaseClientAPI
- type OperationsClientAPI
- type PartitionKeyRangeIDClientAPI
- type PartitionKeyRangeIDRegionClientAPI
- type PercentileClientAPI
- type PercentileSourceTargetClientAPI
- type PercentileTargetClientAPI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionClientAPI ¶
type CollectionClientAPI interface { ListMetricDefinitions(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string) (result documentdb.MetricDefinitionsListResult, err error) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (result documentdb.MetricListResult, err error) ListUsages(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (result documentdb.UsagesResult, err error) }
CollectionClientAPI contains the set of methods on the CollectionClient type.
type CollectionPartitionClientAPI ¶
type CollectionPartitionClientAPI interface { ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (result documentdb.PartitionMetricListResult, err error) ListUsages(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (result documentdb.PartitionUsagesResult, err error) }
CollectionPartitionClientAPI contains the set of methods on the CollectionPartitionClient type.
type CollectionPartitionRegionClientAPI ¶
type CollectionPartitionRegionClientAPI interface {
ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, filter string) (result documentdb.PartitionMetricListResult, err error)
}
CollectionPartitionRegionClientAPI contains the set of methods on the CollectionPartitionRegionClient type.
type CollectionRegionClientAPI ¶
type CollectionRegionClientAPI interface {
ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, filter string) (result documentdb.MetricListResult, err error)
}
CollectionRegionClientAPI contains the set of methods on the CollectionRegionClient type.
type DatabaseAccountRegionClientAPI ¶
type DatabaseAccountRegionClientAPI interface {
ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, filter string) (result documentdb.MetricListResult, err error)
}
DatabaseAccountRegionClientAPI contains the set of methods on the DatabaseAccountRegionClient type.
type DatabaseAccountsClientAPI ¶
type DatabaseAccountsClientAPI interface { CheckNameExists(ctx context.Context, accountName string) (result autorest.Response, err error) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, createUpdateParameters documentdb.DatabaseAccountCreateUpdateParameters) (result documentdb.DatabaseAccountsCreateOrUpdateFuture, err error) CreateUpdateCassandraKeyspace(ctx context.Context, resourceGroupName string, accountName string, keyspaceRid string, createUpdateCassandraKeyspaceParameters documentdb.CassandraKeyspaceCreateUpdateParameters) (result documentdb.DatabaseAccountsCreateUpdateCassandraKeyspaceFuture, err error) CreateUpdateCassandraTable(ctx context.Context, resourceGroupName string, accountName string, keyspaceRid string, tableRid string, createUpdateCassandraTableParameters documentdb.CassandraTableCreateUpdateParameters) (result documentdb.DatabaseAccountsCreateUpdateCassandraTableFuture, err error) CreateUpdateGremlinContainer(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, containerRid string, createUpdateGremlinContainerParameters documentdb.ContainerCreateUpdateParameters) (result documentdb.DatabaseAccountsCreateUpdateGremlinContainerFuture, err error) CreateUpdateGremlinDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, createUpdateGremlinDatabaseParameters documentdb.GremlinDatabaseCreateUpdateParameters) (result documentdb.DatabaseAccountsCreateUpdateGremlinDatabaseFuture, err error) CreateUpdateMongoCollection(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, createUpdateMongoCollectionParameters documentdb.MongoCollectionCreateUpdateParameters) (result documentdb.DatabaseAccountsCreateUpdateMongoCollectionFuture, err error) CreateUpdateMongoDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, createUpdateMongoDatabaseParameters documentdb.MongoDatabaseCreateUpdateParameters) (result documentdb.DatabaseAccountsCreateUpdateMongoDatabaseFuture, err error) CreateUpdateSQLContainer(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, containerRid string, createUpdateSQLContainerParameters documentdb.ContainerCreateUpdateParameters) (result documentdb.DatabaseAccountsCreateUpdateSQLContainerFuture, err error) CreateUpdateSQLDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, createUpdateSQLDatabaseParameters documentdb.SQLDatabaseCreateUpdateParameters) (result documentdb.DatabaseAccountsCreateUpdateSQLDatabaseFuture, err error) CreateUpdateTable(ctx context.Context, resourceGroupName string, accountName string, tableRid string, createUpdateTableParameters documentdb.TableCreateUpdateParameters) (result documentdb.DatabaseAccountsCreateUpdateTableFuture, err error) Delete(ctx context.Context, resourceGroupName string, accountName string) (result documentdb.DatabaseAccountsDeleteFuture, err error) DeleteCassandraKeyspace(ctx context.Context, resourceGroupName string, accountName string, keyspaceRid string) (result documentdb.DatabaseAccountsDeleteCassandraKeyspaceFuture, err error) DeleteCassandraTable(ctx context.Context, resourceGroupName string, accountName string, keyspaceRid string, tableRid string) (result documentdb.DatabaseAccountsDeleteCassandraTableFuture, err error) DeleteGremlinContainer(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, containerRid string) (result documentdb.DatabaseAccountsDeleteGremlinContainerFuture, err error) DeleteGremlinDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseRid string) (result documentdb.DatabaseAccountsDeleteGremlinDatabaseFuture, err error) DeleteMongoCollection(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string) (result documentdb.DatabaseAccountsDeleteMongoCollectionFuture, err error) DeleteMongoDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseRid string) (result documentdb.DatabaseAccountsDeleteMongoDatabaseFuture, err error) DeleteSQLContainer(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, containerRid string) (result documentdb.DatabaseAccountsDeleteSQLContainerFuture, err error) DeleteSQLDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseRid string) (result documentdb.DatabaseAccountsDeleteSQLDatabaseFuture, err error) DeleteTable(ctx context.Context, resourceGroupName string, accountName string, tableRid string) (result documentdb.DatabaseAccountsDeleteTableFuture, err error) FailoverPriorityChange(ctx context.Context, resourceGroupName string, accountName string, failoverParameters documentdb.FailoverPolicies) (result documentdb.DatabaseAccountsFailoverPriorityChangeFuture, err error) Get(ctx context.Context, resourceGroupName string, accountName string) (result documentdb.DatabaseAccount, err error) GetCassandraKeyspace(ctx context.Context, resourceGroupName string, accountName string, keyspaceRid string) (result documentdb.CassandraKeyspace, err error) GetCassandraTable(ctx context.Context, resourceGroupName string, accountName string, keyspaceRid string, tableRid string) (result documentdb.CassandraTable, err error) GetGremlinContainer(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, containerRid string) (result documentdb.Container, err error) GetGremlinDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseRid string) (result documentdb.GremlinDatabase, err error) GetMongoCollection(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string) (result documentdb.MongoCollection, err error) GetMongoDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseRid string) (result documentdb.MongoDatabase, err error) GetReadOnlyKeys(ctx context.Context, resourceGroupName string, accountName string) (result documentdb.DatabaseAccountListReadOnlyKeysResult, err error) GetSQLContainer(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, containerRid string) (result documentdb.Container, err error) GetSQLDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseRid string) (result documentdb.SQLDatabase, err error) GetTable(ctx context.Context, resourceGroupName string, accountName string, tableRid string) (result documentdb.Table, err error) List(ctx context.Context) (result documentdb.DatabaseAccountsListResult, err error) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result documentdb.DatabaseAccountsListResult, err error) ListCassandraKeyspaces(ctx context.Context, resourceGroupName string, accountName string) (result documentdb.CassandraKeyspaceListResult, err error) ListCassandraTables(ctx context.Context, resourceGroupName string, accountName string, keyspaceRid string) (result documentdb.CassandraTableListResult, err error) ListConnectionStrings(ctx context.Context, resourceGroupName string, accountName string) (result documentdb.DatabaseAccountListConnectionStringsResult, err error) ListGremlinContainers(ctx context.Context, resourceGroupName string, accountName string, databaseRid string) (result documentdb.ContainerListResult, err error) ListGremlinDatabases(ctx context.Context, resourceGroupName string, accountName string) (result documentdb.GremlinDatabaseListResult, err error) ListKeys(ctx context.Context, resourceGroupName string, accountName string) (result documentdb.DatabaseAccountListKeysResult, err error) ListMetricDefinitions(ctx context.Context, resourceGroupName string, accountName string) (result documentdb.MetricDefinitionsListResult, err error) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, filter string) (result documentdb.MetricListResult, err error) ListMongoCollections(ctx context.Context, resourceGroupName string, accountName string, databaseRid string) (result documentdb.MongoCollectionListResult, err error) ListMongoDatabases(ctx context.Context, resourceGroupName string, accountName string) (result documentdb.MongoDatabaseListResult, err error) ListReadOnlyKeys(ctx context.Context, resourceGroupName string, accountName string) (result documentdb.DatabaseAccountListReadOnlyKeysResult, err error) ListSQLContainers(ctx context.Context, resourceGroupName string, accountName string, databaseRid string) (result documentdb.ContainerListResult, err error) ListSQLDatabases(ctx context.Context, resourceGroupName string, accountName string) (result documentdb.SQLDatabaseListResult, err error) ListTables(ctx context.Context, resourceGroupName string, accountName string) (result documentdb.TableListResult, err error) ListUsages(ctx context.Context, resourceGroupName string, accountName string, filter string) (result documentdb.UsagesResult, err error) OfflineRegion(ctx context.Context, resourceGroupName string, accountName string, regionParameterForOffline documentdb.RegionForOnlineOffline) (result documentdb.DatabaseAccountsOfflineRegionFuture, err error) OnlineRegion(ctx context.Context, resourceGroupName string, accountName string, regionParameterForOnline documentdb.RegionForOnlineOffline) (result documentdb.DatabaseAccountsOnlineRegionFuture, err error) Patch(ctx context.Context, resourceGroupName string, accountName string, updateParameters documentdb.DatabaseAccountPatchParameters) (result documentdb.DatabaseAccountsPatchFuture, err error) RegenerateKey(ctx context.Context, resourceGroupName string, accountName string, keyToRegenerate documentdb.DatabaseAccountRegenerateKeyParameters) (result documentdb.DatabaseAccountsRegenerateKeyFuture, err error) }
DatabaseAccountsClientAPI contains the set of methods on the DatabaseAccountsClient type.
type DatabaseClientAPI ¶
type DatabaseClientAPI interface { ListMetricDefinitions(ctx context.Context, resourceGroupName string, accountName string, databaseRid string) (result documentdb.MetricDefinitionsListResult, err error) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, filter string) (result documentdb.MetricListResult, err error) ListUsages(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, filter string) (result documentdb.UsagesResult, err error) }
DatabaseClientAPI contains the set of methods on the DatabaseClient type.
type OperationsClientAPI ¶
type OperationsClientAPI interface {
List(ctx context.Context) (result documentdb.OperationListResultPage, err error)
}
OperationsClientAPI contains the set of methods on the OperationsClient type.
type PartitionKeyRangeIDClientAPI ¶
type PartitionKeyRangeIDClientAPI interface {
ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, partitionKeyRangeID string, filter string) (result documentdb.PartitionMetricListResult, err error)
}
PartitionKeyRangeIDClientAPI contains the set of methods on the PartitionKeyRangeIDClient type.
type PartitionKeyRangeIDRegionClientAPI ¶
type PartitionKeyRangeIDRegionClientAPI interface {
ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, partitionKeyRangeID string, filter string) (result documentdb.PartitionMetricListResult, err error)
}
PartitionKeyRangeIDRegionClientAPI contains the set of methods on the PartitionKeyRangeIDRegionClient type.
type PercentileClientAPI ¶
type PercentileClientAPI interface {
ListMetrics(ctx context.Context, resourceGroupName string, accountName string, filter string) (result documentdb.PercentileMetricListResult, err error)
}
PercentileClientAPI contains the set of methods on the PercentileClient type.
type PercentileSourceTargetClientAPI ¶
type PercentileSourceTargetClientAPI interface {
ListMetrics(ctx context.Context, resourceGroupName string, accountName string, sourceRegion string, targetRegion string, filter string) (result documentdb.PercentileMetricListResult, err error)
}
PercentileSourceTargetClientAPI contains the set of methods on the PercentileSourceTargetClient type.
type PercentileTargetClientAPI ¶
type PercentileTargetClientAPI interface {
ListMetrics(ctx context.Context, resourceGroupName string, accountName string, targetRegion string, filter string) (result documentdb.PercentileMetricListResult, err error)
}
PercentileTargetClientAPI contains the set of methods on the PercentileTargetClient type.