VariableOperations class

Class representing a VariableOperations.

Constructors

VariableOperations(AutomationClientContext)

Create a VariableOperations.

Methods

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

Create a variable.

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

Delete the variable.

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

Retrieve the variable identified by variable name.

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

Retrieve a list of variables.

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

Retrieve a list of variables.

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

Update a variable.

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

Constructor Details

VariableOperations(AutomationClientContext)

Create a VariableOperations.

new VariableOperations(client: AutomationClientContext)

Parameters

client
AutomationClientContext

Reference to the service client.

Method Details

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

Create a variable.

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

variableName

string

The variable name.

parameters
VariableCreateOrUpdateParameters

The parameters supplied to the create or update variable operation.

options
RequestOptionsBase

The optional parameters

Returns

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

variableName

string

The variable name.

parameters
VariableCreateOrUpdateParameters

The parameters supplied to the create or update variable operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Variable>

The callback

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

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

variableName

string

The variable name.

parameters
VariableCreateOrUpdateParameters

The parameters supplied to the create or update variable operation.

callback

ServiceCallback<Variable>

The callback

deleteMethod(string, string, string, RequestOptionsBase)

Delete the variable.

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

variableName

string

The name of variable.

options
RequestOptionsBase

The optional parameters

Returns

Promise<RestResponse>

Promise<msRest.RestResponse>

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

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

variableName

string

The name of variable.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<void>

The callback

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

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

variableName

string

The name of variable.

callback

ServiceCallback<void>

The callback

get(string, string, string, RequestOptionsBase)

Retrieve the variable identified by variable name.

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

variableName

string

The name of variable.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.VariableGetResponse>

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

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

variableName

string

The name of variable.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Variable>

The callback

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

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

variableName

string

The name of variable.

callback

ServiceCallback<Variable>

The callback

listByAutomationAccount(string, string, RequestOptionsBase)

Retrieve a list of variables.

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.VariableListByAutomationAccountResponse>

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

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<VariableListResult>

The callback

listByAutomationAccount(string, string, ServiceCallback<VariableListResult>)

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

callback

ServiceCallback<VariableListResult>

The callback

listByAutomationAccountNext(string, RequestOptionsBase)

Retrieve a list of variables.

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

Returns

Promise<Models.VariableListByAutomationAccountNextResponse>

listByAutomationAccountNext(string, RequestOptionsBase, ServiceCallback<VariableListResult>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<VariableListResult>

The callback

listByAutomationAccountNext(string, ServiceCallback<VariableListResult>)

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

Parameters

nextPageLink

string

The NextLink from the previous successful call to List operation.

callback

ServiceCallback<VariableListResult>

The callback

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

Update a variable.

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

variableName

string

The variable name.

parameters
VariableUpdateParameters

The parameters supplied to the update variable operation.

options
RequestOptionsBase

The optional parameters

Returns

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

variableName

string

The variable name.

parameters
VariableUpdateParameters

The parameters supplied to the update variable operation.

options
RequestOptionsBase

The optional parameters

callback

ServiceCallback<Variable>

The callback

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

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

Parameters

resourceGroupName

string

Name of an Azure Resource group.

automationAccountName

string

The name of the automation account.

variableName

string

The variable name.

parameters
VariableUpdateParameters

The parameters supplied to the update variable operation.

callback

ServiceCallback<Variable>

The callback