public interface VariablesClient
Modifier and Type | Method and Description |
---|---|
VariableInner |
createOrUpdate(String resourceGroupName,
String automationAccountName,
String variableName,
VariableCreateOrUpdateParameters parameters)
Create a variable.
|
com.azure.core.http.rest.Response<VariableInner> |
createOrUpdateWithResponse(String resourceGroupName,
String automationAccountName,
String variableName,
VariableCreateOrUpdateParameters parameters,
com.azure.core.util.Context context)
Create a variable.
|
void |
delete(String resourceGroupName,
String automationAccountName,
String variableName)
Delete the variable.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroupName,
String automationAccountName,
String variableName,
com.azure.core.util.Context context)
Delete the variable.
|
VariableInner |
get(String resourceGroupName,
String automationAccountName,
String variableName)
Retrieve the variable identified by variable name.
|
com.azure.core.http.rest.Response<VariableInner> |
getWithResponse(String resourceGroupName,
String automationAccountName,
String variableName,
com.azure.core.util.Context context)
Retrieve the variable identified by variable name.
|
com.azure.core.http.rest.PagedIterable<VariableInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName)
Retrieve a list of variables.
|
com.azure.core.http.rest.PagedIterable<VariableInner> |
listByAutomationAccount(String resourceGroupName,
String automationAccountName,
com.azure.core.util.Context context)
Retrieve a list of variables.
|
VariableInner |
update(String resourceGroupName,
String automationAccountName,
String variableName,
VariableUpdateParameters parameters)
Update a variable.
|
com.azure.core.http.rest.Response<VariableInner> |
updateWithResponse(String resourceGroupName,
String automationAccountName,
String variableName,
VariableUpdateParameters parameters,
com.azure.core.util.Context context)
Update a variable.
|
VariableInner createOrUpdate(String resourceGroupName, String automationAccountName, String variableName, VariableCreateOrUpdateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.variableName
- The variable name.parameters
- The parameters supplied to the create or update variable operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<VariableInner> createOrUpdateWithResponse(String resourceGroupName, String automationAccountName, String variableName, VariableCreateOrUpdateParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.variableName
- The variable name.parameters
- The parameters supplied to the create or update variable operation.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.VariableInner update(String resourceGroupName, String automationAccountName, String variableName, VariableUpdateParameters parameters)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.variableName
- The variable name.parameters
- The parameters supplied to the update variable operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<VariableInner> updateWithResponse(String resourceGroupName, String automationAccountName, String variableName, VariableUpdateParameters parameters, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.variableName
- The variable name.parameters
- The parameters supplied to the update variable operation.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String automationAccountName, String variableName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.variableName
- The name of variable.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String automationAccountName, String variableName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.variableName
- The name of variable.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.VariableInner get(String resourceGroupName, String automationAccountName, String variableName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.variableName
- The name of variable.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<VariableInner> getWithResponse(String resourceGroupName, String automationAccountName, String variableName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.variableName
- The name of variable.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<VariableInner> listByAutomationAccount(String resourceGroupName, String automationAccountName)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<VariableInner> listByAutomationAccount(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context)
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.context
- The context to associate with this operation.IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.