Interface Keys
public interface Keys
Resource collection API of Keys.
-
Method Summary
Modifier and TypeMethodDescriptionlistByAutomationAccount
(String resourceGroupName, String automationAccountName) Retrieve the automation keys for an account.com.azure.core.http.rest.Response<KeyListResult>
listByAutomationAccountWithResponse
(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context) Retrieve the automation keys for an account.
-
Method Details
-
listByAutomationAccount
Retrieve the automation keys for an account.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.- Returns:
- the response.
- Throws:
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.
-
listByAutomationAccountWithResponse
com.azure.core.http.rest.Response<KeyListResult> listByAutomationAccountWithResponse(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context) Retrieve the automation keys for an account.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.context
- The context to associate with this operation.- Returns:
- the response body along with
Response
. - Throws:
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.
-