import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { PollerLike , PollOperationState } from "@azure/core-lro" ; import { DeploymentScriptUnion , DeploymentScriptsListBySubscriptionOptionalParams , DeploymentScriptsListByResourceGroupOptionalParams , DeploymentScriptsCreateOptionalParams , DeploymentScriptsCreateResponse , DeploymentScriptsUpdateOptionalParams , DeploymentScriptsUpdateResponse , DeploymentScriptsGetOptionalParams , DeploymentScriptsGetResponse , DeploymentScriptsDeleteOptionalParams , DeploymentScriptsGetLogsOptionalParams , DeploymentScriptsGetLogsResponse , DeploymentScriptsGetLogsDefaultOptionalParams , DeploymentScriptsGetLogsDefaultResponse } from "../models" ; /** Interface representing a DeploymentScripts. */ export interface DeploymentScripts { param options listBySubscription ( options ? ) : PagedAsyncIterableIterator < DeploymentScriptUnion > ; param resourceGroupName param options listByResourceGroup ( resourceGroupName , options ? ) : PagedAsyncIterableIterator < DeploymentScriptUnion > ; param resourceGroupName param scriptName param deploymentScript param options beginCreate ( resourceGroupName , scriptName , deploymentScript , options ? ) : Promise < PollerLike < PollOperationState < DeploymentScriptsCreateResponse > , DeploymentScriptsCreateResponse > > ; param resourceGroupName param scriptName param deploymentScript param options beginCreateAndWait ( resourceGroupName , scriptName , deploymentScript , options ? ) : Promise < DeploymentScriptsCreateResponse > ; param resourceGroupName param scriptName param options update ( resourceGroupName , scriptName , options ? ) : Promise < DeploymentScriptsUpdateResponse > ; param resourceGroupName param scriptName param options get ( resourceGroupName , scriptName , options ? ) : Promise < DeploymentScriptsGetResponse > ; param resourceGroupName param scriptName param options delete ( resourceGroupName , scriptName , options ? ) : Promise < void > ; param resourceGroupName param scriptName param options getLogs ( resourceGroupName , scriptName , options ? ) : Promise < DeploymentScriptsGetLogsResponse > ; param resourceGroupName param scriptName param options getLogsDefault ( resourceGroupName , scriptName , options ? ) : Promise < DeploymentScriptsGetLogsDefaultResponse > ; }