Interface HcxEnterpriseSitesClient


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

      • list

        com.azure.core.http.rest.PagedIterable<HcxEnterpriseSiteInner> list​(String resourceGroupName,
                                                                            String privateCloudName)
        List HCX Enterprise Sites in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        Returns:
        a paged list of HCX Enterprise Sites.
        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<HcxEnterpriseSiteInner> list​(String resourceGroupName,
                                                                            String privateCloudName,
                                                                            com.azure.core.util.Context context)
        List HCX Enterprise Sites in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        context - The context to associate with this operation.
        Returns:
        a paged list of HCX Enterprise Sites.
        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

        HcxEnterpriseSiteInner get​(String resourceGroupName,
                                   String privateCloudName,
                                   String hcxEnterpriseSiteName)
        Get an HCX Enterprise Site by name in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        hcxEnterpriseSiteName - Name of the HCX Enterprise Site in the private cloud.
        Returns:
        an HCX Enterprise Site by name in a private cloud.
        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<HcxEnterpriseSiteInner> getWithResponse​(String resourceGroupName,
                                                                                  String privateCloudName,
                                                                                  String hcxEnterpriseSiteName,
                                                                                  com.azure.core.util.Context context)
        Get an HCX Enterprise Site by name in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        hcxEnterpriseSiteName - Name of the HCX Enterprise Site in the private cloud.
        context - The context to associate with this operation.
        Returns:
        an HCX Enterprise Site by name in a private cloud.
        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

        HcxEnterpriseSiteInner createOrUpdate​(String resourceGroupName,
                                              String privateCloudName,
                                              String hcxEnterpriseSiteName,
                                              HcxEnterpriseSiteInner hcxEnterpriseSite)
        Create or update an HCX Enterprise Site in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - The name of the private cloud.
        hcxEnterpriseSiteName - Name of the HCX Enterprise Site in the private cloud.
        hcxEnterpriseSite - The HCX Enterprise Site.
        Returns:
        an HCX Enterprise Site resource.
        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.
      • createOrUpdateWithResponse

        com.azure.core.http.rest.Response<HcxEnterpriseSiteInner> createOrUpdateWithResponse​(String resourceGroupName,
                                                                                             String privateCloudName,
                                                                                             String hcxEnterpriseSiteName,
                                                                                             HcxEnterpriseSiteInner hcxEnterpriseSite,
                                                                                             com.azure.core.util.Context context)
        Create or update an HCX Enterprise Site in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - The name of the private cloud.
        hcxEnterpriseSiteName - Name of the HCX Enterprise Site in the private cloud.
        hcxEnterpriseSite - The HCX Enterprise Site.
        context - The context to associate with this operation.
        Returns:
        an HCX Enterprise Site resource.
        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 privateCloudName,
                    String hcxEnterpriseSiteName)
        Delete an HCX Enterprise Site in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        hcxEnterpriseSiteName - Name of the HCX Enterprise Site in the private cloud.
        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.
      • deleteWithResponse

        com.azure.core.http.rest.Response<Void> deleteWithResponse​(String resourceGroupName,
                                                                   String privateCloudName,
                                                                   String hcxEnterpriseSiteName,
                                                                   com.azure.core.util.Context context)
        Delete an HCX Enterprise Site in a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        hcxEnterpriseSiteName - Name of the HCX Enterprise Site in the private cloud.
        context - The context to associate with this operation.
        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.