SourceControls interface
Interface representing a SourceControls.
Methods
create(string, string, string, Source |
Creates a source control. |
delete(string, string, string, Source |
Delete a source control. |
get(string, string, string, Source |
Gets a source control byt its identifier. |
list(string, string, Source |
Gets all source controls, without source control items. |
Method Details
create(string, string, string, SourceControl, SourceControlsCreateOptionalParams)
Creates a source control.
function create(resourceGroupName: string, workspaceName: string, sourceControlId: string, sourceControl: SourceControl, options?: SourceControlsCreateOptionalParams): Promise<SourceControl>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- sourceControlId
-
string
Source control Id
- sourceControl
- SourceControl
The SourceControl
The options parameters.
Returns
Promise<SourceControl>
delete(string, string, string, SourceControlsDeleteOptionalParams)
Delete a source control.
function delete(resourceGroupName: string, workspaceName: string, sourceControlId: string, options?: SourceControlsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- sourceControlId
-
string
Source control Id
The options parameters.
Returns
Promise<void>
get(string, string, string, SourceControlsGetOptionalParams)
Gets a source control byt its identifier.
function get(resourceGroupName: string, workspaceName: string, sourceControlId: string, options?: SourceControlsGetOptionalParams): Promise<SourceControl>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- sourceControlId
-
string
Source control Id
- options
- SourceControlsGetOptionalParams
The options parameters.
Returns
Promise<SourceControl>
list(string, string, SourceControlsListOptionalParams)
Gets all source controls, without source control items.
function list(resourceGroupName: string, workspaceName: string, options?: SourceControlsListOptionalParams): PagedAsyncIterableIterator<SourceControl, SourceControl[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- workspaceName
-
string
The name of the workspace.
- options
- SourceControlsListOptionalParams
The options parameters.
Returns
Azure SDK for JavaScript