import * as coreAuth from '@azure/core-auth'; import * as coreClient from '@azure/core-client'; import { OperationState } from '@azure/core-lro'; import { PagedAsyncIterableIterator } from '@azure/core-paging'; import { SimplePollerLike } from '@azure/core-lro'; /** * Defines values for ActionType. \ * {@link KnownActionType} can be used interchangeably with ActionType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Internal** */ export declare type ActionType = string; /** Represents an allowed environment type. */ export declare interface AllowedEnvironmentType extends Resource { /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** * The display name of the allowed environment type. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly displayName?: string; } /** Result of the allowed environment type list operation. */ export declare interface AllowedEnvironmentTypeListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: AllowedEnvironmentType[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Represents an attached NetworkConnection. */ export declare interface AttachedNetworkConnection extends Resource { /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** The resource ID of the NetworkConnection you want to attach. */ networkConnectionId?: string; /** * The geo-location where the NetworkConnection resource specified in 'networkConnectionResourceId' property lives. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly networkConnectionLocation?: string; /** * Health check status values * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly healthCheckStatus?: HealthCheckStatus; /** * AAD Join type of the network. This is populated based on the referenced Network Connection. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly domainJoinType?: DomainJoinType; } /** Results of the Attached Networks list operation. */ export declare interface AttachedNetworkListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: AttachedNetworkConnection[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Interface representing a AttachedNetworks. */ export declare interface AttachedNetworks { /** * Lists the attached NetworkConnections for a Project. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param options The options parameters. */ listByProject(resourceGroupName: string, projectName: string, options?: AttachedNetworksListByProjectOptionalParams): PagedAsyncIterableIterator; /** * Lists the attached NetworkConnections for a DevCenter. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param options The options parameters. */ listByDevCenter(resourceGroupName: string, devCenterName: string, options?: AttachedNetworksListByDevCenterOptionalParams): PagedAsyncIterableIterator; /** * Gets an attached NetworkConnection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param attachedNetworkConnectionName The name of the attached NetworkConnection. * @param options The options parameters. */ getByProject(resourceGroupName: string, projectName: string, attachedNetworkConnectionName: string, options?: AttachedNetworksGetByProjectOptionalParams): Promise; /** * Gets an attached NetworkConnection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param attachedNetworkConnectionName The name of the attached NetworkConnection. * @param options The options parameters. */ getByDevCenter(resourceGroupName: string, devCenterName: string, attachedNetworkConnectionName: string, options?: AttachedNetworksGetByDevCenterOptionalParams): Promise; /** * Creates or updates an attached NetworkConnection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param attachedNetworkConnectionName The name of the attached NetworkConnection. * @param body Represents an attached NetworkConnection. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, devCenterName: string, attachedNetworkConnectionName: string, body: AttachedNetworkConnection, options?: AttachedNetworksCreateOrUpdateOptionalParams): Promise, AttachedNetworksCreateOrUpdateResponse>>; /** * Creates or updates an attached NetworkConnection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param attachedNetworkConnectionName The name of the attached NetworkConnection. * @param body Represents an attached NetworkConnection. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, devCenterName: string, attachedNetworkConnectionName: string, body: AttachedNetworkConnection, options?: AttachedNetworksCreateOrUpdateOptionalParams): Promise; /** * Un-attach a NetworkConnection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param attachedNetworkConnectionName The name of the attached NetworkConnection. * @param options The options parameters. */ beginDelete(resourceGroupName: string, devCenterName: string, attachedNetworkConnectionName: string, options?: AttachedNetworksDeleteOptionalParams): Promise, AttachedNetworksDeleteResponse>>; /** * Un-attach a NetworkConnection. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param attachedNetworkConnectionName The name of the attached NetworkConnection. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, devCenterName: string, attachedNetworkConnectionName: string, options?: AttachedNetworksDeleteOptionalParams): Promise; } /** Optional parameters. */ export declare interface AttachedNetworksCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ export declare type AttachedNetworksCreateOrUpdateResponse = AttachedNetworkConnection; /** Defines headers for AttachedNetworks_delete operation. */ export declare interface AttachedNetworksDeleteHeaders { location?: string; } /** Optional parameters. */ export declare interface AttachedNetworksDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the delete operation. */ export declare type AttachedNetworksDeleteResponse = AttachedNetworksDeleteHeaders; /** Optional parameters. */ export declare interface AttachedNetworksGetByDevCenterOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getByDevCenter operation. */ export declare type AttachedNetworksGetByDevCenterResponse = AttachedNetworkConnection; /** Optional parameters. */ export declare interface AttachedNetworksGetByProjectOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getByProject operation. */ export declare type AttachedNetworksGetByProjectResponse = AttachedNetworkConnection; /** Optional parameters. */ export declare interface AttachedNetworksListByDevCenterNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByDevCenterNext operation. */ export declare type AttachedNetworksListByDevCenterNextResponse = AttachedNetworkListResult; /** Optional parameters. */ export declare interface AttachedNetworksListByDevCenterOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listByDevCenter operation. */ export declare type AttachedNetworksListByDevCenterResponse = AttachedNetworkListResult; /** Optional parameters. */ export declare interface AttachedNetworksListByProjectNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByProjectNext operation. */ export declare type AttachedNetworksListByProjectNextResponse = AttachedNetworkListResult; /** Optional parameters. */ export declare interface AttachedNetworksListByProjectOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listByProject operation. */ export declare type AttachedNetworksListByProjectResponse = AttachedNetworkListResult; /** A name/value pair to describe a capability. */ export declare interface Capability { /** * Name of the capability. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * Value of the capability. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: string; } /** Represents a catalog. */ export declare interface Catalog extends Resource { /** Properties for a GitHub catalog type. */ gitHub?: GitCatalog; /** Properties for an Azure DevOps catalog type. */ adoGit?: GitCatalog; /** Indicates the type of sync that is configured for the catalog. */ syncType?: CatalogSyncType; /** Resource tags. */ tags?: { [propertyName: string]: string; }; /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** * The synchronization state of the catalog. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly syncState?: CatalogSyncState; /** * Stats of the latest synchronization. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastSyncStats?: SyncStats; /** * The connection state of the catalog. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly connectionState?: CatalogConnectionState; /** * When the catalog was last connected. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastConnectionTime?: Date; /** * When the catalog was last synced. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastSyncTime?: Date; } /** An individual conflict error. */ export declare interface CatalogConflictError { /** * The path of the file that has a conflicting name. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly path?: string; /** * Name of the conflicting catalog item. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; } /** * Defines values for CatalogConnectionState. \ * {@link KnownCatalogConnectionState} can be used interchangeably with CatalogConnectionState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Connected** \ * **Disconnected** */ export declare type CatalogConnectionState = string; /** Catalog error details */ export declare interface CatalogErrorDetails { /** An identifier for the error. */ code?: string; /** A message describing the error. */ message?: string; } /** * Defines values for CatalogItemSyncEnableStatus. \ * {@link KnownCatalogItemSyncEnableStatus} can be used interchangeably with CatalogItemSyncEnableStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ * **Disabled** */ export declare type CatalogItemSyncEnableStatus = string; /** * Defines values for CatalogItemType. \ * {@link KnownCatalogItemType} can be used interchangeably with CatalogItemType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **EnvironmentDefinition** */ export declare type CatalogItemType = string; /** Results of the catalog list operation. */ export declare interface CatalogListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: Catalog[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Properties of a catalog. */ export declare interface CatalogProperties extends CatalogUpdateProperties { /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** * The synchronization state of the catalog. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly syncState?: CatalogSyncState; /** * Stats of the latest synchronization. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastSyncStats?: SyncStats; /** * The connection state of the catalog. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly connectionState?: CatalogConnectionState; /** * When the catalog was last connected. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastConnectionTime?: Date; /** * When the catalog was last synced. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly lastSyncTime?: Date; } /** List of validator error details. Populated when changes are made to the resource or its dependent resources that impact the validity of the Catalog resource. */ export declare interface CatalogResourceValidationErrorDetails { /** * Errors associated with resources synchronized from the catalog. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly errors?: CatalogErrorDetails[]; } /** * Defines values for CatalogResourceValidationStatus. \ * {@link KnownCatalogResourceValidationStatus} can be used interchangeably with CatalogResourceValidationStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Unknown** \ * **Pending** \ * **Succeeded** \ * **Failed** */ export declare type CatalogResourceValidationStatus = string; /** Interface representing a Catalogs. */ export declare interface Catalogs { /** * Lists catalogs for a devcenter. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param options The options parameters. */ listByDevCenter(resourceGroupName: string, devCenterName: string, options?: CatalogsListByDevCenterOptionalParams): PagedAsyncIterableIterator; /** * Gets a catalog * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ get(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsGetOptionalParams): Promise; /** * Creates or updates a catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param body Represents a catalog. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, devCenterName: string, catalogName: string, body: Catalog, options?: CatalogsCreateOrUpdateOptionalParams): Promise, CatalogsCreateOrUpdateResponse>>; /** * Creates or updates a catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param body Represents a catalog. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, devCenterName: string, catalogName: string, body: Catalog, options?: CatalogsCreateOrUpdateOptionalParams): Promise; /** * Partially updates a catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param body Updatable catalog properties. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, devCenterName: string, catalogName: string, body: CatalogUpdate, options?: CatalogsUpdateOptionalParams): Promise, CatalogsUpdateResponse>>; /** * Partially updates a catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param body Updatable catalog properties. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, devCenterName: string, catalogName: string, body: CatalogUpdate, options?: CatalogsUpdateOptionalParams): Promise; /** * Deletes a catalog resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginDelete(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsDeleteOptionalParams): Promise, CatalogsDeleteResponse>>; /** * Deletes a catalog resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsDeleteOptionalParams): Promise; /** * Gets catalog synchronization error details * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ getSyncErrorDetails(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsGetSyncErrorDetailsOptionalParams): Promise; /** * Syncs templates for a template source. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginSync(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsSyncOptionalParams): Promise, CatalogsSyncResponse>>; /** * Syncs templates for a template source. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginSyncAndWait(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsSyncOptionalParams): Promise; /** * Connects a catalog to enable syncing. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginConnect(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsConnectOptionalParams): Promise, CatalogsConnectResponse>>; /** * Connects a catalog to enable syncing. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginConnectAndWait(resourceGroupName: string, devCenterName: string, catalogName: string, options?: CatalogsConnectOptionalParams): Promise; } /** Defines headers for Catalogs_connect operation. */ export declare interface CatalogsConnectHeaders { location?: string; } /** Optional parameters. */ export declare interface CatalogsConnectOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the connect operation. */ export declare type CatalogsConnectResponse = CatalogsConnectHeaders; /** Optional parameters. */ export declare interface CatalogsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ export declare type CatalogsCreateOrUpdateResponse = Catalog; /** Defines headers for Catalogs_delete operation. */ export declare interface CatalogsDeleteHeaders { location?: string; } /** Optional parameters. */ export declare interface CatalogsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the delete operation. */ export declare type CatalogsDeleteResponse = CatalogsDeleteHeaders; /** Optional parameters. */ export declare interface CatalogsGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type CatalogsGetResponse = Catalog; /** Optional parameters. */ export declare interface CatalogsGetSyncErrorDetailsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getSyncErrorDetails operation. */ export declare type CatalogsGetSyncErrorDetailsResponse = SyncErrorDetails; /** Optional parameters. */ export declare interface CatalogsListByDevCenterNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByDevCenterNext operation. */ export declare type CatalogsListByDevCenterNextResponse = CatalogListResult; /** Optional parameters. */ export declare interface CatalogsListByDevCenterOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listByDevCenter operation. */ export declare type CatalogsListByDevCenterResponse = CatalogListResult; /** Defines headers for Catalogs_sync operation. */ export declare interface CatalogsSyncHeaders { location?: string; } /** Optional parameters. */ export declare interface CatalogsSyncOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the sync operation. */ export declare type CatalogsSyncResponse = CatalogsSyncHeaders; /** Defines headers for Catalogs_update operation. */ export declare interface CatalogsUpdateHeaders { location?: string; } /** Optional parameters. */ export declare interface CatalogsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the update operation. */ export declare type CatalogsUpdateResponse = Catalog; /** An individual synchronization error. */ export declare interface CatalogSyncError { /** * The path of the file the error is associated with. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly path?: string; /** * Errors associated with the file. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly errorDetails?: CatalogErrorDetails[]; } /** * Defines values for CatalogSyncState. \ * {@link KnownCatalogSyncState} can be used interchangeably with CatalogSyncState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Succeeded** \ * **InProgress** \ * **Failed** \ * **Canceled** */ export declare type CatalogSyncState = string; /** * Defines values for CatalogSyncType. \ * {@link KnownCatalogSyncType} can be used interchangeably with CatalogSyncType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Manual** \ * **Scheduled** */ export declare type CatalogSyncType = string; /** The catalog's properties for partial update. Properties not provided in the update request will not be changed. */ export declare interface CatalogUpdate { /** Properties for a GitHub catalog type. */ gitHub?: GitCatalog; /** Properties for an Azure DevOps catalog type. */ adoGit?: GitCatalog; /** Indicates the type of sync that is configured for the catalog. */ syncType?: CatalogSyncType; /** Resource tags. */ tags?: { [propertyName: string]: string; }; } /** Properties of a catalog. These properties can be updated after the resource has been created. */ export declare interface CatalogUpdateProperties { /** Properties for a GitHub catalog type. */ gitHub?: GitCatalog; /** Properties for an Azure DevOps catalog type. */ adoGit?: GitCatalog; /** Indicates the type of sync that is configured for the catalog. */ syncType?: CatalogSyncType; /** Resource tags. */ tags?: { [propertyName: string]: string; }; } /** Interface representing a CheckNameAvailability. */ export declare interface CheckNameAvailability { /** * Check the availability of name for resource * @param nameAvailabilityRequest The required parameters for checking if resource name is available. * @param options The options parameters. */ execute(nameAvailabilityRequest: CheckNameAvailabilityRequest, options?: CheckNameAvailabilityExecuteOptionalParams): Promise; } /** Optional parameters. */ export declare interface CheckNameAvailabilityExecuteOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the execute operation. */ export declare type CheckNameAvailabilityExecuteResponse = CheckNameAvailabilityResponse; /** * Defines values for CheckNameAvailabilityReason. \ * {@link KnownCheckNameAvailabilityReason} can be used interchangeably with CheckNameAvailabilityReason, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Invalid** \ * **AlreadyExists** */ export declare type CheckNameAvailabilityReason = string; /** The check availability request body. */ export declare interface CheckNameAvailabilityRequest { /** The name of the resource for which availability needs to be checked. */ name?: string; /** The resource type. */ type?: string; } /** The check availability result. */ export declare interface CheckNameAvailabilityResponse { /** Indicates if the resource name is available. */ nameAvailable?: boolean; /** The reason why the given name is not available. */ reason?: CheckNameAvailabilityReason; /** Detailed reason why the given name is available. */ message?: string; } /** Interface representing a CheckScopedNameAvailability. */ export declare interface CheckScopedNameAvailability { /** * Check the availability of name for resource * @param nameAvailabilityRequest The required parameters for checking if resource name is available. * @param options The options parameters. */ execute(nameAvailabilityRequest: CheckScopedNameAvailabilityRequest, options?: CheckScopedNameAvailabilityExecuteOptionalParams): Promise; } /** Optional parameters. */ export declare interface CheckScopedNameAvailabilityExecuteOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the execute operation. */ export declare type CheckScopedNameAvailabilityExecuteResponse = CheckNameAvailabilityResponse; /** The scoped name check availability request body. */ export declare interface CheckScopedNameAvailabilityRequest { /** The name of the resource for which availability needs to be checked. */ name?: string; /** The resource type. */ type?: string; /** The resource id to scope the name check. */ scope?: string; } /** * Defines values for CreatedByType. \ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **User** \ * **Application** \ * **ManagedIdentity** \ * **Key** */ export declare type CreatedByType = string; /** All Customer-managed key encryption properties for the resource. */ export declare interface CustomerManagedKeyEncryption { /** All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. */ keyEncryptionKeyIdentity?: CustomerManagedKeyEncryptionKeyIdentity; /** key encryption key Url, versioned or non-versioned. Ex: https://contosovault.vault.azure.net/keys/contosokek/562a4bb76b524a1493a6afe8e536ee78 or https://contosovault.vault.azure.net/keys/contosokek. */ keyEncryptionKeyUrl?: string; } /** All identity configuration for Customer-managed key settings defining which identity should be used to auth to Key Vault. */ export declare interface CustomerManagedKeyEncryptionKeyIdentity { /** Values can be systemAssignedIdentity or userAssignedIdentity */ identityType?: IdentityType; /** user assigned identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and delegatedResourceIdentity. */ userAssignedIdentityResourceId?: string; /** delegated identity to use for accessing key encryption key Url. Ex: /subscriptions/fa5fc227-a624-475e-b696-cdd604c735bc/resourceGroups//providers/Microsoft.ManagedIdentity/userAssignedIdentities/myId. Mutually exclusive with identityType systemAssignedIdentity and userAssignedIdentity - internal use only. */ delegatedIdentityClientId?: string; } /** Represents a definition for a Developer Machine. */ export declare interface DevBoxDefinition extends TrackedResource { /** Image reference information. */ imageReference?: ImageReference; /** The SKU for Dev Boxes created using this definition. */ sku?: Sku; /** The storage type used for the Operating System disk of Dev Boxes created using this definition. */ osStorageType?: string; /** Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate */ hibernateSupport?: HibernateSupport; /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** * Validation status of the configured image. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly imageValidationStatus?: ImageValidationStatus; /** * Details for image validator error. Populated when the image validation is not successful. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly imageValidationErrorDetails?: ImageValidationErrorDetails; /** * Validation status for the Dev Box Definition. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly validationStatus?: CatalogResourceValidationStatus; /** * Image reference information for the currently active image (only populated during updates). * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly activeImageReference?: ImageReference; } /** Results of the Dev Box definition list operation. */ export declare interface DevBoxDefinitionListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: DevBoxDefinition[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Properties of a Dev Box definition. */ export declare interface DevBoxDefinitionProperties extends DevBoxDefinitionUpdateProperties { /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** * Validation status of the configured image. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly imageValidationStatus?: ImageValidationStatus; /** * Details for image validator error. Populated when the image validation is not successful. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly imageValidationErrorDetails?: ImageValidationErrorDetails; /** * Validation status for the Dev Box Definition. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly validationStatus?: CatalogResourceValidationStatus; /** * Image reference information for the currently active image (only populated during updates). * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly activeImageReference?: ImageReference; } /** Interface representing a DevBoxDefinitions. */ export declare interface DevBoxDefinitions { /** * List Dev Box definitions for a devcenter. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param options The options parameters. */ listByDevCenter(resourceGroupName: string, devCenterName: string, options?: DevBoxDefinitionsListByDevCenterOptionalParams): PagedAsyncIterableIterator; /** * List Dev Box definitions configured for a project. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param options The options parameters. */ listByProject(resourceGroupName: string, projectName: string, options?: DevBoxDefinitionsListByProjectOptionalParams): PagedAsyncIterableIterator; /** * Gets a Dev Box definition * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param devBoxDefinitionName The name of the Dev Box definition. * @param options The options parameters. */ get(resourceGroupName: string, devCenterName: string, devBoxDefinitionName: string, options?: DevBoxDefinitionsGetOptionalParams): Promise; /** * Creates or updates a Dev Box definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param devBoxDefinitionName The name of the Dev Box definition. * @param body Represents a Dev Box definition. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, devCenterName: string, devBoxDefinitionName: string, body: DevBoxDefinition, options?: DevBoxDefinitionsCreateOrUpdateOptionalParams): Promise, DevBoxDefinitionsCreateOrUpdateResponse>>; /** * Creates or updates a Dev Box definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param devBoxDefinitionName The name of the Dev Box definition. * @param body Represents a Dev Box definition. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, devCenterName: string, devBoxDefinitionName: string, body: DevBoxDefinition, options?: DevBoxDefinitionsCreateOrUpdateOptionalParams): Promise; /** * Partially updates a Dev Box definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param devBoxDefinitionName The name of the Dev Box definition. * @param body Represents a Dev Box definition. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, devCenterName: string, devBoxDefinitionName: string, body: DevBoxDefinitionUpdate, options?: DevBoxDefinitionsUpdateOptionalParams): Promise, DevBoxDefinitionsUpdateResponse>>; /** * Partially updates a Dev Box definition. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param devBoxDefinitionName The name of the Dev Box definition. * @param body Represents a Dev Box definition. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, devCenterName: string, devBoxDefinitionName: string, body: DevBoxDefinitionUpdate, options?: DevBoxDefinitionsUpdateOptionalParams): Promise; /** * Deletes a Dev Box definition * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param devBoxDefinitionName The name of the Dev Box definition. * @param options The options parameters. */ beginDelete(resourceGroupName: string, devCenterName: string, devBoxDefinitionName: string, options?: DevBoxDefinitionsDeleteOptionalParams): Promise, DevBoxDefinitionsDeleteResponse>>; /** * Deletes a Dev Box definition * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param devBoxDefinitionName The name of the Dev Box definition. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, devCenterName: string, devBoxDefinitionName: string, options?: DevBoxDefinitionsDeleteOptionalParams): Promise; /** * Gets a Dev Box definition configured for a project * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param devBoxDefinitionName The name of the Dev Box definition. * @param options The options parameters. */ getByProject(resourceGroupName: string, projectName: string, devBoxDefinitionName: string, options?: DevBoxDefinitionsGetByProjectOptionalParams): Promise; } /** Optional parameters. */ export declare interface DevBoxDefinitionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ export declare type DevBoxDefinitionsCreateOrUpdateResponse = DevBoxDefinition; /** Defines headers for DevBoxDefinitions_delete operation. */ export declare interface DevBoxDefinitionsDeleteHeaders { location?: string; } /** Optional parameters. */ export declare interface DevBoxDefinitionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the delete operation. */ export declare type DevBoxDefinitionsDeleteResponse = DevBoxDefinitionsDeleteHeaders; /** Optional parameters. */ export declare interface DevBoxDefinitionsGetByProjectOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getByProject operation. */ export declare type DevBoxDefinitionsGetByProjectResponse = DevBoxDefinition; /** Optional parameters. */ export declare interface DevBoxDefinitionsGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type DevBoxDefinitionsGetResponse = DevBoxDefinition; /** Optional parameters. */ export declare interface DevBoxDefinitionsListByDevCenterNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByDevCenterNext operation. */ export declare type DevBoxDefinitionsListByDevCenterNextResponse = DevBoxDefinitionListResult; /** Optional parameters. */ export declare interface DevBoxDefinitionsListByDevCenterOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listByDevCenter operation. */ export declare type DevBoxDefinitionsListByDevCenterResponse = DevBoxDefinitionListResult; /** Optional parameters. */ export declare interface DevBoxDefinitionsListByProjectNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByProjectNext operation. */ export declare type DevBoxDefinitionsListByProjectNextResponse = DevBoxDefinitionListResult; /** Optional parameters. */ export declare interface DevBoxDefinitionsListByProjectOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listByProject operation. */ export declare type DevBoxDefinitionsListByProjectResponse = DevBoxDefinitionListResult; /** Defines headers for DevBoxDefinitions_update operation. */ export declare interface DevBoxDefinitionsUpdateHeaders { location?: string; } /** Optional parameters. */ export declare interface DevBoxDefinitionsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the update operation. */ export declare type DevBoxDefinitionsUpdateResponse = DevBoxDefinition; /** Partial update of a Dev Box definition resource. */ export declare interface DevBoxDefinitionUpdate extends TrackedResourceUpdate { /** Image reference information. */ imageReference?: ImageReference; /** The SKU for Dev Boxes created using this definition. */ sku?: Sku; /** The storage type used for the Operating System disk of Dev Boxes created using this definition. */ osStorageType?: string; /** Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate */ hibernateSupport?: HibernateSupport; } /** Properties of a Dev Box definition. These properties can be updated after the resource has been created. */ export declare interface DevBoxDefinitionUpdateProperties { /** Image reference information. */ imageReference?: ImageReference; /** The SKU for Dev Boxes created using this definition. */ sku?: Sku; /** The storage type used for the Operating System disk of Dev Boxes created using this definition. */ osStorageType?: string; /** Indicates whether Dev Boxes created with this definition are capable of hibernation. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate */ hibernateSupport?: HibernateSupport; } /** Represents a devcenter resource. */ export declare interface DevCenter extends TrackedResource { /** Managed identity properties */ identity?: ManagedServiceIdentity; /** Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations). */ encryption?: Encryption; /** The display name of the devcenter. */ displayName?: string; /** Dev Center settings to be used when associating a project with a catalog. */ projectCatalogSettings?: DevCenterProjectCatalogSettings; /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** * The URI of the Dev Center. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly devCenterUri?: string; } export declare class DevCenterClient extends coreClient.ServiceClient { $host: string; apiVersion: string; subscriptionId: string; /** * Initializes a new instance of the DevCenterClient class. * @param credentials Subscription credentials which uniquely identify client subscription. * @param subscriptionId The ID of the target subscription. * @param options The parameter options */ constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: DevCenterClientOptionalParams); /** A function that adds a policy that sets the api-version (or equivalent) to reflect the library version. */ private addCustomApiVersionPolicy; devCenters: DevCenters; projects: Projects; attachedNetworks: AttachedNetworks; projectCatalogs: ProjectCatalogs; environmentDefinitions: EnvironmentDefinitions; projectCatalogEnvironmentDefinitions: ProjectCatalogEnvironmentDefinitions; galleries: Galleries; images: Images; imageVersions: ImageVersions; catalogs: Catalogs; environmentTypes: EnvironmentTypes; projectAllowedEnvironmentTypes: ProjectAllowedEnvironmentTypes; projectEnvironmentTypes: ProjectEnvironmentTypes; devBoxDefinitions: DevBoxDefinitions; operations: Operations; operationStatuses: OperationStatuses; usages: Usages; checkNameAvailability: CheckNameAvailability; checkScopedNameAvailability: CheckScopedNameAvailability; skus: Skus; pools: Pools; schedules: Schedules; networkConnections: NetworkConnections; } /** Optional parameters. */ export declare interface DevCenterClientOptionalParams extends coreClient.ServiceClientOptions { /** server parameter */ $host?: string; /** Api Version */ apiVersion?: string; /** Overrides client endpoint. */ endpoint?: string; } /** Result of the list devcenters operation */ export declare interface DevCenterListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: DevCenter[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Project catalog settings for project catalogs under a project associated to this dev center. */ export declare interface DevCenterProjectCatalogSettings { /** Whether project catalogs associated with projects in this dev center can be configured to sync catalog items. */ catalogItemSyncEnableStatus?: CatalogItemSyncEnableStatus; } /** Properties of the devcenter. */ export declare interface DevCenterProperties extends DevCenterUpdateProperties { /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** * The URI of the Dev Center. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly devCenterUri?: string; } /** Interface representing a DevCenters. */ export declare interface DevCenters { /** * Lists all devcenters in a subscription. * @param options The options parameters. */ listBySubscription(options?: DevCentersListBySubscriptionOptionalParams): PagedAsyncIterableIterator; /** * Lists all devcenters in a resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ listByResourceGroup(resourceGroupName: string, options?: DevCentersListByResourceGroupOptionalParams): PagedAsyncIterableIterator; /** * Gets a devcenter. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param options The options parameters. */ get(resourceGroupName: string, devCenterName: string, options?: DevCentersGetOptionalParams): Promise; /** * Creates or updates a devcenter resource * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param body Represents a devcenter. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, devCenterName: string, body: DevCenter, options?: DevCentersCreateOrUpdateOptionalParams): Promise, DevCentersCreateOrUpdateResponse>>; /** * Creates or updates a devcenter resource * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param body Represents a devcenter. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, devCenterName: string, body: DevCenter, options?: DevCentersCreateOrUpdateOptionalParams): Promise; /** * Partially updates a devcenter. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param body Updatable devcenter properties. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, devCenterName: string, body: DevCenterUpdate, options?: DevCentersUpdateOptionalParams): Promise, DevCentersUpdateResponse>>; /** * Partially updates a devcenter. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param body Updatable devcenter properties. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, devCenterName: string, body: DevCenterUpdate, options?: DevCentersUpdateOptionalParams): Promise; /** * Deletes a devcenter * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param options The options parameters. */ beginDelete(resourceGroupName: string, devCenterName: string, options?: DevCentersDeleteOptionalParams): Promise, DevCentersDeleteResponse>>; /** * Deletes a devcenter * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, devCenterName: string, options?: DevCentersDeleteOptionalParams): Promise; } /** Optional parameters. */ export declare interface DevCentersCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ export declare type DevCentersCreateOrUpdateResponse = DevCenter; /** Defines headers for DevCenters_delete operation. */ export declare interface DevCentersDeleteHeaders { location?: string; } /** Optional parameters. */ export declare interface DevCentersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the delete operation. */ export declare type DevCentersDeleteResponse = DevCentersDeleteHeaders; /** Optional parameters. */ export declare interface DevCentersGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type DevCentersGetResponse = DevCenter; /** The resource model definition representing SKU for DevCenter resources */ export declare interface DevCenterSku extends Sku { /** * The name of the resource type * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resourceType?: string; /** * SKU supported locations. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly locations?: string[]; /** * Collection of name/value pairs to describe the SKU capabilities. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly capabilities?: Capability[]; } /** Optional parameters. */ export declare interface DevCentersListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByResourceGroupNext operation. */ export declare type DevCentersListByResourceGroupNextResponse = DevCenterListResult; /** Optional parameters. */ export declare interface DevCentersListByResourceGroupOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listByResourceGroup operation. */ export declare type DevCentersListByResourceGroupResponse = DevCenterListResult; /** Optional parameters. */ export declare interface DevCentersListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listBySubscriptionNext operation. */ export declare type DevCentersListBySubscriptionNextResponse = DevCenterListResult; /** Optional parameters. */ export declare interface DevCentersListBySubscriptionOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listBySubscription operation. */ export declare type DevCentersListBySubscriptionResponse = DevCenterListResult; /** Defines headers for DevCenters_update operation. */ export declare interface DevCentersUpdateHeaders { location?: string; } /** Optional parameters. */ export declare interface DevCentersUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the update operation. */ export declare type DevCentersUpdateResponse = DevCenter; /** The devcenter resource for partial updates. Properties not provided in the update request will not be changed. */ export declare interface DevCenterUpdate extends TrackedResourceUpdate { /** Managed identity properties */ identity?: ManagedServiceIdentity; /** Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations). */ encryption?: Encryption; /** The display name of the devcenter. */ displayName?: string; /** Dev Center settings to be used when associating a project with a catalog. */ projectCatalogSettings?: DevCenterProjectCatalogSettings; } /** Properties of the devcenter. These properties can be updated after the resource has been created. */ export declare interface DevCenterUpdateProperties { /** Encryption settings to be used for server-side encryption for proprietary content (such as catalogs, logs, customizations). */ encryption?: Encryption; /** The display name of the devcenter. */ displayName?: string; /** Dev Center settings to be used when associating a project with a catalog. */ projectCatalogSettings?: DevCenterProjectCatalogSettings; } /** * Defines values for DomainJoinType. \ * {@link KnownDomainJoinType} can be used interchangeably with DomainJoinType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **HybridAzureADJoin** \ * **AzureADJoin** */ export declare type DomainJoinType = string; export declare interface Encryption { /** All Customer-managed key encryption properties for the resource. */ customerManagedKeyEncryption?: CustomerManagedKeyEncryption; } /** A domain name and connection details used to access a dependency. */ export declare interface EndpointDependency { /** * The domain name of the dependency. Domain names may be fully qualified or may contain a * wildcard. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly domainName?: string; /** * Human-readable supplemental information about the dependency and when it is applicable. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly description?: string; /** * The list of connection details for this endpoint. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly endpointDetails?: EndpointDetail[]; } /** Details about the connection between the Batch service and the endpoint. */ export declare interface EndpointDetail { /** * The port an endpoint is connected to. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly port?: number; } /** Represents an environment definition catalog item. */ export declare interface EnvironmentDefinition extends ProxyResource { /** * A short description of the environment definition. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly description?: string; /** * Input parameters passed to an environment. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly parameters?: EnvironmentDefinitionParameter[]; /** * Path to the Environment Definition entrypoint file. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly templatePath?: string; /** * Validation status for the environment definition. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly validationStatus?: CatalogResourceValidationStatus; } /** Results of the environment definition list operation. */ export declare interface EnvironmentDefinitionListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: EnvironmentDefinition[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Properties of an Environment Definition parameter */ export declare interface EnvironmentDefinitionParameter { /** * Unique ID of the parameter * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * Display name of the parameter * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * Description of the parameter * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly description?: string; /** * A string of one of the basic JSON types (number, integer, array, object, boolean, string) * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: ParameterType; /** * Whether or not this parameter is read-only. If true, default should have a value. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly readOnly?: boolean; /** * Whether or not this parameter is required * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly required?: boolean; } /** Interface representing a EnvironmentDefinitions. */ export declare interface EnvironmentDefinitions { /** * Lists the environment definitions in this project catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param catalogName The name of the Catalog. * @param options The options parameters. */ listByProjectCatalog(resourceGroupName: string, projectName: string, catalogName: string, options?: EnvironmentDefinitionsListByProjectCatalogOptionalParams): PagedAsyncIterableIterator; /** * List environment definitions in the catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param options The options parameters. */ listByCatalog(resourceGroupName: string, devCenterName: string, catalogName: string, options?: EnvironmentDefinitionsListByCatalogOptionalParams): PagedAsyncIterableIterator; /** * Gets an environment definition from the catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param catalogName The name of the Catalog. * @param environmentDefinitionName The name of the Environment Definition. * @param options The options parameters. */ getByProjectCatalog(resourceGroupName: string, projectName: string, catalogName: string, environmentDefinitionName: string, options?: EnvironmentDefinitionsGetByProjectCatalogOptionalParams): Promise; /** * Gets an environment definition from the catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param environmentDefinitionName The name of the Environment Definition. * @param options The options parameters. */ get(resourceGroupName: string, devCenterName: string, catalogName: string, environmentDefinitionName: string, options?: EnvironmentDefinitionsGetOptionalParams): Promise; /** * Gets Environment Definition error details * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param catalogName The name of the Catalog. * @param environmentDefinitionName The name of the Environment Definition. * @param options The options parameters. */ getErrorDetails(resourceGroupName: string, devCenterName: string, catalogName: string, environmentDefinitionName: string, options?: EnvironmentDefinitionsGetErrorDetailsOptionalParams): Promise; } /** Optional parameters. */ export declare interface EnvironmentDefinitionsGetByProjectCatalogOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getByProjectCatalog operation. */ export declare type EnvironmentDefinitionsGetByProjectCatalogResponse = EnvironmentDefinition; /** Optional parameters. */ export declare interface EnvironmentDefinitionsGetErrorDetailsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getErrorDetails operation. */ export declare type EnvironmentDefinitionsGetErrorDetailsResponse = CatalogResourceValidationErrorDetails; /** Optional parameters. */ export declare interface EnvironmentDefinitionsGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type EnvironmentDefinitionsGetResponse = EnvironmentDefinition; /** Optional parameters. */ export declare interface EnvironmentDefinitionsListByCatalogNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByCatalogNext operation. */ export declare type EnvironmentDefinitionsListByCatalogNextResponse = EnvironmentDefinitionListResult; /** Optional parameters. */ export declare interface EnvironmentDefinitionsListByCatalogOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listByCatalog operation. */ export declare type EnvironmentDefinitionsListByCatalogResponse = EnvironmentDefinitionListResult; /** Optional parameters. */ export declare interface EnvironmentDefinitionsListByProjectCatalogNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByProjectCatalogNext operation. */ export declare type EnvironmentDefinitionsListByProjectCatalogNextResponse = EnvironmentDefinitionListResult; /** Optional parameters. */ export declare interface EnvironmentDefinitionsListByProjectCatalogOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByProjectCatalog operation. */ export declare type EnvironmentDefinitionsListByProjectCatalogResponse = EnvironmentDefinitionListResult; /** A role that can be assigned to a user. */ export declare interface EnvironmentRole { /** * The common name of the Role Assignment. This is a descriptive name such as 'AcrPush'. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly roleName?: string; /** * This is a description of the Role Assignment. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly description?: string; } /** Represents an environment type. */ export declare interface EnvironmentType extends Resource { /** Resource tags. */ tags?: { [propertyName: string]: string; }; /** The display name of the environment type. */ displayName?: string; /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; } /** * Defines values for EnvironmentTypeEnableStatus. \ * {@link KnownEnvironmentTypeEnableStatus} can be used interchangeably with EnvironmentTypeEnableStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ * **Disabled** */ export declare type EnvironmentTypeEnableStatus = string; /** Result of the environment type list operation. */ export declare interface EnvironmentTypeListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: EnvironmentType[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Properties of an environment type. */ export declare interface EnvironmentTypeProperties extends EnvironmentTypeUpdateProperties { /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; } /** Interface representing a EnvironmentTypes. */ export declare interface EnvironmentTypes { /** * Lists environment types for the devcenter. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param options The options parameters. */ listByDevCenter(resourceGroupName: string, devCenterName: string, options?: EnvironmentTypesListByDevCenterOptionalParams): PagedAsyncIterableIterator; /** * Gets an environment type. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param environmentTypeName The name of the environment type. * @param options The options parameters. */ get(resourceGroupName: string, devCenterName: string, environmentTypeName: string, options?: EnvironmentTypesGetOptionalParams): Promise; /** * Creates or updates an environment type. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param environmentTypeName The name of the environment type. * @param body Represents an Environment Type. * @param options The options parameters. */ createOrUpdate(resourceGroupName: string, devCenterName: string, environmentTypeName: string, body: EnvironmentType, options?: EnvironmentTypesCreateOrUpdateOptionalParams): Promise; /** * Partially updates an environment type. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param environmentTypeName The name of the environment type. * @param body Updatable environment type properties. * @param options The options parameters. */ update(resourceGroupName: string, devCenterName: string, environmentTypeName: string, body: EnvironmentTypeUpdate, options?: EnvironmentTypesUpdateOptionalParams): Promise; /** * Deletes an environment type. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param environmentTypeName The name of the environment type. * @param options The options parameters. */ delete(resourceGroupName: string, devCenterName: string, environmentTypeName: string, options?: EnvironmentTypesDeleteOptionalParams): Promise; } /** Optional parameters. */ export declare interface EnvironmentTypesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the createOrUpdate operation. */ export declare type EnvironmentTypesCreateOrUpdateResponse = EnvironmentType; /** Optional parameters. */ export declare interface EnvironmentTypesDeleteOptionalParams extends coreClient.OperationOptions { } /** Optional parameters. */ export declare interface EnvironmentTypesGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type EnvironmentTypesGetResponse = EnvironmentType; /** Optional parameters. */ export declare interface EnvironmentTypesListByDevCenterNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByDevCenterNext operation. */ export declare type EnvironmentTypesListByDevCenterNextResponse = EnvironmentTypeListResult; /** Optional parameters. */ export declare interface EnvironmentTypesListByDevCenterOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listByDevCenter operation. */ export declare type EnvironmentTypesListByDevCenterResponse = EnvironmentTypeListResult; /** Optional parameters. */ export declare interface EnvironmentTypesUpdateOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the update operation. */ export declare type EnvironmentTypesUpdateResponse = EnvironmentType; /** The environment type for partial update. Properties not provided in the update request will not be changed. */ export declare interface EnvironmentTypeUpdate { /** Resource tags. */ tags?: { [propertyName: string]: string; }; /** The display name of the environment type. */ displayName?: string; } /** Properties of an environment type. These properties can be updated after the resource has been created. */ export declare interface EnvironmentTypeUpdateProperties { /** The display name of the environment type. */ displayName?: string; } /** The resource management error additional info. */ export declare interface ErrorAdditionalInfo { /** * The additional info type. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** * The additional info. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly info?: Record; } /** The error detail. */ export declare interface ErrorDetail { /** * The error code. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly code?: string; /** * The error message. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly message?: string; /** * The error target. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly target?: string; /** * The error details. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly details?: ErrorDetail[]; /** * The error additional info. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly additionalInfo?: ErrorAdditionalInfo[]; } /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ export declare interface ErrorResponse { /** The error object. */ error?: ErrorDetail; } /** Interface representing a Galleries. */ export declare interface Galleries { /** * Lists galleries for a devcenter. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param options The options parameters. */ listByDevCenter(resourceGroupName: string, devCenterName: string, options?: GalleriesListByDevCenterOptionalParams): PagedAsyncIterableIterator; /** * Gets a gallery * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param galleryName The name of the gallery. * @param options The options parameters. */ get(resourceGroupName: string, devCenterName: string, galleryName: string, options?: GalleriesGetOptionalParams): Promise; /** * Creates or updates a gallery. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param galleryName The name of the gallery. * @param body Represents a gallery. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, devCenterName: string, galleryName: string, body: Gallery, options?: GalleriesCreateOrUpdateOptionalParams): Promise, GalleriesCreateOrUpdateResponse>>; /** * Creates or updates a gallery. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param galleryName The name of the gallery. * @param body Represents a gallery. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, devCenterName: string, galleryName: string, body: Gallery, options?: GalleriesCreateOrUpdateOptionalParams): Promise; /** * Deletes a gallery resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param galleryName The name of the gallery. * @param options The options parameters. */ beginDelete(resourceGroupName: string, devCenterName: string, galleryName: string, options?: GalleriesDeleteOptionalParams): Promise, GalleriesDeleteResponse>>; /** * Deletes a gallery resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param galleryName The name of the gallery. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, devCenterName: string, galleryName: string, options?: GalleriesDeleteOptionalParams): Promise; } /** Optional parameters. */ export declare interface GalleriesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ export declare type GalleriesCreateOrUpdateResponse = Gallery; /** Defines headers for Galleries_delete operation. */ export declare interface GalleriesDeleteHeaders { location?: string; } /** Optional parameters. */ export declare interface GalleriesDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the delete operation. */ export declare type GalleriesDeleteResponse = GalleriesDeleteHeaders; /** Optional parameters. */ export declare interface GalleriesGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type GalleriesGetResponse = Gallery; /** Optional parameters. */ export declare interface GalleriesListByDevCenterNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByDevCenterNext operation. */ export declare type GalleriesListByDevCenterNextResponse = GalleryListResult; /** Optional parameters. */ export declare interface GalleriesListByDevCenterOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listByDevCenter operation. */ export declare type GalleriesListByDevCenterResponse = GalleryListResult; /** Represents a gallery. */ export declare interface Gallery extends Resource { /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** The resource ID of the backing Azure Compute Gallery. */ galleryResourceId?: string; } /** Results of the gallery list operation. */ export declare interface GalleryListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: Gallery[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** * Given the last `.value` produced by the `byPage` iterator, * returns a continuation token that can be used to begin paging from * that point later. * @param page An object from accessing `value` on the IteratorResult from a `byPage` iterator. * @returns The continuation token that can be passed into byPage() during future calls. */ export declare function getContinuationToken(page: unknown): string | undefined; /** Properties for a Git repository catalog. */ export declare interface GitCatalog { /** Git URI. */ uri?: string; /** Git branch. */ branch?: string; /** A reference to the Key Vault secret containing a security token to authenticate to a Git repository. */ secretIdentifier?: string; /** The folder where the catalog items can be found inside the repository. */ path?: string; } /** An individual health check item */ export declare interface HealthCheck { /** * The status of the health check item. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly status?: HealthCheckStatus; /** * The display name of this health check item. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly displayName?: string; /** * Start time of health check item. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly startDateTime?: Date; /** * End time of the health check item. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly endDateTime?: Date; /** * The type of error that occurred during this health check. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly errorType?: string; /** * The recommended action to fix the corresponding error. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly recommendedAction?: string; /** * Additional details about the health check or the recommended action. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly additionalDetails?: string; } /** * Defines values for HealthCheckStatus. \ * {@link KnownHealthCheckStatus} can be used interchangeably with HealthCheckStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Unknown** \ * **Pending** \ * **Running** \ * **Passed** \ * **Warning** \ * **Failed** */ export declare type HealthCheckStatus = string; /** Health Check details. */ export declare interface HealthCheckStatusDetails extends Resource { /** * Start time of last execution of the health checks. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly startDateTime?: Date; /** * End time of last execution of the health checks. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly endDateTime?: Date; /** * Details for each health check item. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly healthChecks?: HealthCheck[]; } /** Result of the network health check list operation. */ export declare interface HealthCheckStatusDetailsListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: HealthCheckStatusDetails[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** * Defines values for HealthStatus. \ * {@link KnownHealthStatus} can be used interchangeably with HealthStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Unknown** \ * **Pending** \ * **Healthy** \ * **Warning** \ * **Unhealthy** */ export declare type HealthStatus = string; /** Pool health status detail. */ export declare interface HealthStatusDetail { /** * An identifier for the issue. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly code?: string; /** * A message describing the issue, intended to be suitable for display in a user interface * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly message?: string; } /** * Defines values for HibernateSupport. \ * {@link KnownHibernateSupport} can be used interchangeably with HibernateSupport, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Disabled** \ * **Enabled** */ export declare type HibernateSupport = string; /** * Defines values for IdentityType. \ * {@link KnownIdentityType} can be used interchangeably with IdentityType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **systemAssignedIdentity** \ * **userAssignedIdentity** \ * **delegatedResourceIdentity** */ export declare type IdentityType = string; /** Represents an image. */ declare interface Image_2 extends ProxyResource { /** * The description of the image. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly description?: string; /** * The publisher of the image. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly publisher?: string; /** * The name of the image offer. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly offer?: string; /** * The SKU name for the image. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly sku?: string; /** * The recommended machine configuration to use with the image. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly recommendedMachineConfiguration?: RecommendedMachineConfiguration; /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** * Indicates whether this image has hibernate enabled. Not all images are capable of supporting hibernation. To find out more see https://aka.ms/devbox/hibernate * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly hibernateSupport?: HibernateSupport; } export { Image_2 as Image } /** Results of the image list operation. */ export declare interface ImageListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: Image_2[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Image reference information */ export declare interface ImageReference { /** Image ID, or Image version ID. When Image ID is provided, its latest version will be used. */ id?: string; /** * The actual version of the image after use. When id references a gallery image latest version, this will indicate the actual version in use. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly exactVersion?: string; } /** Interface representing a Images. */ export declare interface Images { /** * Lists images for a devcenter. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param options The options parameters. */ listByDevCenter(resourceGroupName: string, devCenterName: string, options?: ImagesListByDevCenterOptionalParams): PagedAsyncIterableIterator; /** * Lists images for a gallery. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param galleryName The name of the gallery. * @param options The options parameters. */ listByGallery(resourceGroupName: string, devCenterName: string, galleryName: string, options?: ImagesListByGalleryOptionalParams): PagedAsyncIterableIterator; /** * Gets a gallery image. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param galleryName The name of the gallery. * @param imageName The name of the image. * @param options The options parameters. */ get(resourceGroupName: string, devCenterName: string, galleryName: string, imageName: string, options?: ImagesGetOptionalParams): Promise; } /** Optional parameters. */ export declare interface ImagesGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type ImagesGetResponse = Image_2; /** Optional parameters. */ export declare interface ImagesListByDevCenterNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByDevCenterNext operation. */ export declare type ImagesListByDevCenterNextResponse = ImageListResult; /** Optional parameters. */ export declare interface ImagesListByDevCenterOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listByDevCenter operation. */ export declare type ImagesListByDevCenterResponse = ImageListResult; /** Optional parameters. */ export declare interface ImagesListByGalleryNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByGalleryNext operation. */ export declare type ImagesListByGalleryNextResponse = ImageListResult; /** Optional parameters. */ export declare interface ImagesListByGalleryOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listByGallery operation. */ export declare type ImagesListByGalleryResponse = ImageListResult; /** Image validation error details */ export declare interface ImageValidationErrorDetails { /** An identifier for the error. */ code?: string; /** A message describing the error. */ message?: string; } /** * Defines values for ImageValidationStatus. \ * {@link KnownImageValidationStatus} can be used interchangeably with ImageValidationStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Unknown** \ * **Pending** \ * **Succeeded** \ * **Failed** \ * **TimedOut** */ export declare type ImageValidationStatus = string; /** Represents an image version. */ export declare interface ImageVersion extends ProxyResource { /** * The semantic version string. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly namePropertiesName?: string; /** * The datetime that the backing image version was published. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly publishedDate?: Date; /** * If the version should be excluded from being treated as the latest version. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly excludeFromLatest?: boolean; /** * The size of the OS disk image, in GB. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly osDiskImageSizeInGb?: number; /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; } /** Results of the image version list operation. */ export declare interface ImageVersionListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: ImageVersion[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Interface representing a ImageVersions. */ export declare interface ImageVersions { /** * Lists versions for an image. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param galleryName The name of the gallery. * @param imageName The name of the image. * @param options The options parameters. */ listByImage(resourceGroupName: string, devCenterName: string, galleryName: string, imageName: string, options?: ImageVersionsListByImageOptionalParams): PagedAsyncIterableIterator; /** * Gets an image version. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param devCenterName The name of the devcenter. * @param galleryName The name of the gallery. * @param imageName The name of the image. * @param versionName The version of the image. * @param options The options parameters. */ get(resourceGroupName: string, devCenterName: string, galleryName: string, imageName: string, versionName: string, options?: ImageVersionsGetOptionalParams): Promise; } /** Optional parameters. */ export declare interface ImageVersionsGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type ImageVersionsGetResponse = ImageVersion; /** Optional parameters. */ export declare interface ImageVersionsListByImageNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByImageNext operation. */ export declare type ImageVersionsListByImageNextResponse = ImageVersionListResult; /** Optional parameters. */ export declare interface ImageVersionsListByImageOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByImage operation. */ export declare type ImageVersionsListByImageResponse = ImageVersionListResult; /** Known values of {@link ActionType} that the service accepts. */ export declare enum KnownActionType { /** Internal */ Internal = "Internal" } /** Known values of {@link CatalogConnectionState} that the service accepts. */ export declare enum KnownCatalogConnectionState { /** Connected */ Connected = "Connected", /** Disconnected */ Disconnected = "Disconnected" } /** Known values of {@link CatalogItemSyncEnableStatus} that the service accepts. */ export declare enum KnownCatalogItemSyncEnableStatus { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled" } /** Known values of {@link CatalogItemType} that the service accepts. */ export declare enum KnownCatalogItemType { /** EnvironmentDefinition */ EnvironmentDefinition = "EnvironmentDefinition" } /** Known values of {@link CatalogResourceValidationStatus} that the service accepts. */ export declare enum KnownCatalogResourceValidationStatus { /** Unknown */ Unknown = "Unknown", /** Pending */ Pending = "Pending", /** Succeeded */ Succeeded = "Succeeded", /** Failed */ Failed = "Failed" } /** Known values of {@link CatalogSyncState} that the service accepts. */ export declare enum KnownCatalogSyncState { /** Succeeded */ Succeeded = "Succeeded", /** InProgress */ InProgress = "InProgress", /** Failed */ Failed = "Failed", /** Canceled */ Canceled = "Canceled" } /** Known values of {@link CatalogSyncType} that the service accepts. */ export declare enum KnownCatalogSyncType { /** Manual */ Manual = "Manual", /** Scheduled */ Scheduled = "Scheduled" } /** Known values of {@link CheckNameAvailabilityReason} that the service accepts. */ export declare enum KnownCheckNameAvailabilityReason { /** Invalid */ Invalid = "Invalid", /** AlreadyExists */ AlreadyExists = "AlreadyExists" } /** Known values of {@link CreatedByType} that the service accepts. */ export declare enum KnownCreatedByType { /** User */ User = "User", /** Application */ Application = "Application", /** ManagedIdentity */ ManagedIdentity = "ManagedIdentity", /** Key */ Key = "Key" } /** Known values of {@link DomainJoinType} that the service accepts. */ export declare enum KnownDomainJoinType { /** HybridAzureADJoin */ HybridAzureADJoin = "HybridAzureADJoin", /** AzureADJoin */ AzureADJoin = "AzureADJoin" } /** Known values of {@link EnvironmentTypeEnableStatus} that the service accepts. */ export declare enum KnownEnvironmentTypeEnableStatus { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled" } /** Known values of {@link HealthCheckStatus} that the service accepts. */ export declare enum KnownHealthCheckStatus { /** Unknown */ Unknown = "Unknown", /** Pending */ Pending = "Pending", /** Running */ Running = "Running", /** Passed */ Passed = "Passed", /** Warning */ Warning = "Warning", /** Failed */ Failed = "Failed" } /** Known values of {@link HealthStatus} that the service accepts. */ export declare enum KnownHealthStatus { /** Unknown */ Unknown = "Unknown", /** Pending */ Pending = "Pending", /** Healthy */ Healthy = "Healthy", /** Warning */ Warning = "Warning", /** Unhealthy */ Unhealthy = "Unhealthy" } /** Known values of {@link HibernateSupport} that the service accepts. */ export declare enum KnownHibernateSupport { /** Disabled */ Disabled = "Disabled", /** Enabled */ Enabled = "Enabled" } /** Known values of {@link IdentityType} that the service accepts. */ export declare enum KnownIdentityType { /** SystemAssignedIdentity */ SystemAssignedIdentity = "systemAssignedIdentity", /** UserAssignedIdentity */ UserAssignedIdentity = "userAssignedIdentity", /** DelegatedResourceIdentity */ DelegatedResourceIdentity = "delegatedResourceIdentity" } /** Known values of {@link ImageValidationStatus} that the service accepts. */ export declare enum KnownImageValidationStatus { /** Unknown */ Unknown = "Unknown", /** Pending */ Pending = "Pending", /** Succeeded */ Succeeded = "Succeeded", /** Failed */ Failed = "Failed", /** TimedOut */ TimedOut = "TimedOut" } /** Known values of {@link LicenseType} that the service accepts. */ export declare enum KnownLicenseType { /** WindowsClient */ WindowsClient = "Windows_Client" } /** Known values of {@link LocalAdminStatus} that the service accepts. */ export declare enum KnownLocalAdminStatus { /** Disabled */ Disabled = "Disabled", /** Enabled */ Enabled = "Enabled" } /** Known values of {@link ManagedServiceIdentityType} that the service accepts. */ export declare enum KnownManagedServiceIdentityType { /** None */ None = "None", /** SystemAssigned */ SystemAssigned = "SystemAssigned", /** UserAssigned */ UserAssigned = "UserAssigned", /** SystemAssignedUserAssigned */ SystemAssignedUserAssigned = "SystemAssigned, UserAssigned" } /** Known values of {@link Origin} that the service accepts. */ export declare enum KnownOrigin { /** User */ User = "user", /** System */ System = "system", /** UserSystem */ UserSystem = "user,system" } /** Known values of {@link ParameterType} that the service accepts. */ export declare enum KnownParameterType { /** The parameter accepts an array of values. */ Array = "array", /** The parameter accepts a boolean value. */ Boolean = "boolean", /** The parameter accepts an integer value. */ Integer = "integer", /** The parameter accepts a number value. */ Number = "number", /** The parameter accepts an object value. */ Object = "object", /** The parameter accepts a string value. */ String = "string" } /** Known values of {@link ProvisioningState} that the service accepts. */ export declare enum KnownProvisioningState { /** NotSpecified */ NotSpecified = "NotSpecified", /** Accepted */ Accepted = "Accepted", /** Running */ Running = "Running", /** Creating */ Creating = "Creating", /** Created */ Created = "Created", /** Updating */ Updating = "Updating", /** Updated */ Updated = "Updated", /** Deleting */ Deleting = "Deleting", /** Deleted */ Deleted = "Deleted", /** Succeeded */ Succeeded = "Succeeded", /** Failed */ Failed = "Failed", /** Canceled */ Canceled = "Canceled", /** MovingResources */ MovingResources = "MovingResources", /** TransientFailure */ TransientFailure = "TransientFailure", /** RolloutInProgress */ RolloutInProgress = "RolloutInProgress", /** StorageProvisioningFailed */ StorageProvisioningFailed = "StorageProvisioningFailed" } /** Known values of {@link ScheduledFrequency} that the service accepts. */ export declare enum KnownScheduledFrequency { /** Daily */ Daily = "Daily" } /** Known values of {@link ScheduledType} that the service accepts. */ export declare enum KnownScheduledType { /** StopDevBox */ StopDevBox = "StopDevBox" } /** Known values of {@link ScheduleEnableStatus} that the service accepts. */ export declare enum KnownScheduleEnableStatus { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled" } /** Known values of {@link SingleSignOnStatus} that the service accepts. */ export declare enum KnownSingleSignOnStatus { /** Disabled */ Disabled = "Disabled", /** Enabled */ Enabled = "Enabled" } /** Known values of {@link StopOnDisconnectEnableStatus} that the service accepts. */ export declare enum KnownStopOnDisconnectEnableStatus { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled" } /** Known values of {@link UsageUnit} that the service accepts. */ export declare enum KnownUsageUnit { /** Count */ Count = "Count" } /** Known values of {@link VirtualNetworkType} that the service accepts. */ export declare enum KnownVirtualNetworkType { /** Managed */ Managed = "Managed", /** Unmanaged */ Unmanaged = "Unmanaged" } /** * Defines values for LicenseType. \ * {@link KnownLicenseType} can be used interchangeably with LicenseType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Windows_Client** */ export declare type LicenseType = string; /** List of Core Usages. */ export declare interface ListUsagesResult { /** * The array page of Usages. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: Usage[]; /** * The link to get the next page of Usage result. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** * Defines values for LocalAdminStatus. \ * {@link KnownLocalAdminStatus} can be used interchangeably with LocalAdminStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Disabled** \ * **Enabled** */ export declare type LocalAdminStatus = string; /** Managed service identity (system assigned and/or user assigned identities) */ export declare interface ManagedServiceIdentity { /** * The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly principalId?: string; /** * The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly tenantId?: string; /** Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed). */ type: ManagedServiceIdentityType; /** The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests. */ userAssignedIdentities?: { [propertyName: string]: UserAssignedIdentity; }; } /** * Defines values for ManagedServiceIdentityType. \ * {@link KnownManagedServiceIdentityType} can be used interchangeably with ManagedServiceIdentityType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None** \ * **SystemAssigned** \ * **UserAssigned** \ * **SystemAssigned, UserAssigned** */ export declare type ManagedServiceIdentityType = string; /** Network related settings */ export declare interface NetworkConnection extends TrackedResource { /** The subnet to attach Virtual Machines to */ subnetId?: string; /** Active Directory domain name */ domainName?: string; /** Active Directory domain Organization Unit (OU) */ organizationUnit?: string; /** The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. */ domainUsername?: string; /** The password for the account used to join domain */ domainPassword?: string; /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** * Overall health status of the network connection. Health checks are run on creation, update, and periodically to validate the network connection. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly healthCheckStatus?: HealthCheckStatus; /** The name for resource group where NICs will be placed. */ networkingResourceGroupName?: string; /** AAD Join type. */ domainJoinType?: DomainJoinType; } /** Result of the network connection list operation. */ export declare interface NetworkConnectionListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: NetworkConnection[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Interface representing a NetworkConnections. */ export declare interface NetworkConnections { /** * Lists network connections in a subscription * @param options The options parameters. */ listBySubscription(options?: NetworkConnectionsListBySubscriptionOptionalParams): PagedAsyncIterableIterator; /** * Lists network connections in a resource group * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ listByResourceGroup(resourceGroupName: string, options?: NetworkConnectionsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; /** * Lists health check status details * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkConnectionName Name of the Network Connection that can be applied to a Pool. * @param options The options parameters. */ listHealthDetails(resourceGroupName: string, networkConnectionName: string, options?: NetworkConnectionsListHealthDetailsOptionalParams): PagedAsyncIterableIterator; /** * Lists the endpoints that agents may call as part of Dev Box service administration. These FQDNs * should be allowed for outbound access in order for the Dev Box service to function. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkConnectionName Name of the Network Connection that can be applied to a Pool. * @param options The options parameters. */ listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, networkConnectionName: string, options?: NetworkConnectionsListOutboundNetworkDependenciesEndpointsOptionalParams): PagedAsyncIterableIterator; /** * Gets a network connection resource * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkConnectionName Name of the Network Connection that can be applied to a Pool. * @param options The options parameters. */ get(resourceGroupName: string, networkConnectionName: string, options?: NetworkConnectionsGetOptionalParams): Promise; /** * Creates or updates a Network Connections resource * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkConnectionName Name of the Network Connection that can be applied to a Pool. * @param body Represents network connection * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, networkConnectionName: string, body: NetworkConnection, options?: NetworkConnectionsCreateOrUpdateOptionalParams): Promise, NetworkConnectionsCreateOrUpdateResponse>>; /** * Creates or updates a Network Connections resource * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkConnectionName Name of the Network Connection that can be applied to a Pool. * @param body Represents network connection * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, networkConnectionName: string, body: NetworkConnection, options?: NetworkConnectionsCreateOrUpdateOptionalParams): Promise; /** * Partially updates a Network Connection * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkConnectionName Name of the Network Connection that can be applied to a Pool. * @param body Represents network connection * @param options The options parameters. */ beginUpdate(resourceGroupName: string, networkConnectionName: string, body: NetworkConnectionUpdate, options?: NetworkConnectionsUpdateOptionalParams): Promise, NetworkConnectionsUpdateResponse>>; /** * Partially updates a Network Connection * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkConnectionName Name of the Network Connection that can be applied to a Pool. * @param body Represents network connection * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, networkConnectionName: string, body: NetworkConnectionUpdate, options?: NetworkConnectionsUpdateOptionalParams): Promise; /** * Deletes a Network Connections resource * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkConnectionName Name of the Network Connection that can be applied to a Pool. * @param options The options parameters. */ beginDelete(resourceGroupName: string, networkConnectionName: string, options?: NetworkConnectionsDeleteOptionalParams): Promise, NetworkConnectionsDeleteResponse>>; /** * Deletes a Network Connections resource * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkConnectionName Name of the Network Connection that can be applied to a Pool. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, networkConnectionName: string, options?: NetworkConnectionsDeleteOptionalParams): Promise; /** * Gets health check status details. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkConnectionName Name of the Network Connection that can be applied to a Pool. * @param options The options parameters. */ getHealthDetails(resourceGroupName: string, networkConnectionName: string, options?: NetworkConnectionsGetHealthDetailsOptionalParams): Promise; /** * Triggers a new health check run. The execution and health check result can be tracked via the * network Connection health check details * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkConnectionName Name of the Network Connection that can be applied to a Pool. * @param options The options parameters. */ beginRunHealthChecks(resourceGroupName: string, networkConnectionName: string, options?: NetworkConnectionsRunHealthChecksOptionalParams): Promise, NetworkConnectionsRunHealthChecksResponse>>; /** * Triggers a new health check run. The execution and health check result can be tracked via the * network Connection health check details * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param networkConnectionName Name of the Network Connection that can be applied to a Pool. * @param options The options parameters. */ beginRunHealthChecksAndWait(resourceGroupName: string, networkConnectionName: string, options?: NetworkConnectionsRunHealthChecksOptionalParams): Promise; } /** Optional parameters. */ export declare interface NetworkConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ export declare type NetworkConnectionsCreateOrUpdateResponse = NetworkConnection; /** Defines headers for NetworkConnections_delete operation. */ export declare interface NetworkConnectionsDeleteHeaders { location?: string; } /** Optional parameters. */ export declare interface NetworkConnectionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the delete operation. */ export declare type NetworkConnectionsDeleteResponse = NetworkConnectionsDeleteHeaders; /** Optional parameters. */ export declare interface NetworkConnectionsGetHealthDetailsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getHealthDetails operation. */ export declare type NetworkConnectionsGetHealthDetailsResponse = HealthCheckStatusDetails; /** Optional parameters. */ export declare interface NetworkConnectionsGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type NetworkConnectionsGetResponse = NetworkConnection; /** Optional parameters. */ export declare interface NetworkConnectionsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByResourceGroupNext operation. */ export declare type NetworkConnectionsListByResourceGroupNextResponse = NetworkConnectionListResult; /** Optional parameters. */ export declare interface NetworkConnectionsListByResourceGroupOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listByResourceGroup operation. */ export declare type NetworkConnectionsListByResourceGroupResponse = NetworkConnectionListResult; /** Optional parameters. */ export declare interface NetworkConnectionsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listBySubscriptionNext operation. */ export declare type NetworkConnectionsListBySubscriptionNextResponse = NetworkConnectionListResult; /** Optional parameters. */ export declare interface NetworkConnectionsListBySubscriptionOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listBySubscription operation. */ export declare type NetworkConnectionsListBySubscriptionResponse = NetworkConnectionListResult; /** Optional parameters. */ export declare interface NetworkConnectionsListHealthDetailsOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listHealthDetails operation. */ export declare type NetworkConnectionsListHealthDetailsResponse = HealthCheckStatusDetailsListResult; /** Optional parameters. */ export declare interface NetworkConnectionsListOutboundNetworkDependenciesEndpointsNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listOutboundNetworkDependenciesEndpointsNext operation. */ export declare type NetworkConnectionsListOutboundNetworkDependenciesEndpointsNextResponse = OutboundEnvironmentEndpointCollection; /** Optional parameters. */ export declare interface NetworkConnectionsListOutboundNetworkDependenciesEndpointsOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listOutboundNetworkDependenciesEndpoints operation. */ export declare type NetworkConnectionsListOutboundNetworkDependenciesEndpointsResponse = OutboundEnvironmentEndpointCollection; /** Defines headers for NetworkConnections_runHealthChecks operation. */ export declare interface NetworkConnectionsRunHealthChecksHeaders { location?: string; } /** Optional parameters. */ export declare interface NetworkConnectionsRunHealthChecksOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the runHealthChecks operation. */ export declare type NetworkConnectionsRunHealthChecksResponse = NetworkConnectionsRunHealthChecksHeaders; /** Defines headers for NetworkConnections_update operation. */ export declare interface NetworkConnectionsUpdateHeaders { location?: string; } /** Optional parameters. */ export declare interface NetworkConnectionsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the update operation. */ export declare type NetworkConnectionsUpdateResponse = NetworkConnection; /** The network connection properties for partial update. Properties not provided in the update request will not be changed. */ export declare interface NetworkConnectionUpdate extends TrackedResourceUpdate { /** The subnet to attach Virtual Machines to */ subnetId?: string; /** Active Directory domain name */ domainName?: string; /** Active Directory domain Organization Unit (OU) */ organizationUnit?: string; /** The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. */ domainUsername?: string; /** The password for the account used to join domain */ domainPassword?: string; } /** Properties of network connection. These properties can be updated after the resource has been created. */ export declare interface NetworkConnectionUpdateProperties { /** The subnet to attach Virtual Machines to */ subnetId?: string; /** Active Directory domain name */ domainName?: string; /** Active Directory domain Organization Unit (OU) */ organizationUnit?: string; /** The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com. */ domainUsername?: string; /** The password for the account used to join domain */ domainPassword?: string; } /** Network properties */ export declare interface NetworkProperties extends NetworkConnectionUpdateProperties { /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** * Overall health status of the network connection. Health checks are run on creation, update, and periodically to validate the network connection. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly healthCheckStatus?: HealthCheckStatus; /** The name for resource group where NICs will be placed. */ networkingResourceGroupName?: string; /** AAD Join type. */ domainJoinType: DomainJoinType; } /** Details of a REST API operation, returned from the Resource Provider Operations API */ export declare interface Operation { /** * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action" * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly isDataAction?: boolean; /** Localized display information for this particular operation. */ display?: OperationDisplay; /** * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system" * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly origin?: Origin; /** * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly actionType?: ActionType; } /** Localized display information for this particular operation. */ export declare interface OperationDisplay { /** * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provider?: string; /** * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections". * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resource?: string; /** * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine". * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operation?: string; /** * The short, localized friendly description of the operation; suitable for tool tips and detailed views. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly description?: string; } /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */ export declare interface OperationListResult { /** * List of operations supported by the resource provider * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: Operation[]; /** * URL to get the next set of operation list results (if there are any). * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Interface representing a Operations. */ export declare interface Operations { /** * Lists all of the available resource provider operations. * @param options The options parameters. */ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator; } /** Optional parameters. */ export declare interface OperationsListNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listNext operation. */ export declare type OperationsListNextResponse = OperationListResult; /** Optional parameters. */ export declare interface OperationsListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export declare type OperationsListResponse = OperationListResult; /** The current status of an async operation */ export declare interface OperationStatus extends OperationStatusResult { /** * Custom operation properties, populated only for a successful operation. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly properties?: Record; } /** Interface representing a OperationStatuses. */ export declare interface OperationStatuses { /** * Gets the current status of an async operation. * @param location The Azure region * @param operationId The ID of an ongoing async operation * @param options The options parameters. */ get(location: string, operationId: string, options?: OperationStatusesGetOptionalParams): Promise; } /** Defines headers for OperationStatuses_get operation. */ export declare interface OperationStatusesGetHeaders { location?: string; } /** Optional parameters. */ export declare interface OperationStatusesGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type OperationStatusesGetResponse = OperationStatus; /** The current status of an async operation. */ export declare interface OperationStatusResult { /** Fully qualified ID for the async operation. */ id?: string; /** * Fully qualified ID of the resource against which the original async operation was started. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resourceId?: string; /** Name of the async operation. */ name?: string; /** Operation status. */ status: string; /** Percent of the operation that is complete. */ percentComplete?: number; /** The start time of the operation. */ startTime?: Date; /** The end time of the operation. */ endTime?: Date; /** The operations list. */ operations?: OperationStatusResult[]; /** If present, details of the operation error. */ error?: ErrorDetail; } /** * Defines values for Origin. \ * {@link KnownOrigin} can be used interchangeably with Origin, * this enum contains the known values that the service supports. * ### Known values supported by the service * **user** \ * **system** \ * **user,system** */ export declare type Origin = string; /** A collection of related endpoints from the same service for which the agent requires outbound access. */ export declare interface OutboundEnvironmentEndpoint { /** * The type of service that the agent connects to. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly category?: string; /** * The endpoints for this service for which the agent requires outbound access. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly endpoints?: EndpointDependency[]; } /** Values returned by the List operation. */ export declare interface OutboundEnvironmentEndpointCollection { /** * The collection of outbound network dependency endpoints returned by the listing operation. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: OutboundEnvironmentEndpoint[]; /** The continuation token. */ nextLink?: string; } /** * Defines values for ParameterType. \ * {@link KnownParameterType} can be used interchangeably with ParameterType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **array**: The parameter accepts an array of values. \ * **boolean**: The parameter accepts a boolean value. \ * **integer**: The parameter accepts an integer value. \ * **number**: The parameter accepts a number value. \ * **object**: The parameter accepts an object value. \ * **string**: The parameter accepts a string value. */ export declare type ParameterType = string; /** A pool of Virtual Machines. */ export declare interface Pool extends TrackedResource { /** Name of a Dev Box definition in parent Project of this Pool */ devBoxDefinitionName?: string; /** Name of a Network Connection in parent Project of this Pool */ networkConnectionName?: string; /** Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. */ licenseType?: LicenseType; /** Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. */ localAdministrator?: LocalAdminStatus; /** Stop on disconnect configuration settings for Dev Boxes created in this pool. */ stopOnDisconnect?: StopOnDisconnectConfiguration; /** Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. */ singleSignOnStatus?: SingleSignOnStatus; /** The display name of the pool. */ displayName?: string; /** Indicates whether the pool uses a Virtual Network managed by Microsoft or a customer provided network. */ virtualNetworkType?: VirtualNetworkType; /** The regions of the managed virtual network (required when managedNetworkType is Managed). */ managedVirtualNetworkRegions?: string[]; /** * Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly healthStatus?: HealthStatus; /** * Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly healthStatusDetails?: HealthStatusDetail[]; /** * Indicates the number of provisioned Dev Boxes in this pool. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly devBoxCount?: number; /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; } /** Results of the machine pool list operation. */ export declare interface PoolListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: Pool[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Properties of a Pool */ export declare interface PoolProperties extends PoolUpdateProperties { /** * Overall health status of the Pool. Indicates whether or not the Pool is available to create Dev Boxes. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly healthStatus?: HealthStatus; /** * Details on the Pool health status to help diagnose issues. This is only populated when the pool status indicates the pool is in a non-healthy state * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly healthStatusDetails?: HealthStatusDetail[]; /** * Indicates the number of provisioned Dev Boxes in this pool. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly devBoxCount?: number; /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; } /** Interface representing a Pools. */ export declare interface Pools { /** * Lists pools for a project * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param options The options parameters. */ listByProject(resourceGroupName: string, projectName: string, options?: PoolsListByProjectOptionalParams): PagedAsyncIterableIterator; /** * Gets a machine pool * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param options The options parameters. */ get(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsGetOptionalParams): Promise; /** * Creates or updates a machine pool * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param body Represents a machine pool * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, projectName: string, poolName: string, body: Pool, options?: PoolsCreateOrUpdateOptionalParams): Promise, PoolsCreateOrUpdateResponse>>; /** * Creates or updates a machine pool * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param body Represents a machine pool * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, projectName: string, poolName: string, body: Pool, options?: PoolsCreateOrUpdateOptionalParams): Promise; /** * Partially updates a machine pool * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param body Represents a machine pool * @param options The options parameters. */ beginUpdate(resourceGroupName: string, projectName: string, poolName: string, body: PoolUpdate, options?: PoolsUpdateOptionalParams): Promise, PoolsUpdateResponse>>; /** * Partially updates a machine pool * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param body Represents a machine pool * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, projectName: string, poolName: string, body: PoolUpdate, options?: PoolsUpdateOptionalParams): Promise; /** * Deletes a machine pool * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param options The options parameters. */ beginDelete(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsDeleteOptionalParams): Promise, PoolsDeleteResponse>>; /** * Deletes a machine pool * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsDeleteOptionalParams): Promise; /** * Triggers a refresh of the pool status. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param options The options parameters. */ beginRunHealthChecks(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsRunHealthChecksOptionalParams): Promise, PoolsRunHealthChecksResponse>>; /** * Triggers a refresh of the pool status. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param options The options parameters. */ beginRunHealthChecksAndWait(resourceGroupName: string, projectName: string, poolName: string, options?: PoolsRunHealthChecksOptionalParams): Promise; } /** Optional parameters. */ export declare interface PoolsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ export declare type PoolsCreateOrUpdateResponse = Pool; /** Defines headers for Pools_delete operation. */ export declare interface PoolsDeleteHeaders { location?: string; } /** Optional parameters. */ export declare interface PoolsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the delete operation. */ export declare type PoolsDeleteResponse = PoolsDeleteHeaders; /** Optional parameters. */ export declare interface PoolsGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type PoolsGetResponse = Pool; /** Optional parameters. */ export declare interface PoolsListByProjectNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByProjectNext operation. */ export declare type PoolsListByProjectNextResponse = PoolListResult; /** Optional parameters. */ export declare interface PoolsListByProjectOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listByProject operation. */ export declare type PoolsListByProjectResponse = PoolListResult; /** Defines headers for Pools_runHealthChecks operation. */ export declare interface PoolsRunHealthChecksHeaders { location?: string; } /** Optional parameters. */ export declare interface PoolsRunHealthChecksOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the runHealthChecks operation. */ export declare type PoolsRunHealthChecksResponse = PoolsRunHealthChecksHeaders; /** Defines headers for Pools_update operation. */ export declare interface PoolsUpdateHeaders { location?: string; } /** Optional parameters. */ export declare interface PoolsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the update operation. */ export declare type PoolsUpdateResponse = Pool; /** The pool properties for partial update. Properties not provided in the update request will not be changed. */ export declare interface PoolUpdate extends TrackedResourceUpdate { /** Name of a Dev Box definition in parent Project of this Pool */ devBoxDefinitionName?: string; /** Name of a Network Connection in parent Project of this Pool */ networkConnectionName?: string; /** Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. */ licenseType?: LicenseType; /** Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. */ localAdministrator?: LocalAdminStatus; /** Stop on disconnect configuration settings for Dev Boxes created in this pool. */ stopOnDisconnect?: StopOnDisconnectConfiguration; /** Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. */ singleSignOnStatus?: SingleSignOnStatus; /** The display name of the pool. */ displayName?: string; /** Indicates whether the pool uses a Virtual Network managed by Microsoft or a customer provided network. */ virtualNetworkType?: VirtualNetworkType; /** The regions of the managed virtual network (required when managedNetworkType is Managed). */ managedVirtualNetworkRegions?: string[]; } /** Properties of a Pool. These properties can be updated after the resource has been created. */ export declare interface PoolUpdateProperties { /** Name of a Dev Box definition in parent Project of this Pool */ devBoxDefinitionName?: string; /** Name of a Network Connection in parent Project of this Pool */ networkConnectionName?: string; /** Specifies the license type indicating the caller has already acquired licenses for the Dev Boxes that will be created. */ licenseType?: LicenseType; /** Indicates whether owners of Dev Boxes in this pool are added as local administrators on the Dev Box. */ localAdministrator?: LocalAdminStatus; /** Stop on disconnect configuration settings for Dev Boxes created in this pool. */ stopOnDisconnect?: StopOnDisconnectConfiguration; /** Indicates whether Dev Boxes in this pool are created with single sign on enabled. The also requires that single sign on be enabled on the tenant. */ singleSignOnStatus?: SingleSignOnStatus; /** The display name of the pool. */ displayName?: string; /** Indicates whether the pool uses a Virtual Network managed by Microsoft or a customer provided network. */ virtualNetworkType?: VirtualNetworkType; /** The regions of the managed virtual network (required when managedNetworkType is Managed). */ managedVirtualNetworkRegions?: string[]; } /** Represents a project resource. */ export declare interface Project extends TrackedResource { /** Managed identity properties */ identity?: ManagedServiceIdentity; /** Resource Id of an associated DevCenter */ devCenterId?: string; /** Description of the project. */ description?: string; /** When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced. */ maxDevBoxesPerUser?: number; /** The display name of the project. */ displayName?: string; /** Settings to be used when associating a project with a catalog. */ catalogSettings?: ProjectCatalogSettings; /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** * The URI of the Dev Center resource this project is associated with. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly devCenterUri?: string; } /** Interface representing a ProjectAllowedEnvironmentTypes. */ export declare interface ProjectAllowedEnvironmentTypes { /** * Lists allowed environment types for a project. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param options The options parameters. */ list(resourceGroupName: string, projectName: string, options?: ProjectAllowedEnvironmentTypesListOptionalParams): PagedAsyncIterableIterator; /** * Gets an allowed environment type. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param environmentTypeName The name of the environment type. * @param options The options parameters. */ get(resourceGroupName: string, projectName: string, environmentTypeName: string, options?: ProjectAllowedEnvironmentTypesGetOptionalParams): Promise; } /** Optional parameters. */ export declare interface ProjectAllowedEnvironmentTypesGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type ProjectAllowedEnvironmentTypesGetResponse = AllowedEnvironmentType; /** Optional parameters. */ export declare interface ProjectAllowedEnvironmentTypesListNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listNext operation. */ export declare type ProjectAllowedEnvironmentTypesListNextResponse = AllowedEnvironmentTypeListResult; /** Optional parameters. */ export declare interface ProjectAllowedEnvironmentTypesListOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the list operation. */ export declare type ProjectAllowedEnvironmentTypesListResponse = AllowedEnvironmentTypeListResult; /** Interface representing a ProjectCatalogEnvironmentDefinitions. */ export declare interface ProjectCatalogEnvironmentDefinitions { /** * Gets Environment Definition error details * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param catalogName The name of the Catalog. * @param environmentDefinitionName The name of the Environment Definition. * @param options The options parameters. */ getErrorDetails(resourceGroupName: string, projectName: string, catalogName: string, environmentDefinitionName: string, options?: ProjectCatalogEnvironmentDefinitionsGetErrorDetailsOptionalParams): Promise; } /** Optional parameters. */ export declare interface ProjectCatalogEnvironmentDefinitionsGetErrorDetailsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getErrorDetails operation. */ export declare type ProjectCatalogEnvironmentDefinitionsGetErrorDetailsResponse = CatalogResourceValidationErrorDetails; /** Interface representing a ProjectCatalogs. */ export declare interface ProjectCatalogs { /** * Lists the catalogs associated with a project. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param options The options parameters. */ list(resourceGroupName: string, projectName: string, options?: ProjectCatalogsListOptionalParams): PagedAsyncIterableIterator; /** * Gets an associated project catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param catalogName The name of the Catalog. * @param options The options parameters. */ get(resourceGroupName: string, projectName: string, catalogName: string, options?: ProjectCatalogsGetOptionalParams): Promise; /** * Creates or updates a project catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param catalogName The name of the Catalog. * @param body Represents a catalog. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, projectName: string, catalogName: string, body: Catalog, options?: ProjectCatalogsCreateOrUpdateOptionalParams): Promise, ProjectCatalogsCreateOrUpdateResponse>>; /** * Creates or updates a project catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param catalogName The name of the Catalog. * @param body Represents a catalog. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, projectName: string, catalogName: string, body: Catalog, options?: ProjectCatalogsCreateOrUpdateOptionalParams): Promise; /** * Partially updates a project catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param catalogName The name of the Catalog. * @param body Updatable project catalog properties. * @param options The options parameters. */ beginPatch(resourceGroupName: string, projectName: string, catalogName: string, body: CatalogUpdate, options?: ProjectCatalogsPatchOptionalParams): Promise, ProjectCatalogsPatchResponse>>; /** * Partially updates a project catalog. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param catalogName The name of the Catalog. * @param body Updatable project catalog properties. * @param options The options parameters. */ beginPatchAndWait(resourceGroupName: string, projectName: string, catalogName: string, body: CatalogUpdate, options?: ProjectCatalogsPatchOptionalParams): Promise; /** * Deletes a project catalog resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginDelete(resourceGroupName: string, projectName: string, catalogName: string, options?: ProjectCatalogsDeleteOptionalParams): Promise, ProjectCatalogsDeleteResponse>>; /** * Deletes a project catalog resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, projectName: string, catalogName: string, options?: ProjectCatalogsDeleteOptionalParams): Promise; /** * Gets project catalog synchronization error details * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param catalogName The name of the Catalog. * @param options The options parameters. */ getSyncErrorDetails(resourceGroupName: string, projectName: string, catalogName: string, options?: ProjectCatalogsGetSyncErrorDetailsOptionalParams): Promise; /** * Syncs templates for a template source. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginSync(resourceGroupName: string, projectName: string, catalogName: string, options?: ProjectCatalogsSyncOptionalParams): Promise, ProjectCatalogsSyncResponse>>; /** * Syncs templates for a template source. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginSyncAndWait(resourceGroupName: string, projectName: string, catalogName: string, options?: ProjectCatalogsSyncOptionalParams): Promise; /** * Connects a project catalog to enable syncing. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginConnect(resourceGroupName: string, projectName: string, catalogName: string, options?: ProjectCatalogsConnectOptionalParams): Promise, ProjectCatalogsConnectResponse>>; /** * Connects a project catalog to enable syncing. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param catalogName The name of the Catalog. * @param options The options parameters. */ beginConnectAndWait(resourceGroupName: string, projectName: string, catalogName: string, options?: ProjectCatalogsConnectOptionalParams): Promise; } /** Defines headers for ProjectCatalogs_connect operation. */ export declare interface ProjectCatalogsConnectHeaders { location?: string; } /** Optional parameters. */ export declare interface ProjectCatalogsConnectOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the connect operation. */ export declare type ProjectCatalogsConnectResponse = ProjectCatalogsConnectHeaders; /** Optional parameters. */ export declare interface ProjectCatalogsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ export declare type ProjectCatalogsCreateOrUpdateResponse = Catalog; /** Defines headers for ProjectCatalogs_delete operation. */ export declare interface ProjectCatalogsDeleteHeaders { location?: string; } /** Optional parameters. */ export declare interface ProjectCatalogsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the delete operation. */ export declare type ProjectCatalogsDeleteResponse = ProjectCatalogsDeleteHeaders; /** Settings to be used when associating a project with a catalog. */ export declare interface ProjectCatalogSettings { /** Indicates catalog item types that can be synced. */ catalogItemSyncTypes?: CatalogItemType[]; } /** Optional parameters. */ export declare interface ProjectCatalogsGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type ProjectCatalogsGetResponse = Catalog; /** Optional parameters. */ export declare interface ProjectCatalogsGetSyncErrorDetailsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getSyncErrorDetails operation. */ export declare type ProjectCatalogsGetSyncErrorDetailsResponse = SyncErrorDetails; /** Optional parameters. */ export declare interface ProjectCatalogsListNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listNext operation. */ export declare type ProjectCatalogsListNextResponse = CatalogListResult; /** Optional parameters. */ export declare interface ProjectCatalogsListOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the list operation. */ export declare type ProjectCatalogsListResponse = CatalogListResult; /** Defines headers for ProjectCatalogs_patch operation. */ export declare interface ProjectCatalogsPatchHeaders { location?: string; } /** Optional parameters. */ export declare interface ProjectCatalogsPatchOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the patch operation. */ export declare type ProjectCatalogsPatchResponse = Catalog; /** Defines headers for ProjectCatalogs_sync operation. */ export declare interface ProjectCatalogsSyncHeaders { location?: string; } /** Optional parameters. */ export declare interface ProjectCatalogsSyncOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the sync operation. */ export declare type ProjectCatalogsSyncResponse = ProjectCatalogsSyncHeaders; /** Represents an environment type. */ export declare interface ProjectEnvironmentType extends Resource { /** Resource tags. */ tags?: { [propertyName: string]: string; }; /** Managed identity properties */ identity?: ManagedServiceIdentity; /** The geo-location for the environment type */ location?: string; /** Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription. */ deploymentTargetId?: string; /** The display name of the project environment type. */ displayName?: string; /** Defines whether this Environment Type can be used in this Project. */ status?: EnvironmentTypeEnableStatus; /** The role definition assigned to the environment creator on backing resources. */ creatorRoleAssignment?: ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment; /** Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs. */ userRoleAssignments?: { [propertyName: string]: UserRoleAssignmentValue; }; /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** * The number of environments of this type. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly environmentCount?: number; } /** Result of the project environment type list operation. */ export declare interface ProjectEnvironmentTypeListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: ProjectEnvironmentType[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Properties of a project environment type. */ export declare interface ProjectEnvironmentTypeProperties extends ProjectEnvironmentTypeUpdateProperties { /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** * The number of environments of this type. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly environmentCount?: number; } /** Interface representing a ProjectEnvironmentTypes. */ export declare interface ProjectEnvironmentTypes { /** * Lists environment types for a project. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param options The options parameters. */ list(resourceGroupName: string, projectName: string, options?: ProjectEnvironmentTypesListOptionalParams): PagedAsyncIterableIterator; /** * Gets a project environment type. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param environmentTypeName The name of the environment type. * @param options The options parameters. */ get(resourceGroupName: string, projectName: string, environmentTypeName: string, options?: ProjectEnvironmentTypesGetOptionalParams): Promise; /** * Creates or updates a project environment type. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param environmentTypeName The name of the environment type. * @param body Represents a Project Environment Type. * @param options The options parameters. */ createOrUpdate(resourceGroupName: string, projectName: string, environmentTypeName: string, body: ProjectEnvironmentType, options?: ProjectEnvironmentTypesCreateOrUpdateOptionalParams): Promise; /** * Partially updates a project environment type. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param environmentTypeName The name of the environment type. * @param body Updatable project environment type properties. * @param options The options parameters. */ update(resourceGroupName: string, projectName: string, environmentTypeName: string, body: ProjectEnvironmentTypeUpdate, options?: ProjectEnvironmentTypesUpdateOptionalParams): Promise; /** * Deletes a project environment type. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param environmentTypeName The name of the environment type. * @param options The options parameters. */ delete(resourceGroupName: string, projectName: string, environmentTypeName: string, options?: ProjectEnvironmentTypesDeleteOptionalParams): Promise; } /** Optional parameters. */ export declare interface ProjectEnvironmentTypesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the createOrUpdate operation. */ export declare type ProjectEnvironmentTypesCreateOrUpdateResponse = ProjectEnvironmentType; /** Optional parameters. */ export declare interface ProjectEnvironmentTypesDeleteOptionalParams extends coreClient.OperationOptions { } /** Optional parameters. */ export declare interface ProjectEnvironmentTypesGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type ProjectEnvironmentTypesGetResponse = ProjectEnvironmentType; /** Optional parameters. */ export declare interface ProjectEnvironmentTypesListNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listNext operation. */ export declare type ProjectEnvironmentTypesListNextResponse = ProjectEnvironmentTypeListResult; /** Optional parameters. */ export declare interface ProjectEnvironmentTypesListOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the list operation. */ export declare type ProjectEnvironmentTypesListResponse = ProjectEnvironmentTypeListResult; /** Optional parameters. */ export declare interface ProjectEnvironmentTypesUpdateOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the update operation. */ export declare type ProjectEnvironmentTypesUpdateResponse = ProjectEnvironmentType; /** The project environment type for partial update. Properties not provided in the update request will not be changed. */ export declare interface ProjectEnvironmentTypeUpdate { /** Resource tags. */ tags?: { [propertyName: string]: string; }; /** Managed identity properties */ identity?: ManagedServiceIdentity; /** Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription. */ deploymentTargetId?: string; /** The display name of the project environment type. */ displayName?: string; /** Defines whether this Environment Type can be used in this Project. */ status?: EnvironmentTypeEnableStatus; /** The role definition assigned to the environment creator on backing resources. */ creatorRoleAssignment?: ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment; /** Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs. */ userRoleAssignments?: { [propertyName: string]: UserRoleAssignmentValue; }; } /** Properties of a project environment type. These properties can be updated after the resource has been created. */ export declare interface ProjectEnvironmentTypeUpdateProperties { /** Id of a subscription that the environment type will be mapped to. The environment's resources will be deployed into this subscription. */ deploymentTargetId?: string; /** The display name of the project environment type. */ displayName?: string; /** Defines whether this Environment Type can be used in this Project. */ status?: EnvironmentTypeEnableStatus; /** The role definition assigned to the environment creator on backing resources. */ creatorRoleAssignment?: ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment; /** Role Assignments created on environment backing resources. This is a mapping from a user object ID to an object of role definition IDs. */ userRoleAssignments?: { [propertyName: string]: UserRoleAssignmentValue; }; } /** The role definition assigned to the environment creator on backing resources. */ export declare interface ProjectEnvironmentTypeUpdatePropertiesCreatorRoleAssignment { /** A map of roles to assign to the environment creator. */ roles?: { [propertyName: string]: EnvironmentRole; }; } /** Results of the project list operation. */ export declare interface ProjectListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: Project[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Properties of a project. */ export declare interface ProjectProperties extends ProjectUpdateProperties { /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; /** * The URI of the Dev Center resource this project is associated with. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly devCenterUri?: string; } /** Interface representing a Projects. */ export declare interface Projects { /** * Lists all projects in the subscription. * @param options The options parameters. */ listBySubscription(options?: ProjectsListBySubscriptionOptionalParams): PagedAsyncIterableIterator; /** * Lists all projects in the resource group. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param options The options parameters. */ listByResourceGroup(resourceGroupName: string, options?: ProjectsListByResourceGroupOptionalParams): PagedAsyncIterableIterator; /** * Gets a specific project. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param options The options parameters. */ get(resourceGroupName: string, projectName: string, options?: ProjectsGetOptionalParams): Promise; /** * Creates or updates a project. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param body Represents a project. * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, projectName: string, body: Project, options?: ProjectsCreateOrUpdateOptionalParams): Promise, ProjectsCreateOrUpdateResponse>>; /** * Creates or updates a project. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param body Represents a project. * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, projectName: string, body: Project, options?: ProjectsCreateOrUpdateOptionalParams): Promise; /** * Partially updates a project. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param body Updatable project properties. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, projectName: string, body: ProjectUpdate, options?: ProjectsUpdateOptionalParams): Promise, ProjectsUpdateResponse>>; /** * Partially updates a project. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param body Updatable project properties. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, projectName: string, body: ProjectUpdate, options?: ProjectsUpdateOptionalParams): Promise; /** * Deletes a project resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param options The options parameters. */ beginDelete(resourceGroupName: string, projectName: string, options?: ProjectsDeleteOptionalParams): Promise, ProjectsDeleteResponse>>; /** * Deletes a project resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, projectName: string, options?: ProjectsDeleteOptionalParams): Promise; } /** Optional parameters. */ export declare interface ProjectsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ export declare type ProjectsCreateOrUpdateResponse = Project; /** Defines headers for Projects_delete operation. */ export declare interface ProjectsDeleteHeaders { location?: string; } /** Optional parameters. */ export declare interface ProjectsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the delete operation. */ export declare type ProjectsDeleteResponse = ProjectsDeleteHeaders; /** Optional parameters. */ export declare interface ProjectsGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export declare type ProjectsGetResponse = Project; /** Optional parameters. */ export declare interface ProjectsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByResourceGroupNext operation. */ export declare type ProjectsListByResourceGroupNextResponse = ProjectListResult; /** Optional parameters. */ export declare interface ProjectsListByResourceGroupOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listByResourceGroup operation. */ export declare type ProjectsListByResourceGroupResponse = ProjectListResult; /** Optional parameters. */ export declare interface ProjectsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listBySubscriptionNext operation. */ export declare type ProjectsListBySubscriptionNextResponse = ProjectListResult; /** Optional parameters. */ export declare interface ProjectsListBySubscriptionOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listBySubscription operation. */ export declare type ProjectsListBySubscriptionResponse = ProjectListResult; /** Defines headers for Projects_update operation. */ export declare interface ProjectsUpdateHeaders { location?: string; } /** Optional parameters. */ export declare interface ProjectsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the update operation. */ export declare type ProjectsUpdateResponse = Project; /** The project properties for partial update. Properties not provided in the update request will not be changed. */ export declare interface ProjectUpdate extends TrackedResourceUpdate { /** Managed identity properties */ identity?: ManagedServiceIdentity; /** Resource Id of an associated DevCenter */ devCenterId?: string; /** Description of the project. */ description?: string; /** When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced. */ maxDevBoxesPerUser?: number; /** The display name of the project. */ displayName?: string; /** Settings to be used when associating a project with a catalog. */ catalogSettings?: ProjectCatalogSettings; } /** Properties of a project. These properties can be updated after the resource has been created. */ export declare interface ProjectUpdateProperties { /** Resource Id of an associated DevCenter */ devCenterId?: string; /** Description of the project. */ description?: string; /** When specified, limits the maximum number of Dev Boxes a single user can create across all pools in the project. This will have no effect on existing Dev Boxes when reduced. */ maxDevBoxesPerUser?: number; /** The display name of the project. */ displayName?: string; /** Settings to be used when associating a project with a catalog. */ catalogSettings?: ProjectCatalogSettings; } /** * Defines values for ProvisioningState. \ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **NotSpecified** \ * **Accepted** \ * **Running** \ * **Creating** \ * **Created** \ * **Updating** \ * **Updated** \ * **Deleting** \ * **Deleted** \ * **Succeeded** \ * **Failed** \ * **Canceled** \ * **MovingResources** \ * **TransientFailure** \ * **RolloutInProgress** \ * **StorageProvisioningFailed** */ export declare type ProvisioningState = string; /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ export declare interface ProxyResource extends Resource { } /** Properties for a recommended machine configuration. */ export declare interface RecommendedMachineConfiguration { /** * Recommended memory range. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly memory?: ResourceRange; /** * Recommended vCPU range. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly vCPUs?: ResourceRange; } /** Common fields that are returned in the response for all Azure Resource Manager resources */ export declare interface Resource { /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the resource * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly systemData?: SystemData; } /** Properties for a range of values. */ export declare interface ResourceRange { /** * Minimum value. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly min?: number; /** * Maximum value. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly max?: number; } /** Represents a Schedule to execute a task. */ export declare interface Schedule extends Resource { /** Resource tags. */ tags?: { [propertyName: string]: string; }; /** The geo-location where the resource lives */ location?: string; /** Supported type this scheduled task represents. */ typePropertiesType?: ScheduledType; /** The frequency of this scheduled task. */ frequency?: ScheduledFrequency; /** The target time to trigger the action. The format is HH:MM. */ time?: string; /** The IANA timezone id at which the schedule should execute. */ timeZone?: string; /** Indicates whether or not this scheduled task is enabled. */ state?: ScheduleEnableStatus; /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; } /** * Defines values for ScheduledFrequency. \ * {@link KnownScheduledFrequency} can be used interchangeably with ScheduledFrequency, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Daily** */ export declare type ScheduledFrequency = string; /** * Defines values for ScheduledType. \ * {@link KnownScheduledType} can be used interchangeably with ScheduledType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **StopDevBox** */ export declare type ScheduledType = string; /** * Defines values for ScheduleEnableStatus. \ * {@link KnownScheduleEnableStatus} can be used interchangeably with ScheduleEnableStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ * **Disabled** */ export declare type ScheduleEnableStatus = string; /** Result of the schedule list operation. */ export declare interface ScheduleListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: Schedule[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** The Schedule properties defining when and what to execute. */ export declare interface ScheduleProperties extends ScheduleUpdateProperties { /** * The provisioning state of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; } /** Interface representing a Schedules. */ export declare interface Schedules { /** * Lists schedules for a pool * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param options The options parameters. */ listByPool(resourceGroupName: string, projectName: string, poolName: string, options?: SchedulesListByPoolOptionalParams): PagedAsyncIterableIterator; /** * Gets a schedule resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param scheduleName The name of the schedule that uniquely identifies it. * @param options The options parameters. */ get(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, options?: SchedulesGetOptionalParams): Promise; /** * Creates or updates a Schedule. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param scheduleName The name of the schedule that uniquely identifies it. * @param body Represents a scheduled task * @param options The options parameters. */ beginCreateOrUpdate(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams): Promise, SchedulesCreateOrUpdateResponse>>; /** * Creates or updates a Schedule. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param scheduleName The name of the schedule that uniquely identifies it. * @param body Represents a scheduled task * @param options The options parameters. */ beginCreateOrUpdateAndWait(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: Schedule, options?: SchedulesCreateOrUpdateOptionalParams): Promise; /** * Partially updates a Scheduled. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param scheduleName The name of the schedule that uniquely identifies it. * @param body Represents a scheduled task. * @param options The options parameters. */ beginUpdate(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: ScheduleUpdate, options?: SchedulesUpdateOptionalParams): Promise, SchedulesUpdateResponse>>; /** * Partially updates a Scheduled. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param scheduleName The name of the schedule that uniquely identifies it. * @param body Represents a scheduled task. * @param options The options parameters. */ beginUpdateAndWait(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, body: ScheduleUpdate, options?: SchedulesUpdateOptionalParams): Promise; /** * Deletes a Scheduled. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param scheduleName The name of the schedule that uniquely identifies it. * @param options The options parameters. */ beginDelete(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams): Promise, SchedulesDeleteResponse>>; /** * Deletes a Scheduled. * @param resourceGroupName The name of the resource group. The name is case insensitive. * @param projectName The name of the project. * @param poolName Name of the pool. * @param scheduleName The name of the schedule that uniquely identifies it. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, projectName: string, poolName: string, scheduleName: string, options?: SchedulesDeleteOptionalParams): Promise; } /** Optional parameters. */ export declare interface SchedulesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ export declare type SchedulesCreateOrUpdateResponse = Schedule; /** Defines headers for Schedules_delete operation. */ export declare interface SchedulesDeleteHeaders { location?: string; } /** Optional parameters. */ export declare interface SchedulesDeleteOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the delete operation. */ export declare type SchedulesDeleteResponse = SchedulesDeleteHeaders; /** Optional parameters. */ export declare interface SchedulesGetOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the get operation. */ export declare type SchedulesGetResponse = Schedule; /** Optional parameters. */ export declare interface SchedulesListByPoolNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByPoolNext operation. */ export declare type SchedulesListByPoolNextResponse = ScheduleListResult; /** Optional parameters. */ export declare interface SchedulesListByPoolOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listByPool operation. */ export declare type SchedulesListByPoolResponse = ScheduleListResult; /** Defines headers for Schedules_update operation. */ export declare interface SchedulesUpdateHeaders { location?: string; } /** Optional parameters. */ export declare interface SchedulesUpdateOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the update operation. */ export declare type SchedulesUpdateResponse = Schedule; /** The schedule properties for partial update. Properties not provided in the update request will not be changed. */ export declare interface ScheduleUpdate { /** Resource tags. */ tags?: { [propertyName: string]: string; }; /** The geo-location where the resource lives */ location?: string; /** Supported type this scheduled task represents. */ type?: ScheduledType; /** The frequency of this scheduled task. */ frequency?: ScheduledFrequency; /** The target time to trigger the action. The format is HH:MM. */ time?: string; /** The IANA timezone id at which the schedule should execute. */ timeZone?: string; /** Indicates whether or not this scheduled task is enabled. */ state?: ScheduleEnableStatus; } /** Updatable properties of a Schedule. */ export declare interface ScheduleUpdateProperties extends TrackedResourceUpdate { /** Supported type this scheduled task represents. */ type?: ScheduledType; /** The frequency of this scheduled task. */ frequency?: ScheduledFrequency; /** The target time to trigger the action. The format is HH:MM. */ time?: string; /** The IANA timezone id at which the schedule should execute. */ timeZone?: string; /** Indicates whether or not this scheduled task is enabled. */ state?: ScheduleEnableStatus; } /** * Defines values for SingleSignOnStatus. \ * {@link KnownSingleSignOnStatus} can be used interchangeably with SingleSignOnStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Disabled** \ * **Enabled** */ export declare type SingleSignOnStatus = string; /** The resource model definition representing SKU */ export declare interface Sku { /** The name of the SKU. Ex - P3. It is typically a letter+number code */ name: string; /** This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. */ tier?: SkuTier; /** The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. */ size?: string; /** If the service has different generations of hardware, for the same SKU, then that can be captured here. */ family?: string; /** If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted. */ capacity?: number; } /** Results of the Microsoft.DevCenter SKU list operation. */ export declare interface SkuListResult { /** * Current page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: DevCenterSku[]; /** * URL to get the next set of results if there are any. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Interface representing a Skus. */ export declare interface Skus { /** * Lists the Microsoft.DevCenter SKUs available in a subscription * @param options The options parameters. */ listBySubscription(options?: SkusListBySubscriptionOptionalParams): PagedAsyncIterableIterator; } /** Optional parameters. */ export declare interface SkusListBySubscriptionNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listBySubscriptionNext operation. */ export declare type SkusListBySubscriptionNextResponse = SkuListResult; /** Optional parameters. */ export declare interface SkusListBySubscriptionOptionalParams extends coreClient.OperationOptions { /** The maximum number of resources to return from the operation. Example: '$top=10'. */ top?: number; } /** Contains response data for the listBySubscription operation. */ export declare type SkusListBySubscriptionResponse = SkuListResult; /** Defines values for SkuTier. */ export declare type SkuTier = "Free" | "Basic" | "Standard" | "Premium"; /** Stop on disconnect configuration settings for Dev Boxes created in this pool. */ export declare interface StopOnDisconnectConfiguration { /** Whether the feature to stop the Dev Box on disconnect once the grace period has lapsed is enabled. */ status?: StopOnDisconnectEnableStatus; /** The specified time in minutes to wait before stopping a Dev Box once disconnect is detected. */ gracePeriodMinutes?: number; } /** * Defines values for StopOnDisconnectEnableStatus. \ * {@link KnownStopOnDisconnectEnableStatus} can be used interchangeably with StopOnDisconnectEnableStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ * **Disabled** */ export declare type StopOnDisconnectEnableStatus = string; /** Synchronization error details. */ export declare interface SyncErrorDetails { /** * Error information for the overall synchronization operation. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationError?: CatalogErrorDetails; /** * Catalog items that have conflicting names. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly conflicts?: CatalogConflictError[]; /** * Errors that occured during synchronization. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly errors?: CatalogSyncError[]; } /** Stats of the synchronization. */ export declare interface SyncStats { /** * Count of catalog items added during synchronization. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly added?: number; /** * Count of catalog items updated during synchronization. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly updated?: number; /** * Count of catalog items that were unchanged during synchronization. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly unchanged?: number; /** * Count of catalog items removed during synchronization. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly removed?: number; /** * Count of catalog items that had validation errors during synchronization. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly validationErrors?: number; /** * Count of synchronization errors that occured during synchronization. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly synchronizationErrors?: number; /** Indicates catalog item types that were synced. */ syncedCatalogItemTypes?: CatalogItemType[]; } /** Metadata pertaining to creation and last modification of the resource. */ export declare interface SystemData { /** The identity that created the resource. */ createdBy?: string; /** The type of identity that created the resource. */ createdByType?: CreatedByType; /** The timestamp of resource creation (UTC). */ createdAt?: Date; /** The identity that last modified the resource. */ lastModifiedBy?: string; /** The type of identity that last modified the resource. */ lastModifiedByType?: CreatedByType; /** The timestamp of resource last modification (UTC) */ lastModifiedAt?: Date; } /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ export declare interface TrackedResource extends Resource { /** Resource tags. */ tags?: { [propertyName: string]: string; }; /** The geo-location where the resource lives */ location: string; } /** Base tracked resource type for PATCH updates */ export declare interface TrackedResourceUpdate { /** Resource tags. */ tags?: { [propertyName: string]: string; }; /** The geo-location where the resource lives */ location?: string; } /** The core usage details. */ export declare interface Usage { /** The current usage. */ currentValue?: number; /** The limit integer. */ limit?: number; /** The unit details. */ unit?: UsageUnit; /** The name. */ name?: UsageName; /** The fully qualified arm resource id. */ id?: string; } /** The Usage Names. */ export declare interface UsageName { /** The localized name of the resource. */ localizedValue?: string; /** The name of the resource. */ value?: string; } /** Interface representing a Usages. */ export declare interface Usages { /** * Lists the current usages and limits in this location for the provided subscription. * @param location The Azure region * @param options The options parameters. */ listByLocation(location: string, options?: UsagesListByLocationOptionalParams): PagedAsyncIterableIterator; } /** Optional parameters. */ export declare interface UsagesListByLocationNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByLocationNext operation. */ export declare type UsagesListByLocationNextResponse = ListUsagesResult; /** Optional parameters. */ export declare interface UsagesListByLocationOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByLocation operation. */ export declare type UsagesListByLocationResponse = ListUsagesResult; /** * Defines values for UsageUnit. \ * {@link KnownUsageUnit} can be used interchangeably with UsageUnit, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Count** */ export declare type UsageUnit = string; /** User assigned identity properties */ export declare interface UserAssignedIdentity { /** * The principal ID of the assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly principalId?: string; /** * The client ID of the assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly clientId?: string; } /** Mapping of user object ID to role assignments. */ export declare interface UserRoleAssignmentValue { /** A map of roles to assign to the parent user. */ roles?: { [propertyName: string]: EnvironmentRole; }; } /** * Defines values for VirtualNetworkType. \ * {@link KnownVirtualNetworkType} can be used interchangeably with VirtualNetworkType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Managed** \ * **Unmanaged** */ export declare type VirtualNetworkType = string; export { }