com.azure.resourcemanager.avs.models.ScriptCmdlets Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.avs.models;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
/**
* Resource collection API of ScriptCmdlets.
*/
public interface ScriptCmdlets {
/**
* List ScriptCmdlet resources by ScriptPackage.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param scriptPackageName Name of the script package.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a ScriptCmdlet list operation as paginated response with {@link PagedIterable}.
*/
PagedIterable list(String resourceGroupName, String privateCloudName, String scriptPackageName);
/**
* List ScriptCmdlet resources by ScriptPackage.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param scriptPackageName Name of the script package.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the response of a ScriptCmdlet list operation as paginated response with {@link PagedIterable}.
*/
PagedIterable list(String resourceGroupName, String privateCloudName, String scriptPackageName,
Context context);
/**
* Get a ScriptCmdlet.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param scriptPackageName Name of the script package.
* @param scriptCmdletName Name of the script cmdlet.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a ScriptCmdlet along with {@link Response}.
*/
Response getWithResponse(String resourceGroupName, String privateCloudName, String scriptPackageName,
String scriptCmdletName, Context context);
/**
* Get a ScriptCmdlet.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param privateCloudName Name of the private cloud.
* @param scriptPackageName Name of the script package.
* @param scriptCmdletName Name of the script cmdlet.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a ScriptCmdlet.
*/
ScriptCmdlet get(String resourceGroupName, String privateCloudName, String scriptPackageName,
String scriptCmdletName);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy