Interface CloudLinksClient
public interface CloudLinksClient
An instance of this class provides access to all the operations defined in CloudLinksClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudLinkInner>,
CloudLinkInner> beginCreateOrUpdate
(String resourceGroupName, String privateCloudName, String cloudLinkName, CloudLinkInner cloudLink) Create or update a cloud link in a private cloud.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudLinkInner>,
CloudLinkInner> beginCreateOrUpdate
(String resourceGroupName, String privateCloudName, String cloudLinkName, CloudLinkInner cloudLink, com.azure.core.util.Context context) Create or update a cloud link in a private cloud.beginDelete
(String resourceGroupName, String privateCloudName, String cloudLinkName) Delete a cloud link in a private cloud.beginDelete
(String resourceGroupName, String privateCloudName, String cloudLinkName, com.azure.core.util.Context context) Delete a cloud link in a private cloud.createOrUpdate
(String resourceGroupName, String privateCloudName, String cloudLinkName, CloudLinkInner cloudLink) Create or update a cloud link in a private cloud.createOrUpdate
(String resourceGroupName, String privateCloudName, String cloudLinkName, CloudLinkInner cloudLink, com.azure.core.util.Context context) Create or update a cloud link in a private cloud.void
Delete a cloud link in a private cloud.void
delete
(String resourceGroupName, String privateCloudName, String cloudLinkName, com.azure.core.util.Context context) Delete a cloud link in a private cloud.Get an cloud link by name in a private cloud.com.azure.core.http.rest.Response<CloudLinkInner>
getWithResponse
(String resourceGroupName, String privateCloudName, String cloudLinkName, com.azure.core.util.Context context) Get an cloud link by name in a private cloud.com.azure.core.http.rest.PagedIterable<CloudLinkInner>
List cloud link in a private cloud.com.azure.core.http.rest.PagedIterable<CloudLinkInner>
List cloud link in a private cloud.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<CloudLinkInner> list(String resourceGroupName, String privateCloudName) List cloud link 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 cloud links 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<CloudLinkInner> list(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context) List cloud link 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 cloud links 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<CloudLinkInner> getWithResponse(String resourceGroupName, String privateCloudName, String cloudLinkName, com.azure.core.util.Context context) Get an cloud link 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.cloudLinkName
- Name of the cloud link resource.context
- The context to associate with this operation.- Returns:
- an cloud link 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
Get an cloud link 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.cloudLinkName
- Name of the cloud link resource.- Returns:
- an cloud link 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudLinkInner>,CloudLinkInner> beginCreateOrUpdate(String resourceGroupName, String privateCloudName, String cloudLinkName, CloudLinkInner cloudLink) Create or update a cloud link in a private cloud.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- The name of the private cloud.cloudLinkName
- Name of the cloud link resource.cloudLink
- A cloud link in the private cloud.- Returns:
- the
SyncPoller
for polling of a cloud link 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudLinkInner>,CloudLinkInner> beginCreateOrUpdate(String resourceGroupName, String privateCloudName, String cloudLinkName, CloudLinkInner cloudLink, com.azure.core.util.Context context) Create or update a cloud link in a private cloud.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- The name of the private cloud.cloudLinkName
- Name of the cloud link resource.cloudLink
- A cloud link in the private cloud.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of a cloud link 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.
-
createOrUpdate
CloudLinkInner createOrUpdate(String resourceGroupName, String privateCloudName, String cloudLinkName, CloudLinkInner cloudLink) Create or update a cloud link in a private cloud.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- The name of the private cloud.cloudLinkName
- Name of the cloud link resource.cloudLink
- A cloud link in the private cloud.- Returns:
- a cloud link 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.
-
createOrUpdate
CloudLinkInner createOrUpdate(String resourceGroupName, String privateCloudName, String cloudLinkName, CloudLinkInner cloudLink, com.azure.core.util.Context context) Create or update a cloud link in a private cloud.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- The name of the private cloud.cloudLinkName
- Name of the cloud link resource.cloudLink
- A cloud link in the private cloud.context
- The context to associate with this operation.- Returns:
- a cloud link 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String privateCloudName, String cloudLinkName) Delete a cloud link in a private cloud.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.cloudLinkName
- Name of the cloud link resource.- 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 privateCloudName, String cloudLinkName, com.azure.core.util.Context context) Delete a cloud link in a private cloud.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.cloudLinkName
- Name of the cloud link resource.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
Delete a cloud link in a private cloud.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.cloudLinkName
- Name of the cloud link 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 cloudLinkName, com.azure.core.util.Context context) Delete a cloud link in a private cloud.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.privateCloudName
- Name of the private cloud.cloudLinkName
- Name of the cloud link resource.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.
-