Interface AgentRegistrationInformations
public interface AgentRegistrationInformations
Resource collection API of AgentRegistrationInformations.
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the automation agent registration information.com.azure.core.http.rest.Response<AgentRegistration>
getWithResponse
(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context) Retrieve the automation agent registration information.regenerateKey
(String resourceGroupName, String automationAccountName, AgentRegistrationRegenerateKeyParameter parameters) Regenerate a primary or secondary agent registration key.com.azure.core.http.rest.Response<AgentRegistration>
regenerateKeyWithResponse
(String resourceGroupName, String automationAccountName, AgentRegistrationRegenerateKeyParameter parameters, com.azure.core.util.Context context) Regenerate a primary or secondary agent registration key.
-
Method Details
-
get
Retrieve the automation agent registration information.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.- Returns:
- definition of the agent registration information type.
- 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.
-
getWithResponse
com.azure.core.http.rest.Response<AgentRegistration> getWithResponse(String resourceGroupName, String automationAccountName, com.azure.core.util.Context context) Retrieve the automation agent registration information.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.context
- The context to associate with this operation.- Returns:
- definition of the agent registration information type 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.
-
regenerateKey
AgentRegistration regenerateKey(String resourceGroupName, String automationAccountName, AgentRegistrationRegenerateKeyParameter parameters) Regenerate a primary or secondary agent registration key.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.parameters
- The name of the agent registration key to be regenerated.- Returns:
- definition of the agent registration information type.
- 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.
-
regenerateKeyWithResponse
com.azure.core.http.rest.Response<AgentRegistration> regenerateKeyWithResponse(String resourceGroupName, String automationAccountName, AgentRegistrationRegenerateKeyParameter parameters, com.azure.core.util.Context context) Regenerate a primary or secondary agent registration key.- Parameters:
resourceGroupName
- Name of an Azure Resource group.automationAccountName
- The name of the automation account.parameters
- The name of the agent registration key to be regenerated.context
- The context to associate with this operation.- Returns:
- definition of the agent registration information type 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.
-