Interface ArcSettingsClient


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

      • listByCluster

        com.azure.core.http.rest.PagedIterable<ArcSettingInner> listByCluster​(String resourceGroupName,
                                                                              String clusterName)
        Get ArcSetting resources of HCI Cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        Returns:
        arcSetting resources of 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.
      • listByCluster

        com.azure.core.http.rest.PagedIterable<ArcSettingInner> listByCluster​(String resourceGroupName,
                                                                              String clusterName,
                                                                              com.azure.core.util.Context context)
        Get ArcSetting resources of HCI Cluster.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        clusterName - The name of the cluster.
        context - The context to associate with this operation.
        Returns:
        arcSetting resources of 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

        ArcSettingInner get​(String resourceGroupName,
                            String clusterName,
                            String arcSettingName)
        Get ArcSetting resource details 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.
        Returns:
        arcSetting resource details 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<ArcSettingInner> getWithResponse​(String resourceGroupName,
                                                                           String clusterName,
                                                                           String arcSettingName,
                                                                           com.azure.core.util.Context context)
        Get ArcSetting resource details 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.
        context - The context to associate with this operation.
        Returns:
        arcSetting resource details 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.
      • create

        ArcSettingInner create​(String resourceGroupName,
                               String clusterName,
                               String arcSettingName,
                               ArcSettingInner arcSetting)
        Create ArcSetting 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.
        arcSetting - Parameters supplied to the Create ArcSetting resource for this HCI cluster.
        Returns:
        arcSetting details.
        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.
      • createWithResponse

        com.azure.core.http.rest.Response<ArcSettingInner> createWithResponse​(String resourceGroupName,
                                                                              String clusterName,
                                                                              String arcSettingName,
                                                                              ArcSettingInner arcSetting,
                                                                              com.azure.core.util.Context context)
        Create ArcSetting 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.
        arcSetting - Parameters supplied to the Create ArcSetting resource for this HCI cluster.
        context - The context to associate with this operation.
        Returns:
        arcSetting details 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.
      • update

        ArcSettingInner update​(String resourceGroupName,
                               String clusterName,
                               String arcSettingName,
                               ArcSettingsPatch arcSetting)
        Update ArcSettings 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.
        arcSetting - ArcSettings parameters that needs to be updated.
        Returns:
        arcSetting details.
        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.
      • updateWithResponse

        com.azure.core.http.rest.Response<ArcSettingInner> updateWithResponse​(String resourceGroupName,
                                                                              String clusterName,
                                                                              String arcSettingName,
                                                                              ArcSettingsPatch arcSetting,
                                                                              com.azure.core.util.Context context)
        Update ArcSettings 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.
        arcSetting - ArcSettings parameters that needs to be updated.
        context - The context to associate with this operation.
        Returns:
        arcSetting details 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 clusterName,
                                                                                                                          String arcSettingName)
        Delete ArcSetting resource details 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.
        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,
                                                                                                                          com.azure.core.util.Context context)
        Delete ArcSetting resource details 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.
        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)
        Delete ArcSetting resource details 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.
        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,
                    com.azure.core.util.Context context)
        Delete ArcSetting resource details 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.
        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.
      • generatePassword

        PasswordCredentialInner generatePassword​(String resourceGroupName,
                                                 String clusterName,
                                                 String arcSettingName)
        Generate password for arc settings.
        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:
        the 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.
      • generatePasswordWithResponse

        com.azure.core.http.rest.Response<PasswordCredentialInner> generatePasswordWithResponse​(String resourceGroupName,
                                                                                                String clusterName,
                                                                                                String arcSettingName,
                                                                                                com.azure.core.util.Context context)
        Generate password for arc settings.
        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:
        the response body 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.
      • beginCreateIdentity

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ArcIdentityResponseInner>,​ArcIdentityResponseInner> beginCreateIdentity​(String resourceGroupName,
                                                                                                                                                                          String clusterName,
                                                                                                                                                                          String arcSettingName)
        Create Aad identity for arc settings.
        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:
        the SyncPoller for polling of arcIdentity details.
        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.
      • beginCreateIdentity

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ArcIdentityResponseInner>,​ArcIdentityResponseInner> beginCreateIdentity​(String resourceGroupName,
                                                                                                                                                                          String clusterName,
                                                                                                                                                                          String arcSettingName,
                                                                                                                                                                          com.azure.core.util.Context context)
        Create Aad identity for arc settings.
        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:
        the SyncPoller for polling of arcIdentity details.
        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.
      • createIdentity

        ArcIdentityResponseInner createIdentity​(String resourceGroupName,
                                                String clusterName,
                                                String arcSettingName)
        Create Aad identity for arc settings.
        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:
        arcIdentity details.
        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.
      • createIdentity

        ArcIdentityResponseInner createIdentity​(String resourceGroupName,
                                                String clusterName,
                                                String arcSettingName,
                                                com.azure.core.util.Context context)
        Create Aad identity for arc settings.
        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:
        arcIdentity details.
        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.