Interface CloudLinks


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

      • list

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

        CloudLink get​(String resourceGroupName,
                      String privateCloudName,
                      String cloudLinkName)
        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.
      • getWithResponse

        com.azure.core.http.rest.Response<CloudLink> 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.
        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)
        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.
      • getById

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

        com.azure.core.http.rest.Response<CloudLink> getByIdWithResponse​(String id,
                                                                         com.azure.core.util.Context context)
        Get an cloud link by name in a private cloud.
        Parameters:
        id - the resource ID.
        context - The context to associate with this operation.
        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.
      • deleteById

        void deleteById​(String id)
        Delete a cloud link 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

        void deleteByIdWithResponse​(String id,
                                    com.azure.core.util.Context context)
        Delete a cloud link in 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

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