Skip to content

Commit

Permalink
CodeGen from PR 17954 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Modified MaxTaskRetryCount description in Batch Management Plane (Azure#17954)
  • Loading branch information
SDKAuto committed Mar 7, 2022
1 parent 4efd527 commit 91c7158
Show file tree
Hide file tree
Showing 16 changed files with 451 additions and 339 deletions.
18 changes: 9 additions & 9 deletions common/config/rush/pnpm-lock.yaml

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

30 changes: 19 additions & 11 deletions sdk/batch/arm-batch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
# Release History

## 7.0.1 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes


## 7.1.0 (2022-03-07)

**Features**

- Added operation BatchAccountOperations.getDetector
- Added operation BatchAccountOperations.listDetectors
- Added Interface BatchAccountGetDetectorOptionalParams
- Added Interface BatchAccountListDetectorsNextOptionalParams
- Added Interface BatchAccountListDetectorsOptionalParams
- Added Interface DetectorListResult
- Added Type Alias BatchAccountGetDetectorResponse
- Added Type Alias BatchAccountListDetectorsNextResponse
- Added Type Alias BatchAccountListDetectorsResponse
- Added Type Alias DetectorResponse
- Added Type Alias DynamicVNetAssignmentScope
- Interface NetworkConfiguration has a new optional parameter dynamicVNetAssignmentScope


## 7.0.0 (2021-12-24)

The package of @azure/arm-batch is using our next generation design principles since version 7.0.0, which contains breaking changes.
Expand Down
2 changes: 1 addition & 1 deletion sdk/batch/arm-batch/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 Microsoft
Copyright (c) 2022 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
6 changes: 3 additions & 3 deletions sdk/batch/arm-batch/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "698ebc782f3cc4650f6df1d765f6a38a6695ad50",
"commit": "8c78db058eb581e28976d2f71626a7beb8c4d195",
"readme": "specification/batch/resource-manager/readme.md",
"autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/batch/resource-manager/readme.md --use=@autorest/[email protected].20211217.1",
"autorest_command": "autorest --version=3.7.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/batch/resource-manager/readme.md --use=@autorest/[email protected].20220105.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected].20211217.1"
"use": "@autorest/[email protected].20220105.1"
}
25 changes: 19 additions & 6 deletions sdk/batch/arm-batch/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./dist-esm/src/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/arm-batch.d.ts"
},
"messages": {
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": { "logLevel": "none" },
"ae-unresolved-link": { "logLevel": "none" }
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
}
11 changes: 5 additions & 6 deletions sdk/batch/arm-batch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for BatchManagementClient.",
"version": "7.0.1",
"version": "1.0.0-beta.1",
"engines": {
"node": ">=12.0.0"
},
Expand All @@ -29,21 +29,20 @@
"types": "./types/arm-batch.d.ts",
"devDependencies": {
"@microsoft/api-extractor": "^7.18.11",
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-commonjs": "11.0.2",
"@rollup/plugin-json": "^4.0.0",
"@rollup/plugin-multi-entry": "^3.0.0",
"@rollup/plugin-node-resolve": "^8.0.0",
"mkdirp": "^1.0.4",
"rollup": "^2.0.0",
"rollup": "^1.16.3",
"rollup-plugin-sourcemaps": "^0.4.2",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"mocha": "^7.1.1",
"cross-env": "^7.0.2",
"@azure/arm-storage": "^17.0.0"
"cross-env": "^7.0.2"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/batch/arm-batch",
"repository": {
Expand Down Expand Up @@ -100,4 +99,4 @@
},
"sideEffects": false,
"autoPublish": true
}
}
38 changes: 38 additions & 0 deletions sdk/batch/arm-batch/review/arm-batch.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,13 @@ export interface BatchAccountDeleteOptionalParams extends coreClient.OperationOp
updateIntervalInMs?: number;
}

// @public
export interface BatchAccountGetDetectorOptionalParams extends coreClient.OperationOptions {
}

// @public
export type BatchAccountGetDetectorResponse = DetectorResponse;

// @public
export interface BatchAccountGetKeysOptionalParams extends coreClient.OperationOptions {
}
Expand Down Expand Up @@ -319,6 +326,20 @@ export interface BatchAccountListByResourceGroupOptionalParams extends coreClien
// @public
export type BatchAccountListByResourceGroupResponse = BatchAccountListResult;

// @public
export interface BatchAccountListDetectorsNextOptionalParams extends coreClient.OperationOptions {
}

// @public
export type BatchAccountListDetectorsNextResponse = DetectorListResult;

// @public
export interface BatchAccountListDetectorsOptionalParams extends coreClient.OperationOptions {
}

// @public
export type BatchAccountListDetectorsResponse = DetectorListResult;

// @public
export interface BatchAccountListNextOptionalParams extends coreClient.OperationOptions {
}
Expand Down Expand Up @@ -360,9 +381,11 @@ export interface BatchAccountOperations {
beginDelete(resourceGroupName: string, accountName: string, options?: BatchAccountDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>;
beginDeleteAndWait(resourceGroupName: string, accountName: string, options?: BatchAccountDeleteOptionalParams): Promise<void>;
get(resourceGroupName: string, accountName: string, options?: BatchAccountGetOptionalParams): Promise<BatchAccountGetResponse>;
getDetector(resourceGroupName: string, accountName: string, detectorId: string, options?: BatchAccountGetDetectorOptionalParams): Promise<BatchAccountGetDetectorResponse>;
getKeys(resourceGroupName: string, accountName: string, options?: BatchAccountGetKeysOptionalParams): Promise<BatchAccountGetKeysResponse>;
list(options?: BatchAccountListOptionalParams): PagedAsyncIterableIterator<BatchAccount>;
listByResourceGroup(resourceGroupName: string, options?: BatchAccountListByResourceGroupOptionalParams): PagedAsyncIterableIterator<BatchAccount>;
listDetectors(resourceGroupName: string, accountName: string, options?: BatchAccountListDetectorsOptionalParams): PagedAsyncIterableIterator<DetectorResponse>;
listOutboundNetworkDependenciesEndpoints(resourceGroupName: string, accountName: string, options?: BatchAccountListOutboundNetworkDependenciesEndpointsOptionalParams): PagedAsyncIterableIterator<OutboundEnvironmentEndpoint>;
regenerateKey(resourceGroupName: string, accountName: string, parameters: BatchAccountRegenerateKeyParameters, options?: BatchAccountRegenerateKeyOptionalParams): Promise<BatchAccountRegenerateKeyResponse>;
synchronizeAutoStorageKeys(resourceGroupName: string, accountName: string, options?: BatchAccountSynchronizeAutoStorageKeysOptionalParams): Promise<void>;
Expand Down Expand Up @@ -706,6 +729,17 @@ export interface DeploymentConfiguration {
virtualMachineConfiguration?: VirtualMachineConfiguration;
}

// @public
export interface DetectorListResult {
nextLink?: string;
value?: DetectorResponse[];
}

// @public
export type DetectorResponse = ProxyResource & {
value?: string;
};

// @public
export interface DiffDiskSettings {
placement?: "CacheDisk";
Expand All @@ -719,6 +753,9 @@ export interface DiskEncryptionConfiguration {
// @public
export type DiskEncryptionTarget = "OsDisk" | "TemporaryDisk";

// @public
export type DynamicVNetAssignmentScope = "none" | "job";

// @public
export type ElevationLevel = "NonAdmin" | "Admin";

Expand Down Expand Up @@ -920,6 +957,7 @@ export type NameAvailabilityReason = "Invalid" | "AlreadyExists";

// @public
export interface NetworkConfiguration {
dynamicVNetAssignmentScope?: DynamicVNetAssignmentScope;
endpointConfiguration?: PoolEndpointConfiguration;
publicIPAddressConfiguration?: PublicIPAddressConfiguration;
subnetId?: string;
Expand Down
4 changes: 2 additions & 2 deletions sdk/batch/arm-batch/src/batchManagementClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export class BatchManagementClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-batch/7.0.0`;
const packageDetails = `azsdk-js-arm-batch/7.1.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand All @@ -88,7 +88,7 @@ export class BatchManagementClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2021-06-01";
this.apiVersion = options.apiVersion || "2022-01-01";
this.batchAccountOperations = new BatchAccountOperationsImpl(this);
this.applicationPackageOperations = new ApplicationPackageOperationsImpl(
this
Expand Down
Loading

0 comments on commit 91c7158

Please sign in to comment.