Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions sdk/loadtestservice/arm-loadtestservice/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,37 @@
# Release History

## 1.0.0-beta.3 (2022-09-13)

**Features**

- Added operation LoadTests.beginCreateOrUpdate
- Added operation LoadTests.beginCreateOrUpdateAndWait
- Added operation LoadTests.beginUpdate
- Added operation LoadTests.beginUpdateAndWait
- Added Interface EncryptionProperties
- Added Interface EncryptionPropertiesIdentity
- Added Interface LoadTestResource
- Added Interface ManagedServiceIdentity
- Added Interface TrackedResource
- Added Interface UserAssignedIdentity
- Added Type Alias ManagedServiceIdentityType
- Added Type Alias Type
- Interface LoadTestResourcePatchRequestBody has a new optional parameter description
- Interface LoadTestResourcePatchRequestBody has a new optional parameter encryption
- Interface LoadTestsCreateOrUpdateOptionalParams has a new optional parameter resumeFrom
- Interface LoadTestsCreateOrUpdateOptionalParams has a new optional parameter updateIntervalInMs
- Interface LoadTestsUpdateOptionalParams has a new optional parameter resumeFrom
- Interface LoadTestsUpdateOptionalParams has a new optional parameter updateIntervalInMs
- Added Enum KnownManagedServiceIdentityType
- Added Enum KnownType

**Breaking Changes**

- Removed operation LoadTests.createOrUpdate
- Removed operation LoadTests.update
- Interface LoadTestResourcePatchRequestBody no longer has parameter properties
- Removed Enum KnownSystemAssignedServiceIdentityType

## 1.0.0-beta.2 (2022-04-24)

**Features**
Expand Down
10 changes: 5 additions & 5 deletions sdk/loadtestservice/arm-loadtestservice/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "d90729bbada2b4f784f2737ab4b4e39693a7aab8",
"readme": "specification\\loadtestservice\\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:\\work\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\loadtestservice\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220408.1 --generate-sample=true",
"commit": "3a62e93594187eda7f8ccfe12e1134894dc38a16",
"readme": "specification/loadtestservice/resource-manager/readme.md",
"autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/loadtestservice/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.6",
"use": "@autorest/typescript@6.0.0-alpha.19.20220408.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
"use": "@autorest/typescript@6.0.0-rc.1"
}
27 changes: 11 additions & 16 deletions sdk/loadtestservice/arm-loadtestservice/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for LoadTestClient.",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"engines": {
"node": ">=12.0.0"
},
Expand Down Expand Up @@ -40,9 +40,13 @@
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2"
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/loadtestservice/arm-loadtestservice",
"repository": {
Expand Down Expand Up @@ -93,9 +97,8 @@
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
"integration-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped"
},
"sideEffects": false,
"//metadata": {
Expand All @@ -106,13 +109,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-loadtestservice?view=azure-node-preview"
}
}
"autoPublish": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ export type ActionType = string;
// @public
export type CreatedByType = string;

// @public
export interface EncryptionProperties {
identity?: EncryptionPropertiesIdentity;
keyUrl?: string;
}

// @public
export interface EncryptionPropertiesIdentity {
resourceId?: string;
type?: Type;
}

// @public
export interface ErrorAdditionalInfo {
readonly info?: Record<string, unknown>;
Expand All @@ -38,50 +50,44 @@ export interface ErrorResponse {

// @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 KnownManagedServiceIdentityType {
None = "None",
SystemAssigned = "SystemAssigned",
SystemAssignedUserAssigned = "SystemAssigned,UserAssigned",
UserAssigned = "UserAssigned"
}

// @public
export enum KnownOrigin {
// (undocumented)
System = "system",
// (undocumented)
User = "user",
// (undocumented)
UserSystem = "user,system"
}

// @public
export enum KnownResourceState {
// (undocumented)
Canceled = "Canceled",
// (undocumented)
Deleted = "Deleted",
// (undocumented)
Failed = "Failed",
// (undocumented)
Succeeded = "Succeeded"
}

// @public
export enum KnownSystemAssignedServiceIdentityType {
// (undocumented)
None = "None",
// (undocumented)
SystemAssigned = "SystemAssigned"
export enum KnownType {
SystemAssigned = "SystemAssigned",
UserAssigned = "UserAssigned"
}

// @public (undocumented)
Expand All @@ -107,12 +113,13 @@ export interface LoadTestClientOptionalParams extends coreClient.ServiceClientOp
}

// @public
export type LoadTestResource = TrackedResource & {
identity?: SystemAssignedServiceIdentity;
export interface LoadTestResource extends TrackedResource {
readonly dataPlaneURI?: string;
description?: string;
encryption?: EncryptionProperties;
identity?: ManagedServiceIdentity;
readonly provisioningState?: ResourceState;
readonly dataPlaneURI?: string;
};
}

// @public
export interface LoadTestResourcePageList {
Expand All @@ -122,29 +129,29 @@ export interface LoadTestResourcePageList {

// @public
export interface LoadTestResourcePatchRequestBody {
identity?: SystemAssignedServiceIdentity;
properties?: LoadTestResourcePatchRequestBodyProperties;
tags?: Record<string, unknown>;
}

// @public
export interface LoadTestResourcePatchRequestBodyProperties {
description?: string;
encryption?: EncryptionProperties;
identity?: ManagedServiceIdentity;
tags?: Record<string, unknown>;
}

// @public
export interface LoadTests {
beginCreateOrUpdate(resourceGroupName: string, loadTestName: string, loadTestResource: LoadTestResource, options?: LoadTestsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<LoadTestsCreateOrUpdateResponse>, LoadTestsCreateOrUpdateResponse>>;
beginCreateOrUpdateAndWait(resourceGroupName: string, loadTestName: string, loadTestResource: LoadTestResource, options?: LoadTestsCreateOrUpdateOptionalParams): Promise<LoadTestsCreateOrUpdateResponse>;
beginDelete(resourceGroupName: string, loadTestName: string, options?: LoadTestsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, loadTestName: string, options?: LoadTestsDeleteOptionalParams): Promise<void>;
createOrUpdate(resourceGroupName: string, loadTestName: string, loadTestResource: LoadTestResource, options?: LoadTestsCreateOrUpdateOptionalParams): Promise<LoadTestsCreateOrUpdateResponse>;
beginUpdate(resourceGroupName: string, loadTestName: string, loadTestResourcePatchRequestBody: LoadTestResourcePatchRequestBody, options?: LoadTestsUpdateOptionalParams): Promise<PollerLike<PollOperationState<LoadTestsUpdateResponse>, LoadTestsUpdateResponse>>;
beginUpdateAndWait(resourceGroupName: string, loadTestName: string, loadTestResourcePatchRequestBody: LoadTestResourcePatchRequestBody, options?: LoadTestsUpdateOptionalParams): Promise<LoadTestsUpdateResponse>;
get(resourceGroupName: string, loadTestName: string, options?: LoadTestsGetOptionalParams): Promise<LoadTestsGetResponse>;
listByResourceGroup(resourceGroupName: string, options?: LoadTestsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<LoadTestResource>;
listBySubscription(options?: LoadTestsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<LoadTestResource>;
update(resourceGroupName: string, loadTestName: string, loadTestResourcePatchRequestBody: LoadTestResourcePatchRequestBody, options?: LoadTestsUpdateOptionalParams): Promise<LoadTestsUpdateResponse>;
}

// @public
export interface LoadTestsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}

// @public
Expand Down Expand Up @@ -193,11 +200,26 @@ export type LoadTestsListBySubscriptionResponse = LoadTestResourcePageList;

// @public
export interface LoadTestsUpdateOptionalParams extends coreClient.OperationOptions {
resumeFrom?: string;
updateIntervalInMs?: number;
}

// @public
export type LoadTestsUpdateResponse = LoadTestResource;

// @public
export interface ManagedServiceIdentity {
readonly principalId?: string;
readonly tenantId?: string;
type: ManagedServiceIdentityType;
userAssignedIdentities?: {
[propertyName: string]: UserAssignedIdentity;
};
}

// @public
export type ManagedServiceIdentityType = string;

// @public
export interface Operation {
readonly actionType?: ActionType;
Expand Down Expand Up @@ -254,16 +276,6 @@ export interface Resource {
// @public
export type ResourceState = string;

// @public
export interface SystemAssignedServiceIdentity {
readonly principalId?: string;
readonly tenantId?: string;
type: SystemAssignedServiceIdentityType;
}

// @public
export type SystemAssignedServiceIdentityType = string;

// @public
export interface SystemData {
createdAt?: Date;
Expand All @@ -275,12 +287,21 @@ export interface SystemData {
}

// @public
export type TrackedResource = Resource & {
export interface TrackedResource extends Resource {
location: string;
tags?: {
[propertyName: string]: string;
};
location: string;
};
}

// @public
export type Type = string;

// @public
export interface UserAssignedIdentity {
readonly clientId?: string;
readonly principalId?: string;
}

// (No @packageDocumentation comment for this package)

Expand Down
Loading