Skip to content

Commit

Permalink
CodeGen from PR 30569 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 3e4cf8250734244ac5f84b80452001c45bf25ebd into befbed40f82c444b19d6aaf5d4ac6bdf50960d54
  • Loading branch information
SDKAuto committed Sep 25, 2024
1 parent 4abda1b commit 16fa0ce
Show file tree
Hide file tree
Showing 25 changed files with 1,332 additions and 1,181 deletions.
42 changes: 37 additions & 5 deletions common/config/rush/pnpm-lock.yaml

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

23 changes: 13 additions & 10 deletions sdk/containerinstance/arm-containerinstance/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
# Release History

## 9.1.1 (Unreleased)


## 9.2.0-beta.1 (2024-09-25)
Compared with version 9.1.0

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added Interface SecretReference
- Interface AzureFileVolume has a new optional parameter storageAccountKeyReference
- Interface ContainerGroupProperties has a new optional parameter secretReferences
- Interface EnvironmentVariable has a new optional parameter secureValueReference
- Interface ImageRegistryCredential has a new optional parameter passwordReference
- Interface Volume has a new optional parameter secretReference


## 9.1.0 (2023-04-24)

### Features Added
Expand Down Expand Up @@ -89,4 +92,4 @@ To understand the detail of the change, please refer to [Changelog](https://aka.

To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).

To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).
2 changes: 1 addition & 1 deletion sdk/containerinstance/arm-containerinstance/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2023 Microsoft
Copyright (c) 2024 Microsoft

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion sdk/containerinstance/arm-containerinstance/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/containerinstance/arm-containerinstance) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-containerinstance) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-containerinstance) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-containerinstance?view=azure-node-preview) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down
8 changes: 4 additions & 4 deletions sdk/containerinstance/arm-containerinstance/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "7a65f22cf67826187f75981e914c7e679039257b",
"commit": "cec8377c861c3e6dfdcd634fdfcdc45b451919d0",
"readme": "specification/containerinstance/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.3 --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\\containerinstance\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.10 --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/containerinstance/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.6.2",
"use": "@autorest/typescript@6.0.0-rc.10"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.14",
"use": "@autorest/typescript@^6.0.12"
}
38 changes: 15 additions & 23 deletions sdk/containerinstance/arm-containerinstance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for ContainerInstanceManagementClient.",
"version": "9.1.1",
"version": "9.2.0-beta.1",
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@azure/core-lro": "^2.5.0",
"@azure/abort-controller": "^1.0.0",
"@azure/core-lro": "^2.5.4",
"@azure/abort-controller": "^2.1.2",
"@azure/core-paging": "^1.2.0",
"@azure/core-client": "^1.7.0",
"@azure/core-auth": "^1.3.0",
"@azure/core-rest-pipeline": "^1.8.0",
"@azure/core-auth": "^1.6.0",
"@azure/core-rest-pipeline": "^1.14.0",
"tslib": "^2.2.0"
},
"keywords": [
Expand All @@ -30,21 +30,22 @@
"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.5",
"rimraf": "^5.0.0",
"dotenv": "^16.0.0",
"@azure/identity": "^4.0.1",
"@azure/dev-tool": "^1.0.0",
"@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",
"@types/node": "^18.0.0",
"@azure/dev-tool": "^1.0.0",
"ts-node": "^10.0.0",
"@types/mocha": "^10.0.0"
"ts-node": "^10.0.0"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -77,7 +78,6 @@
"pack": "npm pack 2>&1",
"extract-api": "dev-tool run extract-api",
"lint": "echo skipped",
"audit": "echo skipped",
"clean": "rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"build:node": "echo skipped",
"build:browser": "echo skipped",
Expand Down Expand Up @@ -106,13 +106,5 @@
]
},
"autoPublish": true,
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerinstance/arm-containerinstance",
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-containerinstance?view=azure-node-preview"
}
}
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/containerinstance/arm-containerinstance"
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export interface AzureFileVolume {
readOnly?: boolean;
shareName: string;
storageAccountKey?: string;
storageAccountKeyReference?: string;
storageAccountName: string;
}

Expand Down Expand Up @@ -166,6 +167,7 @@ export interface ContainerGroupProperties {
priority?: ContainerGroupPriority;
readonly provisioningState?: string;
restartPolicy?: ContainerGroupRestartPolicy;
secretReferences?: SecretReference[];
sku?: ContainerGroupSku;
subnetIds?: ContainerGroupSubnetId[];
volumes?: Volume[];
Expand Down Expand Up @@ -429,6 +431,7 @@ export interface EncryptionProperties {
export interface EnvironmentVariable {
name: string;
secureValue?: string;
secureValueReference?: string;
value?: string;
}

Expand Down Expand Up @@ -473,6 +476,7 @@ export interface ImageRegistryCredential {
identity?: string;
identityUrl?: string;
password?: string;
passwordReference?: string;
server: string;
username?: string;
}
Expand Down Expand Up @@ -734,6 +738,13 @@ export interface ResourceRequirements {
// @public
export type Scheme = string;

// @public
export interface SecretReference {
identity: string;
name: string;
secretReferenceUri: string;
}

// @public
export interface SecurityContextCapabilitiesDefinition {
add?: string[];
Expand Down Expand Up @@ -797,6 +808,9 @@ export interface Volume {
secret?: {
[propertyName: string]: string;
};
secretReference?: {
[propertyName: string]: string;
};
}

// @public
Expand Down
Loading

0 comments on commit 16fa0ce

Please sign in to comment.