import { PagedAsyncIterableIterator } from "@azure/core-paging" ; import { PollerLike , PollOperationState } from "@azure/core-lro" ; import { Workspace , WorkspacesListBySubscriptionOptionalParams , WorkspacesListByResourceGroupOptionalParams , WorkspacesGetOptionalParams , WorkspacesGetResponse , WorkspacesCreateOrUpdateOptionalParams , WorkspacesCreateOrUpdateResponse , WorkspacePatchResource , WorkspacesUpdateOptionalParams , WorkspacesUpdateResponse , WorkspacesDeleteOptionalParams } from "../models" ; /** Interface representing a Workspaces. */ export interface Workspaces { param options listBySubscription ( options ? ) : PagedAsyncIterableIterator < Workspace > ; param resourceGroupName param options listByResourceGroup ( resourceGroupName , options ? ) : PagedAsyncIterableIterator < Workspace > ; param resourceGroupName param workspaceName param options get ( resourceGroupName , workspaceName , options ? ) : Promise < WorkspacesGetResponse > ; param resourceGroupName param workspaceName param workspace param options beginCreateOrUpdate ( resourceGroupName , workspaceName , workspace , options ? ) : Promise < PollerLike < PollOperationState < WorkspacesCreateOrUpdateResponse > , WorkspacesCreateOrUpdateResponse > > ; param resourceGroupName param workspaceName param workspace param options beginCreateOrUpdateAndWait ( resourceGroupName , workspaceName , workspace , options ? ) : Promise < WorkspacesCreateOrUpdateResponse > ; param resourceGroupName param workspaceName param workspacePatchResource param options beginUpdate ( resourceGroupName , workspaceName , workspacePatchResource , options ? ) : Promise < PollerLike < PollOperationState < WorkspacesUpdateResponse > , WorkspacesUpdateResponse > > ; param resourceGroupName param workspaceName param workspacePatchResource param options beginUpdateAndWait ( resourceGroupName , workspaceName , workspacePatchResource , options ? ) : Promise < WorkspacesUpdateResponse > ; param resourceGroupName param workspaceName param options beginDelete ( resourceGroupName , workspaceName , options ? ) : Promise < PollerLike < PollOperationState < void > , void > > ; param resourceGroupName param workspaceName param options beginDeleteAndWait ( resourceGroupName , workspaceName , options ? ) : Promise < void > ; }