Partager via


SourceControlOperations class

Classe représentant un SourceControlOperations.

Constructeurs

SourceControlOperations(AutomationClientContext)

Créez un SourceControlOperations.

Méthodes

createOrUpdate(string, string, string, SourceControlCreateOrUpdateParameters, RequestOptionsBase)

Créez un contrôle de code source.

createOrUpdate(string, string, string, SourceControlCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<SourceControl>)
createOrUpdate(string, string, string, SourceControlCreateOrUpdateParameters, ServiceCallback<SourceControl>)
deleteMethod(string, string, string, RequestOptionsBase)

Supprimez le contrôle de code source.

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)
deleteMethod(string, string, string, ServiceCallback<void>)
get(string, string, string, RequestOptionsBase)

Récupérez le contrôle de code source identifié par le nom du contrôle de code source.

get(string, string, string, RequestOptionsBase, ServiceCallback<SourceControl>)
get(string, string, string, ServiceCallback<SourceControl>)
listByAutomationAccount(string, string, ServiceCallback<SourceControlListResult>)
listByAutomationAccount(string, string, SourceControlListByAutomationAccountOptionalParams)

Récupérez une liste de contrôles sources.

listByAutomationAccount(string, string, SourceControlListByAutomationAccountOptionalParams, ServiceCallback<SourceControlListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

Récupérez une liste de contrôles sources.

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<SourceControlListResult>)
listByAutomationAccountNext(string, ServiceCallback<SourceControlListResult>)
update(string, string, string, SourceControlUpdateParameters, RequestOptionsBase)

Mettez à jour un contrôle de code source.

update(string, string, string, SourceControlUpdateParameters, RequestOptionsBase, ServiceCallback<SourceControl>)
update(string, string, string, SourceControlUpdateParameters, ServiceCallback<SourceControl>)

Détails du constructeur

SourceControlOperations(AutomationClientContext)

Créez un SourceControlOperations.

new SourceControlOperations(client: AutomationClientContext)

Paramètres

client
AutomationClientContext

Référence au client de service.

Détails de la méthode

createOrUpdate(string, string, string, SourceControlCreateOrUpdateParameters, RequestOptionsBase)

Créez un contrôle de code source.

function createOrUpdate(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlCreateOrUpdateParameters, options?: RequestOptionsBase): Promise<SourceControlCreateOrUpdateResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

sourceControlName

string

Nom du contrôle de code source.

parameters
SourceControlCreateOrUpdateParameters

Paramètres fournis à l’opération de création ou de mise à jour du contrôle de code source.

options
RequestOptionsBase

Paramètres facultatifs

Retours

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>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

sourceControlName

string

Nom du contrôle de code source.

parameters
SourceControlCreateOrUpdateParameters

Paramètres fournis à l’opération de création ou de mise à jour du contrôle de code source.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<SourceControl>

Rappel

createOrUpdate(string, string, string, SourceControlCreateOrUpdateParameters, ServiceCallback<SourceControl>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlCreateOrUpdateParameters, callback: ServiceCallback<SourceControl>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

sourceControlName

string

Nom du contrôle de code source.

parameters
SourceControlCreateOrUpdateParameters

Paramètres fournis à l’opération de création ou de mise à jour du contrôle de code source.

callback

ServiceCallback<SourceControl>

Rappel

deleteMethod(string, string, string, RequestOptionsBase)

Supprimez le contrôle de code source.

function deleteMethod(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options?: RequestOptionsBase): Promise<RestResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

sourceControlName

string

Nom du contrôle de code source.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<RestResponse>

Promesse<msRest.RestResponse>

deleteMethod(string, string, string, RequestOptionsBase, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options: RequestOptionsBase, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

sourceControlName

string

Nom du contrôle de code source.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<void>

Rappel

deleteMethod(string, string, string, ServiceCallback<void>)

function deleteMethod(resourceGroupName: string, automationAccountName: string, sourceControlName: string, callback: ServiceCallback<void>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

sourceControlName

string

Nom du contrôle de code source.

callback

ServiceCallback<void>

Rappel

get(string, string, string, RequestOptionsBase)

Récupérez le contrôle de code source identifié par le nom du contrôle de code source.

function get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options?: RequestOptionsBase): Promise<SourceControlGetResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

sourceControlName

string

Nom du contrôle de code source.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.SourceControlGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<SourceControl>)

function get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, options: RequestOptionsBase, callback: ServiceCallback<SourceControl>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

sourceControlName

string

Nom du contrôle de code source.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<SourceControl>

Rappel

get(string, string, string, ServiceCallback<SourceControl>)

function get(resourceGroupName: string, automationAccountName: string, sourceControlName: string, callback: ServiceCallback<SourceControl>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

sourceControlName

string

Nom du contrôle de code source.

callback

ServiceCallback<SourceControl>

Rappel

listByAutomationAccount(string, string, ServiceCallback<SourceControlListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, callback: ServiceCallback<SourceControlListResult>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

listByAutomationAccount(string, string, SourceControlListByAutomationAccountOptionalParams)

Récupérez une liste de contrôles sources.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: SourceControlListByAutomationAccountOptionalParams): Promise<SourceControlListByAutomationAccountResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

options
SourceControlListByAutomationAccountOptionalParams

Paramètres facultatifs

Retours

Promise<Models.SourceControlListByAutomationAccountResponse>

listByAutomationAccount(string, string, SourceControlListByAutomationAccountOptionalParams, ServiceCallback<SourceControlListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: SourceControlListByAutomationAccountOptionalParams, callback: ServiceCallback<SourceControlListResult>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

options
SourceControlListByAutomationAccountOptionalParams

Paramètres facultatifs

listByAutomationAccountNext(string, RequestOptionsBase)

Récupérez une liste de contrôles sources.

function listByAutomationAccountNext(nextPageLink: string, options?: RequestOptionsBase): Promise<SourceControlListByAutomationAccountNextResponse>

Paramètres

nextPageLink

string

NextLink de l’appel réussi précédent à l’opération De liste.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.SourceControlListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<SourceControlListResult>)

function listByAutomationAccountNext(nextPageLink: string, options: RequestOptionsBase, callback: ServiceCallback<SourceControlListResult>)

Paramètres

nextPageLink

string

NextLink de l’appel réussi précédent à l’opération De liste.

options
RequestOptionsBase

Paramètres facultatifs

listByAutomationAccountNext(string, ServiceCallback<SourceControlListResult>)

function listByAutomationAccountNext(nextPageLink: string, callback: ServiceCallback<SourceControlListResult>)

Paramètres

nextPageLink

string

NextLink de l’appel réussi précédent à l’opération De liste.

update(string, string, string, SourceControlUpdateParameters, RequestOptionsBase)

Mettez à jour un contrôle de code source.

function update(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlUpdateParameters, options?: RequestOptionsBase): Promise<SourceControlUpdateResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

sourceControlName

string

Nom du contrôle de code source.

parameters
SourceControlUpdateParameters

Paramètres fournis à l’opération de contrôle de code source de mise à jour.

options
RequestOptionsBase

Paramètres facultatifs

Retours

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>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

sourceControlName

string

Nom du contrôle de code source.

parameters
SourceControlUpdateParameters

Paramètres fournis à l’opération de contrôle de code source de mise à jour.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<SourceControl>

Rappel

update(string, string, string, SourceControlUpdateParameters, ServiceCallback<SourceControl>)

function update(resourceGroupName: string, automationAccountName: string, sourceControlName: string, parameters: SourceControlUpdateParameters, callback: ServiceCallback<SourceControl>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

sourceControlName

string

Nom du contrôle de code source.

parameters
SourceControlUpdateParameters

Paramètres fournis à l’opération de contrôle de code source de mise à jour.

callback

ServiceCallback<SourceControl>

Rappel