SourceControlOperations class
Class representing a SourceControlOperations.
Constructors
Source |
Create a SourceControlOperations. |
Methods
Constructor Details
SourceControlOperations(AutomationClientContext)
Create a SourceControlOperations.
new SourceControlOperations(client: AutomationClientContext)
Parameters
- client
- AutomationClientContext
Reference to the service client.
Method Details
createOrUpdate(string, string, string, SourceControlCreateOrUpdateParameters, RequestOptionsBase)
Create a source control.
function createOrUpdate(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlCreateOrUpdateParameters, options?: RequestOptionsBase): Promise<SourceControlCreateOrUpdateResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- sourceControlName
-
string
The source control name.
- parameters
- SourceControlCreateOrUpdateParameters
The parameters supplied to the create or update source control operation.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<SourceControlCreateOrUpdateResponse>
Promise<Models.SourceControlCreateOrUpdateResponse>
createOrUpdate(string, string, string, SourceControlCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<SourceControl>)
function createOrUpdate(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlCreateOrUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<SourceControl>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- sourceControlName
-
string
The source control name.
- parameters
- SourceControlCreateOrUpdateParameters
The parameters supplied to the create or update source control operation.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
createOrUpdate(string, string, string, SourceControlCreateOrUpdateParameters, ServiceCallback<SourceControl>)
function createOrUpdate(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlCreateOrUpdateParameters, callback: ServiceCallback<SourceControl>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- sourceControlName
-
string
The source control name.
- parameters
- SourceControlCreateOrUpdateParameters
The parameters supplied to the create or update source control operation.
- callback
The callback
deleteMethod(string, string, string, RequestOptionsBase)
Delete the source control.
function deleteMethod(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options?: RequestOptionsBase): Promise<RestResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- sourceControlName
-
string
The name of source control.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<RestResponse>
Promise<msRest.RestResponse>
deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- sourceControlName
-
string
The name of source control.
- options
- RequestOptionsBase
The optional parameters
- callback
-
ServiceCallback<void>
The callback
deleteMethod(string, string, string, ServiceCallback<void>)
function deleteMethod(resourceGroupName: string, automationAccountName: string, sourceControlName: string, callback: ServiceCallback<void>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- sourceControlName
-
string
The name of source control.
- callback
-
ServiceCallback<void>
The callback
get(string, string, string, RequestOptionsBase)
Retrieve the source control identified by source control name.
function get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options?: RequestOptionsBase): Promise<SourceControlGetResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- sourceControlName
-
string
The name of source control.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<SourceControlGetResponse>
Promise<Models.SourceControlGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<SourceControl>)
function get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options: RequestOptionsBase, callback: ServiceCallback<SourceControl>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- sourceControlName
-
string
The name of source control.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
get(string, string, string, ServiceCallback<SourceControl>)
function get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, callback: ServiceCallback<SourceControl>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- sourceControlName
-
string
The name of source control.
- callback
The callback
listByAutomationAccount(string, string, ServiceCallback<SourceControlListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<SourceControlListResult>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- callback
The callback
listByAutomationAccount(string, string, SourceControlListByAutomationAccountOptionalParams)
Retrieve a list of source controls.
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: SourceControlListByAutomationAccountOptionalParams): Promise<SourceControlListByAutomationAccountResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
The optional parameters
Returns
Promise<Models.SourceControlListByAutomationAccountResponse>
listByAutomationAccount(string, string, SourceControlListByAutomationAccountOptionalParams, ServiceCallback<SourceControlListResult>)
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: SourceControlListByAutomationAccountOptionalParams, callback: ServiceCallback<SourceControlListResult>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
The optional parameters
- callback
The callback
listByAutomationAccountNext(string, RequestOptionsBase)
Retrieve a list of source controls.
function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<SourceControlListByAutomationAccountNextResponse>
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<Models.SourceControlListByAutomationAccountNextResponse>
listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<SourceControlListResult>)
function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<SourceControlListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
listByAutomationAccountNext(string, ServiceCallback<SourceControlListResult>)
function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<SourceControlListResult>)
Parameters
- nextPageLink
-
string
The NextLink from the previous successful call to List operation.
- callback
The callback
update(string, string, string, SourceControlUpdateParameters, RequestOptionsBase)
Update a source control.
function update(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlUpdateParameters, options?: RequestOptionsBase): Promise<SourceControlUpdateResponse>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- sourceControlName
-
string
The source control name.
- parameters
- SourceControlUpdateParameters
The parameters supplied to the update source control operation.
- options
- RequestOptionsBase
The optional parameters
Returns
Promise<SourceControlUpdateResponse>
Promise<Models.SourceControlUpdateResponse>
update(string, string, string, SourceControlUpdateParameters, RequestOptionsBase, ServiceCallback<SourceControl>)
function update(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<SourceControl>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- sourceControlName
-
string
The source control name.
- parameters
- SourceControlUpdateParameters
The parameters supplied to the update source control operation.
- options
- RequestOptionsBase
The optional parameters
- callback
The callback
update(string, string, string, SourceControlUpdateParameters, ServiceCallback<SourceControl>)
function update(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlUpdateParameters, callback: ServiceCallback<SourceControl>)
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
- sourceControlName
-
string
The source control name.
- parameters
- SourceControlUpdateParameters
The parameters supplied to the update source control operation.
- callback
The callback