diff --git a/sdk/labservices/arm-labservices/CHANGELOG.md b/sdk/labservices/arm-labservices/CHANGELOG.md index d96032fcd40d..a0cf9f8e670d 100644 --- a/sdk/labservices/arm-labservices/CHANGELOG.md +++ b/sdk/labservices/arm-labservices/CHANGELOG.md @@ -1,8 +1,8 @@ # Release History -## 3.0.0-beta.3 (2022-06-17) +## 3.0.0 (2022-08-11) -The package of @azure/arm-labservices is using our next generation design principles since version 3.0.0-beta.3, which contains breaking changes. +The package of @azure/arm-labservices is using our next generation design principles since version 3.0.0, which contains breaking changes. To understand the detail of the change, please refer to [Changelog](https://aka.ms/js-track2-changelog). diff --git a/sdk/labservices/arm-labservices/README.md b/sdk/labservices/arm-labservices/README.md index af0598e35e00..0cdb595491de 100644 --- a/sdk/labservices/arm-labservices/README.md +++ b/sdk/labservices/arm-labservices/README.md @@ -6,7 +6,7 @@ REST API for managing Azure Lab Services images. [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/labservices/arm-labservices) | [Package (NPM)](https://www.npmjs.com/package/@azure/arm-labservices) | -[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-labservices?view=azure-node-preview) | +[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-labservices) | [Samples](https://github.com/Azure-Samples/azure-samples-js-management) ## Getting started diff --git a/sdk/labservices/arm-labservices/_meta.json b/sdk/labservices/arm-labservices/_meta.json index a2bd8a9e1194..3e87a38d9137 100644 --- a/sdk/labservices/arm-labservices/_meta.json +++ b/sdk/labservices/arm-labservices/_meta.json @@ -1,8 +1,8 @@ { - "commit": "ac0b1b1d2f6b07112a01853fd36f8a5b84b91a38", + "commit": "f963a5a562e738723636af6bfa4f8cf097663719", "readme": "specification/labservices/resource-manager/readme.md", - "autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\labservices\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-beta.20 --generate-sample=true", + "autorest_command": "", "repository_url": "https://github.com/Azure/azure-rest-api-specs.git", - "release_tool": "@azure-tools/js-sdk-release-tools@2.3.2", - "use": "@autorest/typescript@6.0.0-beta.20" + "release_tool": "@azure-tools/js-sdk-release-tools@2.4.1", + "use": "@autorest/typescript@6.0.0-rc.1" } \ No newline at end of file diff --git a/sdk/labservices/arm-labservices/package.json b/sdk/labservices/arm-labservices/package.json index 03dc0284ebb6..0049691b5ca6 100644 --- a/sdk/labservices/arm-labservices/package.json +++ b/sdk/labservices/arm-labservices/package.json @@ -3,7 +3,7 @@ "sdk-type": "mgmt", "author": "Microsoft Corporation", "description": "A generated SDK for LabServicesClient.", - "version": "3.0.0-beta.3", + "version": "3.0.0", "engines": { "node": ">=12.0.0" }, @@ -98,8 +98,7 @@ "unit-test:browser": "echo skipped", "integration-test": "npm run integration-test:node && npm run integration-test:browser", "integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'", - "integration-test:browser": "echo skipped", - "docs": "echo skipped" + "integration-test:browser": "echo skipped" }, "sideEffects": false, "//metadata": { @@ -110,13 +109,5 @@ } ] }, - "autoPublish": true, - "//sampleConfiguration": { - "productName": "", - "productSlugs": [ - "azure" - ], - "disableDocsMs": true, - "apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-labservices?view=azure-node-preview" - } + "autoPublish": true } \ No newline at end of file diff --git a/sdk/labservices/arm-labservices/review/arm-labservices.api.md b/sdk/labservices/arm-labservices/review/arm-labservices.api.md index 0432423651c2..c63eda4ff7ad 100644 --- a/sdk/labservices/arm-labservices/review/arm-labservices.api.md +++ b/sdk/labservices/arm-labservices/review/arm-labservices.api.md @@ -71,45 +71,52 @@ export interface ErrorResponse { } // @public -type Image_2 = ProxyResource & { - readonly systemData?: SystemData; - enabledState?: EnableState; - readonly provisioningState?: ProvisioningState; - readonly displayName?: string; +export interface Identity { + readonly principalId?: string; + readonly tenantId?: string; + type?: "SystemAssigned"; +} + +// @public +interface Image_2 extends ProxyResource { + readonly author?: string; + availableRegions?: string[]; readonly description?: string; + readonly displayName?: string; + enabledState?: EnableState; readonly iconUrl?: string; - readonly author?: string; + readonly offer?: string; + readonly osState?: OsState; readonly osType?: OsType; readonly plan?: string; - readonly termsStatus?: EnableState; - readonly offer?: string; + readonly provisioningState?: ProvisioningState; readonly publisher?: string; + readonly sharedGalleryId?: string; readonly sku?: string; + readonly systemData?: SystemData; + readonly termsStatus?: EnableState; readonly version?: string; - readonly sharedGalleryId?: string; - availableRegions?: string[]; - readonly osState?: OsState; -}; +} export { Image_2 as Image } // @public -export type ImageProperties = ImageUpdateProperties & { - readonly provisioningState?: ProvisioningState; - readonly displayName?: string; +export interface ImageProperties extends ImageUpdateProperties { + readonly author?: string; + availableRegions?: string[]; readonly description?: string; + readonly displayName?: string; readonly iconUrl?: string; - readonly author?: string; + readonly offer?: string; + readonly osState?: OsState; readonly osType?: OsType; readonly plan?: string; - readonly termsStatus?: EnableState; - readonly offer?: string; + readonly provisioningState?: ProvisioningState; readonly publisher?: string; + readonly sharedGalleryId?: string; readonly sku?: string; + readonly termsStatus?: EnableState; readonly version?: string; - readonly sharedGalleryId?: string; - availableRegions?: string[]; - readonly osState?: OsState; -}; +} // @public export interface ImageReference { @@ -186,51 +193,38 @@ export interface InviteBody { // @public export enum KnownActionType { - // (undocumented) Internal = "Internal" } // @public export enum KnownCreatedByType { - // (undocumented) Application = "Application", - // (undocumented) Key = "Key", - // (undocumented) ManagedIdentity = "ManagedIdentity", - // (undocumented) User = "User" } // @public export enum KnownLabServicesSkuTier { - // (undocumented) Premium = "Premium", - // (undocumented) Standard = "Standard" } // @public export enum KnownOrigin { - // (undocumented) System = "system", - // (undocumented) User = "user", - // (undocumented) UserSystem = "user,system" } // @public export enum KnownRestrictionReasonCode { - // (undocumented) NotAvailableForSubscription = "NotAvailableForSubscription", - // (undocumented) QuotaId = "QuotaId" } // @public export enum KnownRestrictionType { - // (undocumented) Location = "Location" } @@ -243,25 +237,24 @@ export enum KnownScaleType { // @public export enum KnownUsageUnit { - // (undocumented) Count = "Count" } // @public -export type Lab = TrackedResource & { - readonly systemData?: SystemData; +export interface Lab extends TrackedResource { autoShutdownProfile?: AutoShutdownProfile; connectionProfile?: ConnectionProfile; - virtualMachineProfile?: VirtualMachineProfile; - securityProfile?: SecurityProfile; - rosterProfile?: RosterProfile; - labPlanId?: string; - title?: string; description?: string; - readonly provisioningState?: ProvisioningState; + labPlanId?: string; networkProfile?: LabNetworkProfile; + readonly provisioningState?: ProvisioningState; + rosterProfile?: RosterProfile; + securityProfile?: SecurityProfile; readonly state?: LabState; -}; + readonly systemData?: SystemData; + title?: string; + virtualMachineProfile?: VirtualMachineProfile; +} // @public export interface LabNetworkProfile { @@ -271,17 +264,18 @@ export interface LabNetworkProfile { } // @public -export type LabPlan = TrackedResource & { - readonly systemData?: SystemData; - defaultConnectionProfile?: ConnectionProfile; +export interface LabPlan extends TrackedResource { + allowedRegions?: string[]; defaultAutoShutdownProfile?: AutoShutdownProfile; + defaultConnectionProfile?: ConnectionProfile; defaultNetworkProfile?: LabPlanNetworkProfile; - allowedRegions?: string[]; - sharedGalleryId?: string; - supportInfo?: SupportInfo; + identity?: Identity; linkedLmsInstance?: string; readonly provisioningState?: ProvisioningState; -}; + sharedGalleryId?: string; + supportInfo?: SupportInfo; + readonly systemData?: SystemData; +} // @public export interface LabPlanNetworkProfile { @@ -289,9 +283,9 @@ export interface LabPlanNetworkProfile { } // @public -export type LabPlanProperties = LabPlanUpdateProperties & { +export interface LabPlanProperties extends LabPlanUpdateProperties { readonly provisioningState?: ProvisioningState; -}; +} // @public export interface LabPlans { @@ -376,15 +370,16 @@ export interface LabPlansUpdateOptionalParams extends coreClient.OperationOption export type LabPlansUpdateResponse = LabPlan; // @public -export type LabPlanUpdate = TrackedResourceUpdate & { - defaultConnectionProfile?: ConnectionProfile; +export interface LabPlanUpdate extends TrackedResourceUpdate { + allowedRegions?: string[]; defaultAutoShutdownProfile?: AutoShutdownProfile; + defaultConnectionProfile?: ConnectionProfile; defaultNetworkProfile?: LabPlanNetworkProfile; - allowedRegions?: string[]; + identity?: Identity; + linkedLmsInstance?: string; sharedGalleryId?: string; supportInfo?: SupportInfo; - linkedLmsInstance?: string; -}; +} // @public export interface LabPlanUpdateProperties { @@ -398,11 +393,11 @@ export interface LabPlanUpdateProperties { } // @public -export type LabProperties = LabUpdateProperties & { - readonly provisioningState?: ProvisioningState; +export interface LabProperties extends LabUpdateProperties { networkProfile?: LabNetworkProfile; + readonly provisioningState?: ProvisioningState; readonly state?: LabState; -}; +} // @public export interface Labs { @@ -581,16 +576,16 @@ export interface LabsUpdateOptionalParams extends coreClient.OperationOptions { export type LabsUpdateResponse = Lab; // @public -export type LabUpdate = TrackedResourceUpdate & { +export interface LabUpdate extends TrackedResourceUpdate { autoShutdownProfile?: AutoShutdownProfile; connectionProfile?: ConnectionProfile; - virtualMachineProfile?: VirtualMachineProfile; - securityProfile?: SecurityProfile; - rosterProfile?: RosterProfile; + description?: string; labPlanId?: string; + rosterProfile?: RosterProfile; + securityProfile?: SecurityProfile; title?: string; - description?: string; -}; + virtualMachineProfile?: VirtualMachineProfile; +} // @public export interface LabUpdateProperties { @@ -607,7 +602,7 @@ export interface LabUpdateProperties { // @public export interface ListUsagesResult { readonly nextLink?: string; - readonly value?: Usage[]; + value?: Usage[]; } // @public @@ -733,7 +728,8 @@ export interface PagedVirtualMachines { export type ProvisioningState = "Creating" | "Updating" | "Deleting" | "Succeeded" | "Failed" | "Locked"; // @public -export type ProxyResource = Resource; +export interface ProxyResource extends Resource { +} // @public export type RecurrenceFrequency = "Daily" | "Weekly"; @@ -787,20 +783,20 @@ export interface SaveImageBody { export type ScaleType = string; // @public -export type Schedule = ProxyResource & { - readonly systemData?: SystemData; +export interface Schedule extends ProxyResource { + notes?: string; + readonly provisioningState?: ProvisioningState; + recurrencePattern?: RecurrencePattern; startAt?: Date; stopAt?: Date; - recurrencePattern?: RecurrencePattern; + readonly systemData?: SystemData; timeZoneId?: string; - notes?: string; - readonly provisioningState?: ProvisioningState; -}; +} // @public -export type ScheduleProperties = ScheduleUpdateProperties & { +export interface ScheduleProperties extends ScheduleUpdateProperties { readonly provisioningState?: ProvisioningState; -}; +} // @public export interface Schedules { @@ -934,12 +930,12 @@ export interface SystemData { } // @public -export type TrackedResource = Resource & { +export interface TrackedResource extends Resource { + location: string; tags?: { [propertyName: string]: string; }; - location: string; -}; +} // @public export interface TrackedResourceUpdate { @@ -958,6 +954,7 @@ export interface Usage { // @public export interface UsageName { localizedValue?: string; + skuInstances?: string[]; value?: string; } @@ -986,28 +983,28 @@ export type UsagesListByLocationResponse = ListUsagesResult; export type UsageUnit = string; // @public -export type User = ProxyResource & { - readonly systemData?: SystemData; +export interface User extends ProxyResource { additionalUsageQuota?: string; - readonly provisioningState?: ProvisioningState; readonly displayName?: string; email: string; - readonly registrationState?: RegistrationState; - readonly invitationState?: InvitationState; readonly invitationSent?: Date; + readonly invitationState?: InvitationState; + readonly provisioningState?: ProvisioningState; + readonly registrationState?: RegistrationState; + readonly systemData?: SystemData; readonly totalUsage?: string; -}; +} // @public -export type UserProperties = UserUpdateProperties & { - readonly provisioningState?: ProvisioningState; +export interface UserProperties extends UserUpdateProperties { readonly displayName?: string; email: string; - readonly registrationState?: RegistrationState; - readonly invitationState?: InvitationState; readonly invitationSent?: Date; + readonly invitationState?: InvitationState; + readonly provisioningState?: ProvisioningState; + readonly registrationState?: RegistrationState; readonly totalUsage?: string; -}; +} // @public export interface Users { @@ -1087,14 +1084,14 @@ export interface UserUpdateProperties { } // @public -export type VirtualMachine = ProxyResource & { - readonly systemData?: SystemData; +export interface VirtualMachine extends ProxyResource { + readonly claimedByUserId?: string; + readonly connectionProfile?: VirtualMachineConnectionProfile; readonly provisioningState?: ProvisioningState; readonly state?: VirtualMachineState; - readonly connectionProfile?: VirtualMachineConnectionProfile; - readonly claimedByUserId?: string; + readonly systemData?: SystemData; readonly vmType?: VirtualMachineType; -}; +} // @public export interface VirtualMachineAdditionalCapabilities { diff --git a/sdk/labservices/arm-labservices/src/labServicesClient.ts b/sdk/labservices/arm-labservices/src/labServicesClient.ts index a31d63924476..3a8176e56f31 100644 --- a/sdk/labservices/arm-labservices/src/labServicesClient.ts +++ b/sdk/labservices/arm-labservices/src/labServicesClient.ts @@ -21,10 +21,10 @@ import { LabsImpl, OperationResultsImpl, SchedulesImpl, - UsersImpl, - VirtualMachinesImpl, + SkusImpl, UsagesImpl, - SkusImpl + UsersImpl, + VirtualMachinesImpl } from "./operations"; import { Images, @@ -33,10 +33,10 @@ import { Labs, OperationResults, Schedules, - Users, - VirtualMachines, + Skus, Usages, - Skus + Users, + VirtualMachines } from "./operationsInterfaces"; import { LabServicesClientOptionalParams } from "./models"; @@ -72,7 +72,7 @@ export class LabServicesClient extends coreClient.ServiceClient { credential: credentials }; - const packageDetails = `azsdk-js-arm-labservices/3.0.0-beta.3`; + const packageDetails = `azsdk-js-arm-labservices/3.0.0`; const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}` @@ -119,17 +119,17 @@ export class LabServicesClient extends coreClient.ServiceClient { // Assigning values to Constant parameters this.$host = options.$host || "https://management.azure.com"; - this.apiVersion = options.apiVersion || "2021-11-15-preview"; + this.apiVersion = options.apiVersion || "2022-08-01"; this.images = new ImagesImpl(this); this.labPlans = new LabPlansImpl(this); this.operations = new OperationsImpl(this); this.labs = new LabsImpl(this); this.operationResults = new OperationResultsImpl(this); this.schedules = new SchedulesImpl(this); + this.skus = new SkusImpl(this); + this.usages = new UsagesImpl(this); this.users = new UsersImpl(this); this.virtualMachines = new VirtualMachinesImpl(this); - this.usages = new UsagesImpl(this); - this.skus = new SkusImpl(this); this.addCustomApiVersionPolicy(options.apiVersion); } @@ -148,7 +148,7 @@ export class LabServicesClient extends coreClient.ServiceClient { if (param.length > 1) { const newParams = param[1].split("&").map((item) => { if (item.indexOf("api-version") > -1) { - return item.replace(/(?<==).*$/, apiVersion); + return "api-version=" + apiVersion; } else { return item; } @@ -167,8 +167,8 @@ export class LabServicesClient extends coreClient.ServiceClient { labs: Labs; operationResults: OperationResults; schedules: Schedules; + skus: Skus; + usages: Usages; users: Users; virtualMachines: VirtualMachines; - usages: Usages; - skus: Skus; } diff --git a/sdk/labservices/arm-labservices/src/models/index.ts b/sdk/labservices/arm-labservices/src/models/index.ts index 7cc43f8cbef0..6f023fe7a47d 100644 --- a/sdk/labservices/arm-labservices/src/models/index.ts +++ b/sdk/labservices/arm-labservices/src/models/index.ts @@ -196,6 +196,22 @@ export interface SupportInfo { instructions?: string; } +/** Identity for the resource. */ +export interface Identity { + /** + * The principal ID of resource identity. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly principalId?: string; + /** + * The tenant ID of resource. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly tenantId?: string; + /** The identity type. */ + type?: "SystemAssigned"; +} + /** Base tracked resource type for all PATCH updates. */ export interface TrackedResourceUpdate { /** Resource tags. */ @@ -493,135 +509,6 @@ export interface ScheduleUpdate { notes?: string; } -/** Paged list of users. */ -export interface PagedUsers { - /** - * The array page of user results. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: User[]; - /** - * The link to get the next page of image results. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; -} - -/** User resource properties used for updates. */ -export interface UserUpdateProperties { - /** The amount of usage quota time the user gets in addition to the lab usage quota. */ - additionalUsageQuota?: string; -} - -/** User of a lab that can register for and use virtual machines within the lab. Used for updates. */ -export interface UserUpdate { - /** The amount of usage quota time the user gets in addition to the lab usage quota. */ - additionalUsageQuota?: string; -} - -/** Body for a user invite request */ -export interface InviteBody { - /** Custom text for the invite email. */ - text?: string; -} - -/** Paged list of lab services virtual machines. */ -export interface PagedVirtualMachines { - /** - * The array page of virtual machine results. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly value?: VirtualMachine[]; - /** - * The link to get the next page of virtual machine results. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nextLink?: string; -} - -/** The connection information for the virtual machine */ -export interface VirtualMachineConnectionProfile { - /** - * The private IP address of the virtual machine. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly privateIpAddress?: string; - /** - * Port and host name separated by semicolon for connecting via SSH protocol to the virtual machine. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly sshAuthority?: string; - /** - * URL for connecting via SSH protocol to the virtual machine in browser. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly sshInBrowserUrl?: string; - /** - * Port and host name separated by semicolon for connecting via RDP protocol to the virtual machine. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly rdpAuthority?: string; - /** - * URL for connecting via RDP protocol to the virtual machine in browser. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly rdpInBrowserUrl?: string; - /** - * The username used to log on to the virtual machine as admin. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly adminUsername?: string; - /** - * The username used to log on to the virtual machine as non-admin, if one exists. - * NOTE: This property will not be serialized. It can only be populated by the server. - */ - readonly nonAdminUsername?: string; -} - -/** Body of a reset password request. */ -export interface ResetPasswordBody { - /** The user whose password is being reset */ - username: string; - /** The password */ - password: string; -} - -/** List of Core Usages. */ -export 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; -} - -/** The core usage details. */ -export 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 interface UsageName { - /** The localized name of the resource. */ - localizedValue?: string; - /** The name of the resource. */ - value?: string; -} - /** Paged list of lab services skus. */ export interface PagedLabServicesSkus { /** @@ -763,8 +650,136 @@ export interface LabServicesSkuRestrictions { readonly reasonCode?: RestrictionReasonCode; } +/** List of Core Usages. */ +export interface ListUsagesResult { + /** The array page of Usages. */ + 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; +} + +/** The core usage details. */ +export 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 interface UsageName { + /** The localized name of the resource. */ + localizedValue?: string; + /** The instances of the resource. */ + skuInstances?: string[]; + /** The name of the resource. */ + value?: string; +} + +/** Paged list of users. */ +export interface PagedUsers { + /** + * The array page of user results. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: User[]; + /** + * The link to get the next page of image results. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** User resource properties used for updates. */ +export interface UserUpdateProperties { + /** The amount of usage quota time the user gets in addition to the lab usage quota. */ + additionalUsageQuota?: string; +} + +/** User of a lab that can register for and use virtual machines within the lab. Used for updates. */ +export interface UserUpdate { + /** The amount of usage quota time the user gets in addition to the lab usage quota. */ + additionalUsageQuota?: string; +} + +/** Body for a user invite request */ +export interface InviteBody { + /** Custom text for the invite email. */ + text?: string; +} + +/** Paged list of lab services virtual machines. */ +export interface PagedVirtualMachines { + /** + * The array page of virtual machine results. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly value?: VirtualMachine[]; + /** + * The link to get the next page of virtual machine results. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nextLink?: string; +} + +/** The connection information for the virtual machine */ +export interface VirtualMachineConnectionProfile { + /** + * The private IP address of the virtual machine. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly privateIpAddress?: string; + /** + * Port and host name separated by semicolon for connecting via SSH protocol to the virtual machine. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sshAuthority?: string; + /** + * URL for connecting via SSH protocol to the virtual machine in browser. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly sshInBrowserUrl?: string; + /** + * Port and host name separated by semicolon for connecting via RDP protocol to the virtual machine. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly rdpAuthority?: string; + /** + * URL for connecting via RDP protocol to the virtual machine in browser. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly rdpInBrowserUrl?: string; + /** + * The username used to log on to the virtual machine as admin. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly adminUsername?: string; + /** + * The username used to log on to the virtual machine as non-admin, if one exists. + * NOTE: This property will not be serialized. It can only be populated by the server. + */ + readonly nonAdminUsername?: string; +} + +/** Body of a reset password request. */ +export interface ResetPasswordBody { + /** The user whose password is being reset */ + username: string; + /** The password */ + password: string; +} + /** Properties of an image resource. */ -export type ImageProperties = ImageUpdateProperties & { +export interface ImageProperties extends ImageUpdateProperties { /** * Current provisioning state of the image. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -837,30 +852,32 @@ export type ImageProperties = ImageUpdateProperties & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly osState?: OsState; -}; +} /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ -export type ProxyResource = Resource; +export interface ProxyResource extends Resource {} /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ -export type TrackedResource = Resource & { +export interface TrackedResource extends Resource { /** Resource tags. */ tags?: { [propertyName: string]: string }; /** The geo-location where the resource lives */ location: string; -}; +} /** Lab plan resource properties */ -export type LabPlanProperties = LabPlanUpdateProperties & { +export interface LabPlanProperties extends LabPlanUpdateProperties { /** * Current provisioning state of the lab plan. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; -}; +} /** Contains lab configuration and default settings. This variant is used for PATCH. */ -export type LabPlanUpdate = TrackedResourceUpdate & { +export interface LabPlanUpdate extends TrackedResourceUpdate { + /** Managed Identity Information */ + identity?: Identity; /** The default lab connection profile. This can be changed on a lab resource and only provides a default profile. */ defaultConnectionProfile?: ConnectionProfile; /** The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile. */ @@ -875,10 +892,10 @@ export type LabPlanUpdate = TrackedResourceUpdate & { supportInfo?: SupportInfo; /** Base Url of the lms instance this lab plan can link lab rosters against. */ linkedLmsInstance?: string; -}; +} /** The lab resource for updates. */ -export type LabUpdate = TrackedResourceUpdate & { +export interface LabUpdate extends TrackedResourceUpdate { /** The resource auto shutdown configuration for the lab. This controls whether actions are taken on resources that are sitting idle. */ autoShutdownProfile?: AutoShutdownProfile; /** The connection profile for the lab. This controls settings such as web access to lab resources or whether RDP or SSH ports are open. */ @@ -895,10 +912,10 @@ export type LabUpdate = TrackedResourceUpdate & { title?: string; /** The description of the lab. */ description?: string; -}; +} /** Properties of a lab resource. */ -export type LabProperties = LabUpdateProperties & { +export interface LabProperties extends LabUpdateProperties { /** * Current provisioning state of the lab. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -911,19 +928,19 @@ export type LabProperties = LabUpdateProperties & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly state?: LabState; -}; +} /** Schedule resource properties */ -export type ScheduleProperties = ScheduleUpdateProperties & { +export interface ScheduleProperties extends ScheduleUpdateProperties { /** * Current provisioning state of the schedule. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; -}; +} /** User resource properties */ -export type UserProperties = UserUpdateProperties & { +export interface UserProperties extends UserUpdateProperties { /** * Current provisioning state of the user resource. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -956,10 +973,10 @@ export type UserProperties = UserUpdateProperties & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly totalUsage?: string; -}; +} /** Lab services virtual machine image */ -export type Image = ProxyResource & { +export interface Image extends ProxyResource { /** * Metadata pertaining to creation and last modification of the image. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1039,10 +1056,10 @@ export type Image = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly osState?: OsState; -}; +} /** Schedule for automatically turning virtual machines in a lab on and off at specified times. */ -export type Schedule = ProxyResource & { +export interface Schedule extends ProxyResource { /** * Metadata pertaining to creation and last modification of the schedule. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1063,10 +1080,10 @@ export type Schedule = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; -}; +} /** User of a lab that can register for and use virtual machines within the lab. */ -export type User = ProxyResource & { +export interface User extends ProxyResource { /** * Metadata pertaining to creation and last modification of the user resource. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1106,10 +1123,10 @@ export type User = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly totalUsage?: string; -}; +} /** A lab virtual machine resource. */ -export type VirtualMachine = ProxyResource & { +export interface VirtualMachine extends ProxyResource { /** * System data of the Lab virtual machine. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1140,15 +1157,17 @@ export type VirtualMachine = ProxyResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly vmType?: VirtualMachineType; -}; +} /** Lab Plans act as a permission container for creating labs via labs.azure.com. Additionally, they can provide a set of default configurations that will apply at the time of creating a lab, but these defaults can still be overwritten. */ -export type LabPlan = TrackedResource & { +export interface LabPlan extends TrackedResource { /** * Metadata pertaining to creation and last modification of the lab plan. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly systemData?: SystemData; + /** Managed Identity Information */ + identity?: Identity; /** The default lab connection profile. This can be changed on a lab resource and only provides a default profile. */ defaultConnectionProfile?: ConnectionProfile; /** The default lab shutdown profile. This can be changed on a lab resource and only provides a default profile. */ @@ -1168,10 +1187,10 @@ export type LabPlan = TrackedResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: ProvisioningState; -}; +} /** The lab resource. */ -export type Lab = TrackedResource & { +export interface Lab extends TrackedResource { /** * Metadata pertaining to creation and last modification of the lab. * NOTE: This property will not be serialized. It can only be populated by the server. @@ -1205,13 +1224,17 @@ export type Lab = TrackedResource & { * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly state?: LabState; -}; +} /** Known values of {@link CreatedByType} that the service accepts. */ export enum KnownCreatedByType { + /** User */ User = "User", + /** Application */ Application = "Application", + /** ManagedIdentity */ ManagedIdentity = "ManagedIdentity", + /** Key */ Key = "Key" } @@ -1229,8 +1252,11 @@ export type CreatedByType = string; /** Known values of {@link Origin} that the service accepts. */ export enum KnownOrigin { + /** User */ User = "user", + /** System */ System = "system", + /** UserSystem */ UserSystem = "user,system" } @@ -1247,6 +1273,7 @@ export type Origin = string; /** Known values of {@link ActionType} that the service accepts. */ export enum KnownActionType { + /** Internal */ Internal = "Internal" } @@ -1259,23 +1286,11 @@ export enum KnownActionType { */ export type ActionType = string; -/** Known values of {@link UsageUnit} that the service accepts. */ -export enum KnownUsageUnit { - Count = "Count" -} - -/** - * 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 type UsageUnit = string; - /** Known values of {@link LabServicesSkuTier} that the service accepts. */ export enum KnownLabServicesSkuTier { + /** Standard */ Standard = "Standard", + /** Premium */ Premium = "Premium" } @@ -1312,6 +1327,7 @@ export type ScaleType = string; /** Known values of {@link RestrictionType} that the service accepts. */ export enum KnownRestrictionType { + /** Location */ Location = "Location" } @@ -1326,7 +1342,9 @@ export type RestrictionType = string; /** Known values of {@link RestrictionReasonCode} that the service accepts. */ export enum KnownRestrictionReasonCode { + /** QuotaId */ QuotaId = "QuotaId", + /** NotAvailableForSubscription */ NotAvailableForSubscription = "NotAvailableForSubscription" } @@ -1339,6 +1357,21 @@ export enum KnownRestrictionReasonCode { * **NotAvailableForSubscription** */ export type RestrictionReasonCode = string; + +/** Known values of {@link UsageUnit} that the service accepts. */ +export enum KnownUsageUnit { + /** Count */ + Count = "Count" +} + +/** + * 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 type UsageUnit = string; /** Defines values for ProvisioningState. */ export type ProvisioningState = | "Creating" @@ -1684,6 +1717,45 @@ export interface SchedulesListByLabNextOptionalParams /** Contains response data for the listByLabNext operation. */ export type SchedulesListByLabNextResponse = PagedSchedules; +/** Optional parameters. */ +export interface SkusListOptionalParams extends coreClient.OperationOptions { + /** The filter to apply to the operation. */ + filter?: string; +} + +/** Contains response data for the list operation. */ +export type SkusListResponse = PagedLabServicesSkus; + +/** Optional parameters. */ +export interface SkusListNextOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply to the operation. */ + filter?: string; +} + +/** Contains response data for the listNext operation. */ +export type SkusListNextResponse = PagedLabServicesSkus; + +/** Optional parameters. */ +export interface UsagesListByLocationOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply to the operation. */ + filter?: string; +} + +/** Contains response data for the listByLocation operation. */ +export type UsagesListByLocationResponse = ListUsagesResult; + +/** Optional parameters. */ +export interface UsagesListByLocationNextOptionalParams + extends coreClient.OperationOptions { + /** The filter to apply to the operation. */ + filter?: string; +} + +/** Contains response data for the listByLocationNext operation. */ +export type UsagesListByLocationNextResponse = ListUsagesResult; + /** Optional parameters. */ export interface UsersListByLabOptionalParams extends coreClient.OperationOptions { @@ -1821,45 +1893,6 @@ export interface VirtualMachinesListByLabNextOptionalParams /** Contains response data for the listByLabNext operation. */ export type VirtualMachinesListByLabNextResponse = PagedVirtualMachines; -/** Optional parameters. */ -export interface UsagesListByLocationOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply to the operation. */ - filter?: string; -} - -/** Contains response data for the listByLocation operation. */ -export type UsagesListByLocationResponse = ListUsagesResult; - -/** Optional parameters. */ -export interface UsagesListByLocationNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply to the operation. */ - filter?: string; -} - -/** Contains response data for the listByLocationNext operation. */ -export type UsagesListByLocationNextResponse = ListUsagesResult; - -/** Optional parameters. */ -export interface SkusListOptionalParams extends coreClient.OperationOptions { - /** The filter to apply to the operation. */ - filter?: string; -} - -/** Contains response data for the list operation. */ -export type SkusListResponse = PagedLabServicesSkus; - -/** Optional parameters. */ -export interface SkusListNextOptionalParams - extends coreClient.OperationOptions { - /** The filter to apply to the operation. */ - filter?: string; -} - -/** Contains response data for the listNext operation. */ -export type SkusListNextResponse = PagedLabServicesSkus; - /** Optional parameters. */ export interface LabServicesClientOptionalParams extends coreClient.ServiceClientOptions { diff --git a/sdk/labservices/arm-labservices/src/models/mappers.ts b/sdk/labservices/arm-labservices/src/models/mappers.ts index 405deaff5b92..20dbbce585d6 100644 --- a/sdk/labservices/arm-labservices/src/models/mappers.ts +++ b/sdk/labservices/arm-labservices/src/models/mappers.ts @@ -486,6 +486,37 @@ export const SupportInfo: coreClient.CompositeMapper = { } }; +export const Identity: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "Identity", + modelProperties: { + principalId: { + serializedName: "principalId", + readOnly: true, + type: { + name: "String" + } + }, + tenantId: { + serializedName: "tenantId", + readOnly: true, + type: { + name: "String" + } + }, + type: { + defaultValue: "SystemAssigned", + isConstant: true, + serializedName: "type", + type: { + name: "String" + } + } + } + } +}; + export const TrackedResourceUpdate: coreClient.CompositeMapper = { type: { name: "Composite", @@ -1228,7 +1259,7 @@ export const RecurrencePattern: coreClient.CompositeMapper = { serializedName: "expirationDate", required: true, type: { - name: "Date" + name: "DateTime" } } } @@ -1281,10 +1312,10 @@ export const ScheduleUpdate: coreClient.CompositeMapper = { } }; -export const PagedUsers: coreClient.CompositeMapper = { +export const PagedLabServicesSkus: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PagedUsers", + className: "PagedLabServicesSkus", modelProperties: { value: { serializedName: "value", @@ -1294,7 +1325,7 @@ export const PagedUsers: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "User" + className: "LabServicesSku" } } } @@ -1310,137 +1341,189 @@ export const PagedUsers: coreClient.CompositeMapper = { } }; -export const UserUpdateProperties: coreClient.CompositeMapper = { +export const LabServicesSku: coreClient.CompositeMapper = { type: { name: "Composite", - className: "UserUpdateProperties", + className: "LabServicesSku", modelProperties: { - additionalUsageQuota: { - serializedName: "additionalUsageQuota", + resourceType: { + serializedName: "resourceType", + readOnly: true, type: { - name: "TimeSpan" + name: "String" } - } - } - } -}; - -export const UserUpdate: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "UserUpdate", - modelProperties: { - additionalUsageQuota: { - serializedName: "properties.additionalUsageQuota", + }, + name: { + serializedName: "name", + readOnly: true, type: { - name: "TimeSpan" + name: "String" } - } - } - } -}; - -export const InviteBody: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "InviteBody", - modelProperties: { - text: { - serializedName: "text", + }, + tier: { + serializedName: "tier", + readOnly: true, type: { name: "String" } - } - } - } -}; - -export const PagedVirtualMachines: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "PagedVirtualMachines", - modelProperties: { - value: { - serializedName: "value", + }, + size: { + serializedName: "size", + readOnly: true, + type: { + name: "String" + } + }, + family: { + serializedName: "family", + readOnly: true, + type: { + name: "String" + } + }, + capacity: { + serializedName: "capacity", + type: { + name: "Composite", + className: "LabServicesSkuCapacity" + } + }, + capabilities: { + serializedName: "capabilities", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "VirtualMachine" + className: "LabServicesSkuCapabilities" } } } }, - nextLink: { - serializedName: "nextLink", + locations: { + serializedName: "locations", readOnly: true, type: { - name: "String" + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + costs: { + serializedName: "costs", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LabServicesSkuCost" + } + } + } + }, + restrictions: { + serializedName: "restrictions", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "Composite", + className: "LabServicesSkuRestrictions" + } + } } } } } }; -export const VirtualMachineConnectionProfile: coreClient.CompositeMapper = { +export const LabServicesSkuCapacity: coreClient.CompositeMapper = { type: { name: "Composite", - className: "VirtualMachineConnectionProfile", + className: "LabServicesSkuCapacity", modelProperties: { - privateIpAddress: { - serializedName: "privateIpAddress", + default: { + serializedName: "default", readOnly: true, type: { - name: "String" + name: "Number" } }, - sshAuthority: { - serializedName: "sshAuthority", + minimum: { + serializedName: "minimum", readOnly: true, type: { - name: "String" + name: "Number" } }, - sshInBrowserUrl: { - constraints: { - MaxLength: 2000, - MinLength: 3 - }, - serializedName: "sshInBrowserUrl", + maximum: { + serializedName: "maximum", readOnly: true, type: { - name: "String" + name: "Number" } }, - rdpAuthority: { - serializedName: "rdpAuthority", + scaleType: { + serializedName: "scaleType", readOnly: true, type: { name: "String" } - }, - rdpInBrowserUrl: { - constraints: { - MaxLength: 2000, - MinLength: 3 - }, - serializedName: "rdpInBrowserUrl", + } + } + } +}; + +export const LabServicesSkuCapabilities: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LabServicesSkuCapabilities", + modelProperties: { + name: { + serializedName: "name", readOnly: true, type: { name: "String" } }, - adminUsername: { - serializedName: "adminUsername", + value: { + serializedName: "value", + readOnly: true, + type: { + name: "String" + } + } + } + } +}; + +export const LabServicesSkuCost: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "LabServicesSkuCost", + modelProperties: { + meterId: { + serializedName: "meterId", readOnly: true, type: { name: "String" } }, - nonAdminUsername: { - serializedName: "nonAdminUsername", + quantity: { + serializedName: "quantity", + readOnly: true, + type: { + name: "Number" + } + }, + extendedUnit: { + serializedName: "extendedUnit", readOnly: true, type: { name: "String" @@ -1450,21 +1533,33 @@ export const VirtualMachineConnectionProfile: coreClient.CompositeMapper = { } }; -export const ResetPasswordBody: coreClient.CompositeMapper = { +export const LabServicesSkuRestrictions: coreClient.CompositeMapper = { type: { name: "Composite", - className: "ResetPasswordBody", + className: "LabServicesSkuRestrictions", modelProperties: { - username: { - serializedName: "username", - required: true, + type: { + serializedName: "type", + readOnly: true, type: { name: "String" } }, - password: { - serializedName: "password", - required: true, + values: { + serializedName: "values", + readOnly: true, + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, + reasonCode: { + serializedName: "reasonCode", + readOnly: true, type: { name: "String" } @@ -1480,7 +1575,6 @@ export const ListUsagesResult: coreClient.CompositeMapper = { modelProperties: { value: { serializedName: "value", - readOnly: true, type: { name: "Sequence", element: { @@ -1553,6 +1647,17 @@ export const UsageName: coreClient.CompositeMapper = { name: "String" } }, + skuInstances: { + serializedName: "skuInstances", + type: { + name: "Sequence", + element: { + type: { + name: "String" + } + } + } + }, value: { serializedName: "value", type: { @@ -1563,10 +1668,10 @@ export const UsageName: coreClient.CompositeMapper = { } }; -export const PagedLabServicesSkus: coreClient.CompositeMapper = { +export const PagedUsers: coreClient.CompositeMapper = { type: { name: "Composite", - className: "PagedLabServicesSkus", + className: "PagedUsers", modelProperties: { value: { serializedName: "value", @@ -1576,7 +1681,7 @@ export const PagedLabServicesSkus: coreClient.CompositeMapper = { element: { type: { name: "Composite", - className: "LabServicesSku" + className: "User" } } } @@ -1592,189 +1697,137 @@ export const PagedLabServicesSkus: coreClient.CompositeMapper = { } }; -export const LabServicesSku: coreClient.CompositeMapper = { +export const UserUpdateProperties: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LabServicesSku", + className: "UserUpdateProperties", modelProperties: { - resourceType: { - serializedName: "resourceType", - readOnly: true, - type: { - name: "String" - } - }, - name: { - serializedName: "name", - readOnly: true, - type: { - name: "String" - } - }, - tier: { - serializedName: "tier", - readOnly: true, + additionalUsageQuota: { + serializedName: "additionalUsageQuota", type: { - name: "String" + name: "TimeSpan" } - }, - size: { - serializedName: "size", - readOnly: true, + } + } + } +}; + +export const UserUpdate: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "UserUpdate", + modelProperties: { + additionalUsageQuota: { + serializedName: "properties.additionalUsageQuota", type: { - name: "String" + name: "TimeSpan" } - }, - family: { - serializedName: "family", - readOnly: true, + } + } + } +}; + +export const InviteBody: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "InviteBody", + modelProperties: { + text: { + serializedName: "text", type: { name: "String" } - }, - capacity: { - serializedName: "capacity", - type: { - name: "Composite", - className: "LabServicesSkuCapacity" - } - }, - capabilities: { - serializedName: "capabilities", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LabServicesSkuCapabilities" - } - } - } - }, - locations: { - serializedName: "locations", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - costs: { - serializedName: "costs", + } + } + } +}; + +export const PagedVirtualMachines: coreClient.CompositeMapper = { + type: { + name: "Composite", + className: "PagedVirtualMachines", + modelProperties: { + value: { + serializedName: "value", readOnly: true, type: { name: "Sequence", element: { type: { name: "Composite", - className: "LabServicesSkuCost" + className: "VirtualMachine" } } } }, - restrictions: { - serializedName: "restrictions", + nextLink: { + serializedName: "nextLink", readOnly: true, type: { - name: "Sequence", - element: { - type: { - name: "Composite", - className: "LabServicesSkuRestrictions" - } - } + name: "String" } } } } }; -export const LabServicesSkuCapacity: coreClient.CompositeMapper = { +export const VirtualMachineConnectionProfile: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LabServicesSkuCapacity", + className: "VirtualMachineConnectionProfile", modelProperties: { - default: { - serializedName: "default", - readOnly: true, - type: { - name: "Number" - } - }, - minimum: { - serializedName: "minimum", - readOnly: true, - type: { - name: "Number" - } - }, - maximum: { - serializedName: "maximum", + privateIpAddress: { + serializedName: "privateIpAddress", readOnly: true, type: { - name: "Number" + name: "String" } }, - scaleType: { - serializedName: "scaleType", + sshAuthority: { + serializedName: "sshAuthority", readOnly: true, type: { name: "String" } - } - } - } -}; - -export const LabServicesSkuCapabilities: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "LabServicesSkuCapabilities", - modelProperties: { - name: { - serializedName: "name", + }, + sshInBrowserUrl: { + constraints: { + MaxLength: 2000, + MinLength: 3 + }, + serializedName: "sshInBrowserUrl", readOnly: true, type: { name: "String" } }, - value: { - serializedName: "value", + rdpAuthority: { + serializedName: "rdpAuthority", readOnly: true, type: { name: "String" } - } - } - } -}; - -export const LabServicesSkuCost: coreClient.CompositeMapper = { - type: { - name: "Composite", - className: "LabServicesSkuCost", - modelProperties: { - meterId: { - serializedName: "meterId", + }, + rdpInBrowserUrl: { + constraints: { + MaxLength: 2000, + MinLength: 3 + }, + serializedName: "rdpInBrowserUrl", readOnly: true, type: { name: "String" } }, - quantity: { - serializedName: "quantity", + adminUsername: { + serializedName: "adminUsername", readOnly: true, type: { - name: "Number" + name: "String" } }, - extendedUnit: { - serializedName: "extendedUnit", + nonAdminUsername: { + serializedName: "nonAdminUsername", readOnly: true, type: { name: "String" @@ -1784,33 +1837,21 @@ export const LabServicesSkuCost: coreClient.CompositeMapper = { } }; -export const LabServicesSkuRestrictions: coreClient.CompositeMapper = { +export const ResetPasswordBody: coreClient.CompositeMapper = { type: { name: "Composite", - className: "LabServicesSkuRestrictions", + className: "ResetPasswordBody", modelProperties: { - type: { - serializedName: "type", - readOnly: true, + username: { + serializedName: "username", + required: true, type: { name: "String" } }, - values: { - serializedName: "values", - readOnly: true, - type: { - name: "Sequence", - element: { - type: { - name: "String" - } - } - } - }, - reasonCode: { - serializedName: "reasonCode", - readOnly: true, + password: { + serializedName: "password", + required: true, type: { name: "String" } @@ -2018,6 +2059,13 @@ export const LabPlanUpdate: coreClient.CompositeMapper = { className: "LabPlanUpdate", modelProperties: { ...TrackedResourceUpdate.type.modelProperties, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "Identity" + } + }, defaultConnectionProfile: { serializedName: "properties.defaultConnectionProfile", type: { @@ -2682,6 +2730,13 @@ export const LabPlan: coreClient.CompositeMapper = { className: "SystemData" } }, + identity: { + serializedName: "identity", + type: { + name: "Composite", + className: "Identity" + } + }, defaultConnectionProfile: { serializedName: "properties.defaultConnectionProfile", type: { diff --git a/sdk/labservices/arm-labservices/src/models/parameters.ts b/sdk/labservices/arm-labservices/src/models/parameters.ts index 7f39d5155b1e..781e218af1f7 100644 --- a/sdk/labservices/arm-labservices/src/models/parameters.ts +++ b/sdk/labservices/arm-labservices/src/models/parameters.ts @@ -54,7 +54,7 @@ export const $host: OperationURLParameter = { export const apiVersion: OperationQueryParameter = { parameterPath: "apiVersion", mapper: { - defaultValue: "2021-11-15-preview", + defaultValue: "2022-08-01", isConstant: true, serializedName: "api-version", type: { @@ -249,6 +249,22 @@ export const body8: OperationParameter = { mapper: ScheduleUpdateMapper }; +export const location: OperationURLParameter = { + parameterPath: "location", + mapper: { + constraints: { + Pattern: new RegExp("^[-\\w\\._]+$"), + MaxLength: 100, + MinLength: 1 + }, + serializedName: "location", + required: true, + type: { + name: "String" + } + } +}; + export const userName: OperationURLParameter = { parameterPath: "userName", mapper: { @@ -300,19 +316,3 @@ export const body12: OperationParameter = { parameterPath: "body", mapper: ResetPasswordBodyMapper }; - -export const location: OperationURLParameter = { - parameterPath: "location", - mapper: { - constraints: { - Pattern: new RegExp("^[-\\w\\._]+$"), - MaxLength: 100, - MinLength: 1 - }, - serializedName: "location", - required: true, - type: { - name: "String" - } - } -}; diff --git a/sdk/labservices/arm-labservices/src/operations/index.ts b/sdk/labservices/arm-labservices/src/operations/index.ts index e32c28d4ddba..f5e157728c63 100644 --- a/sdk/labservices/arm-labservices/src/operations/index.ts +++ b/sdk/labservices/arm-labservices/src/operations/index.ts @@ -12,7 +12,7 @@ export * from "./operations"; export * from "./labs"; export * from "./operationResults"; export * from "./schedules"; +export * from "./skus"; +export * from "./usages"; export * from "./users"; export * from "./virtualMachines"; -export * from "./usages"; -export * from "./skus"; diff --git a/sdk/labservices/arm-labservices/src/operations/labs.ts b/sdk/labservices/arm-labservices/src/operations/labs.ts index 47e1d6d56f2c..4821051351c0 100644 --- a/sdk/labservices/arm-labservices/src/operations/labs.ts +++ b/sdk/labservices/arm-labservices/src/operations/labs.ts @@ -175,8 +175,8 @@ export class LabsImpl implements Labs { /** * Returns the properties of a lab resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ get( @@ -193,8 +193,8 @@ export class LabsImpl implements Labs { /** * Operation to create or update a lab resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param body The request body. * @param options The options parameters. */ @@ -265,8 +265,8 @@ export class LabsImpl implements Labs { /** * Operation to create or update a lab resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param body The request body. * @param options The options parameters. */ @@ -288,8 +288,8 @@ export class LabsImpl implements Labs { /** * Operation to update a lab resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param body The request body. * @param options The options parameters. */ @@ -357,8 +357,8 @@ export class LabsImpl implements Labs { /** * Operation to update a lab resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param body The request body. * @param options The options parameters. */ @@ -380,8 +380,8 @@ export class LabsImpl implements Labs { /** * Operation to delete a lab resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ async beginDelete( @@ -445,8 +445,8 @@ export class LabsImpl implements Labs { /** * Operation to delete a lab resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ async beginDeleteAndWait( @@ -461,8 +461,8 @@ export class LabsImpl implements Labs { /** * Publish or re-publish a lab. This will create or update all lab resources, such as virtual machines. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ async beginPublish( @@ -526,8 +526,8 @@ export class LabsImpl implements Labs { /** * Publish or re-publish a lab. This will create or update all lab resources, such as virtual machines. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ async beginPublishAndWait( @@ -542,8 +542,8 @@ export class LabsImpl implements Labs { /** * Action used to manually kick off an AAD group sync job. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ async beginSyncGroup( @@ -607,8 +607,8 @@ export class LabsImpl implements Labs { /** * Action used to manually kick off an AAD group sync job. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ async beginSyncGroupAndWait( diff --git a/sdk/labservices/arm-labservices/src/operations/schedules.ts b/sdk/labservices/arm-labservices/src/operations/schedules.ts index 998e70892170..9697b633d7b8 100644 --- a/sdk/labservices/arm-labservices/src/operations/schedules.ts +++ b/sdk/labservices/arm-labservices/src/operations/schedules.ts @@ -46,8 +46,8 @@ export class SchedulesImpl implements Schedules { /** * Returns a list of all schedules for a lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ public listByLab( @@ -106,8 +106,8 @@ export class SchedulesImpl implements Schedules { /** * Returns a list of all schedules for a lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ private _listByLab( @@ -124,8 +124,8 @@ export class SchedulesImpl implements Schedules { /** * Returns the properties of a lab Schedule. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param scheduleName The name of the schedule that uniquely identifies it within containing lab. Used * in resource URIs. * @param options The options parameters. @@ -145,8 +145,8 @@ export class SchedulesImpl implements Schedules { /** * Operation to create or update a lab schedule. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param scheduleName The name of the schedule that uniquely identifies it within containing lab. Used * in resource URIs. * @param body The request body. @@ -168,8 +168,8 @@ export class SchedulesImpl implements Schedules { /** * Operation to update a lab schedule. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param scheduleName The name of the schedule that uniquely identifies it within containing lab. Used * in resource URIs. * @param body The request body. @@ -191,8 +191,8 @@ export class SchedulesImpl implements Schedules { /** * Operation to delete a schedule resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param scheduleName The name of the schedule that uniquely identifies it within containing lab. Used * in resource URIs. * @param options The options parameters. @@ -259,8 +259,8 @@ export class SchedulesImpl implements Schedules { /** * Operation to delete a schedule resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param scheduleName The name of the schedule that uniquely identifies it within containing lab. Used * in resource URIs. * @param options The options parameters. @@ -283,8 +283,8 @@ export class SchedulesImpl implements Schedules { /** * ListByLabNext * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param nextLink The nextLink from the previous successful call to the ListByLab method. * @param options The options parameters. */ diff --git a/sdk/labservices/arm-labservices/src/operations/skus.ts b/sdk/labservices/arm-labservices/src/operations/skus.ts index 513dc16b2637..115787be3330 100644 --- a/sdk/labservices/arm-labservices/src/operations/skus.ts +++ b/sdk/labservices/arm-labservices/src/operations/skus.ts @@ -34,7 +34,7 @@ export class SkusImpl implements Skus { } /** - * Returns a list of all the Azure Lab Services resource SKUs. + * Returns a list of Azure Lab Services resource SKUs. * @param options The options parameters. */ public list( @@ -76,7 +76,7 @@ export class SkusImpl implements Skus { } /** - * Returns a list of all the Azure Lab Services resource SKUs. + * Returns a list of Azure Lab Services resource SKUs. * @param options The options parameters. */ private _list(options?: SkusListOptionalParams): Promise { diff --git a/sdk/labservices/arm-labservices/src/operations/users.ts b/sdk/labservices/arm-labservices/src/operations/users.ts index 2cff9d8eb93d..417eb2cb23eb 100644 --- a/sdk/labservices/arm-labservices/src/operations/users.ts +++ b/sdk/labservices/arm-labservices/src/operations/users.ts @@ -48,8 +48,8 @@ export class UsersImpl implements Users { /** * Returns a list of all users for a lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ public listByLab( @@ -108,8 +108,8 @@ export class UsersImpl implements Users { /** * Returns a list of all users for a lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ private _listByLab( @@ -126,8 +126,8 @@ export class UsersImpl implements Users { /** * Returns the properties of a lab user. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param options The options parameters. @@ -147,8 +147,8 @@ export class UsersImpl implements Users { /** * Operation to create or update a lab user. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param body The request body. @@ -222,8 +222,8 @@ export class UsersImpl implements Users { /** * Operation to create or update a lab user. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param body The request body. @@ -249,8 +249,8 @@ export class UsersImpl implements Users { /** * Operation to update a lab user. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param body The request body. @@ -321,8 +321,8 @@ export class UsersImpl implements Users { /** * Operation to update a lab user. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param body The request body. @@ -348,8 +348,8 @@ export class UsersImpl implements Users { /** * Operation to delete a user resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param options The options parameters. @@ -416,8 +416,8 @@ export class UsersImpl implements Users { /** * Operation to delete a user resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param options The options parameters. @@ -440,8 +440,8 @@ export class UsersImpl implements Users { /** * Operation to invite a user to a lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param body The request body. @@ -510,8 +510,8 @@ export class UsersImpl implements Users { /** * Operation to invite a user to a lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param body The request body. @@ -537,8 +537,8 @@ export class UsersImpl implements Users { /** * ListByLabNext * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param nextLink The nextLink from the previous successful call to the ListByLab method. * @param options The options parameters. */ diff --git a/sdk/labservices/arm-labservices/src/operations/virtualMachines.ts b/sdk/labservices/arm-labservices/src/operations/virtualMachines.ts index 546f1a914b99..b89781720f88 100644 --- a/sdk/labservices/arm-labservices/src/operations/virtualMachines.ts +++ b/sdk/labservices/arm-labservices/src/operations/virtualMachines.ts @@ -46,8 +46,8 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * Returns a list of all virtual machines for a lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ public listByLab( @@ -106,8 +106,8 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * Returns a list of all virtual machines for a lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ private _listByLab( @@ -124,8 +124,8 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * Returns the properties for a lab virtual machine. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -145,8 +145,8 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * Action to start a lab virtual machine. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -213,8 +213,8 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * Action to start a lab virtual machine. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -237,8 +237,8 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * Action to stop a lab virtual machine. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -305,8 +305,8 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * Action to stop a lab virtual machine. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -330,8 +330,8 @@ export class VirtualMachinesImpl implements VirtualMachines { * Re-image a lab virtual machine. The virtual machine will be deleted and recreated using the latest * published snapshot of the reference environment of the lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -399,8 +399,8 @@ export class VirtualMachinesImpl implements VirtualMachines { * Re-image a lab virtual machine. The virtual machine will be deleted and recreated using the latest * published snapshot of the reference environment of the lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -424,8 +424,8 @@ export class VirtualMachinesImpl implements VirtualMachines { * Action to redeploy a lab virtual machine to a different compute node. For troubleshooting * connectivity. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -493,8 +493,8 @@ export class VirtualMachinesImpl implements VirtualMachines { * Action to redeploy a lab virtual machine to a different compute node. For troubleshooting * connectivity. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -517,8 +517,8 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * Resets a lab virtual machine password. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param body The request body. @@ -587,8 +587,8 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * Resets a lab virtual machine password. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param body The request body. @@ -614,8 +614,8 @@ export class VirtualMachinesImpl implements VirtualMachines { /** * ListByLabNext * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param nextLink The nextLink from the previous successful call to the ListByLab method. * @param options The options parameters. */ diff --git a/sdk/labservices/arm-labservices/src/operationsInterfaces/index.ts b/sdk/labservices/arm-labservices/src/operationsInterfaces/index.ts index e32c28d4ddba..f5e157728c63 100644 --- a/sdk/labservices/arm-labservices/src/operationsInterfaces/index.ts +++ b/sdk/labservices/arm-labservices/src/operationsInterfaces/index.ts @@ -12,7 +12,7 @@ export * from "./operations"; export * from "./labs"; export * from "./operationResults"; export * from "./schedules"; +export * from "./skus"; +export * from "./usages"; export * from "./users"; export * from "./virtualMachines"; -export * from "./usages"; -export * from "./skus"; diff --git a/sdk/labservices/arm-labservices/src/operationsInterfaces/labs.ts b/sdk/labservices/arm-labservices/src/operationsInterfaces/labs.ts index 16ca4e0f0a83..960acf7f92a5 100644 --- a/sdk/labservices/arm-labservices/src/operationsInterfaces/labs.ts +++ b/sdk/labservices/arm-labservices/src/operationsInterfaces/labs.ts @@ -46,8 +46,8 @@ export interface Labs { /** * Returns the properties of a lab resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ get( @@ -58,8 +58,8 @@ export interface Labs { /** * Operation to create or update a lab resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param body The request body. * @param options The options parameters. */ @@ -77,8 +77,8 @@ export interface Labs { /** * Operation to create or update a lab resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param body The request body. * @param options The options parameters. */ @@ -91,8 +91,8 @@ export interface Labs { /** * Operation to update a lab resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param body The request body. * @param options The options parameters. */ @@ -107,8 +107,8 @@ export interface Labs { /** * Operation to update a lab resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param body The request body. * @param options The options parameters. */ @@ -121,8 +121,8 @@ export interface Labs { /** * Operation to delete a lab resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ beginDelete( @@ -133,8 +133,8 @@ export interface Labs { /** * Operation to delete a lab resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ beginDeleteAndWait( @@ -145,8 +145,8 @@ export interface Labs { /** * Publish or re-publish a lab. This will create or update all lab resources, such as virtual machines. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ beginPublish( @@ -157,8 +157,8 @@ export interface Labs { /** * Publish or re-publish a lab. This will create or update all lab resources, such as virtual machines. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ beginPublishAndWait( @@ -169,8 +169,8 @@ export interface Labs { /** * Action used to manually kick off an AAD group sync job. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ beginSyncGroup( @@ -181,8 +181,8 @@ export interface Labs { /** * Action used to manually kick off an AAD group sync job. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ beginSyncGroupAndWait( diff --git a/sdk/labservices/arm-labservices/src/operationsInterfaces/schedules.ts b/sdk/labservices/arm-labservices/src/operationsInterfaces/schedules.ts index 6602b445f512..7cc77a3b155f 100644 --- a/sdk/labservices/arm-labservices/src/operationsInterfaces/schedules.ts +++ b/sdk/labservices/arm-labservices/src/operationsInterfaces/schedules.ts @@ -27,8 +27,8 @@ export interface Schedules { /** * Returns a list of all schedules for a lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ listByLab( @@ -39,8 +39,8 @@ export interface Schedules { /** * Returns the properties of a lab Schedule. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param scheduleName The name of the schedule that uniquely identifies it within containing lab. Used * in resource URIs. * @param options The options parameters. @@ -54,8 +54,8 @@ export interface Schedules { /** * Operation to create or update a lab schedule. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param scheduleName The name of the schedule that uniquely identifies it within containing lab. Used * in resource URIs. * @param body The request body. @@ -71,8 +71,8 @@ export interface Schedules { /** * Operation to update a lab schedule. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param scheduleName The name of the schedule that uniquely identifies it within containing lab. Used * in resource URIs. * @param body The request body. @@ -88,8 +88,8 @@ export interface Schedules { /** * Operation to delete a schedule resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param scheduleName The name of the schedule that uniquely identifies it within containing lab. Used * in resource URIs. * @param options The options parameters. @@ -103,8 +103,8 @@ export interface Schedules { /** * Operation to delete a schedule resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param scheduleName The name of the schedule that uniquely identifies it within containing lab. Used * in resource URIs. * @param options The options parameters. diff --git a/sdk/labservices/arm-labservices/src/operationsInterfaces/skus.ts b/sdk/labservices/arm-labservices/src/operationsInterfaces/skus.ts index 9a3e9aad0244..68dac6c486d0 100644 --- a/sdk/labservices/arm-labservices/src/operationsInterfaces/skus.ts +++ b/sdk/labservices/arm-labservices/src/operationsInterfaces/skus.ts @@ -13,7 +13,7 @@ import { LabServicesSku, SkusListOptionalParams } from "../models"; /** Interface representing a Skus. */ export interface Skus { /** - * Returns a list of all the Azure Lab Services resource SKUs. + * Returns a list of Azure Lab Services resource SKUs. * @param options The options parameters. */ list( diff --git a/sdk/labservices/arm-labservices/src/operationsInterfaces/users.ts b/sdk/labservices/arm-labservices/src/operationsInterfaces/users.ts index 96ab7ae755dd..6af91c7813ca 100644 --- a/sdk/labservices/arm-labservices/src/operationsInterfaces/users.ts +++ b/sdk/labservices/arm-labservices/src/operationsInterfaces/users.ts @@ -29,8 +29,8 @@ export interface Users { /** * Returns a list of all users for a lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ listByLab( @@ -41,8 +41,8 @@ export interface Users { /** * Returns the properties of a lab user. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param options The options parameters. @@ -56,8 +56,8 @@ export interface Users { /** * Operation to create or update a lab user. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param body The request body. @@ -78,8 +78,8 @@ export interface Users { /** * Operation to create or update a lab user. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param body The request body. @@ -95,8 +95,8 @@ export interface Users { /** * Operation to update a lab user. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param body The request body. @@ -114,8 +114,8 @@ export interface Users { /** * Operation to update a lab user. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param body The request body. @@ -131,8 +131,8 @@ export interface Users { /** * Operation to delete a user resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param options The options parameters. @@ -146,8 +146,8 @@ export interface Users { /** * Operation to delete a user resource. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param options The options parameters. @@ -161,8 +161,8 @@ export interface Users { /** * Operation to invite a user to a lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param body The request body. @@ -178,8 +178,8 @@ export interface Users { /** * Operation to invite a user to a lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param userName The name of the user that uniquely identifies it within containing lab. Used in * resource URIs. * @param body The request body. diff --git a/sdk/labservices/arm-labservices/src/operationsInterfaces/virtualMachines.ts b/sdk/labservices/arm-labservices/src/operationsInterfaces/virtualMachines.ts index 828fcda370fe..6bd5a9787786 100644 --- a/sdk/labservices/arm-labservices/src/operationsInterfaces/virtualMachines.ts +++ b/sdk/labservices/arm-labservices/src/operationsInterfaces/virtualMachines.ts @@ -27,8 +27,8 @@ export interface VirtualMachines { /** * Returns a list of all virtual machines for a lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param options The options parameters. */ listByLab( @@ -39,8 +39,8 @@ export interface VirtualMachines { /** * Returns the properties for a lab virtual machine. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -54,8 +54,8 @@ export interface VirtualMachines { /** * Action to start a lab virtual machine. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -69,8 +69,8 @@ export interface VirtualMachines { /** * Action to start a lab virtual machine. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -84,8 +84,8 @@ export interface VirtualMachines { /** * Action to stop a lab virtual machine. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -99,8 +99,8 @@ export interface VirtualMachines { /** * Action to stop a lab virtual machine. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -115,8 +115,8 @@ export interface VirtualMachines { * Re-image a lab virtual machine. The virtual machine will be deleted and recreated using the latest * published snapshot of the reference environment of the lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -131,8 +131,8 @@ export interface VirtualMachines { * Re-image a lab virtual machine. The virtual machine will be deleted and recreated using the latest * published snapshot of the reference environment of the lab. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -147,8 +147,8 @@ export interface VirtualMachines { * Action to redeploy a lab virtual machine to a different compute node. For troubleshooting * connectivity. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -163,8 +163,8 @@ export interface VirtualMachines { * Action to redeploy a lab virtual machine to a different compute node. For troubleshooting * connectivity. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param options The options parameters. @@ -178,8 +178,8 @@ export interface VirtualMachines { /** * Resets a lab virtual machine password. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param body The request body. @@ -195,8 +195,8 @@ export interface VirtualMachines { /** * Resets a lab virtual machine password. * @param resourceGroupName The name of the resource group. The name is case insensitive. - * @param labName The name of the lab that uniquely identifies it within containing lab account. Used - * in resource URIs. + * @param labName The name of the lab that uniquely identifies it within containing lab plan. Used in + * resource URIs. * @param virtualMachineName The ID of the virtual machine that uniquely identifies it within the * containing lab. Used in resource URIs. * @param body The request body. diff --git a/sdk/labservices/arm-labservices/tsconfig.json b/sdk/labservices/arm-labservices/tsconfig.json index 638c174ad39b..3e6ae96443f3 100644 --- a/sdk/labservices/arm-labservices/tsconfig.json +++ b/sdk/labservices/arm-labservices/tsconfig.json @@ -15,17 +15,11 @@ ], "declaration": true, "outDir": "./dist-esm", - "importHelpers": true, - "paths": { - "@azure/arm-labservices": [ - "./src/index" - ] - } + "importHelpers": true }, "include": [ "./src/**/*.ts", - "./test/**/*.ts", - "samples-dev/**/*.ts" + "./test/**/*.ts" ], "exclude": [ "node_modules"