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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 12 additions & 15 deletions common/config/rush/pnpm-lock.yaml

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

70 changes: 61 additions & 9 deletions sdk/appcontainers/arm-appcontainers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,67 @@
# Release History

## 2.2.0-beta.2 (Unreleased)

## 2.2.0 (2025-01-17)
### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

- Added operation group JavaComponents
- Added Interface CertificateKeyVaultProperties
- Added Interface IdentitySettings
- Added Interface JavaComponent
- Added Interface JavaComponentConfigurationProperty
- Added Interface JavaComponentIngress
- Added Interface JavaComponentProperties
- Added Interface JavaComponentPropertiesScale
- Added Interface JavaComponentsCollection
- Added Interface JavaComponentsCreateOrUpdateOptionalParams
- Added Interface JavaComponentsDeleteHeaders
- Added Interface JavaComponentsDeleteOptionalParams
- Added Interface JavaComponentServiceBind
- Added Interface JavaComponentsGetOptionalParams
- Added Interface JavaComponentsListNextOptionalParams
- Added Interface JavaComponentsListOptionalParams
- Added Interface JavaComponentsUpdateHeaders
- Added Interface JavaComponentsUpdateOptionalParams
- Added Interface NfsAzureFileProperties
- Added Interface Runtime
- Added Interface RuntimeJava
- Added Interface SpringBootAdminComponent
- Added Interface SpringCloudConfigComponent
- Added Interface SpringCloudEurekaComponent
- Added Type Alias ContainerAppRunningStatus
- Added Type Alias IdentitySettingsLifeCycle
- Added Type Alias JavaComponentPropertiesUnion
- Added Type Alias JavaComponentProvisioningState
- Added Type Alias JavaComponentsCreateOrUpdateResponse
- Added Type Alias JavaComponentsDeleteResponse
- Added Type Alias JavaComponentsGetResponse
- Added Type Alias JavaComponentsListNextResponse
- Added Type Alias JavaComponentsListResponse
- Added Type Alias JavaComponentsUpdateResponse
- Added Type Alias JavaComponentType
- Interface CertificateProperties has a new optional parameter certificateKeyVaultProperties
- Interface Configuration has a new optional parameter identitySettings
- Interface Configuration has a new optional parameter runtime
- Interface ContainerApp has a new optional parameter runningStatus
- Interface CustomDomainConfiguration has a new optional parameter certificateKeyVaultProperties
- Interface CustomScaleRule has a new optional parameter identity
- Interface HttpScaleRule has a new optional parameter identity
- Interface JobConfiguration has a new optional parameter identitySettings
- Interface JobScaleRule has a new optional parameter identity
- Interface ManagedEnvironment has a new optional parameter identity
- Interface ManagedEnvironmentStorageProperties has a new optional parameter nfsAzureFile
- Interface QueueScaleRule has a new optional parameter accountName
- Interface QueueScaleRule has a new optional parameter identity
- Interface Scale has a new optional parameter cooldownPeriod
- Interface Scale has a new optional parameter pollingInterval
- Interface TcpScaleRule has a new optional parameter identity
- Added Enum KnownContainerAppRunningStatus
- Added Enum KnownIdentitySettingsLifeCycle
- Added Enum KnownJavaComponentProvisioningState
- Added Enum KnownJavaComponentType
- Enum KnownStorageType has a new value NfsAzureFile


## 2.2.0-beta.1 (2024-10-18)
Compared with version 2.1.0

Expand Down
2 changes: 1 addition & 1 deletion sdk/appcontainers/arm-appcontainers/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2024 Microsoft
Copyright (c) 2025 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
40 changes: 15 additions & 25 deletions sdk/appcontainers/arm-appcontainers/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure ContainerApps API client.

Functions is an extension resource to revisions and the api listed is used to proxy the call from Web RP to the function app's host process, this api is not exposed to users and only Web RP is allowed to invoke functions extension resource.


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

## Getting started
Expand Down Expand Up @@ -44,36 +44,27 @@ npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to Azure ContainerApps API** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
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`.

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).

Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.

```ts snippet:ReadmeSampleCreateClient_Node
import { ContainerAppsAPIClient } from "@azure/arm-appcontainers";
import { DefaultAzureCredential } from "@azure/identity";
```javascript
const { ContainerAppsAPIClient } = require("@azure/arm-appcontainers");
const { DefaultAzureCredential } = require("@azure/identity");
// For client-side applications running in the browser, use InteractiveBrowserCredential instead of DefaultAzureCredential. See https://aka.ms/azsdk/js/identity/examples for more details.

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new ContainerAppsAPIClient(new DefaultAzureCredential(), subscriptionId);
```

For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.

```ts snippet:ReadmeSampleCreateClient_Browser
import { InteractiveBrowserCredential } from "@azure/identity";
import { ContainerAppsAPIClient } from "@azure/arm-appcontainers";

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const credential = new InteractiveBrowserCredential({
tenantId: "<YOUR_TENANT_ID>",
clientId: "<YOUR_CLIENT_ID>",
});
const client = new ContainerAppsAPIClient(credential, subscriptionId);
// For client-side applications running in the browser, use this code instead:
// const credential = new InteractiveBrowserCredential({
// tenantId: "<YOUR_TENANT_ID>",
// clientId: "<YOUR_CLIENT_ID>"
// });
// const client = new ContainerAppsAPIClient(credential, subscriptionId);
```

### JavaScript Bundle

### JavaScript Bundle
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).

## Key concepts
Expand All @@ -88,9 +79,8 @@ To use this client library in the browser, first you need to use a bundler. For

Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:

```ts snippet:SetLogLevel
import { setLogLevel } from "@azure/logger";

```javascript
const { setLogLevel } = require("@azure/logger");
setLogLevel("info");
```

Expand Down
8 changes: 4 additions & 4 deletions sdk/appcontainers/arm-appcontainers/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "abe3209e7c6924a58ab560ebab2349bc8fde6aa7",
"commit": "ff3a4b4fe0caebab8a919b6e0dcff4ee2876cef1",
"readme": "specification/app/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\\app\\resource-manager\\readme.md --use=@autorest/typescript@6.0.27 --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/app/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.15",
"use": "@autorest/typescript@6.0.27"
"release_tool": "@azure-tools/js-sdk-release-tools@2.7.18",
"use": "@autorest/typescript@^6.0.12"
}
6 changes: 3 additions & 3 deletions sdk/appcontainers/arm-appcontainers/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "dist/esm/index.d.ts",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": {
"enabled": true
},
Expand All @@ -11,7 +11,7 @@
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "dist/arm-appcontainers.d.ts"
"publicTrimmedFilePath": "./types/arm-appcontainers.d.ts"
},
"messages": {
"tsdocMessageReporting": {
Expand All @@ -28,4 +28,4 @@
}
}
}
}
}
6 changes: 0 additions & 6 deletions sdk/appcontainers/arm-appcontainers/assets.json

This file was deleted.

Loading