-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rechen batch microsoft.batch 2024 07 01 (#29957)
* Copy files from stable/2024-02-01 Copied the files in a separate commit. This allows reviewers to easily diff subsequent changes against the previous spec. * Update version to stable/2024-07-01 Updated the API version from stable/2024-02-01 to stable/2024-07-01. * Added tag for 2024-07-01 in readme file * 2024-07-01 updates * Update with NetworkSecurityPerimeter * Fix errors and remove cloudserviceskus * Replace cloudserviceconfig with vmconfig in examples * Prettier fixes * Prettier fixes * Final prettier fix * Create sdk-suppressions.yaml * Update sdk-suppressions.yaml * update sdk-suppressions.yaml * Update sdk-suppressions.yaml --------- Co-authored-by: Yuchao Yan <yuchaoyan@microsoft.com> Co-authored-by: kazrael2119 <98569699+kazrael2119@users.noreply.github.com> Co-authored-by: Alancere <804873052@qq.com>
- Loading branch information
1 parent
e8a00d5
commit 29a580f
Showing
85 changed files
with
12,706 additions
and
1 deletion.
There are no files selected for viewing
6,695 changes: 6,695 additions & 0 deletions
6,695
specification/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/BatchManagement.json
Large diffs are not rendered by default.
Oops, something went wrong.
197 changes: 197 additions & 0 deletions
197
...on/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/NetworkSecurityPerimeter.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,197 @@ | ||
{ | ||
"swagger": "2.0", | ||
"info": { | ||
"title": "BatchManagementClient", | ||
"description": "The Batch Management Client.", | ||
"version": "2024-07-01" | ||
}, | ||
"host": "management.azure.com", | ||
"schemes": [ | ||
"https" | ||
], | ||
"consumes": [ | ||
"application/json" | ||
], | ||
"produces": [ | ||
"application/json" | ||
], | ||
"security": [ | ||
{ | ||
"azure_auth": [ | ||
"user_impersonation" | ||
] | ||
} | ||
], | ||
"securityDefinitions": { | ||
"azure_auth": { | ||
"type": "oauth2", | ||
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
"flow": "implicit", | ||
"description": "Microsoft Entra OAuth 2.0 auth code flow", | ||
"scopes": { | ||
"user_impersonation": "impersonate your user account" | ||
} | ||
} | ||
}, | ||
"paths": { | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/networkSecurityPerimeterConfigurations": { | ||
"get": { | ||
"tags": [ | ||
"NetworkSecurityPerimeter" | ||
], | ||
"operationId": "NetworkSecurityPerimeter_ListConfigurations", | ||
"description": "Lists all of the NSP configurations in the specified account.", | ||
"x-ms-examples": { | ||
"ListNspConfigurations": { | ||
"$ref": "./examples/NspConfigurationsList.json" | ||
} | ||
}, | ||
"parameters": [ | ||
{ | ||
"$ref": "./BatchManagement.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "./BatchManagement.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "./BatchManagement.json#/parameters/AccountNameParameter" | ||
}, | ||
{ | ||
"$ref": "./BatchManagement.json#/parameters/ApiVersionParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "The operation was successful. The response contains a list of NSP configurations associated with the account.", | ||
"schema": { | ||
"$ref": "../../../../../common-types/resource-management/v5/networksecurityperimeter.json#/definitions/NetworkSecurityPerimeterConfigurationListResult" | ||
} | ||
}, | ||
"default": { | ||
"description": "Error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "./BatchManagement.json#/definitions/CloudError" | ||
} | ||
} | ||
}, | ||
"x-ms-pageable": { | ||
"nextLinkName": "nextLink" | ||
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}": { | ||
"get": { | ||
"tags": [ | ||
"NetworkSecurityPerimeter" | ||
], | ||
"operationId": "NetworkSecurityPerimeter_GetConfiguration", | ||
"description": "Gets information about the specified NSP configuration.", | ||
"x-ms-examples": { | ||
"GetNspConfiguration": { | ||
"$ref": "./examples/NspConfigurationGet.json" | ||
} | ||
}, | ||
"parameters": [ | ||
{ | ||
"$ref": "./BatchManagement.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "./BatchManagement.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "./BatchManagement.json#/parameters/AccountNameParameter" | ||
}, | ||
{ | ||
"$ref": "#/parameters/networkSecurityPerimeterConfigurationName" | ||
}, | ||
{ | ||
"$ref": "./BatchManagement.json#/parameters/ApiVersionParameter" | ||
} | ||
], | ||
"responses": { | ||
"200": { | ||
"description": "The operation was successful. The response contains the NSP configuration.", | ||
"schema": { | ||
"$ref": "../../../../../common-types/resource-management/v5/networksecurityperimeter.json#/definitions/NetworkSecurityPerimeterConfiguration" | ||
} | ||
}, | ||
"default": { | ||
"description": "Error response describing why the operation failed.", | ||
"schema": { | ||
"$ref": "./BatchManagement.json#/definitions/CloudError" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/networkSecurityPerimeterConfigurations/{networkSecurityPerimeterConfigurationName}/reconcile": { | ||
"post": { | ||
"tags": [ | ||
"NetworkSecurityPerimeter" | ||
], | ||
"operationId": "NetworkSecurityPerimeter_ReconcileConfiguration", | ||
"description": "Reconciles the specified NSP configuration.", | ||
"x-ms-examples": { | ||
"ReconcileNspConfiguration": { | ||
"$ref": "./examples/NspConfigurationReconcile.json" | ||
} | ||
}, | ||
"parameters": [ | ||
{ | ||
"$ref": "./BatchManagement.json#/parameters/SubscriptionIdParameter" | ||
}, | ||
{ | ||
"$ref": "./BatchManagement.json#/parameters/ResourceGroupNameParameter" | ||
}, | ||
{ | ||
"$ref": "./BatchManagement.json#/parameters/AccountNameParameter" | ||
}, | ||
{ | ||
"$ref": "#/parameters/networkSecurityPerimeterConfigurationName" | ||
}, | ||
{ | ||
"$ref": "./BatchManagement.json#/parameters/ApiVersionParameter" | ||
} | ||
], | ||
"responses": { | ||
"202": { | ||
"description": "The operation was accepted and will be performed in the background.", | ||
"headers": { | ||
"Location": { | ||
"description": "The URL of the resource used to check the status of the asynchronous operation.", | ||
"type": "string" | ||
}, | ||
"Retry-After": { | ||
"description": "Suggested delay to check the status of the asynchronous operation. The value is an integer that specifies the delay in seconds.", | ||
"type": "integer", | ||
"format": "int32" | ||
} | ||
} | ||
}, | ||
"default": { | ||
"description": "Error response describing why the operation failed.", | ||
"x-ms-error-response": true, | ||
"schema": { | ||
"$ref": "../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse" | ||
} | ||
} | ||
}, | ||
"x-ms-long-running-operation": true, | ||
"x-ms-long-running-operation-options": { | ||
"final-state-via": "location" | ||
} | ||
} | ||
} | ||
}, | ||
"parameters": { | ||
"networkSecurityPerimeterConfigurationName": { | ||
"name": "networkSecurityPerimeterConfigurationName", | ||
"in": "path", | ||
"required": true, | ||
"type": "string", | ||
"pattern": "^.*$", | ||
"description": "The name for Network Security Perimeter configuration", | ||
"x-ms-parameter-location": "method" | ||
} | ||
} | ||
} |
32 changes: 32 additions & 0 deletions
32
.../batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "sampleacct", | ||
"resourceGroupName": "default-azurebatch-japaneast", | ||
"api-version": "2024-07-01", | ||
"subscriptionId": "subid", | ||
"applicationName": "app1", | ||
"parameters": { | ||
"properties": { | ||
"allowUpdates": false, | ||
"displayName": "myAppName" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"ETag": "W/\"0x8D64F8EBB3DC411\"" | ||
}, | ||
"body": { | ||
"type": "Microsoft.Batch/batchAccounts/applications", | ||
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1", | ||
"name": "app1", | ||
"etag": "W/\"0x8D64F8EBB3DC411\"", | ||
"properties": { | ||
"allowUpdates": false, | ||
"displayName": "myAppName" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
.../batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "sampleacct", | ||
"resourceGroupName": "default-azurebatch-japaneast", | ||
"api-version": "2024-07-01", | ||
"subscriptionId": "subid", | ||
"applicationName": "app1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...ion/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "sampleacct", | ||
"resourceGroupName": "default-azurebatch-japaneast", | ||
"api-version": "2024-07-01", | ||
"subscriptionId": "subid", | ||
"applicationName": "app1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"ETag": "W/\"0x8D64F915BDF7F00\"" | ||
}, | ||
"body": { | ||
"type": "Microsoft.Batch/batchAccounts/applications", | ||
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1", | ||
"name": "app1", | ||
"etag": "W/\"0x8D64F915BDF7F00\"", | ||
"properties": { | ||
"allowUpdates": true, | ||
"displayName": "Sample Application" | ||
} | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...on/batch/resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "sampleacct", | ||
"resourceGroupName": "default-azurebatch-japaneast", | ||
"api-version": "2024-07-01", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"type": "Microsoft.Batch/batchAccounts/applications", | ||
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1", | ||
"name": "app1", | ||
"etag": "W/\"0x8D64F91A9089879\"", | ||
"properties": { | ||
"allowUpdates": false, | ||
"defaultVersion": "1" | ||
} | ||
}, | ||
{ | ||
"type": "Microsoft.Batch/batchAccounts/applications", | ||
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app2", | ||
"name": "app1", | ||
"etag": "W/\"0x8D64F91A9089879\"", | ||
"properties": { | ||
"allowUpdates": false, | ||
"defaultVersion": "2.0", | ||
"displayName": "myAppName" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...source-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationPackageActivate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "sampleacct", | ||
"resourceGroupName": "default-azurebatch-japaneast", | ||
"api-version": "2024-07-01", | ||
"subscriptionId": "subid", | ||
"applicationName": "app1", | ||
"versionName": "1", | ||
"parameters": { | ||
"format": "zip" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"ETag": "W/\"0x8D64FEC83A3B436\"" | ||
}, | ||
"body": { | ||
"type": "Microsoft.Batch/batchAccounts/applications/versions", | ||
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1", | ||
"name": "1", | ||
"etag": "W/\"0x8D64FEC83A3B436\"", | ||
"properties": { | ||
"state": "Active", | ||
"format": "zip", | ||
"lastActivationTime": "2017-06-27T18:48:09.9330991Z" | ||
} | ||
} | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
...resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationPackageCreate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "sampleacct", | ||
"resourceGroupName": "default-azurebatch-japaneast", | ||
"api-version": "2024-07-01", | ||
"subscriptionId": "subid", | ||
"applicationName": "app1", | ||
"versionName": "1" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"ETag": "W/\"0x8D64FEC83A3B436\"" | ||
}, | ||
"body": { | ||
"type": "Microsoft.Batch/batchAccounts/applications/versions", | ||
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1", | ||
"name": "1", | ||
"etag": "W/\"0x8D64FEC83A3B436\"", | ||
"properties": { | ||
"storageUrl": "http://mystorage1.blob.core.windows.net/myapp?mysas", | ||
"storageUrlExpiry": "2017-06-27T18:48:09.9330991Z", | ||
"state": "Pending" | ||
} | ||
} | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...resource-manager/Microsoft.Batch/stable/2024-07-01/examples/ApplicationPackageDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"parameters": { | ||
"accountName": "sampleacct", | ||
"resourceGroupName": "default-azurebatch-japaneast", | ||
"api-version": "2024-07-01", | ||
"subscriptionId": "subid", | ||
"applicationName": "app1", | ||
"versionName": "1" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
Oops, something went wrong.