VariableOperations interface
Interface representing a VariableOperations.
Methods
create |
Create a variable. |
delete(string, string, string, Variable |
Delete the variable. |
get(string, string, string, Variable |
Retrieve the variable identified by variable name. |
list |
Retrieve a list of variables. |
update(string, string, string, Variable |
Update a variable. |
Method Details
createOrUpdate(string, string, string, VariableCreateOrUpdateParameters, VariableCreateOrUpdateOptionalParams)
Create a variable.
function createOrUpdate(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: VariableCreateOrUpdateParameters, options?: VariableCreateOrUpdateOptionalParams): Promise<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.
The options parameters.
Returns
Promise<Variable>
delete(string, string, string, VariableDeleteOptionalParams)
Delete the variable.
function delete(resourceGroupName: string, automationAccountName: string, variableName: string, options?: VariableDeleteOptionalParams): Promise<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
- VariableDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, VariableGetOptionalParams)
Retrieve the variable identified by variable name.
function get(resourceGroupName: string, automationAccountName: string, variableName: string, options?: VariableGetOptionalParams): Promise<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
- VariableGetOptionalParams
The options parameters.
Returns
Promise<Variable>
listByAutomationAccount(string, string, VariableListByAutomationAccountOptionalParams)
Retrieve a list of variables.
function listByAutomationAccount(resourceGroupName: string, automationAccountName: string, options?: VariableListByAutomationAccountOptionalParams): PagedAsyncIterableIterator<Variable, Variable[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of an Azure Resource group.
- automationAccountName
-
string
The name of the automation account.
The options parameters.
Returns
update(string, string, string, VariableUpdateParameters, VariableUpdateOptionalParams)
Update a variable.
function update(resourceGroupName: string, automationAccountName: string, variableName: string, parameters: VariableUpdateParameters, options?: VariableUpdateOptionalParams): Promise<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
- VariableUpdateOptionalParams
The options parameters.
Returns
Promise<Variable>
Azure SDK for JavaScript