Skip to content

Commit

Permalink
🧹 Update ARM Specs
Browse files Browse the repository at this point in the history
  • Loading branch information
lawrencegripper authored Jan 13, 2025
1 parent 99a45fb commit fbb649f
Show file tree
Hide file tree
Showing 8 changed files with 403 additions and 201 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2486,7 +2486,7 @@
"BatchAccount"
],
"operationId": "BatchAccount_ListOutboundNetworkDependenciesEndpoints",
"description": "Lists the endpoints that a Batch Compute Node under this Batch Account may call as part of Batch service administration. If you are deploying a Pool inside of a virtual network that you specify, you must make sure your network allows outbound access to these endpoints. Failure to allow access to these endpoints may cause Batch to mark the affected nodes as unusable. For more information about creating a pool inside of a virtual network, see https://docs.microsoft.com/en-us/azure/batch/batch-virtual-network.",
"description": "Lists the endpoints that a Batch Compute Node under this Batch Account may call as part of Batch service administration. If you are deploying a Pool inside of a virtual network that you specify, you must make sure your network allows outbound access to these endpoints. Failure to allow access to these endpoints may cause Batch to mark the affected nodes as unusable. For more information about creating a pool inside of a virtual network, see https://learn.microsoft.com/azure/batch/batch-virtual-network.",
"x-ms-examples": {
"ListOutboundNetworkDependencies": {
"$ref": "./examples/BatchAccountListOutboundNetworkDependenciesEndpoints.json"
Expand Down Expand Up @@ -4093,7 +4093,7 @@
"vmSize": {
"type": "string",
"title": "The size of virtual machines in the pool. All VMs in a pool are the same size.",
"description": "For information about available VM sizes, see Sizes for Virtual Machines (Linux) (https://azure.microsoft.com/documentation/articles/virtual-machines-linux-sizes/) or Sizes for Virtual Machines (Windows) (https://azure.microsoft.com/documentation/articles/virtual-machines-windows-sizes/). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series)."
"description": "For information about available VM sizes, see Sizes for Virtual Machines in Azure (https://learn.microsoft.com/azure/virtual-machines/sizes/overview). Batch supports all Azure VM sizes except STANDARD_A0 and those with premium storage (STANDARD_GS, STANDARD_DS, and STANDARD_DSV2 series)."
},
"deploymentConfiguration": {
"$ref": "#/definitions/DeploymentConfiguration",
Expand Down Expand Up @@ -4322,7 +4322,7 @@
"type": "string",
"title": "A formula for the desired number of compute nodes in the pool.",
"externalDocs": {
"url": "https://docs.microsoft.com/en-us/azure/batch/batch-automatic-scaling",
"url": "https://learn.microsoft.com/azure/batch/batch-automatic-scaling",
"description": "Create an automatic scaling formula for scaling compute nodes in a Batch pool"
}
},
Expand Down Expand Up @@ -4933,7 +4933,7 @@
"id": {
"type": "string",
"title": "The ARM resource identifier of the Azure Compute Gallery Image. Compute Nodes in the Pool will be created using this Image Id. This is of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageDefinitionName}/versions/{versionId}.",
"description": "This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration."
"description": "This property is mutually exclusive with other properties. The Azure Compute Gallery Image must have replicas in the same region as the Azure Batch account. For information about the firewall settings for the Batch node agent to communicate with the Batch service see https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration."
},
"sharedGalleryImageId": {
"type": "string",
Expand Down Expand Up @@ -5476,7 +5476,7 @@
"DiffDiskPlacement": {
"type": "string",
"title": "Specifies the ephemeral disk placement for operating system disk for all VMs in the pool.",
"description": "This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements",
"description": "This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements",
"enum": [
"CacheDisk"
],
Expand All @@ -5498,7 +5498,7 @@
"placement": {
"$ref": "#/definitions/DiffDiskPlacement",
"title": "Specifies the ephemeral disk placement for operating system disk for all VMs in the pool.",
"description": "This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://docs.microsoft.com/en-us/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements."
"description": "This property can be used by user in the request to choose which location the operating system should be in. e.g., cache disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer to Ephemeral OS disk size requirements for Windows VMs at https://learn.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VMs at https://learn.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements."
}
},
"title": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine."
Expand Down Expand Up @@ -5582,10 +5582,10 @@
"subnetId": {
"type": "string",
"title": "The ARM resource identifier of the virtual network subnet which the compute nodes of the pool will join. This is of the form /subscriptions/{subscription}/resourceGroups/{group}/providers/{provider}/virtualNetworks/{network}/subnets/{subnet}.",
"description": "The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://docs.microsoft.com/en-us/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration",
"description": "The virtual network must be in the same region and subscription as the Azure Batch account. The specified subnet should have enough free IP addresses to accommodate the number of nodes in the pool. If the subnet doesn't have enough free IP addresses, the pool will partially allocate compute nodes and a resize error will occur. The 'MicrosoftAzureBatch' service principal must have the 'Classic Virtual Machine Contributor' Role-Based Access Control (RBAC) role for the specified VNet. The specified subnet must allow communication from the Azure Batch service to be able to schedule tasks on the compute nodes. This can be verified by checking if the specified VNet has any associated Network Security Groups (NSG). If communication to the compute nodes in the specified subnet is denied by an NSG, then the Batch service will set the state of the compute nodes to unusable. If the specified VNet has any associated Network Security Groups (NSG), then a few reserved system ports must be enabled for inbound communication,including ports 29876 and 29877. Also enable outbound connections to Azure Storage on port 443. For more details see: https://learn.microsoft.com/azure/batch/batch-api-basics#virtual-network-vnet-and-firewall-configuration",
"externalDocs": {
"url": "https://azure.microsoft.com/en-us/documentation/articles/role-based-access-built-in-roles/#classic-virtual-machine-contributor",
"description": "Setting up RBAC for Azure Batch VNets"
"url": "https://learn.microsoft.com/azure/batch/batch-virtual-network",
"description": "Create an Azure Batch pool in a virtual network"
}
},
"dynamicVnetAssignmentScope": {
Expand Down Expand Up @@ -6500,7 +6500,7 @@
},
"enableAutomaticOSUpgrade": {
"type": "boolean",
"description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. <br /><br /> If this is set to true for Windows based pools, [WindowsConfiguration.enableAutomaticUpdates](https://learn.microsoft.com/en-us/rest/api/batchmanagement/pool/create?tabs=HTTP#windowsconfiguration) cannot be set to true."
"description": "Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. <br /><br /> If this is set to true for Windows based pools, [WindowsConfiguration.enableAutomaticUpdates](https://learn.microsoft.com/rest/api/batchmanagement/pool/create?tabs=HTTP#windowsconfiguration) cannot be set to true."
},
"useRollingUpgradePolicy": {
"type": "boolean",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,25 @@
"consumes": [
"application/json"
],
"security": [
{
"AadOauth2Auth": [
"https://communication.azure.com/.default"
]
}
],
"securityDefinitions": {
"AadOauth2Auth": {
"type": "oauth2",
"description": "The Azure Active Directory OAuth2 Flow",
"flow": "accessCode",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"scopes": {
"https://communication.azure.com/.default": ""
},
"tokenUrl": "https://login.microsoftonline.com/common/oauth2/token"
}
},
"tags": [],
"paths": {
"/routing/classificationPolicies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2582,7 +2582,7 @@
"items": {
"type": "string"
},
"description": "Classification category of patches to be patched"
"description": "Classification category of patches to be patched. Allowed values are 'Critical', 'Security', 'UpdateRollup', 'FeaturePack', 'ServicePack', 'Definition', 'Tools', and 'Updates'."
},
"excludeKbsRequiringReboot": {
"type": "boolean",
Expand Down Expand Up @@ -2613,7 +2613,7 @@
"items": {
"type": "string"
},
"description": "Classification category of patches to be patched"
"description": "Classification category of patches to be patched. Allowed values are 'Critical', 'Security', and 'Other'."
}
},
"description": "Input properties for patching a Linux machine."
Expand Down
27 changes: 23 additions & 4 deletions swagger-specs/maps/data-plane/Search/stable/2023-06-01/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -1147,13 +1147,32 @@
"Boundary": {
"description": "`GeoJSON GeocodingFeature` object that describe the boundaries of a geographical area. Geometry of the feature is described with `GeoJSON GeometryCollection`.\n\nPlease note, the service typically returns a GeometryCollection with Polygon or MultiPolygon sub-types.",
"type": "object",
"allOf": [
{
"$ref": "../../../Common/stable/2023-06-01/common.json#/definitions/GeoJsonFeature"
"properties": {
"type": {
"type": "string",
"description": "The type of a feature must be Feature.",
"enum": [
"Feature"
],
"x-ms-enum": {
"name": "FeatureTypeEnum",
"modelAsString": true,
"values": [
{
"value": "Feature"
}
]
}
},
{
"geometry": {
"$ref": "../../../Common/stable/2023-06-01/common.json#/definitions/GeoJsonGeometryCollection"
},
"properties": {
"$ref": "#/definitions/BoundaryProperties"
}
},
"required": [
"geometry"
]
},
"BoundaryProperties": {
Expand Down
Loading

0 comments on commit fbb649f

Please sign in to comment.