Interface Extensions


  • public interface Extensions
    Resource collection API of Extensions.
    • Method Detail

      • listByArcSetting

        com.azure.core.http.rest.PagedIterable<Extension> 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<Extension> 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

        Extension 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<Extension> 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.
      • 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.
      • getById

        Extension getById​(String id)
        Get particular Arc Extension of HCI Cluster.
        Parameters:
        id - the resource ID.
        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.
      • getByIdWithResponse

        com.azure.core.http.rest.Response<Extension> getByIdWithResponse​(String id,
                                                                         com.azure.core.util.Context context)
        Get particular Arc Extension of HCI Cluster.
        Parameters:
        id - the resource ID.
        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.
      • deleteById

        void deleteById​(String id)
        Delete particular Arc Extension of HCI Cluster.
        Parameters:
        id - the resource ID.
        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.
      • deleteByIdWithResponse

        void deleteByIdWithResponse​(String id,
                                    com.azure.core.util.Context context)
        Delete particular Arc Extension of HCI Cluster.
        Parameters:
        id - the resource ID.
        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.
      • define

        Extension.DefinitionStages.Blank define​(String name)
        Begins definition for a new Extension resource.
        Parameters:
        name - resource name.
        Returns:
        the first stage of the new Extension definition.