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
16 changes: 3 additions & 13 deletions sdk/azurestack/arm-azurestack/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
# Release History

## 3.0.0 (2022-07-18)

## 3.0.0-beta.3 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 3.0.0-beta.2 (2022-04-11)

The package of @azure/arm-azurestack is using our next generation design principles since version 3.0.0-beta.2, which contains breaking changes.
The package of @azure/arm-azurestack 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).

Expand Down
2 changes: 1 addition & 1 deletion sdk/azurestack/arm-azurestack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Azure Stack

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/azurestack/arm-azurestack) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-azurestack) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-azurestack?view=azure-node-preview) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-azurestack) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down
12 changes: 6 additions & 6 deletions sdk/azurestack/arm-azurestack/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "4042a47cff72c950d35dd72149895b044ed79713",
"readme": "specification\\azurestack\\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\\batch\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-alpha.18.20220329.1 --generate-sample=true",
"commit": "1207fba03e84b9af2ccd4428fbbcdbf2380e739c",
"readme": "specification/azurestack/resource-manager/readme.md",
"autorest_command": "autorest --version=3.7.3 --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/azurestack/resource-manager/readme.md --use=@autorest/typescript@6.0.0-alpha.19.20220425.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.2.1",
"use": "@autorest/typescript@6.0.0-alpha.18.20220329.1"
}
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.0",
"use": "@autorest/typescript@6.0.0-alpha.19.20220425.1"
}
26 changes: 10 additions & 16 deletions sdk/azurestack/arm-azurestack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for AzureStackManagementClient.",
"version": "3.0.0-beta.3",
"version": "3.0.0",
"engines": {
"node": ">=12.0.0"
},
"dependencies": {
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.0.0",
"@azure/core-client": "^1.5.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.1.0",
"@azure/core-rest-pipeline": "^1.8.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -38,9 +38,11 @@
"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"
"cross-env": "^7.0.2",
"@azure/dev-tool": "^1.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/azurestack/arm-azurestack",
"repository": {
Expand Down Expand Up @@ -91,7 +93,7 @@
"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:node": "dev-tool run test:node-ts-input -- --timeout 1200000 'test/*.ts'",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
},
Expand All @@ -104,13 +106,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-azurestack?view=azure-node-preview"
}
}
"autoPublish": true
}
150 changes: 33 additions & 117 deletions sdk/azurestack/arm-azurestack/review/arm-azurestack.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class AzureStackManagementClient extends coreClient.ServiceClient {
// (undocumented)
customerSubscriptions: CustomerSubscriptions;
// (undocumented)
linkedSubscriptions: LinkedSubscriptions;
deploymentLicense: DeploymentLicense;
// (undocumented)
operations: Operations;
// (undocumented)
Expand Down Expand Up @@ -100,12 +100,8 @@ export type CompatibilityIssue = string;
// @public
export type ComputeRole = string;

// @public
export type CreatedByType = string;

// @public
export type CustomerSubscription = Resource & {
readonly systemData?: SystemData;
tenantId?: string;
};

Expand Down Expand Up @@ -161,6 +157,29 @@ export interface DataDiskImage {
readonly sourceBlobSasUri?: string;
}

// @public
export interface DeploymentLicense {
create(deploymentLicenseRequest: DeploymentLicenseRequest, options?: DeploymentLicenseCreateOptionalParams): Promise<DeploymentLicenseCreateResponse>;
}

// @public
export interface DeploymentLicenseCreateOptionalParams extends coreClient.OperationOptions {
}

// @public
export type DeploymentLicenseCreateResponse = DeploymentLicenseResponse;

// @public
export interface DeploymentLicenseRequest {
verificationVersion?: string;
}

// @public
export interface DeploymentLicenseResponse {
signature?: string;
temporaryLicenseChain?: string[];
}

// @public
export interface DeviceConfiguration {
readonly deviceVersion?: string;
Expand Down Expand Up @@ -257,18 +276,6 @@ export enum KnownComputeRole {
PaaS = "PaaS"
}

// @public
export enum KnownCreatedByType {
// (undocumented)
Application = "Application",
// (undocumented)
Key = "Key",
// (undocumented)
ManagedIdentity = "ManagedIdentity",
// (undocumented)
User = "User"
}

// @public
export enum KnownLocation {
// (undocumented)
Expand All @@ -285,93 +292,6 @@ export enum KnownOperatingSystem {
Windows = "Windows"
}

// @public
export type LinkedSubscription = TrackedResource & {
linkedSubscriptionId?: string;
registrationResourceId?: string;
readonly deviceId?: string;
readonly deviceObjectId?: string;
readonly deviceLinkState?: string;
readonly lastConnectedTime?: string;
readonly deviceConnectionStatus?: string;
};

// @public
export interface LinkedSubscriptionParameter {
linkedSubscriptionId: string;
location: Location_2;
registrationResourceId: string;
}

// @public
export interface LinkedSubscriptions {
createOrUpdate(resourceGroup: string, linkedSubscriptionName: string, resource: LinkedSubscriptionParameter, options?: LinkedSubscriptionsCreateOrUpdateOptionalParams): Promise<LinkedSubscriptionsCreateOrUpdateResponse>;
delete(resourceGroup: string, linkedSubscriptionName: string, options?: LinkedSubscriptionsDeleteOptionalParams): Promise<void>;
get(resourceGroup: string, linkedSubscriptionName: string, options?: LinkedSubscriptionsGetOptionalParams): Promise<LinkedSubscriptionsGetResponse>;
listByResourceGroup(resourceGroup: string, options?: LinkedSubscriptionsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<LinkedSubscription>;
listBySubscription(options?: LinkedSubscriptionsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<LinkedSubscription>;
update(resourceGroup: string, linkedSubscriptionName: string, resource: LinkedSubscriptionParameter, options?: LinkedSubscriptionsUpdateOptionalParams): Promise<LinkedSubscriptionsUpdateResponse>;
}

// @public
export interface LinkedSubscriptionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions {
}

// @public
export type LinkedSubscriptionsCreateOrUpdateResponse = LinkedSubscription;

// @public
export interface LinkedSubscriptionsDeleteOptionalParams extends coreClient.OperationOptions {
}

// @public
export interface LinkedSubscriptionsGetOptionalParams extends coreClient.OperationOptions {
}

// @public
export type LinkedSubscriptionsGetResponse = LinkedSubscription;

// @public
export interface LinkedSubscriptionsList {
nextLink?: string;
value?: LinkedSubscription[];
}

// @public
export interface LinkedSubscriptionsListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
}

// @public
export type LinkedSubscriptionsListByResourceGroupNextResponse = LinkedSubscriptionsList;

// @public
export interface LinkedSubscriptionsListByResourceGroupOptionalParams extends coreClient.OperationOptions {
}

// @public
export type LinkedSubscriptionsListByResourceGroupResponse = LinkedSubscriptionsList;

// @public
export interface LinkedSubscriptionsListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
}

// @public
export type LinkedSubscriptionsListBySubscriptionNextResponse = LinkedSubscriptionsList;

// @public
export interface LinkedSubscriptionsListBySubscriptionOptionalParams extends coreClient.OperationOptions {
}

// @public
export type LinkedSubscriptionsListBySubscriptionResponse = LinkedSubscriptionsList;

// @public
export interface LinkedSubscriptionsUpdateOptionalParams extends coreClient.OperationOptions {
}

// @public
export type LinkedSubscriptionsUpdateResponse = LinkedSubscription;

// @public
type Location_2 = string;
export { Location_2 as Location }
Expand Down Expand Up @@ -427,7 +347,6 @@ export interface OsDiskImage {

// @public
export type Product = Resource & {
readonly systemData?: SystemData;
displayName?: string;
description?: string;
publisherDisplayName?: string;
Expand Down Expand Up @@ -487,6 +406,7 @@ export interface Products {
getProducts(resourceGroup: string, registrationName: string, productName: string, options?: ProductsGetProductsOptionalParams): Promise<ProductsGetProductsResponse>;
list(resourceGroup: string, registrationName: string, options?: ProductsListOptionalParams): PagedAsyncIterableIterator<Product>;
listDetails(resourceGroup: string, registrationName: string, productName: string, options?: ProductsListDetailsOptionalParams): Promise<ProductsListDetailsResponse>;
listProducts(resourceGroup: string, registrationName: string, productName: string, options?: ProductsListProductsOptionalParams): Promise<ProductsListProductsResponse>;
uploadLog(resourceGroup: string, registrationName: string, productName: string, options?: ProductsUploadLogOptionalParams): Promise<ProductsUploadLogResponse>;
}

Expand Down Expand Up @@ -531,6 +451,14 @@ export type ProductsListNextResponse = ProductList;
export interface ProductsListOptionalParams extends coreClient.OperationOptions {
}

// @public
export interface ProductsListProductsOptionalParams extends coreClient.OperationOptions {
deviceConfiguration?: DeviceConfiguration;
}

// @public
export type ProductsListProductsResponse = ProductList;

// @public
export type ProductsListResponse = ProductList;

Expand Down Expand Up @@ -648,24 +576,12 @@ export interface Resource {
readonly type?: string;
}

// @public
export interface SystemData {
createdAt?: Date;
createdBy?: string;
createdByType?: CreatedByType;
lastModifiedAt?: Date;
lastModifiedBy?: string;
lastModifiedByType?: CreatedByType;
}

// @public
export interface TrackedResource {
etag?: string;
readonly id?: string;
readonly kind?: string;
location: Location_2;
readonly name?: string;
readonly systemData?: SystemData;
tags?: {
[propertyName: string]: string;
};
Expand Down
Loading