Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
fc099a8
Configurations: 'specification/batch/resource-manager/Microsoft.Batc…
azure-sdk Mar 7, 2026
8245351
feat(batch): add support for arm-resources and arm-storage, update te…
Mar 7, 2026
f32ff0e
fix(batch): update asset tag and correct subscription ID variable nam…
Mar 9, 2026
2fb7478
Merge remote-tracking branch 'azure/main' into sdkauto/@azure-arm-bat…
Mar 9, 2026
b6eceb0
fix(batch): update dependencies in pnpm-lock.yaml for core packages
Mar 9, 2026
617f084
fix(batch): refactor variable initialization in beforeAll and beforeE…
Mar 10, 2026
2cc0d54
fix(batch): update client method calls for batch account and pool ope…
Mar 10, 2026
d9682d2
fix(batch): update asset tag and refactor location variable handling …
Mar 10, 2026
de404ab
fix(batch): remove unnecessary blank line in batch_examples.spec.ts
Mar 11, 2026
63374dc
fix(batch): update batch account client method calls for consistency
Mar 11, 2026
c97b0e4
fix(batch): update client method calls for pool operations to ensure …
Mar 11, 2026
a03ed00
Merge branch 'main' into pr/azure-sdk/37522
kazrael2119 Mar 12, 2026
e7b5df9
Configurations: 'specification/batch/resource-manager/Microsoft.Batc…
azure-sdk Mar 12, 2026
9b78824
Apply suggestion from @kazrael2119
kazrael2119 Mar 13, 2026
c2c6e87
fix(batch): correct array syntax in createBatchWindowsPool function
Mar 13, 2026
c89f1cf
Merge branch 'sdkauto/@azure-arm-batch-5976289' of https://github.com…
Mar 13, 2026
7d43ff1
merge main
kazrael2119 Mar 20, 2026
0032b52
update
kazrael2119 Mar 20, 2026
69fd877
Update arm-batch-api-node.api.md
kazrael2119 Mar 20, 2026
888d3be
Update CHANGELOG.md
kazrael2119 Mar 20, 2026
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
  •  
  •  
  •  
36 changes: 24 additions & 12 deletions pnpm-lock.yaml

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

98 changes: 87 additions & 11 deletions sdk/batch/arm-batch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,97 @@
# Release History

## 10.0.2 (Unreleased)
## 11.0.0 (2026-03-20)

### Features Added
- Added operation group LocationOperations
- Added operation BatchAccountOperations.create
- Added operation BatchAccountOperations.delete
- Added operation NetworkSecurityPerimeterOperations.reconcileConfiguration
- Added operation PoolOperations.delete
- Added operation PrivateEndpointConnectionOperations.delete
- Added operation PrivateEndpointConnectionOperations.update
- Added Interface ApplicationPackageProperties
- Added Interface ApplicationProperties
- Added Interface BatchAccountCreateProperties
- Added Interface BatchAccountProperties
- Added Interface BatchAccountUpdateProperties
- Added Interface DetectorResponseProperties
- Added Interface DiskCustomerManagedKey
- Added Interface DiskEncryptionSetParameters
- Added Interface HostEndpointSettings
- Added Interface IPTag
- Added Interface PagedAsyncIterableIterator
- Added Interface PageSettings
- Added Interface PoolProperties
- Added Interface PrivateEndpointConnectionProperties
- Added Interface PrivateLinkResourceProperties
- Added Interface ProxyAgentSettings
- Added Interface RestorePollerOptions
- Added Interface SimplePollerLike
- Added Interface TrackedResource
- Interface Application has a new optional parameter systemData
- Interface ApplicationPackage has a new optional parameter systemData
- Interface BatchAccount has a new optional parameter systemData
- Interface DataDisk has a new optional parameter managedDisk
- Interface DetectorResponse has a new optional parameter systemData
- Interface DiskEncryptionConfiguration has a new optional parameter customerManagedKey
- Interface ManagedDisk has a new optional parameter diskEncryptionSet
- Interface Pool has a new optional parameter systemData
- Interface PrivateEndpointConnection has a new optional parameter systemData
- Interface PrivateLinkResource has a new optional parameter systemData
- Interface PublicIPAddressConfiguration has a new optional parameter ipFamilies
- Interface PublicIPAddressConfiguration has a new optional parameter ipTags
- Interface SecurityProfile has a new optional parameter proxyAgentSettings
- Interface TaskSchedulingPolicy has a new optional parameter jobDefaultOrder
- Interface VMDiskSecurityProfile has a new optional parameter diskEncryptionSet
- Added Type Alias AzureSupportedClouds
- Added Type Alias DiffDiskPlacement
- Added Type Alias HostEndpointSettingsModeTypes
- Added Type Alias IPFamily
- Added Type Alias IPRuleAction
- Added Type Alias JobDefaultOrder
- Added Type Alias ResourceType
- Added Enum AzureClouds
- Added Enum KnownHostEndpointSettingsModeTypes
- Added Enum KnownIPFamily
- Added Enum KnownJobDefaultOrder
- Added Enum KnownVersions
- Enum KnownSecurityEncryptionTypes has a new value DiskWithVMGuestState

### Breaking Changes
- Operation NetworkSecurityPerimeter.beginReconcileConfigurationAndWait has a new signature
- Operation PrivateEndpointConnection.beginDeleteAndWait has a new signature
- Removed Interface AzureProxyResource
- Removed Interface AzureResource
- Removed Interface Certificate
- Removed Interface CertificateBaseProperties
- Removed Interface CertificateCancelDeletionOptionalParams
- Removed Interface CertificateCreateOptionalParams
- Removed Interface CertificateCreateOrUpdateParameters
- Removed Interface CertificateCreateOrUpdateProperties
- Removed Interface CertificateDeleteOptionalParams
- Removed Interface CertificateGetOptionalParams
- Removed Interface CertificateListByBatchAccountOptionalParams
- Removed Interface CertificateOperations
- Removed Interface CertificateProperties
- Removed Interface CertificateReference
- Removed Interface CertificateUpdateOptionalParams
- Removed Interface DeleteCertificateError
- Removed Interface OutboundEnvironmentEndpointCollection
- Interface DataDisk no longer has parameter storageAccountType
- Interface Pool no longer has parameter applicationLicenses
- Interface Pool no longer has parameter certificates
- Interface Pool no longer has parameter currentNodeCommunicationMode
- Interface Pool no longer has parameter resourceTags
- Interface Pool no longer has parameter targetNodeCommunicationMode
- Parameter location of interface BatchAccount is now required
- Removed Type Alias CertificateFormat
- Removed Type Alias CertificateProvisioningState
- Removed Type Alias CertificateStoreLocation
- Removed Type Alias CertificateVisibility
- Removed Type Alias NodeCommunicationMode

### Bugs Fixed

### Other Changes

## 10.0.1 (2025-08-22)

### Other Changes

- Other fixes


## 10.0.0 (2024-09-11)

### Features Added
Expand Down
2 changes: 1 addition & 1 deletion sdk/batch/arm-batch/LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
25 changes: 11 additions & 14 deletions sdk/batch/arm-batch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@

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

Batch Client
The Batch Management Client.

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

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

## Getting started

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

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

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

Expand All @@ -44,7 +46,6 @@ npm install @azure/identity
```

You will also need to **register a new AAD application and grant access to Azure BatchManagement** 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).

Expand All @@ -64,16 +65,16 @@ For browser environments, use the `InteractiveBrowserCredential` from the `@azur
import { InteractiveBrowserCredential } from "@azure/identity";
import { BatchManagementClient } from "@azure/arm-batch";

const subscriptionId = "00000000-0000-0000-0000-000000000000";
const credential = new InteractiveBrowserCredential({
tenantId: "<YOUR_TENANT_ID>",
clientId: "<YOUR_CLIENT_ID>",
});
const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new BatchManagementClient(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 @@ -98,7 +99,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur

## Next steps

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.
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/batch/arm-batch/samples) directory for detailed examples on how to use this library.

## Contributing

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

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



[azure_cli]: https://learn.microsoft.com/cli/azure
[azure_sub]: https://azure.microsoft.com/free/
[azure_sub]: https://azure.microsoft.com/free/
[azure_portal]: https://portal.azure.com
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity
Expand Down
8 changes: 0 additions & 8 deletions sdk/batch/arm-batch/_meta.json

This file was deleted.

4 changes: 1 addition & 3 deletions sdk/batch/arm-batch/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
{
"extends": "../../../api-extractor-base.json"
}
{ "extends": "../../../api-extractor-base.json" }
2 changes: 1 addition & 1 deletion sdk/batch/arm-batch/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "js",
"TagPrefix": "js/batch/arm-batch",
"Tag": "js/batch/arm-batch_b0c61dc3f9"
"Tag": "js/batch/arm-batch_5cbdf40f1b"
}
14 changes: 14 additions & 0 deletions sdk/batch/arm-batch/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import azsdkEslint from "@azure/eslint-plugin-azure-sdk";

export default azsdkEslint.config([
{
rules: {
"@azure/azure-sdk/ts-modules-only-named": "warn",
"@azure/azure-sdk/ts-package-json-types": "warn",
"@azure/azure-sdk/ts-package-json-engine-is-present": "warn",
"@azure/azure-sdk/ts-package-json-files-required": "off",
"@azure/azure-sdk/ts-package-json-main-is-cjs": "off",
"tsdoc/syntax": "warn",
},
},
]);
Loading