Interface HcxEnterpriseSites
public interface HcxEnterpriseSites
Resource collection API of HcxEnterpriseSites.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new HcxEnterpriseSite resource.void
Delete an HCX Enterprise Site in a private cloud.void
deleteById
(String id) Delete an HCX Enterprise Site in a private cloud.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.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.Get an HCX Enterprise Site by name in a private cloud.Get an HCX Enterprise Site by name in a private cloud.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.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.com.azure.core.http.rest.PagedIterable<HcxEnterpriseSite>
List HCX Enterprise Sites in a private cloud.com.azure.core.http.rest.PagedIterable<HcxEnterpriseSite>
List HCX Enterprise Sites in a private cloud.
-
Method Details
-
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 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.
-
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 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.
-
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 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.
-
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.
-
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.
-
delete
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.
-
getById
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 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<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 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
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
Begins definition for a new HcxEnterpriseSite resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new HcxEnterpriseSite definition.
-