你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConnectionsOperations interface

表示 Connections作的接口。

属性

get

按名称获取连接,无需填充连接凭证

getDefault

获取项目的默认连接

getWithCredentials

按名称获取连接及其连接凭证

list

列出项目中的所有连接,而不填充连接凭证

属性详细信息

get

按名称获取连接,无需填充连接凭证

get: (name: string, includeCredentials?: boolean, options?: ConnectionsGetOptionalParams) => Promise<Connection>

属性值

(name: string, includeCredentials?: boolean, options?: ConnectionsGetOptionalParams) => Promise<Connection>

getDefault

获取项目的默认连接

getDefault: (connectionType: ConnectionType, includeCredentials?: boolean) => Promise<Connection>

属性值

(connectionType: ConnectionType, includeCredentials?: boolean) => Promise<Connection>

getWithCredentials

按名称获取连接及其连接凭证

getWithCredentials: (name: string, options?: ConnectionsGetWithCredentialsOptionalParams) => Promise<Connection>

属性值

(name: string, options?: ConnectionsGetWithCredentialsOptionalParams) => Promise<Connection>

list

列出项目中的所有连接,而不填充连接凭证

list: (options?: ConnectionsListOptionalParams) => PagedAsyncIterableIterator<Connection, Connection[], PageSettings>

属性值

(options?: ConnectionsListOptionalParams) => PagedAsyncIterableIterator<Connection, Connection[], PageSettings>