Interface ExtensionsClient


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

      • listByArcSetting

        com.azure.core.http.rest.PagedIterable<ExtensionInner> listByArcSetting​(String resourceGroupName,
                                                                                String clusterName,
                                                                                String arcSettingName)
        List all Extensions under ArcSetting resource.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        Returns:
        list of Extensions in HCI cluster 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.
      • listByArcSetting

        com.azure.core.http.rest.PagedIterable<ExtensionInner> listByArcSetting​(String resourceGroupName,
                                                                                String clusterName,
                                                                                String arcSettingName,
                                                                                com.azure.core.util.Context context)
        List all Extensions under ArcSetting resource.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        context - The context to associate with this operation.
        Returns:
        list of Extensions in HCI cluster 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.
      • get

        ExtensionInner get​(String resourceGroupName,
                           String clusterName,
                           String arcSettingName,
                           String extensionName)
        Get particular Arc Extension of HCI Cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        extensionName - The name of the machine extension.
        Returns:
        particular Arc Extension of HCI Cluster.
        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<ExtensionInner> getWithResponse​(String resourceGroupName,
                                                                          String clusterName,
                                                                          String arcSettingName,
                                                                          String extensionName,
                                                                          com.azure.core.util.Context context)
        Get particular Arc Extension of HCI Cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        extensionName - The name of the machine extension.
        context - The context to associate with this operation.
        Returns:
        particular Arc Extension of HCI Cluster 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.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ExtensionInner>,​ExtensionInner> beginCreate​(String resourceGroupName,
                                                                                                                                              String clusterName,
                                                                                                                                              String arcSettingName,
                                                                                                                                              String extensionName,
                                                                                                                                              ExtensionInner extension)
        Create Extension for HCI cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        extensionName - The name of the machine extension.
        extension - Details of the Machine Extension to be created.
        Returns:
        the SyncPoller for polling of details of a particular extension in HCI Cluster.
        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<ExtensionInner>,​ExtensionInner> beginCreate​(String resourceGroupName,
                                                                                                                                              String clusterName,
                                                                                                                                              String arcSettingName,
                                                                                                                                              String extensionName,
                                                                                                                                              ExtensionInner extension,
                                                                                                                                              com.azure.core.util.Context context)
        Create Extension for HCI cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        extensionName - The name of the machine extension.
        extension - Details of the Machine Extension to be created.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of details of a particular extension in HCI Cluster.
        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

        ExtensionInner create​(String resourceGroupName,
                              String clusterName,
                              String arcSettingName,
                              String extensionName,
                              ExtensionInner extension)
        Create Extension for HCI cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        extensionName - The name of the machine extension.
        extension - Details of the Machine Extension to be created.
        Returns:
        details of a particular extension in HCI Cluster.
        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

        ExtensionInner create​(String resourceGroupName,
                              String clusterName,
                              String arcSettingName,
                              String extensionName,
                              ExtensionInner extension,
                              com.azure.core.util.Context context)
        Create Extension for HCI cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        extensionName - The name of the machine extension.
        extension - Details of the Machine Extension to be created.
        context - The context to associate with this operation.
        Returns:
        details of a particular extension in HCI Cluster.
        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<ExtensionInner>,​ExtensionInner> beginUpdate​(String resourceGroupName,
                                                                                                                                              String clusterName,
                                                                                                                                              String arcSettingName,
                                                                                                                                              String extensionName,
                                                                                                                                              ExtensionInner extension)
        Update Extension for HCI cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        extensionName - The name of the machine extension.
        extension - Details of the Machine Extension to be created.
        Returns:
        the SyncPoller for polling of details of a particular extension in HCI Cluster.
        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<ExtensionInner>,​ExtensionInner> beginUpdate​(String resourceGroupName,
                                                                                                                                              String clusterName,
                                                                                                                                              String arcSettingName,
                                                                                                                                              String extensionName,
                                                                                                                                              ExtensionInner extension,
                                                                                                                                              com.azure.core.util.Context context)
        Update Extension for HCI cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        extensionName - The name of the machine extension.
        extension - Details of the Machine Extension to be created.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of details of a particular extension in HCI Cluster.
        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

        ExtensionInner update​(String resourceGroupName,
                              String clusterName,
                              String arcSettingName,
                              String extensionName,
                              ExtensionInner extension)
        Update Extension for HCI cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        extensionName - The name of the machine extension.
        extension - Details of the Machine Extension to be created.
        Returns:
        details of a particular extension in HCI Cluster.
        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

        ExtensionInner update​(String resourceGroupName,
                              String clusterName,
                              String arcSettingName,
                              String extensionName,
                              ExtensionInner extension,
                              com.azure.core.util.Context context)
        Update Extension for HCI cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        extensionName - The name of the machine extension.
        extension - Details of the Machine Extension to be created.
        context - The context to associate with this operation.
        Returns:
        details of a particular extension in HCI Cluster.
        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 clusterName,
                                                                                                                          String arcSettingName,
                                                                                                                          String extensionName)
        Delete particular Arc Extension of HCI Cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        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 clusterName,
                                                                                                                          String arcSettingName,
                                                                                                                          String extensionName,
                                                                                                                          com.azure.core.util.Context context)
        Delete particular Arc Extension of HCI Cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        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

        void delete​(String resourceGroupName,
                    String clusterName,
                    String arcSettingName,
                    String extensionName)
        Delete particular Arc Extension of HCI Cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        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 clusterName,
                    String arcSettingName,
                    String extensionName,
                    com.azure.core.util.Context context)
        Delete particular Arc Extension of HCI Cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        arcSettingName - The name of the proxy resource holding details of HCI ArcSetting information.
        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.