Interface ScriptCmdletsClient
public interface ScriptCmdletsClient
An instance of this class provides access to all the operations defined in ScriptCmdletsClient.
-
Method Summary
Modifier and TypeMethodDescriptionget
(String resourceGroupName, String privateCloudName, String scriptPackageName, String scriptCmdletName) Return information about a script cmdlet resource in a specific package on a private cloud.com.azure.core.http.rest.Response<ScriptCmdletInner>
getWithResponse
(String resourceGroupName, String privateCloudName, String scriptPackageName, String scriptCmdletName, com.azure.core.util.Context context) Return information about a script cmdlet resource in a specific package on a private cloud.com.azure.core.http.rest.PagedIterable<ScriptCmdletInner>
List script cmdlet resources available for a private cloud to create a script execution resource on a private cloud.com.azure.core.http.rest.PagedIterable<ScriptCmdletInner>
list
(String resourceGroupName, String privateCloudName, String scriptPackageName, com.azure.core.util.Context context) List script cmdlet resources available for a private cloud to create a script execution resource on a private cloud.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<ScriptCmdletInner> list(String resourceGroupName, String privateCloudName, String scriptPackageName) List script cmdlet resources available for a private cloud to create a script execution resource 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:
- pageable list of scripts/cmdlets 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<ScriptCmdletInner> list(String resourceGroupName, String privateCloudName, String scriptPackageName, com.azure.core.util.Context context) List script cmdlet resources available for a private cloud to create a script execution resource 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:
- pageable list of scripts/cmdlets 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<ScriptCmdletInner> getWithResponse(String resourceGroupName, String privateCloudName, String scriptPackageName, String scriptCmdletName, com.azure.core.util.Context context) Return information about a script cmdlet resource in a specific package 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.scriptCmdletName
- Name of the script cmdlet resource in the script package in the private cloud.context
- The context to associate with this operation.- Returns:
- a cmdlet available for script execution 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
ScriptCmdletInner get(String resourceGroupName, String privateCloudName, String scriptPackageName, String scriptCmdletName) Return information about a script cmdlet resource in a specific package 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.scriptCmdletName
- Name of the script cmdlet resource in the script package in the private cloud.- Returns:
- a cmdlet available for script execution.
- 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.
-