Skip to content

Commit ced3c53

Browse files
azure-sdkv-jiaodikazrael2119
authored
[AutoPR @azure-arm-attestation]-generated-from-SDK Generation - JS-6337212 (#38637)
Configurations: 'specification/attestation/resource-manager/Microsoft.Attestation/Attestation/tspconfig.yaml', API Version: 2021-06-01, SDK Release Type: beta, and CommitSHA: 'cd283345a35e238e92dcef71b350d4699b5c466c' in SpecRepo: 'https://github.com/Azure/azure-rest-api-specs' Pipeline run: https://dev.azure.com/azure-sdk/internal/_build/results?buildId=6337212 Refer to https://eng.ms/docs/products/azure-developer-experience/develop/sdk-release/sdk-release-prerequisites to prepare for SDK release. --------- Co-authored-by: Jiao Di (MSFT) <v-jiaodi@microsoft.com> Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com>
1 parent 032830d commit ced3c53

141 files changed

Lines changed: 4488 additions & 3709 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@
379379
# PRLabel: %Mgmt
380380
/sdk/astro/arm-astro/ @qiaozha @MaryGao @JialinHuang803
381381

382-
# PRLabel: %Mgmt
382+
# PRLabel: %Mgmt %mgmt-review-needed
383383
/sdk/attestation/arm-attestation/ @qiaozha @MaryGao @JialinHuang803
384384

385385
# PRLabel: %Mgmt %mgmt-review-needed

pnpm-lock.yaml

Lines changed: 21 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/attestation/arm-attestation/CHANGELOG.md

Lines changed: 34 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,41 @@
11
# Release History
22

3-
## 2.1.2 (Unreleased)
3+
## 3.0.0-beta.1 (2026-05-22)
4+
Compared with version 2.1.0
45

56
### Features Added
7+
- Added operation group PrivateLinkResourcesOperations
8+
- Added Interface AttestationServicePatchSpecificParams
9+
- Added Interface JsonWebKey
10+
- Added Interface LogSpecification
11+
- Added Interface OperationProperties
12+
- Added Interface PagedAsyncIterableIterator
13+
- Added Interface PageSettings
14+
- Added Interface PrivateEndpointConnectionProperties
15+
- Added Interface PrivateLinkResource
16+
- Added Interface PrivateLinkResourceListResult
17+
- Added Interface PrivateLinkResourceProperties
18+
- Added Interface PrivateLinkResourcesListByProviderOptionalParams
19+
- Added Interface ServiceSpecification
20+
- Added Interface StatusResult
21+
- Interface AttestationProvider has a new optional parameter publicNetworkAccess
22+
- Interface AttestationProvider has a new optional parameter tpmAttestationAuthentication
23+
- Interface AttestationServiceCreationSpecificParams has a new optional parameter publicNetworkAccess
24+
- Interface AttestationServiceCreationSpecificParams has a new optional parameter tpmAttestationAuthentication
25+
- Interface AttestationServicePatchParams has a new optional parameter properties
26+
- Interface OperationsDefinition has a new optional parameter properties
27+
- Interface PrivateEndpointConnection has a new optional parameter systemData
28+
- Interface Resource has a new optional parameter systemData
29+
- Interface TrackedResource has a new optional parameter systemData
30+
- Added Type Alias AzureSupportedClouds
31+
- Added Type Alias PublicNetworkAccessType
32+
- Added Type Alias TpmAttestationAuthenticationType
33+
- Added Enum AzureClouds
34+
- Added Enum KnownPublicNetworkAccessType
35+
- Added Enum KnownTpmAttestationAuthenticationType
36+
- Added Enum KnownVersions
637

7-
### Breaking Changes
8-
9-
### Bugs Fixed
10-
11-
### Other Changes
12-
13-
## 2.1.1 (2025-08-22)
14-
15-
### Other Changes
16-
17-
- Other fixes
18-
38+
1939
## 2.1.0 (2022-11-16)
2040

2141
### Features Added
@@ -44,4 +64,4 @@ To understand the detail of the change, please refer to [Changelog](https://aka.
4464

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

47-
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
67+
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).

sdk/attestation/arm-attestation/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

sdk/attestation/arm-attestation/README.md

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ This package contains an isomorphic SDK (runs both in Node.js and in browsers) f
44

55
Various APIs for managing resources in attestation service. This primarily encompasses per-provider management.
66

7-
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/attestation/arm-attestation) |
8-
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-attestation) |
9-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-attestation) |
10-
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
7+
Key links:
8+
9+
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/attestation/arm-attestation)
10+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-attestation)
11+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-attestation?view=azure-node-preview)
12+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/attestation/arm-attestation/samples)
1113

1214
## Getting started
1315

@@ -35,7 +37,7 @@ npm install @azure/arm-attestation
3537
To create a client object to access the Azure AttestationManagement API, you will need the `endpoint` of your Azure AttestationManagement resource and a `credential`. The Azure AttestationManagement client can use Azure Active Directory credentials to authenticate.
3638
You can find the endpoint for your Azure AttestationManagement resource in the [Azure Portal][azure_portal].
3739

38-
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
40+
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
3941

4042
To use the [DefaultAzureCredential][defaultazurecredential] provider shown below, or other credential providers provided with the Azure SDK, please install the `@azure/identity` package:
4143

@@ -44,7 +46,6 @@ npm install @azure/identity
4446
```
4547

4648
You will also need to **register a new AAD application and grant access to Azure AttestationManagement** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
4849

4950
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
5051

@@ -64,16 +65,16 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
6465
import { InteractiveBrowserCredential } from "@azure/identity";
6566
import { AttestationManagementClient } from "@azure/arm-attestation";
6667

67-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
6868
const credential = new InteractiveBrowserCredential({
6969
tenantId: "<YOUR_TENANT_ID>",
7070
clientId: "<YOUR_CLIENT_ID>",
7171
});
72+
const subscriptionId = "00000000-0000-0000-0000-000000000000";
7273
const client = new AttestationManagementClient(credential, subscriptionId);
7374
```
7475

75-
### JavaScript Bundle
7676

77+
### JavaScript Bundle
7778
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
7879

7980
## Key concepts
@@ -98,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
9899

99100
## Next steps
100101

101-
Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
102+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/attestation/arm-attestation/samples) directory for detailed examples on how to use this library.
102103

103104
## Contributing
104105

@@ -108,10 +109,6 @@ If you'd like to contribute to this library, please read the [contributing guide
108109

109110
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
110111

111-
112-
113-
[azure_cli]: https://learn.microsoft.com/cli/azure
114-
[azure_sub]: https://azure.microsoft.com/free/
115112
[azure_sub]: https://azure.microsoft.com/free/
116113
[azure_portal]: https://portal.azure.com
117114
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity

sdk/attestation/arm-attestation/_meta.json

Lines changed: 0 additions & 8 deletions
This file was deleted.
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
{
2-
"extends": "../../../api-extractor-base.json"
3-
}
1+
{ "extends": "../../../api-extractor-base.json" }

sdk/attestation/arm-attestation/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "js",
44
"TagPrefix": "js/attestation/arm-attestation",
5-
"Tag": "js/attestation/arm-attestation_6fbf880221"
5+
"Tag": "js/attestation/arm-attestation_d6cd3ad46b"
66
}

sdk/attestation/arm-attestation/config/tsconfig.samples.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
"extends": "../../../../eng/tsconfigs/samples.json",
33
"compilerOptions": {
44
"paths": {
5-
"@azure/arm-attestation": [
6-
"../dist/esm"
7-
]
5+
"@azure/arm-attestation": ["../dist/esm"]
86
}
97
}
108
}
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
22
"extends": "../../../../eng/tsconfigs/src.browser.json",
3-
"include": [
4-
"../src/index.ts"
5-
]
3+
"include": ["../src/index.ts"]
64
}

0 commit comments

Comments
 (0)