Interface PrivateClouds
public interface PrivateClouds
Resource collection API of PrivateClouds.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new PrivateCloud resource.void
Delete a private cloud.void
deleteById
(String id) Delete a private cloud.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete a private cloud.void
deleteByResourceGroup
(String resourceGroupName, String privateCloudName) Delete a private cloud.Get a private cloud.com.azure.core.http.rest.Response<PrivateCloud>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get a private cloud.getByResourceGroup
(String resourceGroupName, String privateCloudName) Get a private cloud.com.azure.core.http.rest.Response<PrivateCloud>
getByResourceGroupWithResponse
(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) Get a private cloud.com.azure.core.http.rest.PagedIterable<PrivateCloud>
list()
List private clouds in a subscription.com.azure.core.http.rest.PagedIterable<PrivateCloud>
list
(com.azure.core.util.Context context) List private clouds in a subscription.listAdminCredentials
(String resourceGroupName, String privateCloudName) List the admin credentials for the private cloud.com.azure.core.http.rest.Response<AdminCredentials>
listAdminCredentialsWithResponse
(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List the admin credentials for the private cloud.com.azure.core.http.rest.PagedIterable<PrivateCloud>
listByResourceGroup
(String resourceGroupName) List private clouds in a resource group.com.azure.core.http.rest.PagedIterable<PrivateCloud>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) List private clouds in a resource group.void
rotateNsxtPassword
(String resourceGroupName, String privateCloudName) Rotate the NSX-T Manager password.void
rotateNsxtPassword
(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) Rotate the NSX-T Manager password.void
rotateVcenterPassword
(String resourceGroupName, String privateCloudName) Rotate the vCenter password.void
rotateVcenterPassword
(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) Rotate the vCenter password.
-
Method Details
-
listByResourceGroup
List private clouds in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- a paged list of private clouds 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<PrivateCloud> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) List private clouds in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- a paged list of private clouds 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<PrivateCloud> list()List private clouds in a subscription.- Returns:
- a paged list of private clouds as paginated response with
PagedIterable
. - Throws:
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
List private clouds in a subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- a paged list of private clouds 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<PrivateCloud> getByResourceGroupWithResponse(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) Get 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 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.
-
getByResourceGroup
Get a private cloud.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.- Returns:
- 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.
-
deleteByResourceGroup
Delete a private cloud.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of 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.
-
delete
Delete 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.- 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.
-
rotateVcenterPassword
Rotate the vCenter password.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of 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.
-
rotateVcenterPassword
void rotateVcenterPassword(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) Rotate the vCenter password.- 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.- 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.
-
rotateNsxtPassword
Rotate the NSX-T Manager password.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of 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.
-
rotateNsxtPassword
void rotateNsxtPassword(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) Rotate the NSX-T Manager password.- 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.- 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.
-
listAdminCredentialsWithResponse
com.azure.core.http.rest.Response<AdminCredentials> listAdminCredentialsWithResponse(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List the admin credentials for the 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:
- administrative credentials for accessing vCenter and NSX-T 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.
-
listAdminCredentials
List the admin credentials for the private cloud.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.- Returns:
- administrative credentials for accessing vCenter and NSX-T.
- 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 a private cloud.- Parameters:
id
- the resource ID.- Returns:
- 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<PrivateCloud> getByIdWithResponse(String id, com.azure.core.util.Context context) Get a private cloud.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- 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 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
Delete a private cloud.- 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
Begins definition for a new PrivateCloud resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new PrivateCloud definition.
-