你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IotConnectors interface
表示 IotConnectors 的接口。
方法
方法详细信息
beginCreateOrUpdate(string, string, string, IotConnector, IotConnectorsCreateOrUpdateOptionalParams)
使用指定的参数创建或更新 IoT 连接器资源。
function beginCreateOrUpdate(resourceGroupName: string, workspaceName: string, iotConnectorName: string, iotConnector: IotConnector, options?: IotConnectorsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotConnector>, IotConnector>>
参数
- resourceGroupName
-
string
包含服务实例的资源组的名称。
- workspaceName
-
string
工作区资源的名称。
- iotConnectorName
-
string
IoT 连接器资源的名称。
- iotConnector
- IotConnector
用于创建或更新 IoT 连接器资源的参数。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<IotConnector>, IotConnector>>
beginCreateOrUpdateAndWait(string, string, string, IotConnector, IotConnectorsCreateOrUpdateOptionalParams)
使用指定的参数创建或更新 IoT 连接器资源。
function beginCreateOrUpdateAndWait(resourceGroupName: string, workspaceName: string, iotConnectorName: string, iotConnector: IotConnector, options?: IotConnectorsCreateOrUpdateOptionalParams): Promise<IotConnector>
参数
- resourceGroupName
-
string
包含服务实例的资源组的名称。
- workspaceName
-
string
工作区资源的名称。
- iotConnectorName
-
string
IoT 连接器资源的名称。
- iotConnector
- IotConnector
用于创建或更新 IoT 连接器资源的参数。
选项参数。
返回
Promise<IotConnector>
beginDelete(string, string, string, IotConnectorsDeleteOptionalParams)
删除 IoT 连接器。
function beginDelete(resourceGroupName: string, iotConnectorName: string, workspaceName: string, options?: IotConnectorsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
包含服务实例的资源组的名称。
- iotConnectorName
-
string
IoT 连接器资源的名称。
- workspaceName
-
string
工作区资源的名称。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, IotConnectorsDeleteOptionalParams)
删除 IoT 连接器。
function beginDeleteAndWait(resourceGroupName: string, iotConnectorName: string, workspaceName: string, options?: IotConnectorsDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
包含服务实例的资源组的名称。
- iotConnectorName
-
string
IoT 连接器资源的名称。
- workspaceName
-
string
工作区资源的名称。
选项参数。
返回
Promise<void>
beginUpdate(string, string, string, IotConnectorPatchResource, IotConnectorsUpdateOptionalParams)
修补 IoT 连接器。
function beginUpdate(resourceGroupName: string, iotConnectorName: string, workspaceName: string, iotConnectorPatchResource: IotConnectorPatchResource, options?: IotConnectorsUpdateOptionalParams): Promise<SimplePollerLike<OperationState<IotConnector>, IotConnector>>
参数
- resourceGroupName
-
string
包含服务实例的资源组的名称。
- iotConnectorName
-
string
IoT 连接器资源的名称。
- workspaceName
-
string
工作区资源的名称。
- iotConnectorPatchResource
- IotConnectorPatchResource
用于更新 IoT 连接器的参数。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<IotConnector>, IotConnector>>
beginUpdateAndWait(string, string, string, IotConnectorPatchResource, IotConnectorsUpdateOptionalParams)
修补 IoT 连接器。
function beginUpdateAndWait(resourceGroupName: string, iotConnectorName: string, workspaceName: string, iotConnectorPatchResource: IotConnectorPatchResource, options?: IotConnectorsUpdateOptionalParams): Promise<IotConnector>
参数
- resourceGroupName
-
string
包含服务实例的资源组的名称。
- iotConnectorName
-
string
IoT 连接器资源的名称。
- workspaceName
-
string
工作区资源的名称。
- iotConnectorPatchResource
- IotConnectorPatchResource
用于更新 IoT 连接器的参数。
选项参数。
返回
Promise<IotConnector>
get(string, string, string, IotConnectorsGetOptionalParams)
获取指定 IoT 连接器的属性。
function get(resourceGroupName: string, workspaceName: string, iotConnectorName: string, options?: IotConnectorsGetOptionalParams): Promise<IotConnector>
参数
- resourceGroupName
-
string
包含服务实例的资源组的名称。
- workspaceName
-
string
工作区资源的名称。
- iotConnectorName
-
string
IoT 连接器资源的名称。
- options
- IotConnectorsGetOptionalParams
选项参数。
返回
Promise<IotConnector>
listByWorkspace(string, string, IotConnectorsListByWorkspaceOptionalParams)
列出给定工作区的所有 IoT 连接器
function listByWorkspace(resourceGroupName: string, workspaceName: string, options?: IotConnectorsListByWorkspaceOptionalParams): PagedAsyncIterableIterator<IotConnector, IotConnector[], PageSettings>
参数
- resourceGroupName
-
string
包含服务实例的资源组的名称。
- workspaceName
-
string
工作区资源的名称。
选项参数。