ScriptPackages Interface

public interface ScriptPackages

Resource collection API of ScriptPackages.

Method Details

get

public abstract ScriptPackage get(String resourceGroupName, String privateCloudName, String scriptPackageName)

Get a ScriptPackage.

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.

Returns:

a ScriptPackage.

getWithResponse

public abstract Response<ScriptPackage> getWithResponse(String resourceGroupName, String privateCloudName, String scriptPackageName, Context context)

Get a ScriptPackage.

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.
context - The context to associate with this operation.

Returns:

a ScriptPackage along with Response<T>.

list

public abstract PagedIterable<ScriptPackage> list(String resourceGroupName, String privateCloudName)

List ScriptPackage resources by PrivateCloud.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
privateCloudName - Name of the private cloud.

Returns:

the response of a ScriptPackage list operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ScriptPackage> list(String resourceGroupName, String privateCloudName, Context context)

List ScriptPackage resources by PrivateCloud.

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:

the response of a ScriptPackage list operation as paginated response with PagedIterable<T>.

Applies to