FileImports interface

Interface representing a FileImports.

Methods

beginDelete(string, string, string, FileImportsDeleteOptionalParams)

Delete the file import.

beginDeleteAndWait(string, string, string, FileImportsDeleteOptionalParams)

Delete the file import.

create(string, string, string, FileImport, FileImportsCreateOptionalParams)

Creates the file import.

get(string, string, string, FileImportsGetOptionalParams)

Gets a file import.

list(string, string, FileImportsListOptionalParams)

Gets all file imports.

Method Details

beginDelete(string, string, string, FileImportsDeleteOptionalParams)

Delete the file import.

function beginDelete(resourceGroupName: string, workspaceName: string, fileImportId: string, options?: FileImportsDeleteOptionalParams): Promise<PollerLike<PollOperationState<FileImport>, FileImport>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

fileImportId

string

File import ID

options
FileImportsDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<FileImport>, FileImport>>

beginDeleteAndWait(string, string, string, FileImportsDeleteOptionalParams)

Delete the file import.

function beginDeleteAndWait(resourceGroupName: string, workspaceName: string, fileImportId: string, options?: FileImportsDeleteOptionalParams): Promise<FileImport>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

fileImportId

string

File import ID

options
FileImportsDeleteOptionalParams

The options parameters.

Returns

Promise<FileImport>

create(string, string, string, FileImport, FileImportsCreateOptionalParams)

Creates the file import.

function create(resourceGroupName: string, workspaceName: string, fileImportId: string, fileImport: FileImport, options?: FileImportsCreateOptionalParams): Promise<FileImport>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

fileImportId

string

File import ID

fileImport
FileImport

The file import

options
FileImportsCreateOptionalParams

The options parameters.

Returns

Promise<FileImport>

get(string, string, string, FileImportsGetOptionalParams)

Gets a file import.

function get(resourceGroupName: string, workspaceName: string, fileImportId: string, options?: FileImportsGetOptionalParams): Promise<FileImport>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

fileImportId

string

File import ID

options
FileImportsGetOptionalParams

The options parameters.

Returns

Promise<FileImport>

list(string, string, FileImportsListOptionalParams)

Gets all file imports.

function list(resourceGroupName: string, workspaceName: string, options?: FileImportsListOptionalParams): PagedAsyncIterableIterator<FileImport, FileImport[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

The name of the workspace.

options
FileImportsListOptionalParams

The options parameters.

Returns