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
40 changes: 37 additions & 3 deletions common/config/rush/pnpm-lock.yaml

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

14 changes: 3 additions & 11 deletions sdk/astro/arm-astro/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
# Release History

## 1.0.0-beta.2 (Unreleased)
## 1.0.0 (2024-09-23)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 1.0.0-beta.1 (2024-02-07)

The package of @azure/arm-astro is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
The package of @azure/arm-astro is using our next generation design principles. To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
2 changes: 1 addition & 1 deletion sdk/astro/arm-astro/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f

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

## Getting started
Expand Down
8 changes: 4 additions & 4 deletions sdk/astro/arm-astro/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "5e060c76edd4fab38e9202055062154006463018",
"commit": "5e13109bc6d720bf3e5cf0939790bfc794fa4962",
"readme": "specification/liftrastronomer/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.7 --typescript --modelerfour.lenient-model-deduplication --azure-arm --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\\liftrastronomer\\resource-manager\\readme.md --use=@autorest/typescript@6.0.15 --generate-sample=true",
"autorest_command": "autorest --version=3.9.7 --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/liftrastronomer/resource-manager/readme.md --use=@autorest/typescript@^6.0.12",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.4",
"use": "@autorest/typescript@6.0.15"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.14",
"use": "@autorest/typescript@^6.0.12"
}
23 changes: 8 additions & 15 deletions sdk/astro/arm-astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for AstroManagementClient.",
"version": "1.0.0-beta.2",
"version": "1.0.0",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^1.0.0",
"@azure/abort-controller": "^2.1.2",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.6.0",
Expand All @@ -30,16 +30,17 @@
"devDependencies": {
"@microsoft/api-extractor": "^7.31.1",
"mkdirp": "^3.0.1",
"typescript": "~5.6.2",
"typescript": "~5.5.3",
"uglify-js": "^3.4.9",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/dev-tool": "^1.0.0",
"@azure/identity": "^4.0.1",
"@azure/identity": "^4.2.1",
"@azure-tools/test-recorder": "^3.0.0",
"@azure-tools/test-credential": "^1.0.0",
"@azure-tools/test-credential": "^1.1.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.0",
"tsx": "^4.7.1",
"@types/chai": "^4.2.8",
"chai": "^4.2.0",
"cross-env": "^7.0.2",
Expand Down Expand Up @@ -105,13 +106,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/astro/arm-astro",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-astro?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/astro/arm-astro"
}
40 changes: 31 additions & 9 deletions sdk/astro/arm-astro/review/arm-astro.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ export enum KnownOrigin {
UserSystem = "user,system"
}

// @public
export enum KnownRenewalMode {
Auto = "Auto",
Manual = "Manual"
}

// @public
export enum KnownResourceProvisioningState {
Canceled = "Canceled",
Expand All @@ -111,11 +117,6 @@ export enum KnownSingleSignOnStates {
Initial = "Initial"
}

// @public
export enum KnownVersions {
V1Preview = "2023-08-01"
}

// @public
export interface LiftrBaseDataOrganizationProperties {
marketplace: LiftrBaseMarketplaceDetails;
Expand Down Expand Up @@ -145,16 +146,36 @@ export interface LiftrBaseDataPartnerOrganizationPropertiesUpdate {
// @public
export interface LiftrBaseMarketplaceDetails {
offerDetails: LiftrBaseOfferDetails;
subscriptionId: string;
subscriptionId?: string;
subscriptionStatus?: MarketplaceSubscriptionStatus;
}

// @public
export interface LiftrBaseMarketplaceDetailsUpdate {
offerDetails?: LiftrBaseOfferDetailsUpdate;
subscriptionId?: string;
subscriptionStatus?: MarketplaceSubscriptionStatus;
}

// @public
export interface LiftrBaseOfferDetails {
readonly endDate?: Date;
offerId: string;
planId: string;
planName?: string;
publisherId: string;
renewalMode?: RenewalMode;
termId?: string;
termUnit?: string;
}

// @public
export interface LiftrBaseOfferDetailsUpdate {
offerId?: string;
planId?: string;
planName?: string;
publisherId?: string;
renewalMode?: RenewalMode;
termId?: string;
termUnit?: string;
}
Expand Down Expand Up @@ -267,6 +288,7 @@ export interface OrganizationResourceUpdate {

// @public
export interface OrganizationResourceUpdateProperties {
marketplace?: LiftrBaseMarketplaceDetailsUpdate;
partnerOrganizationProperties?: LiftrBaseDataPartnerOrganizationPropertiesUpdate;
user?: LiftrBaseUserDetailsUpdate;
}
Expand Down Expand Up @@ -366,6 +388,9 @@ export type OrganizationsUpdateResponse = OrganizationResource;
// @public
export type Origin = string;

// @public
export type RenewalMode = string;

// @public
export interface Resource {
readonly id?: string;
Expand Down Expand Up @@ -404,9 +429,6 @@ export interface UserAssignedIdentity {
readonly principalId?: string;
}

// @public
export type Versions = string;

// (No @packageDocumentation comment for this package)

```
4 changes: 2 additions & 2 deletions sdk/astro/arm-astro/src/astroManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class AstroManagementClient extends coreClient.ServiceClient {
credential: credentials,
};

const packageDetails = `azsdk-js-arm-astro/1.0.0-beta.2`;
const packageDetails = `azsdk-js-arm-astro/1.0.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -104,7 +104,7 @@ export class AstroManagementClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2023-08-01";
this.apiVersion = options.apiVersion || "2024-08-27";
this.operations = new OperationsImpl(this);
this.organizations = new OrganizationsImpl(this);
this.addCustomApiVersionPolicy(options.apiVersion);
Expand Down
Loading