Interface HcxEnterpriseSites


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

      • list

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

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

        HcxEnterpriseSite getById​(String id)
        Get an HCX Enterprise Site by name in a private cloud.
        Parameters:
        id - the resource ID.
        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.
      • getByIdWithResponse

        com.azure.core.http.rest.Response<HcxEnterpriseSite> getByIdWithResponse​(String id,
                                                                                 com.azure.core.util.Context context)
        Get an HCX Enterprise Site by name in a private cloud.
        Parameters:
        id - the resource ID.
        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.
      • deleteById

        void deleteById​(String id)
        Delete an HCX Enterprise Site in a private cloud.
        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

        com.azure.core.http.rest.Response<Void> deleteByIdWithResponse​(String id,
                                                                       com.azure.core.util.Context context)
        Delete an HCX Enterprise Site in a private cloud.
        Parameters:
        id - the resource ID.
        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.
      • define

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