Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Batch to add version sta…
Browse files Browse the repository at this point in the history
…ble/2023-05-01 (Azure#24163)
  • Loading branch information
jingjlii authored and harryli0108 committed Jul 28, 2023
1 parent efebdd6 commit 76e3317
Show file tree
Hide file tree
Showing 73 changed files with 11,333 additions and 2 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"parameters": {
"accountName": "sampleacct",
"resourceGroupName": "default-azurebatch-japaneast",
"api-version": "2023-05-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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"accountName": "sampleacct",
"resourceGroupName": "default-azurebatch-japaneast",
"api-version": "2023-05-01",
"subscriptionId": "subid",
"applicationName": "app1"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"accountName": "sampleacct",
"resourceGroupName": "default-azurebatch-japaneast",
"api-version": "2023-05-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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"parameters": {
"accountName": "sampleacct",
"resourceGroupName": "default-azurebatch-japaneast",
"api-version": "2023-05-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"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"accountName": "sampleacct",
"resourceGroupName": "default-azurebatch-japaneast",
"api-version": "2023-05-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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"accountName": "sampleacct",
"resourceGroupName": "default-azurebatch-japaneast",
"api-version": "2023-05-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"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"accountName": "sampleacct",
"resourceGroupName": "default-azurebatch-japaneast",
"api-version": "2023-05-01",
"subscriptionId": "subid",
"applicationName": "app1",
"versionName": "1"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"parameters": {
"accountName": "sampleacct",
"resourceGroupName": "default-azurebatch-japaneast",
"api-version": "2023-05-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": {
"state": "Active",
"format": "zip",
"lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"parameters": {
"accountName": "sampleacct",
"resourceGroupName": "default-azurebatch-japaneast",
"api-version": "2023-05-01",
"subscriptionId": "subid",
"applicationName": "app1"
},
"responses": {
"200": {
"body": {
"value": [
{
"type": "Microsoft.Batch/batchAccounts/applications/versions",
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/1.0",
"name": "1.0",
"etag": "W/\"0x8D64FF0B9F47F67\"",
"properties": {
"state": "Pending"
}
},
{
"type": "Microsoft.Batch/batchAccounts/applications/versions",
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1/versions/2.0",
"name": "2.0",
"etag": "W/\"0x8D64FF0B9F47F67\"",
"properties": {
"state": "Active",
"format": "zip",
"lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"parameters": {
"accountName": "sampleacct",
"resourceGroupName": "default-azurebatch-japaneast",
"api-version": "2023-05-01",
"subscriptionId": "subid",
"applicationName": "app1",
"parameters": {
"properties": {
"allowUpdates": true,
"displayName": "myAppName",
"defaultVersion": "2"
}
}
},
"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": "myAppName",
"defaultVersion": "2"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"parameters": {
"accountName": "sampleacct",
"resourceGroupName": "default-azurebatch-japaneast",
"api-version": "2023-05-01",
"subscriptionId": "subid",
"parameters": {
"location": "japaneast",
"properties": {
"autoStorage": {
"storageAccountId": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"
},
"poolAllocationMode": "UserSubscription",
"keyVaultReference": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample",
"url": "http://sample.vault.azure.net/"
}
}
}
},
"responses": {
"202": {},
"200": {
"body": {
"name": "sampleacct",
"location": "japaneast",
"properties": {
"accountEndpoint": "sampleacct.japaneast.batch.azure.com",
"provisioningState": "Succeeded",
"poolAllocationMode": "UserSubscription",
"dedicatedCoreQuota": 20,
"lowPriorityCoreQuota": 20,
"poolQuota": 20,
"activeJobAndJobScheduleQuota": 20,
"autoStorage": {
"storageAccountId": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
"lastKeySync": "2016-03-10T23:48:38.9878479Z"
},
"keyVaultReference": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.KeyVault/vaults/sample",
"url": "http://sample.vault.azure.net/"
},
"publicNetworkAccess": "Enabled"
},
"identity": {
"type": "None"
},
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct",
"type": "Microsoft.Batch/batchAccounts"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parameters": {
"accountName": "sampleacct",
"resourceGroupName": "default-azurebatch-japaneast",
"api-version": "2023-05-01",
"subscriptionId": "subid",
"parameters": {
"location": "japaneast",
"properties": {
"autoStorage": {
"storageAccountId": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage"
}
}
}
},
"responses": {
"202": {},
"200": {
"body": {
"name": "sampleacct",
"location": "japaneast",
"properties": {
"accountEndpoint": "sampleacct.japaneast.batch.azure.com",
"provisioningState": "Succeeded",
"poolAllocationMode": "BatchService",
"dedicatedCoreQuota": 20,
"lowPriorityCoreQuota": 20,
"poolQuota": 20,
"activeJobAndJobScheduleQuota": 20,
"autoStorage": {
"storageAccountId": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Storage/storageAccounts/samplestorage",
"lastKeySync": "2016-03-10T23:48:38.9878479Z"
},
"publicNetworkAccess": "Enabled"
},
"identity": {
"type": "None"
},
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct",
"type": "Microsoft.Batch/batchAccounts"
}
}
}
}
Loading

0 comments on commit 76e3317

Please sign in to comment.