FileImports interface
表示 FileImports 的接口。
方法
方法详细信息
beginDelete(string, string, string, FileImportsDeleteOptionalParams)
删除文件导入。
function beginDelete(resourceGroupName: string, workspaceName: string, fileImportId: string, options?: FileImportsDeleteOptionalParams): Promise<PollerLike<PollOperationState<FileImport>, FileImport>>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- workspaceName
-
string
工作区的名称。
- fileImportId
-
string
文件导入 ID
- options
- FileImportsDeleteOptionalParams
选项参数。
返回
Promise<PollerLike<@azure/core-lro.PollOperationState<FileImport>, FileImport>>
beginDeleteAndWait(string, string, string, FileImportsDeleteOptionalParams)
删除文件导入。
function beginDeleteAndWait(resourceGroupName: string, workspaceName: string, fileImportId: string, options?: FileImportsDeleteOptionalParams): Promise<FileImport>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- workspaceName
-
string
工作区的名称。
- fileImportId
-
string
文件导入 ID
- options
- FileImportsDeleteOptionalParams
选项参数。
返回
Promise<FileImport>
create(string, string, string, FileImport, FileImportsCreateOptionalParams)
创建文件导入。
function create(resourceGroupName: string, workspaceName: string, fileImportId: string, fileImport: FileImport, options?: FileImportsCreateOptionalParams): Promise<FileImport>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- workspaceName
-
string
工作区的名称。
- fileImportId
-
string
文件导入 ID
- fileImport
- FileImport
文件导入
- options
- FileImportsCreateOptionalParams
选项参数。
返回
Promise<FileImport>
get(string, string, string, FileImportsGetOptionalParams)
获取文件导入。
function get(resourceGroupName: string, workspaceName: string, fileImportId: string, options?: FileImportsGetOptionalParams): Promise<FileImport>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- workspaceName
-
string
工作区的名称。
- fileImportId
-
string
文件导入 ID
- options
- FileImportsGetOptionalParams
选项参数。
返回
Promise<FileImport>
list(string, string, FileImportsListOptionalParams)
获取所有文件导入。
function list(resourceGroupName: string, workspaceName: string, options?: FileImportsListOptionalParams): PagedAsyncIterableIterator<FileImport, FileImport[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。 此名称不区分大小写。
- workspaceName
-
string
工作区的名称。
- options
- FileImportsListOptionalParams
选项参数。