SourceControlsOperations interface

Interface representing a SourceControls operations.

Properties

create

Creates a source control.

delete

Delete a source control.

get

Gets a source control byt its identifier.

list

Gets all source controls, without source control items.

Property Details

create

Creates a source control.

create: (resourceGroupName: string, workspaceName: string, sourceControlId: string, sourceControl: SourceControl, options?: SourceControlsCreateOptionalParams) => Promise<SourceControl>

Property Value

(resourceGroupName: string, workspaceName: string, sourceControlId: string, sourceControl: SourceControl, options?: SourceControlsCreateOptionalParams) => Promise<SourceControl>

delete

Delete a source control.

delete: (resourceGroupName: string, workspaceName: string, sourceControlId: string, repositoryAccess: RepositoryAccessProperties, options?: SourceControlsDeleteOptionalParams) => Promise<Warning>

Property Value

(resourceGroupName: string, workspaceName: string, sourceControlId: string, repositoryAccess: RepositoryAccessProperties, options?: SourceControlsDeleteOptionalParams) => Promise<Warning>

get

Gets a source control byt its identifier.

get: (resourceGroupName: string, workspaceName: string, sourceControlId: string, options?: SourceControlsGetOptionalParams) => Promise<SourceControl>

Property Value

(resourceGroupName: string, workspaceName: string, sourceControlId: string, options?: SourceControlsGetOptionalParams) => Promise<SourceControl>

list

Gets all source controls, without source control items.

list: (resourceGroupName: string, workspaceName: string, options?: SourceControlsListOptionalParams) => PagedAsyncIterableIterator<SourceControl, SourceControl[], PageSettings>

Property Value

(resourceGroupName: string, workspaceName: string, options?: SourceControlsListOptionalParams) => PagedAsyncIterableIterator<SourceControl, SourceControl[], PageSettings>