共用方式為


CosmosDBManagementClient class

Extends

建構函式

CosmosDBManagementClient(TokenCredential, string, CosmosDBManagementClientOptionalParams)

初始化 CosmosDBManagementClient 類別的新實例。

屬性

$host
apiVersion
cassandraClusters
cassandraDataCenters
cassandraResources
collection
collectionPartition
collectionPartitionRegion
collectionRegion
database
databaseAccountRegion
databaseAccounts
gremlinResources
locations
mongoDBResources
notebookWorkspaces
operations
partitionKeyRangeId
partitionKeyRangeIdRegion
percentile
percentileSourceTarget
percentileTarget
privateEndpointConnections
privateLinkResources
restorableDatabaseAccounts
restorableGremlinDatabases
restorableGremlinGraphs
restorableGremlinResources
restorableMongodbCollections
restorableMongodbDatabases
restorableMongodbResources
restorableSqlContainers
restorableSqlDatabases
restorableSqlResources
restorableTableResources
restorableTables
service
sqlResources
subscriptionId
tableResources

繼承的屬性

pipeline

此用戶端用來提出要求的管線

繼承的方法

sendOperationRequest<T>(OperationArguments, OperationSpec)

傳送使用提供的 OperationSpec 填入的 HTTP 要求。

sendRequest(PipelineRequest)

傳送提供的 HTTPRequest。

建構函式詳細資料

CosmosDBManagementClient(TokenCredential, string, CosmosDBManagementClientOptionalParams)

初始化 CosmosDBManagementClient 類別的新實例。

new CosmosDBManagementClient(credentials: TokenCredential, subscriptionId: string, options?: CosmosDBManagementClientOptionalParams)

參數

credentials
TokenCredential

可唯一識別用戶端訂用帳戶的訂用帳號憑證。

subscriptionId

string

目標訂用帳戶的識別碼。

屬性詳細資料

$host

$host: string

屬性值

string

apiVersion

apiVersion: string

屬性值

string

cassandraClusters

cassandraClusters: CassandraClusters

屬性值

cassandraDataCenters

cassandraDataCenters: CassandraDataCenters

屬性值

cassandraResources

cassandraResources: CassandraResources

屬性值

collection

collection: Collection

屬性值

collectionPartition

collectionPartition: CollectionPartition

屬性值

collectionPartitionRegion

collectionPartitionRegion: CollectionPartitionRegion

屬性值

collectionRegion

collectionRegion: CollectionRegion

屬性值

database

database: Database

屬性值

databaseAccountRegion

databaseAccountRegion: DatabaseAccountRegion

屬性值

databaseAccounts

databaseAccounts: DatabaseAccounts

屬性值

gremlinResources

gremlinResources: GremlinResources

屬性值

locations

locations: Locations

屬性值

mongoDBResources

mongoDBResources: MongoDBResources

屬性值

notebookWorkspaces

notebookWorkspaces: NotebookWorkspaces

屬性值

operations

operations: Operations

屬性值

partitionKeyRangeId

partitionKeyRangeId: PartitionKeyRangeId

屬性值

partitionKeyRangeIdRegion

partitionKeyRangeIdRegion: PartitionKeyRangeIdRegion

屬性值

percentile

percentile: Percentile

屬性值

percentileSourceTarget

percentileSourceTarget: PercentileSourceTarget

屬性值

percentileTarget

percentileTarget: PercentileTarget

屬性值

privateEndpointConnections

privateEndpointConnections: PrivateEndpointConnections

屬性值

privateLinkResources

privateLinkResources: PrivateLinkResources

屬性值

restorableDatabaseAccounts

restorableDatabaseAccounts: RestorableDatabaseAccounts

屬性值

restorableGremlinDatabases

restorableGremlinDatabases: RestorableGremlinDatabases

屬性值

restorableGremlinGraphs

restorableGremlinGraphs: RestorableGremlinGraphs

屬性值

restorableGremlinResources

restorableGremlinResources: RestorableGremlinResources

屬性值

restorableMongodbCollections

restorableMongodbCollections: RestorableMongodbCollections

屬性值

restorableMongodbDatabases

restorableMongodbDatabases: RestorableMongodbDatabases

屬性值

restorableMongodbResources

restorableMongodbResources: RestorableMongodbResources

屬性值

restorableSqlContainers

restorableSqlContainers: RestorableSqlContainers

屬性值

restorableSqlDatabases

restorableSqlDatabases: RestorableSqlDatabases

屬性值

restorableSqlResources

restorableSqlResources: RestorableSqlResources

屬性值

restorableTableResources

restorableTableResources: RestorableTableResources

屬性值

restorableTables

restorableTables: RestorableTables

屬性值

service

service: Service

屬性值

sqlResources

sqlResources: SqlResources

屬性值

subscriptionId

subscriptionId: string

屬性值

string

tableResources

tableResources: TableResources

屬性值

繼承的屬性詳細資料

pipeline

此用戶端用來提出要求的管線

pipeline: Pipeline

屬性值

繼承自 coreClient.ServiceClient.pipeline

繼承的方法的詳細資料

sendOperationRequest<T>(OperationArguments, OperationSpec)

傳送使用提供的 OperationSpec 填入的 HTTP 要求。

function sendOperationRequest<T>(operationArguments: OperationArguments, operationSpec: OperationSpec): Promise<T>

參數

operationArguments
OperationArguments

HTTP 要求樣板化值的引數將會從 中填入。

operationSpec
OperationSpec

用來填入 HTTPRequest 的 OperationSpec。

傳回

Promise<T>

繼承自 coreClient.ServiceClient.sendOperationRequest

sendRequest(PipelineRequest)

傳送提供的 HTTPRequest。

function sendRequest(request: PipelineRequest): Promise<PipelineResponse>

參數

request
PipelineRequest

傳回

Promise<PipelineResponse>

繼承自 coreClient.ServiceClient.sendRequest