Files
0616d2622d Re-export RestError and isRestError in non-management packages (#39007)
### Packages impacted by this PR

All non-management Azure SDK client packages (83 packages).

### Issues associated with this PR

Many Azure SDK packages did not re-export `RestError` or `isRestError`
from `@azure/core-rest-pipeline`, unlike packages that already did
(`@azure/cosmos`, `@azure/storage-queue`, `@azure/data-tables`,
`@azure/notification-hubs`, etc.). This forces users to add
`@azure/core-rest-pipeline` as a direct dependency for basic error
handling.

### Describe the problem that is addressed by this PR

Adds re-exports of `RestError` and `isRestError` from
`@azure/core-rest-pipeline` to all non-management client SDK packages'
public API surface, consistent with the pattern established in #38098.

```ts
import { RestError, isRestError } from "@azure/keyvault-keys"; // or any other package

try {
  // ...
} catch (e) {
  if (isRestError(e)) {
    console.log(e.statusCode);
  }
}
```

### Changes

- **76 packages**: Added both `RestError` and `isRestError` exports to
`src/index.ts`
- **7 packages** (already had `RestError`, added `isRestError`):
`@azure/ai-projects`, `@azure/cosmos`, `@azure/data-tables`,
`@azure/storage-blob`, `@azure/storage-file-datalake`,
`@azure/storage-file-share`, `@azure/storage-queue`
- All `review/*.api.md` files updated via `dev-tool run extract-api`
- No version bumps needed (all packages already have unreleased versions
higher than published)

### Are there test cases added in this PR?

No. These are pass-through re-exports of symbols already tested in
`@azure/core-rest-pipeline`.

### Checklists
- [x] Added impacted package name to the issue description.

---------

Co-authored-by: Copilot <[email protected]>
2026-06-29 15:42:30 -07:00

54 KiB

API Report File for "@azure-rest/developer-devcenter"

Do not edit this file. It is a report generated by API Extractor.


import type { AbortSignalLike } from '@azure/abort-controller';
import type { CancelOnProgress } from '@azure/core-lro';
import type { Client } from '@azure-rest/core-client';
import type { ClientOptions } from '@azure-rest/core-client';
import type { CreateHttpPollerOptions } from '@azure/core-lro';
import type { ErrorModel } from '@azure-rest/core-client';
import type { ErrorResponse } from '@azure-rest/core-client';
import type { HttpResponse } from '@azure-rest/core-client';
import { isRestError } from '@azure/core-rest-pipeline';
import type { OperationState } from '@azure/core-lro';
import type { PathUncheckedResponse } from '@azure-rest/core-client';
import type { RawHttpHeaders } from '@azure/core-rest-pipeline';
import type { RequestParameters } from '@azure-rest/core-client';
import { RestError } from '@azure/core-rest-pipeline';
import type { StreamableMethod } from '@azure-rest/core-client';
import type { TokenCredential } from '@azure/core-auth';

// @public (undocumented)
export type AzureDeveloperDevCenterClient = Client & {
    path: Routes;
};

// @public
export interface AzureDeveloperDevCenterClientOptions extends ClientOptions {
    apiVersion?: string;
}

// @public
export interface CatalogOutput {
    readonly name: string;
}

// @public
function createClient(endpointParam: string, credentials: TokenCredential, input?: AzureDeveloperDevCenterClientOptions): AzureDeveloperDevCenterClient;
export default createClient;

// @public
export interface CreateDevBox200Response extends HttpResponse {
    // (undocumented)
    body: DevBoxOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface CreateDevBox201Headers {
    // (undocumented)
    "operation-location": string;
    // (undocumented)
    location: string;
}

// @public
export interface CreateDevBox201Response extends HttpResponse {
    // (undocumented)
    body: DevBoxOutput;
    // (undocumented)
    headers: RawHttpHeaders & CreateDevBox201Headers;
    // (undocumented)
    status: "201";
}

// @public (undocumented)
export interface CreateDevBoxBodyParam {
    body: DevBox;
}

// @public (undocumented)
export interface CreateDevBoxDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface CreateDevBoxDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & CreateDevBoxDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public
export interface CreateDevBoxLogicalResponse extends HttpResponse {
    // (undocumented)
    body: DevBoxOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export type CreateDevBoxParameters = CreateDevBoxBodyParam & RequestParameters;

// @public (undocumented)
export interface CreateOrReplaceEnvironment201Headers {
    // (undocumented)
    "operation-location": string;
}

// @public
export interface CreateOrReplaceEnvironment201Response extends HttpResponse {
    // (undocumented)
    body: EnvironmentOutput;
    // (undocumented)
    headers: RawHttpHeaders & CreateOrReplaceEnvironment201Headers;
    // (undocumented)
    status: "201";
}

// @public (undocumented)
export interface CreateOrReplaceEnvironmentBodyParam {
    body: Environment;
}

// @public (undocumented)
export interface CreateOrReplaceEnvironmentDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface CreateOrReplaceEnvironmentDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & CreateOrReplaceEnvironmentDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public
export interface CreateOrReplaceEnvironmentLogicalResponse extends HttpResponse {
    // (undocumented)
    body: EnvironmentOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export type CreateOrReplaceEnvironmentParameters = CreateOrReplaceEnvironmentBodyParam & RequestParameters;

// @public (undocumented)
export interface DelayAction {
    post(options: DelayActionParameters): StreamableMethod<DelayAction200Response | DelayActionDefaultResponse>;
}

// @public
export interface DelayAction200Response extends HttpResponse {
    // (undocumented)
    body: DevBoxActionOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface DelayActionDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface DelayActionDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & DelayActionDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type DelayActionParameters = DelayActionQueryParam & RequestParameters;

// @public (undocumented)
export interface DelayActionQueryParam {
    // (undocumented)
    queryParameters: DelayActionQueryParamProperties;
}

// @public (undocumented)
export interface DelayActionQueryParamProperties {
    until: Date | string;
}

// @public (undocumented)
export interface DelayActions {
    post(options: DelayActionsParameters): StreamableMethod<DelayActions200Response | DelayActionsDefaultResponse>;
}

// @public
export interface DelayActions200Response extends HttpResponse {
    // (undocumented)
    body: PagedDevBoxActionDelayResultOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface DelayActionsDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface DelayActionsDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & DelayActionsDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type DelayActionsParameters = DelayActionsQueryParam & RequestParameters;

// @public (undocumented)
export interface DelayActionsQueryParam {
    // (undocumented)
    queryParameters: DelayActionsQueryParamProperties;
}

// @public (undocumented)
export interface DelayActionsQueryParamProperties {
    until: Date | string;
}

// @public (undocumented)
export interface DeleteDevBox202Headers {
    // (undocumented)
    "operation-location": string;
    // (undocumented)
    location: string;
}

// @public
export interface DeleteDevBox202Response extends HttpResponse {
    // (undocumented)
    body: OperationStatusOutput;
    // (undocumented)
    headers: RawHttpHeaders & DeleteDevBox202Headers;
    // (undocumented)
    status: "202";
}

// @public
export interface DeleteDevBox204Response extends HttpResponse {
    // (undocumented)
    status: "204";
}

// @public (undocumented)
export interface DeleteDevBoxDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface DeleteDevBoxDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & DeleteDevBoxDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public
export interface DeleteDevBoxLogicalResponse extends HttpResponse {
    // (undocumented)
    body: OperationStatusOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export type DeleteDevBoxParameters = RequestParameters;

// @public (undocumented)
export interface DeleteEnvironment202Headers {
    // (undocumented)
    "operation-location": string;
    // (undocumented)
    location: string;
}

// @public
export interface DeleteEnvironment202Response extends HttpResponse {
    // (undocumented)
    body: OperationStatusOutput;
    // (undocumented)
    headers: RawHttpHeaders & DeleteEnvironment202Headers;
    // (undocumented)
    status: "202";
}

// @public
export interface DeleteEnvironment204Response extends HttpResponse {
    // (undocumented)
    status: "204";
}

// @public (undocumented)
export interface DeleteEnvironmentDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface DeleteEnvironmentDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & DeleteEnvironmentDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public
export interface DeleteEnvironmentLogicalResponse extends HttpResponse {
    // (undocumented)
    body: OperationStatusOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export type DeleteEnvironmentParameters = RequestParameters;

// @public
export interface DevBox {
    localAdministrator?: LocalAdminStatus;
    poolName: string;
}

// @public
export interface DevBoxActionDelayResultOutput {
    action?: DevBoxActionOutput;
    error?: ErrorModel;
    name: string;
    result: DevBoxActionDelayResultStatusOutput;
}

// @public
export type DevBoxActionDelayResultStatusOutput = string;

// @public
export interface DevBoxActionOutput {
    actionType: DevBoxActionTypeOutput;
    readonly name: string;
    next?: DevBoxNextActionOutput;
    sourceId: string;
    suspendedUntil?: string;
}

// @public
export type DevBoxActionTypeOutput = string;

// @public
export interface DevBoxNextActionOutput {
    scheduledTime: string;
}

// @public
export interface DevBoxOutput {
    readonly actionState?: string;
    readonly createdTime?: string;
    readonly error?: ErrorModel;
    readonly hardwareProfile?: HardwareProfileOutput;
    readonly hibernateSupport?: HibernateSupportOutput;
    readonly imageReference?: ImageReferenceOutput;
    localAdministrator?: LocalAdminStatusOutput;
    readonly location?: string;
    readonly name: string;
    readonly osType?: OsTypeOutput;
    poolName: string;
    readonly powerState?: PowerStateOutput;
    readonly projectName?: string;
    readonly provisioningState?: DevBoxProvisioningStateOutput;
    readonly storageProfile?: StorageProfileOutput;
    readonly uniqueId?: string;
    readonly user?: string;
}

// @public
export type DevBoxProvisioningState = string;

// @public
export type DevBoxProvisioningStateOutput = string;

// @public
export interface Environment {
    catalogName: string;
    environmentDefinitionName: string;
    environmentType: string;
    parameters?: Record<string, unknown>;
}

// @public
export interface EnvironmentDefinitionOutput {
    catalogName: string;
    description?: string;
    id: string;
    readonly name: string;
    parameters?: Array<EnvironmentDefinitionParameterOutput>;
    parametersSchema?: string;
    templatePath?: string;
}

// @public
export interface EnvironmentDefinitionParameterOutput {
    allowed?: string[];
    default?: string;
    description?: string;
    id: string;
    name?: string;
    readOnly?: boolean;
    required: boolean;
    type: ParameterTypeOutput;
}

// @public
export interface EnvironmentOutput {
    catalogName: string;
    environmentDefinitionName: string;
    environmentType: string;
    readonly error?: ErrorModel;
    readonly name: string;
    parameters?: Record<string, any>;
    readonly provisioningState?: EnvironmentProvisioningStateOutput;
    readonly resourceGroupId?: string;
    readonly user?: string;
}

// @public
export type EnvironmentProvisioningState = string;

// @public
export type EnvironmentProvisioningStateOutput = string;

// @public
export type EnvironmentTypeEnableStatusOutput = string;

// @public
export interface EnvironmentTypeOutput {
    deploymentTargetId: string;
    readonly name: string;
    status: EnvironmentTypeEnableStatusOutput;
}

// @public (undocumented)
export interface Get {
    get(options?: GetParameters): StreamableMethod<Get200Response | GetDefaultResponse>;
}

// @public
export interface Get200Response extends HttpResponse {
    // (undocumented)
    body: OperationStatusOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface GetAction {
    get(options?: GetActionParameters): StreamableMethod<GetAction200Response | GetActionDefaultResponse>;
}

// @public
export interface GetAction200Response extends HttpResponse {
    // (undocumented)
    body: DevBoxActionOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface GetActionDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface GetActionDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & GetActionDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type GetActionParameters = RequestParameters;

// @public
export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;

// @public (undocumented)
export interface GetCatalog {
    get(options?: GetCatalogParameters): StreamableMethod<GetCatalog200Response | GetCatalogDefaultResponse>;
}

// @public
export interface GetCatalog200Response extends HttpResponse {
    // (undocumented)
    body: CatalogOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface GetCatalogDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface GetCatalogDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & GetCatalogDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type GetCatalogParameters = RequestParameters;

// @public (undocumented)
export interface GetDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface GetDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & GetDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export interface GetDevBoxByUser {
    delete(options?: DeleteDevBoxParameters): StreamableMethod<DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse>;
    get(options?: GetDevBoxByUserParameters): StreamableMethod<GetDevBoxByUser200Response | GetDevBoxByUserDefaultResponse>;
    put(options: CreateDevBoxParameters): StreamableMethod<CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse>;
}

// @public
export interface GetDevBoxByUser200Response extends HttpResponse {
    // (undocumented)
    body: DevBoxOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface GetDevBoxByUserDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface GetDevBoxByUserDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & GetDevBoxByUserDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type GetDevBoxByUserParameters = RequestParameters;

// @public (undocumented)
export interface GetEnvironmentByUser {
    delete(options?: DeleteEnvironmentParameters): StreamableMethod<DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse>;
    get(options?: GetEnvironmentByUserParameters): StreamableMethod<GetEnvironmentByUser200Response | GetEnvironmentByUserDefaultResponse>;
    put(options: CreateOrReplaceEnvironmentParameters): StreamableMethod<CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentDefaultResponse>;
}

// @public
export interface GetEnvironmentByUser200Response extends HttpResponse {
    // (undocumented)
    body: EnvironmentOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface GetEnvironmentByUserDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface GetEnvironmentByUserDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & GetEnvironmentByUserDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type GetEnvironmentByUserParameters = RequestParameters;

// @public (undocumented)
export interface GetEnvironmentDefinition {
    get(options?: GetEnvironmentDefinitionParameters): StreamableMethod<GetEnvironmentDefinition200Response | GetEnvironmentDefinitionDefaultResponse>;
}

// @public
export interface GetEnvironmentDefinition200Response extends HttpResponse {
    // (undocumented)
    body: EnvironmentDefinitionOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface GetEnvironmentDefinitionDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface GetEnvironmentDefinitionDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & GetEnvironmentDefinitionDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type GetEnvironmentDefinitionParameters = RequestParameters;

// @public
export function getLongRunningPoller<TResult extends CreateDevBoxLogicalResponse | CreateDevBoxDefaultResponse>(client: Client, initialResponse: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;

// @public (undocumented)
export function getLongRunningPoller<TResult extends DeleteDevBoxLogicalResponse | DeleteDevBoxDefaultResponse>(client: Client, initialResponse: DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;

// @public (undocumented)
export function getLongRunningPoller<TResult extends StartDevBoxLogicalResponse | StartDevBoxDefaultResponse>(client: Client, initialResponse: StartDevBox202Response | StartDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;

// @public (undocumented)
export function getLongRunningPoller<TResult extends StopDevBoxLogicalResponse | StopDevBoxDefaultResponse>(client: Client, initialResponse: StopDevBox202Response | StopDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;

// @public (undocumented)
export function getLongRunningPoller<TResult extends RestartDevBoxLogicalResponse | RestartDevBoxDefaultResponse>(client: Client, initialResponse: RestartDevBox202Response | RestartDevBoxDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;

// @public (undocumented)
export function getLongRunningPoller<TResult extends CreateOrReplaceEnvironmentLogicalResponse | CreateOrReplaceEnvironmentDefaultResponse>(client: Client, initialResponse: CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;

// @public (undocumented)
export function getLongRunningPoller<TResult extends DeleteEnvironmentLogicalResponse | DeleteEnvironmentDefaultResponse>(client: Client, initialResponse: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;

// @public
export type GetPage<TPage> = (pageLink: string) => Promise<{
    page: TPage;
    nextPageLink?: string;
}>;

// @public (undocumented)
export type GetParameters = RequestParameters;

// @public (undocumented)
export interface GetPool {
    get(options?: GetPoolParameters): StreamableMethod<GetPool200Response | GetPoolDefaultResponse>;
}

// @public
export interface GetPool200Response extends HttpResponse {
    // (undocumented)
    body: PoolOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface GetPoolDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface GetPoolDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & GetPoolDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type GetPoolParameters = RequestParameters;

// @public (undocumented)
export interface GetProject {
    get(options?: GetProjectParameters): StreamableMethod<GetProject200Response | GetProjectDefaultResponse>;
}

// @public
export interface GetProject200Response extends HttpResponse {
    // (undocumented)
    body: ProjectOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface GetProjectDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface GetProjectDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & GetProjectDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type GetProjectParameters = RequestParameters;

// @public (undocumented)
export interface GetRemoteConnection {
    get(options?: GetRemoteConnectionParameters): StreamableMethod<GetRemoteConnection200Response | GetRemoteConnectionDefaultResponse>;
}

// @public
export interface GetRemoteConnection200Response extends HttpResponse {
    // (undocumented)
    body: RemoteConnectionOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface GetRemoteConnectionDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface GetRemoteConnectionDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & GetRemoteConnectionDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type GetRemoteConnectionParameters = RequestParameters;

// @public (undocumented)
export interface GetScheduleByPool {
    get(options?: GetScheduleByPoolParameters): StreamableMethod<GetScheduleByPool200Response | GetScheduleByPoolDefaultResponse>;
}

// @public
export interface GetScheduleByPool200Response extends HttpResponse {
    // (undocumented)
    body: ScheduleOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface GetScheduleByPoolDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface GetScheduleByPoolDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & GetScheduleByPoolDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type GetScheduleByPoolParameters = RequestParameters;

// @public
export interface HardwareProfile {
}

// @public
export interface HardwareProfileOutput {
    readonly memoryGB?: number;
    readonly skuName?: SkuNameOutput;
    readonly vCPUs?: number;
}

// @public
export type HibernateSupport = string;

// @public
export type HibernateSupportOutput = string;

// @public
export interface ImageReference {
}

// @public
export interface ImageReferenceOutput {
    readonly name?: string;
    readonly operatingSystem?: string;
    readonly osBuildNumber?: string;
    readonly publishedDate?: string;
    readonly version?: string;
}

export { isRestError }

// @public (undocumented)
export function isUnexpected(response: ListProjects200Response | ListProjectsDefaultResponse): response is ListProjectsDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: GetProject200Response | GetProjectDefaultResponse): response is GetProjectDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: Get200Response | GetDefaultResponse): response is GetDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: ListPools200Response | ListPoolsDefaultResponse): response is ListPoolsDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: GetPool200Response | GetPoolDefaultResponse): response is GetPoolDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse): response is ListAllDevBoxesDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse): response is ListAllDevBoxesByUserDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: ListSchedulesByPool200Response | ListSchedulesByPoolDefaultResponse): response is ListSchedulesByPoolDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: GetScheduleByPool200Response | GetScheduleByPoolDefaultResponse): response is GetScheduleByPoolDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: ListDevBoxesByUser200Response | ListDevBoxesByUserDefaultResponse): response is ListDevBoxesByUserDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: GetDevBoxByUser200Response | GetDevBoxByUserDefaultResponse): response is GetDevBoxByUserDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: CreateDevBox200Response | CreateDevBox201Response | CreateDevBoxLogicalResponse | CreateDevBoxDefaultResponse): response is CreateDevBoxDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: DeleteDevBox202Response | DeleteDevBox204Response | DeleteDevBoxLogicalResponse | DeleteDevBoxDefaultResponse): response is DeleteDevBoxDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: StartDevBox202Response | StartDevBoxLogicalResponse | StartDevBoxDefaultResponse): response is StartDevBoxDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: StopDevBox202Response | StopDevBoxLogicalResponse | StopDevBoxDefaultResponse): response is StopDevBoxDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: RestartDevBox202Response | RestartDevBoxLogicalResponse | RestartDevBoxDefaultResponse): response is RestartDevBoxDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: GetRemoteConnection200Response | GetRemoteConnectionDefaultResponse): response is GetRemoteConnectionDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: ListActions200Response | ListActionsDefaultResponse): response is ListActionsDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: GetAction200Response | GetActionDefaultResponse): response is GetActionDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: SkipAction204Response | SkipActionDefaultResponse): response is SkipActionDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: DelayAction200Response | DelayActionDefaultResponse): response is DelayActionDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: DelayActions200Response | DelayActionsDefaultResponse): response is DelayActionsDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: ListEnvironments200Response | ListEnvironmentsDefaultResponse): response is ListEnvironmentsDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: ListEnvironmentsByUser200Response | ListEnvironmentsByUserDefaultResponse): response is ListEnvironmentsByUserDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: GetEnvironmentByUser200Response | GetEnvironmentByUserDefaultResponse): response is GetEnvironmentByUserDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: CreateOrReplaceEnvironment201Response | CreateOrReplaceEnvironmentLogicalResponse | CreateOrReplaceEnvironmentDefaultResponse): response is CreateOrReplaceEnvironmentDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: DeleteEnvironment202Response | DeleteEnvironment204Response | DeleteEnvironmentLogicalResponse | DeleteEnvironmentDefaultResponse): response is DeleteEnvironmentDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: ListCatalogsByProject200Response | ListCatalogsByProjectDefaultResponse): response is ListCatalogsByProjectDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: GetCatalog200Response | GetCatalogDefaultResponse): response is GetCatalogDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: ListEnvironmentDefinitionsByProject200Response | ListEnvironmentDefinitionsByProjectDefaultResponse): response is ListEnvironmentDefinitionsByProjectDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse): response is ListEnvironmentDefinitionsByCatalogDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: GetEnvironmentDefinition200Response | GetEnvironmentDefinitionDefaultResponse): response is GetEnvironmentDefinitionDefaultResponse;

// @public (undocumented)
export function isUnexpected(response: ListEnvironmentTypes200Response | ListEnvironmentTypesDefaultResponse): response is ListEnvironmentTypesDefaultResponse;

// @public (undocumented)
export interface ListActions {
    get(options?: ListActionsParameters): StreamableMethod<ListActions200Response | ListActionsDefaultResponse>;
}

// @public
export interface ListActions200Response extends HttpResponse {
    // (undocumented)
    body: PagedDevBoxActionOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface ListActionsDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface ListActionsDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & ListActionsDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type ListActionsParameters = RequestParameters;

// @public (undocumented)
export interface ListAllDevBoxes {
    get(options?: ListAllDevBoxesParameters): StreamableMethod<ListAllDevBoxes200Response | ListAllDevBoxesDefaultResponse>;
}

// @public
export interface ListAllDevBoxes200Response extends HttpResponse {
    // (undocumented)
    body: PagedDevBoxOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface ListAllDevBoxesByUser {
    get(options?: ListAllDevBoxesByUserParameters): StreamableMethod<ListAllDevBoxesByUser200Response | ListAllDevBoxesByUserDefaultResponse>;
}

// @public
export interface ListAllDevBoxesByUser200Response extends HttpResponse {
    // (undocumented)
    body: PagedDevBoxOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface ListAllDevBoxesByUserDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface ListAllDevBoxesByUserDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & ListAllDevBoxesByUserDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type ListAllDevBoxesByUserParameters = RequestParameters;

// @public (undocumented)
export interface ListAllDevBoxesDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface ListAllDevBoxesDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & ListAllDevBoxesDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type ListAllDevBoxesParameters = RequestParameters;

// @public (undocumented)
export interface ListCatalogsByProject {
    get(options?: ListCatalogsByProjectParameters): StreamableMethod<ListCatalogsByProject200Response | ListCatalogsByProjectDefaultResponse>;
}

// @public
export interface ListCatalogsByProject200Response extends HttpResponse {
    // (undocumented)
    body: PagedCatalogOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface ListCatalogsByProjectDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface ListCatalogsByProjectDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & ListCatalogsByProjectDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type ListCatalogsByProjectParameters = RequestParameters;

// @public (undocumented)
export interface ListDevBoxesByUser {
    get(options?: ListDevBoxesByUserParameters): StreamableMethod<ListDevBoxesByUser200Response | ListDevBoxesByUserDefaultResponse>;
}

// @public
export interface ListDevBoxesByUser200Response extends HttpResponse {
    // (undocumented)
    body: PagedDevBoxOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface ListDevBoxesByUserDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface ListDevBoxesByUserDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & ListDevBoxesByUserDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type ListDevBoxesByUserParameters = RequestParameters;

// @public (undocumented)
export interface ListEnvironmentDefinitionsByCatalog {
    get(options?: ListEnvironmentDefinitionsByCatalogParameters): StreamableMethod<ListEnvironmentDefinitionsByCatalog200Response | ListEnvironmentDefinitionsByCatalogDefaultResponse>;
}

// @public
export interface ListEnvironmentDefinitionsByCatalog200Response extends HttpResponse {
    // (undocumented)
    body: PagedEnvironmentDefinitionOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface ListEnvironmentDefinitionsByCatalogDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface ListEnvironmentDefinitionsByCatalogDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & ListEnvironmentDefinitionsByCatalogDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type ListEnvironmentDefinitionsByCatalogParameters = RequestParameters;

// @public (undocumented)
export interface ListEnvironmentDefinitionsByProject {
    get(options?: ListEnvironmentDefinitionsByProjectParameters): StreamableMethod<ListEnvironmentDefinitionsByProject200Response | ListEnvironmentDefinitionsByProjectDefaultResponse>;
}

// @public
export interface ListEnvironmentDefinitionsByProject200Response extends HttpResponse {
    // (undocumented)
    body: PagedEnvironmentDefinitionOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface ListEnvironmentDefinitionsByProjectDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface ListEnvironmentDefinitionsByProjectDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & ListEnvironmentDefinitionsByProjectDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type ListEnvironmentDefinitionsByProjectParameters = RequestParameters;

// @public (undocumented)
export interface ListEnvironments {
    get(options?: ListEnvironmentsParameters): StreamableMethod<ListEnvironments200Response | ListEnvironmentsDefaultResponse>;
}

// @public
export interface ListEnvironments200Response extends HttpResponse {
    // (undocumented)
    body: PagedEnvironmentOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface ListEnvironmentsByUser {
    get(options?: ListEnvironmentsByUserParameters): StreamableMethod<ListEnvironmentsByUser200Response | ListEnvironmentsByUserDefaultResponse>;
}

// @public
export interface ListEnvironmentsByUser200Response extends HttpResponse {
    // (undocumented)
    body: PagedEnvironmentOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface ListEnvironmentsByUserDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface ListEnvironmentsByUserDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & ListEnvironmentsByUserDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type ListEnvironmentsByUserParameters = RequestParameters;

// @public (undocumented)
export interface ListEnvironmentsDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface ListEnvironmentsDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & ListEnvironmentsDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type ListEnvironmentsParameters = RequestParameters;

// @public (undocumented)
export interface ListEnvironmentTypes {
    get(options?: ListEnvironmentTypesParameters): StreamableMethod<ListEnvironmentTypes200Response | ListEnvironmentTypesDefaultResponse>;
}

// @public
export interface ListEnvironmentTypes200Response extends HttpResponse {
    // (undocumented)
    body: PagedEnvironmentTypeOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface ListEnvironmentTypesDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface ListEnvironmentTypesDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & ListEnvironmentTypesDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type ListEnvironmentTypesParameters = RequestParameters;

// @public (undocumented)
export interface ListPools {
    get(options?: ListPoolsParameters): StreamableMethod<ListPools200Response | ListPoolsDefaultResponse>;
}

// @public
export interface ListPools200Response extends HttpResponse {
    // (undocumented)
    body: PagedPoolOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface ListPoolsDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface ListPoolsDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & ListPoolsDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type ListPoolsParameters = RequestParameters;

// @public (undocumented)
export interface ListProjects {
    get(options?: ListProjectsParameters): StreamableMethod<ListProjects200Response | ListProjectsDefaultResponse>;
}

// @public
export interface ListProjects200Response extends HttpResponse {
    // (undocumented)
    body: PagedProjectOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface ListProjectsDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface ListProjectsDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & ListProjectsDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type ListProjectsParameters = RequestParameters;

// @public (undocumented)
export interface ListSchedulesByPool {
    get(options?: ListSchedulesByPoolParameters): StreamableMethod<ListSchedulesByPool200Response | ListSchedulesByPoolDefaultResponse>;
}

// @public
export interface ListSchedulesByPool200Response extends HttpResponse {
    // (undocumented)
    body: PagedScheduleOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export interface ListSchedulesByPoolDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface ListSchedulesByPoolDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & ListSchedulesByPoolDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type ListSchedulesByPoolParameters = RequestParameters;

// @public
export type LocalAdminStatus = string;

// @public
export type LocalAdminStatusOutput = string;

// @public
export type OperationStateOutput = string;

// @public
export interface OperationStatusOutput {
    endTime?: string;
    error?: ErrorModel;
    readonly id: string;
    readonly name: string;
    percentComplete?: number;
    properties?: any;
    resourceId?: string;
    startTime?: string;
    status: OperationStateOutput;
}

// @public
export interface OsDisk {
}

// @public
export interface OsDiskOutput {
    readonly diskSizeGB?: number;
}

// @public
export type OsType = string;

// @public
export type OsTypeOutput = string;

// @public
export interface PagedAsyncIterableIterator<TElement, TPage = TElement[], TPageSettings = PageSettings> {
    [Symbol.asyncIterator](): PagedAsyncIterableIterator<TElement, TPage, TPageSettings>;
    byPage: (settings?: TPageSettings) => AsyncIterableIterator<TPage>;
    next(): Promise<IteratorResult<TElement>>;
}

// @public
export interface PagedCatalogOutput {
    nextLink?: string;
    value: Array<CatalogOutput>;
}

// @public
export interface PagedDevBoxActionDelayResultOutput {
    nextLink?: string;
    value: Array<DevBoxActionDelayResultOutput>;
}

// @public
export interface PagedDevBoxActionOutput {
    nextLink?: string;
    value: Array<DevBoxActionOutput>;
}

// @public
export interface PagedDevBoxOutput {
    nextLink?: string;
    value: Array<DevBoxOutput>;
}

// @public
export interface PagedEnvironmentDefinitionOutput {
    nextLink?: string;
    value: Array<EnvironmentDefinitionOutput>;
}

// @public
export interface PagedEnvironmentOutput {
    nextLink?: string;
    value: Array<EnvironmentOutput>;
}

// @public
export interface PagedEnvironmentTypeOutput {
    nextLink?: string;
    value: Array<EnvironmentTypeOutput>;
}

// @public
export interface PagedPoolOutput {
    nextLink?: string;
    value: Array<PoolOutput>;
}

// @public
export interface PagedProjectOutput {
    nextLink?: string;
    value: Array<ProjectOutput>;
}

// @public
export interface PagedScheduleOutput {
    nextLink?: string;
    value: Array<ScheduleOutput>;
}

// @public
export interface PageSettings {
    continuationToken?: string;
}

// @public
export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;

// @public
export type PaginateReturn<TResult> = TResult extends {
    body: {
        value?: infer TPage;
    };
} ? GetArrayType<TPage> : Array<unknown>;

// @public
export interface PagingOptions<TResponse> {
    customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
}

// @public
export type ParameterTypeOutput = string;

// @public
export type PoolHealthStatusOutput = string;

// @public
export interface PoolOutput {
    hardwareProfile?: HardwareProfileOutput;
    healthStatus: PoolHealthStatusOutput;
    hibernateSupport?: HibernateSupportOutput;
    imageReference?: ImageReferenceOutput;
    localAdministrator?: LocalAdminStatusOutput;
    location: string;
    readonly name: string;
    osType?: OsTypeOutput;
    stopOnDisconnect?: StopOnDisconnectConfigurationOutput;
    storageProfile?: StorageProfileOutput;
}

// @public
export type PowerState = string;

// @public
export type PowerStateOutput = string;

// @public
export interface ProjectOutput {
    description?: string;
    maxDevBoxesPerUser?: number;
    readonly name: string;
}

// @public
export interface RemoteConnectionOutput {
    rdpConnectionUrl?: string;
    webUrl?: string;
}

// @public (undocumented)
export interface RestartDevBox {
    post(options?: RestartDevBoxParameters): StreamableMethod<RestartDevBox202Response | RestartDevBoxDefaultResponse>;
}

// @public (undocumented)
export interface RestartDevBox202Headers {
    "operation-location": string;
}

// @public
export interface RestartDevBox202Response extends HttpResponse {
    // (undocumented)
    body: OperationStatusOutput;
    // (undocumented)
    headers: RawHttpHeaders & RestartDevBox202Headers;
    // (undocumented)
    status: "202";
}

// @public (undocumented)
export interface RestartDevBoxDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface RestartDevBoxDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & RestartDevBoxDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public
export interface RestartDevBoxLogicalResponse extends HttpResponse {
    // (undocumented)
    body: OperationStatusOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export type RestartDevBoxParameters = RequestParameters;

export { RestError }

// @public (undocumented)
export interface Routes {
    (path: "/projects"): ListProjects;
    (path: "/projects/{projectName}", projectName: string): GetProject;
    (path: "/projects/{projectName}/operationstatuses/{operationId}", projectName: string, operationId: string): Get;
    (path: "/projects/{projectName}/pools", projectName: string): ListPools;
    (path: "/projects/{projectName}/pools/{poolName}", projectName: string, poolName: string): GetPool;
    (path: "/devboxes"): ListAllDevBoxes;
    (path: "/users/{userId}/devboxes", userId: string): ListAllDevBoxesByUser;
    (path: "/projects/{projectName}/pools/{poolName}/schedules", projectName: string, poolName: string): ListSchedulesByPool;
    (path: "/projects/{projectName}/pools/{poolName}/schedules/{scheduleName}", projectName: string, poolName: string, scheduleName: string): GetScheduleByPool;
    (path: "/projects/{projectName}/users/{userId}/devboxes", projectName: string, userId: string): ListDevBoxesByUser;
    (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}", projectName: string, userId: string, devBoxName: string): GetDevBoxByUser;
    (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:start", projectName: string, userId: string, devBoxName: string): StartDevBox;
    (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:stop", projectName: string, userId: string, devBoxName: string): StopDevBox;
    (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}:restart", projectName: string, userId: string, devBoxName: string): RestartDevBox;
    (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/remoteConnection", projectName: string, userId: string, devBoxName: string): GetRemoteConnection;
    (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions", projectName: string, userId: string, devBoxName: string): ListActions;
    (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}", projectName: string, userId: string, devBoxName: string, actionName: string): GetAction;
    (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}:skip", projectName: string, userId: string, devBoxName: string, actionName: string): SkipAction;
    (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions/{actionName}:delay", projectName: string, userId: string, devBoxName: string, actionName: string): DelayAction;
    (path: "/projects/{projectName}/users/{userId}/devboxes/{devBoxName}/actions:delay", projectName: string, userId: string, devBoxName: string): DelayActions;
    (path: "/projects/{projectName}/environments", projectName: string): ListEnvironments;
    (path: "/projects/{projectName}/users/{userId}/environments", projectName: string, userId: string): ListEnvironmentsByUser;
    (path: "/projects/{projectName}/users/{userId}/environments/{environmentName}", projectName: string, userId: string, environmentName: string): GetEnvironmentByUser;
    (path: "/projects/{projectName}/catalogs", projectName: string): ListCatalogsByProject;
    (path: "/projects/{projectName}/catalogs/{catalogName}", projectName: string, catalogName: string): GetCatalog;
    (path: "/projects/{projectName}/environmentDefinitions", projectName: string): ListEnvironmentDefinitionsByProject;
    (path: "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions", projectName: string, catalogName: string): ListEnvironmentDefinitionsByCatalog;
    (path: "/projects/{projectName}/catalogs/{catalogName}/environmentDefinitions/{definitionName}", projectName: string, catalogName: string, definitionName: string): GetEnvironmentDefinition;
    (path: "/projects/{projectName}/environmentTypes", projectName: string): ListEnvironmentTypes;
}

// @public
export type ScheduledFrequencyOutput = string;

// @public
export type ScheduledTypeOutput = string;

// @public
export interface ScheduleOutput {
    frequency: ScheduledFrequencyOutput;
    readonly name: string;
    time: string;
    timeZone: string;
    type: ScheduledTypeOutput;
}

// @public
export interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {
    getOperationState(): TState;
    getResult(): TResult | undefined;
    isDone(): boolean;
    // @deprecated
    isStopped(): boolean;
    onProgress(callback: (state: TState) => void): CancelOnProgress;
    poll(options?: {
        abortSignal?: AbortSignalLike;
    }): Promise<TState>;
    pollUntilDone(pollOptions?: {
        abortSignal?: AbortSignalLike;
    }): Promise<TResult>;
    serialize(): Promise<string>;
    // @deprecated
    stopPolling(): void;
    submitted(): Promise<void>;
    // @deprecated
    toString(): string;
}

// @public (undocumented)
export interface SkipAction {
    post(options?: SkipActionParameters): StreamableMethod<SkipAction204Response | SkipActionDefaultResponse>;
}

// @public
export interface SkipAction204Response extends HttpResponse {
    // (undocumented)
    status: "204";
}

// @public (undocumented)
export interface SkipActionDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface SkipActionDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & SkipActionDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public (undocumented)
export type SkipActionParameters = RequestParameters;

// @public
export type SkuName = string;

// @public
export type SkuNameOutput = string;

// @public (undocumented)
export interface StartDevBox {
    post(options?: StartDevBoxParameters): StreamableMethod<StartDevBox202Response | StartDevBoxDefaultResponse>;
}

// @public (undocumented)
export interface StartDevBox202Headers {
    "operation-location": string;
}

// @public
export interface StartDevBox202Response extends HttpResponse {
    // (undocumented)
    body: OperationStatusOutput;
    // (undocumented)
    headers: RawHttpHeaders & StartDevBox202Headers;
    // (undocumented)
    status: "202";
}

// @public (undocumented)
export interface StartDevBoxDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface StartDevBoxDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & StartDevBoxDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public
export interface StartDevBoxLogicalResponse extends HttpResponse {
    // (undocumented)
    body: OperationStatusOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export type StartDevBoxParameters = RequestParameters;

// @public (undocumented)
export interface StopDevBox {
    post(options?: StopDevBoxParameters): StreamableMethod<StopDevBox202Response | StopDevBoxDefaultResponse>;
}

// @public (undocumented)
export interface StopDevBox202Headers {
    "operation-location": string;
}

// @public
export interface StopDevBox202Response extends HttpResponse {
    // (undocumented)
    body: OperationStatusOutput;
    // (undocumented)
    headers: RawHttpHeaders & StopDevBox202Headers;
    // (undocumented)
    status: "202";
}

// @public (undocumented)
export interface StopDevBoxDefaultHeaders {
    "x-ms-error-code"?: string;
}

// @public (undocumented)
export interface StopDevBoxDefaultResponse extends HttpResponse {
    // (undocumented)
    body: ErrorResponse;
    // (undocumented)
    headers: RawHttpHeaders & StopDevBoxDefaultHeaders;
    // (undocumented)
    status: string;
}

// @public
export interface StopDevBoxLogicalResponse extends HttpResponse {
    // (undocumented)
    body: OperationStatusOutput;
    // (undocumented)
    status: "200";
}

// @public (undocumented)
export type StopDevBoxParameters = StopDevBoxQueryParam & RequestParameters;

// @public (undocumented)
export interface StopDevBoxQueryParam {
    // (undocumented)
    queryParameters?: StopDevBoxQueryParamProperties;
}

// @public (undocumented)
export interface StopDevBoxQueryParamProperties {
    hibernate?: boolean;
}

// @public
export interface StopOnDisconnectConfigurationOutput {
    gracePeriodMinutes?: number;
    status: StopOnDisconnectEnableStatusOutput;
}

// @public
export type StopOnDisconnectEnableStatusOutput = string;

// @public
export interface StorageProfile {
    osDisk?: OsDisk;
}

// @public
export interface StorageProfileOutput {
    osDisk?: OsDiskOutput;
}

// (No @packageDocumentation comment for this package)