SqlCollectorOperations interface
表示 SqlCollectorOperations 的接口。
方法
方法详细信息
beginCreate(string, string, string, SqlCollector, SqlCollectorOperationsCreateOptionalParams)
创建 SqlCollector
function beginCreate(resourceGroupName: string, projectName: string, collectorName: string, resource: SqlCollector, options?: SqlCollectorOperationsCreateOptionalParams): Promise<SimplePollerLike<OperationState<SqlCollector>, SqlCollector>>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- projectName
-
string
评估项目名称
- collectorName
-
string
Sql 收集器 ARM 名称。
- resource
- SqlCollector
资源创建参数。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<SqlCollector>, SqlCollector>>
beginCreateAndWait(string, string, string, SqlCollector, SqlCollectorOperationsCreateOptionalParams)
创建 SqlCollector
function beginCreateAndWait(resourceGroupName: string, projectName: string, collectorName: string, resource: SqlCollector, options?: SqlCollectorOperationsCreateOptionalParams): Promise<SqlCollector>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- projectName
-
string
评估项目名称
- collectorName
-
string
Sql 收集器 ARM 名称。
- resource
- SqlCollector
资源创建参数。
选项参数。
返回
Promise<SqlCollector>
delete(string, string, string, SqlCollectorOperationsDeleteOptionalParams)
删除 SqlCollector
function delete(resourceGroupName: string, projectName: string, collectorName: string, options?: SqlCollectorOperationsDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- projectName
-
string
评估项目名称
- collectorName
-
string
Sql 收集器 ARM 名称。
选项参数。
返回
Promise<void>
get(string, string, string, SqlCollectorOperationsGetOptionalParams)
获取 SqlCollector
function get(resourceGroupName: string, projectName: string, collectorName: string, options?: SqlCollectorOperationsGetOptionalParams): Promise<SqlCollector>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- projectName
-
string
评估项目名称
- collectorName
-
string
Sql 收集器 ARM 名称。
选项参数。
返回
Promise<SqlCollector>
listByAssessmentProject(string, string, SqlCollectorOperationsListByAssessmentProjectOptionalParams)
按 AssessmentProject 列出 SqlCollector 资源
function listByAssessmentProject(resourceGroupName: string, projectName: string, options?: SqlCollectorOperationsListByAssessmentProjectOptionalParams): PagedAsyncIterableIterator<SqlCollector, SqlCollector[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- projectName
-
string
评估项目名称