Partager via


VariableOperations class

Classe représentant une variableOperations.

Constructeurs

VariableOperations(AutomationClientContext)

Créez une variableOperations.

Méthodes

createOrUpdate(string, string, string, VariableCreateOrUpdateParameters, RequestOptionsBase)

Créez une variable.

createOrUpdate(string, string, string, VariableCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Variable>)
createOrUpdate(string, string, string, VariableCreateOrUpdateParameters, ServiceCallback<Variable>)
deleteMethod(string, string, string, RequestOptionsBase)

Supprimez la variable.

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

Récupérez la variable identifiée par le nom de la variable.

get(string, string, string, RequestOptionsBase, ServiceCallback<Variable>)
get(string, string, string, ServiceCallback<Variable>)
listByAutomationAccount(string, string, RequestOptionsBase)

Récupérez une liste de variables.

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<VariableListResult>)
listByAutomationAccount(string, string, ServiceCallback<VariableListResult>)
listByAutomationAccountNext(string, RequestOptionsBase)

Récupérez une liste de variables.

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<VariableListResult>)
listByAutomationAccountNext(string, ServiceCallback<VariableListResult>)
update(string, string, string, VariableUpdateParameters, RequestOptionsBase)

Mettez à jour une variable.

update(string, string, string, VariableUpdateParameters, RequestOptionsBase, ServiceCallback<Variable>)
update(string, string, string, VariableUpdateParameters, ServiceCallback<Variable>)

Détails du constructeur

VariableOperations(AutomationClientContext)

Créez une variableOperations.

new VariableOperations(client: AutomationClientContext)

Paramètres

client
AutomationClientContext

Référence au client de service.

Détails de la méthode

createOrUpdate(string, string, string, VariableCreateOrUpdateParameters, RequestOptionsBase)

Créez une variable.

function createOrUpdate(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: VariableCreateOrUpdateParameters, options?: RequestOptionsBase): Promise<VariableCreateOrUpdateResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

variableName

string

Nom de la variable.

parameters
VariableCreateOrUpdateParameters

Paramètres fournis à l’opération de création ou de mise à jour de variable.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.VariableCreateOrUpdateResponse>

createOrUpdate(string, string, string, VariableCreateOrUpdateParameters, RequestOptionsBase, ServiceCallback<Variable>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: VariableCreateOrUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Variable>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

variableName

string

Nom de la variable.

parameters
VariableCreateOrUpdateParameters

Paramètres fournis à l’opération de création ou de mise à jour de variable.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<Variable>

Rappel

createOrUpdate(string, string, string, VariableCreateOrUpdateParameters, ServiceCallback<Variable>)

function createOrUpdate(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: VariableCreateOrUpdateParameters, callback: ServiceCallback<Variable>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

variableName

string

Nom de la variable.

parameters
VariableCreateOrUpdateParameters

Paramètres fournis à l’opération de création ou de mise à jour de variable.

callback

ServiceCallback<Variable>

Rappel

deleteMethod(string, string, string, RequestOptionsBase)

Supprimez la variable.

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

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

variableName

string

Nom de la variable.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<RestResponse>

Promesse<msRest.RestResponse>

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

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

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

variableName

string

Nom de la variable.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<void>

Rappel

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

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

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

variableName

string

Nom de la variable.

callback

ServiceCallback<void>

Rappel

get(string, string, string, RequestOptionsBase)

Récupérez la variable identifiée par le nom de la variable.

function get(resourceGroupName: string, automationAccountName: string, variableName: string, options?: RequestOptionsBase): Promise<VariableGetResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

variableName

string

Nom de la variable.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.VariableGetResponse>

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

function get(resourceGroupName: string, automationAccountName: string, variableName: string, options: RequestOptionsBase, callback: ServiceCallback<Variable>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

variableName

string

Nom de la variable.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<Variable>

Rappel

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

function get(resourceGroupName: string, automationAccountName: string, variableName: string, callback: ServiceCallback<Variable>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

variableName

string

Nom de la variable.

callback

ServiceCallback<Variable>

Rappel

listByAutomationAccount(string, string, RequestOptionsBase)

Récupérez une liste de variables.

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: RequestOptionsBase): Promise<VariableListByAutomationAccountResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.VariableListByAutomationAccountResponse>

listByAutomationAccount(string, string, RequestOptionsBase, ServiceCallback<VariableListResult>)

function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options: RequestOptionsBase, callback: ServiceCallback<VariableListResult>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

options
RequestOptionsBase

Paramètres facultatifs

listByAutomationAccount(string, string, ServiceCallback<VariableListResult>)

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

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

listByAutomationAccountNext(string, RequestOptionsBase)

Récupérez une liste de variables.

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

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.VariableListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<VariableListResult>)

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

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

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

Paramètres

nextPageLink

string

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

update(string, string, string, VariableUpdateParameters, RequestOptionsBase)

Mettez à jour une variable.

function update(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: VariableUpdateParameters, options?: RequestOptionsBase): Promise<VariableUpdateResponse>

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

variableName

string

Nom de la variable.

parameters
VariableUpdateParameters

Paramètres fournis à l’opération de variable de mise à jour.

options
RequestOptionsBase

Paramètres facultatifs

Retours

Promise<Models.VariableUpdateResponse>

update(string, string, string, VariableUpdateParameters, RequestOptionsBase, ServiceCallback<Variable>)

function update(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: VariableUpdateParameters, options: RequestOptionsBase, callback: ServiceCallback<Variable>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

variableName

string

Nom de la variable.

parameters
VariableUpdateParameters

Paramètres fournis à l’opération de variable de mise à jour.

options
RequestOptionsBase

Paramètres facultatifs

callback

ServiceCallback<Variable>

Rappel

update(string, string, string, VariableUpdateParameters, ServiceCallback<Variable>)

function update(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: VariableUpdateParameters, callback: ServiceCallback<Variable>)

Paramètres

resourceGroupName

string

Nom d’un groupe de ressources Azure.

automationAccountName

string

Nom du compte Automation.

variableName

string

Nom de la variable.

parameters
VariableUpdateParameters

Paramètres fournis à l’opération de variable de mise à jour.

callback

ServiceCallback<Variable>

Rappel