VariableOperations class
Class representing a VariableOperations.
Constructors
Variable |
Create a VariableOperations. |
Methods
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<VariableCreateOrUpdateResponse>
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
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
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<VariableGetResponse>
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
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
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
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
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
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
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<VariableUpdateResponse>
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
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
The callback