Interface MachineExtensionsClient
public interface MachineExtensionsClient
An instance of this class provides access to all the operations defined in MachineExtensionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineExtensionInner>,
MachineExtensionInner> beginCreateOrUpdate
(String resourceGroupName, String name, String extensionName, MachineExtensionInner extensionParameters) The operation to create or update the extension.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineExtensionInner>,
MachineExtensionInner> beginCreateOrUpdate
(String resourceGroupName, String name, String extensionName, MachineExtensionInner extensionParameters, com.azure.core.util.Context context) The operation to create or update the extension.beginDelete
(String resourceGroupName, String name, String extensionName) The operation to delete the extension.beginDelete
(String resourceGroupName, String name, String extensionName, com.azure.core.util.Context context) The operation to delete the extension.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineExtensionInner>,
MachineExtensionInner> beginUpdate
(String resourceGroupName, String name, String extensionName, MachineExtensionUpdate extensionParameters) The operation to update the extension.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineExtensionInner>,
MachineExtensionInner> beginUpdate
(String resourceGroupName, String name, String extensionName, MachineExtensionUpdate extensionParameters, com.azure.core.util.Context context) The operation to update the extension.createOrUpdate
(String resourceGroupName, String name, String extensionName, MachineExtensionInner extensionParameters) The operation to create or update the extension.createOrUpdate
(String resourceGroupName, String name, String extensionName, MachineExtensionInner extensionParameters, com.azure.core.util.Context context) The operation to create or update the extension.void
The operation to delete the extension.void
delete
(String resourceGroupName, String name, String extensionName, com.azure.core.util.Context context) The operation to delete the extension.The operation to get the extension.com.azure.core.http.rest.Response<MachineExtensionInner>
getWithResponse
(String resourceGroupName, String name, String extensionName, com.azure.core.util.Context context) The operation to get the extension.com.azure.core.http.rest.PagedIterable<MachineExtensionInner>
The operation to get all extensions of a non-Azure machine.com.azure.core.http.rest.PagedIterable<MachineExtensionInner>
The operation to get all extensions of a non-Azure machine.update
(String resourceGroupName, String name, String extensionName, MachineExtensionUpdate extensionParameters) The operation to update the extension.update
(String resourceGroupName, String name, String extensionName, MachineExtensionUpdate extensionParameters, com.azure.core.util.Context context) The operation to update the extension.
-
Method Details
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineExtensionInner>,MachineExtensionInner> beginCreateOrUpdate(String resourceGroupName, String name, String extensionName, MachineExtensionInner extensionParameters) The operation to create or update the extension.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine where the extension should be created or updated.extensionName
- The name of the machine extension.extensionParameters
- Parameters supplied to the Create Machine Extension operation.- Returns:
- the
SyncPoller
for polling of describes a Machine Extension. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineExtensionInner>,MachineExtensionInner> beginCreateOrUpdate(String resourceGroupName, String name, String extensionName, MachineExtensionInner extensionParameters, com.azure.core.util.Context context) The operation to create or update the extension.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine where the extension should be created or updated.extensionName
- The name of the machine extension.extensionParameters
- Parameters supplied to the Create Machine Extension operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of describes a Machine Extension. - 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.
-
createOrUpdate
MachineExtensionInner createOrUpdate(String resourceGroupName, String name, String extensionName, MachineExtensionInner extensionParameters) The operation to create or update the extension.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine where the extension should be created or updated.extensionName
- The name of the machine extension.extensionParameters
- Parameters supplied to the Create Machine Extension operation.- Returns:
- describes a Machine Extension.
- 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.
-
createOrUpdate
MachineExtensionInner createOrUpdate(String resourceGroupName, String name, String extensionName, MachineExtensionInner extensionParameters, com.azure.core.util.Context context) The operation to create or update the extension.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine where the extension should be created or updated.extensionName
- The name of the machine extension.extensionParameters
- Parameters supplied to the Create Machine Extension operation.context
- The context to associate with this operation.- Returns:
- describes a Machine Extension.
- 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineExtensionInner>,MachineExtensionInner> beginUpdate(String resourceGroupName, String name, String extensionName, MachineExtensionUpdate extensionParameters) The operation to update the extension.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine where the extension should be created or updated.extensionName
- The name of the machine extension.extensionParameters
- Parameters supplied to the Create Machine Extension operation.- Returns:
- the
SyncPoller
for polling of describes a Machine Extension. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<MachineExtensionInner>,MachineExtensionInner> beginUpdate(String resourceGroupName, String name, String extensionName, MachineExtensionUpdate extensionParameters, com.azure.core.util.Context context) The operation to update the extension.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine where the extension should be created or updated.extensionName
- The name of the machine extension.extensionParameters
- Parameters supplied to the Create Machine Extension operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of describes a Machine Extension. - 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.
-
update
MachineExtensionInner update(String resourceGroupName, String name, String extensionName, MachineExtensionUpdate extensionParameters) The operation to update the extension.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine where the extension should be created or updated.extensionName
- The name of the machine extension.extensionParameters
- Parameters supplied to the Create Machine Extension operation.- Returns:
- describes a Machine Extension.
- 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.
-
update
MachineExtensionInner update(String resourceGroupName, String name, String extensionName, MachineExtensionUpdate extensionParameters, com.azure.core.util.Context context) The operation to update the extension.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine where the extension should be created or updated.extensionName
- The name of the machine extension.extensionParameters
- Parameters supplied to the Create Machine Extension operation.context
- The context to associate with this operation.- Returns:
- describes a Machine Extension.
- 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 name, String extensionName) The operation to delete the extension.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine where the extension should be deleted.extensionName
- The name of the machine extension.- 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 name, String extensionName, com.azure.core.util.Context context) The operation to delete the extension.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine where the extension should be deleted.extensionName
- The name of the machine extension.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
The operation to delete the extension.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine where the extension should be deleted.extensionName
- The name of the machine extension.- 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 name, String extensionName, com.azure.core.util.Context context) The operation to delete the extension.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine where the extension should be deleted.extensionName
- The name of the machine extension.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.
-
get
The operation to get the extension.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine containing the extension.extensionName
- The name of the machine extension.- Returns:
- describes a Machine Extension.
- 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<MachineExtensionInner> getWithResponse(String resourceGroupName, String name, String extensionName, com.azure.core.util.Context context) The operation to get the extension.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine containing the extension.extensionName
- The name of the machine extension.context
- The context to associate with this operation.- Returns:
- describes a Machine Extension 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.
-
list
com.azure.core.http.rest.PagedIterable<MachineExtensionInner> list(String resourceGroupName, String name) The operation to get all extensions of a non-Azure machine.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine containing the extension.- Returns:
- describes the Machine Extensions List Result 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.
-
list
com.azure.core.http.rest.PagedIterable<MachineExtensionInner> list(String resourceGroupName, String name, String expand, com.azure.core.util.Context context) The operation to get all extensions of a non-Azure machine.- Parameters:
resourceGroupName
- The Resource Group Name.name
- The name of the machine containing the extension.expand
- The expand expression to apply on the operation.context
- The context to associate with this operation.- Returns:
- describes the Machine Extensions List Result 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.
-