Interface ResourceProvidersClient


public interface ResourceProvidersClient
An instance of this class provides access to all the operations defined in ResourceProvidersClient.
  • Method Details

    • beginUpgradeExtensions

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUpgradeExtensions(String resourceGroupName, String machineName, MachineExtensionUpgrade extensionUpgradeParameters)
      The operation to Upgrade Machine Extensions.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the hybrid machine.
      extensionUpgradeParameters - Parameters supplied to the Upgrade Extensions 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.
    • beginUpgradeExtensions

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUpgradeExtensions(String resourceGroupName, String machineName, MachineExtensionUpgrade extensionUpgradeParameters, com.azure.core.util.Context context)
      The operation to Upgrade Machine Extensions.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the hybrid machine.
      extensionUpgradeParameters - Parameters supplied to the Upgrade Extensions operation.
      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.
    • upgradeExtensions

      void upgradeExtensions(String resourceGroupName, String machineName, MachineExtensionUpgrade extensionUpgradeParameters)
      The operation to Upgrade Machine Extensions.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the hybrid machine.
      extensionUpgradeParameters - Parameters supplied to the Upgrade Extensions 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.
    • upgradeExtensions

      void upgradeExtensions(String resourceGroupName, String machineName, MachineExtensionUpgrade extensionUpgradeParameters, com.azure.core.util.Context context)
      The operation to Upgrade Machine Extensions.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      machineName - The name of the hybrid machine.
      extensionUpgradeParameters - Parameters supplied to the Upgrade Extensions operation.
      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.