Interface GuestAgentsClient
public interface GuestAgentsClient
An instance of this class provides access to all the operations defined in GuestAgentsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GuestAgentInner>,
GuestAgentInner> beginCreate
(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body) Implements GuestAgent PUT method.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GuestAgentInner>,
GuestAgentInner> beginCreate
(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body, com.azure.core.util.Context context) Implements GuestAgent PUT method.beginDelete
(String resourceGroupName, String virtualMachineName, String name) Deletes an GuestAgent.beginDelete
(String resourceGroupName, String virtualMachineName, String name, com.azure.core.util.Context context) Deletes an GuestAgent.Implements GuestAgent PUT method.create
(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body) Implements GuestAgent PUT method.create
(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body, com.azure.core.util.Context context) Implements GuestAgent PUT method.void
Deletes an GuestAgent.void
delete
(String resourceGroupName, String virtualMachineName, String name, com.azure.core.util.Context context) Deletes an GuestAgent.Gets GuestAgent.com.azure.core.http.rest.Response<GuestAgentInner>
getWithResponse
(String resourceGroupName, String virtualMachineName, String name, com.azure.core.util.Context context) Gets GuestAgent.com.azure.core.http.rest.PagedIterable<GuestAgentInner>
Implements GET GuestAgent in a vm.com.azure.core.http.rest.PagedIterable<GuestAgentInner>
Implements GET GuestAgent in a vm.
-
Method Details
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GuestAgentInner>,GuestAgentInner> beginCreate(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body) Implements GuestAgent PUT method.Create Or Update GuestAgent.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.name
- Name of the guestAgents.body
- Request payload.- Returns:
- the
SyncPoller
for polling of defines the GuestAgent. - 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GuestAgentInner>,GuestAgentInner> beginCreate(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body, com.azure.core.util.Context context) Implements GuestAgent PUT method.Create Or Update GuestAgent.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.name
- Name of the guestAgents.body
- Request payload.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of defines the GuestAgent. - 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.
-
create
GuestAgentInner create(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body) Implements GuestAgent PUT method.Create Or Update GuestAgent.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.name
- Name of the guestAgents.body
- Request payload.- Returns:
- defines the GuestAgent.
- 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.
-
create
Implements GuestAgent PUT method.Create Or Update GuestAgent.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.name
- Name of the guestAgents.- Returns:
- defines the GuestAgent.
- 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.
-
create
GuestAgentInner create(String resourceGroupName, String virtualMachineName, String name, GuestAgentInner body, com.azure.core.util.Context context) Implements GuestAgent PUT method.Create Or Update GuestAgent.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.name
- Name of the guestAgents.body
- Request payload.context
- The context to associate with this operation.- Returns:
- defines the GuestAgent.
- 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.
-
get
Gets GuestAgent.Implements GuestAgent GET method.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.name
- Name of the GuestAgent.- Returns:
- defines the GuestAgent.
- 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<GuestAgentInner> getWithResponse(String resourceGroupName, String virtualMachineName, String name, com.azure.core.util.Context context) Gets GuestAgent.Implements GuestAgent GET method.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.name
- Name of the GuestAgent.context
- The context to associate with this operation.- Returns:
- defines the GuestAgent 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualMachineName, String name) Deletes an GuestAgent.Implements GuestAgent DELETE method.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.name
- Name of the GuestAgent.- Returns:
- the
SyncPoller
for polling of long-running operation. - 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualMachineName, String name, com.azure.core.util.Context context) Deletes an GuestAgent.Implements GuestAgent DELETE method.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.name
- Name of the GuestAgent.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - 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.
-
delete
Deletes an GuestAgent.Implements GuestAgent DELETE method.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.name
- Name of the GuestAgent.- 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.
-
delete
void delete(String resourceGroupName, String virtualMachineName, String name, com.azure.core.util.Context context) Deletes an GuestAgent.Implements GuestAgent DELETE method.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.name
- Name of the GuestAgent.context
- The context to associate with this operation.- 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.
-
listByVm
com.azure.core.http.rest.PagedIterable<GuestAgentInner> listByVm(String resourceGroupName, String virtualMachineName) Implements GET GuestAgent in a vm.Returns the list of GuestAgent of the given vm.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.- Returns:
- list of GuestAgent as paginated response with
PagedIterable
. - 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.
-
listByVm
com.azure.core.http.rest.PagedIterable<GuestAgentInner> listByVm(String resourceGroupName, String virtualMachineName, com.azure.core.util.Context context) Implements GET GuestAgent in a vm.Returns the list of GuestAgent of the given vm.
- Parameters:
resourceGroupName
- The Resource Group Name.virtualMachineName
- Name of the vm.context
- The context to associate with this operation.- Returns:
- list of GuestAgent as paginated response with
PagedIterable
. - 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.
-