Skip to content
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
"BatchAccountCreate_BYOS": {
"$ref": "./examples/BatchAccountCreate_BYOS.json"
},
"BatchAccountCreate_PrivateLink": {
"$ref": "./examples/BatchAccountCreate_Private.json"
"PrivateBatchAccountCreate": {
"$ref": "./examples/PrivateBatchAccountCreate.json"
}
},
"description": "Creates a new Batch account with the specified parameters. Existing accounts cannot be updated with this API and should instead be updated with the Update Batch Account API.",
Expand Down Expand Up @@ -226,6 +226,9 @@
"x-ms-examples": {
"BatchAccountGet": {
"$ref": "./examples/BatchAccountGet.json"
},
"PrivateBatchAccountGet": {
"$ref": "./examples/PrivateBatchAccountGet.json"
}
},
"description": "Gets information about the specified Batch account.",
Expand Down Expand Up @@ -2236,6 +2239,7 @@
},
"publicNetworkAccess": {
"title": "The network access type for accessing Azure Batch account.",
"description": "If not specified, the default value is 'enabled'.",
"$ref": "#/definitions/PublicNetworkAccessType"
},
"encryption": {
Expand Down Expand Up @@ -2391,6 +2395,15 @@
"description": "If not specified, the default value is 'enabled'.",
"$ref": "#/definitions/PublicNetworkAccessType"
},
"privateEndpointConnections": {
"readOnly": true,
"x-nullable": true,
"type": "array",
"items": {
"$ref": "#/definitions/PrivateEndpointConnection"
},
"description": "List of private endpoint connections associated with the Batch account"
},
"autoStorage": {
"title": "The properties and status of any auto-storage account associated with the Batch account.",
"readOnly": true,
Expand Down Expand Up @@ -3098,6 +3111,14 @@
},
"title": "The list of required members that are used to establish the private link connection.",
"readOnly": true
},
"requiredZoneNames": {
"type": "array",
"items": {
"type": "string"
},
"title": "The list of required zone names for the private DNS resource name",
"readOnly": true
}
},
"description": "Private link resource properties."
Expand Down Expand Up @@ -3185,6 +3206,9 @@
"readOnly": true
}
},
"required": [
"status"
],
"description": "The private link service connection state of the private endpoint connection"
},
"PrivateLinkServiceConnectionStatus": {
Expand Down Expand Up @@ -3512,13 +3536,13 @@
"type": "integer",
"format": "int32",
"title": "The desired number of dedicated compute nodes in the pool.",
"description": "At least one of targetDedicatedNodes, targetLowPriority nodes must be set."
"description": "At least one of targetDedicatedNodes, targetLowPriorityNodes must be set."
},
"targetLowPriorityNodes": {
"type": "integer",
"format": "int32",
"title": "The desired number of low-priority compute nodes in the pool.",
"description": "At least one of targetDedicatedNodes, targetLowPriority nodes must be set."
"description": "At least one of targetDedicatedNodes, targetLowPriorityNodes must be set."
},
"nodeDeallocationOption": {
"title": "Determines what to do with a node and its running task(s) if the pool size is decreasing.",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"parameters": {
"accountName": "sampleacct",
"resourceGroupName": "default-azurebatch-japaneast",
"api-version": "2020-03-01",
"subscriptionId": "subid"
},
"responses": {
"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": "Disabled",
"privateEndpointConnections": [
{
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/privateEndpointConnections/testprivateEndpointConnection",
"name": "testprivateEndpointConnection",
"type": "Microsoft.Batch/batchAccounts/privateEndpointConnections",
"properties": {
"privateEndpoint": {
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Network/privateEndpoints/testprivateEndpoint"
},
"privateLinkServiceConnectionState": {
"status": "Approved",
"description": "Approved by xyz.abc@company.com"
}
}
}
]
},
"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
Expand Up @@ -16,6 +16,9 @@
"groupId": "batchAccount",
"requiredMembers": [
"batchAccount"
],
"requiredZoneNames": [
"privatelink.japaneast.batch.azure.com"
]
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
"groupId": "batchAccount",
"requiredMembers": [
"batchAccount"
],
"requiredZoneNames": [
"privatelink.japaneast.batch.azure.com"
]
}
}
Expand Down