Interface ScriptPackages
-
public interface ScriptPackages
Resource collection API of ScriptPackages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScriptPackage
get(String resourceGroupName, String privateCloudName, String scriptPackageName)
Get a script package available to run on a private cloud.com.azure.core.http.rest.Response<ScriptPackage>
getWithResponse(String resourceGroupName, String privateCloudName, String scriptPackageName, com.azure.core.util.Context context)
Get a script package available to run on a private cloud.com.azure.core.http.rest.PagedIterable<ScriptPackage>
list(String resourceGroupName, String privateCloudName)
List script packages available to run on the private cloud.com.azure.core.http.rest.PagedIterable<ScriptPackage>
list(String resourceGroupName, String privateCloudName, com.azure.core.util.Context context)
List script packages available to run on the private cloud.
-
-
-
Method Detail
-
list
com.azure.core.http.rest.PagedIterable<ScriptPackage> 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<ScriptPackage> 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
ScriptPackage 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<ScriptPackage> 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.
-
-