Interface ScriptPackagesClient


  • public interface ScriptPackagesClient
    An instance of this class provides access to all the operations defined in ScriptPackagesClient.
    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<ScriptPackageInner> list​(String resourceGroupName,
                                                                        String privateCloudName)
        List script packages available to run on the private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        Returns:
        a list of the available script packages.
        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<ScriptPackageInner> list​(String resourceGroupName,
                                                                        String privateCloudName,
                                                                        com.azure.core.util.Context context)
        List script packages available to run on 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:
        a list of the available script packages.
        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

        ScriptPackageInner get​(String resourceGroupName,
                               String privateCloudName,
                               String scriptPackageName)
        Get a script package available to run on a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        scriptPackageName - Name of the script package in the private cloud.
        Returns:
        a script package available to run on 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<ScriptPackageInner> getWithResponse​(String resourceGroupName,
                                                                              String privateCloudName,
                                                                              String scriptPackageName,
                                                                              com.azure.core.util.Context context)
        Get a script package available to run on a private cloud.
        Parameters:
        resourceGroupName - The name of the resource group. The name is case insensitive.
        privateCloudName - Name of the private cloud.
        scriptPackageName - Name of the script package in the private cloud.
        context - The context to associate with this operation.
        Returns:
        a script package available to run on 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.