Skip to content

Commit 312c636

Browse files
authored
Merge pull request #290893 from MicrosoftDocs/main
11/21/2024 AM Publish
2 parents 18e82f7 + fddda3d commit 312c636

File tree

72 files changed

+435
-220
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+435
-220
lines changed

articles/app-service/environment/networking.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ App Service Environment is a single-tenant deployment of Azure App Service that
1616
1717
## Subnet requirements
1818

19-
You must delegate the subnet to `Microsoft.Web/hostingEnvironments`, and the subnet must be empty.
19+
The following are the minimum set of requirements for the subnet your App Service Environment is in.
20+
21+
- The subnet must be delegated to `Microsoft.Web/hostingEnvironments`.
22+
- The subnet must be empty.
23+
- The subnet's `addressPrefix` property must be formatted as a string, not an array.
2024

2125
The size of the subnet can affect the scaling limits of the App Service plan instances within the App Service Environment. For production scale, we recommend a `/24` address space (256 addresses) for your subnet. If you plan to scale near max capacity of 200 instances in our App Service Environment and you plan frequent up/down scale operations, we recommend a `/23` address space (512 addresses) for your subnet.
2226

articles/azure-maps/map-add-line-layer.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function InitMap()
6868
map.events.add('ready', function () {
6969

7070
//Load the custom image icon into the map resources.
71-
map.imageSprite.add('arrow-icon', 'https://s3-us-west-2.amazonaws.com/s.cdpn.io/1717245/purpleArrowRight.png').then(function () {
71+
map.imageSprite.add('arrow-icon', '/images/icons/purpleArrowRight.png').then(function () {
7272
//Create a data source and add it to the map.
7373
datasource = new atlas.source.DataSource();
7474
map.sources.add(datasource);
@@ -125,6 +125,9 @@ This code creates a map that appears as follows:
125125

126126
:::image type="content" source="./media/map-add-line-layer/add-symbols-along-a-line.png" lightbox="./media/map-add-line-layer/add-symbols-along-a-line.png" alt-text="A screenshot showing a line layer on an Azure Maps map with arrow symbols along the line.":::
127127

128+
> [!NOTE]
129+
> For a copy of the image file used in the above sample, see [purpleArrowRight.png](https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/main/Static/images/icons/purpleArrowRight.png) in GitHub.
130+
128131
<!-----------------------------------------------------------------------
129132
> [!VIDEO //codepen.io/azuremaps/embed/drBJwX/?height=500&theme-id=0&default-tab=js,result&editable=true]
130133
----------------------------------------------------------------------->

articles/azure-maps/map-add-pin.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function InitMap()
125125
map.events.add('ready', function () {
126126

127127
//Load the custom image icon into the map resources.
128-
map.imageSprite.add('my-custom-icon', 'https://s3-us-west-2.amazonaws.com/s.cdpn.io/1717245/showers.png').then(function () {
128+
map.imageSprite.add('my-custom-icon', '/images/icons/showers.png').then(function () {
129129

130130
//Create a data source and add it to the map.
131131
var datasource = new atlas.source.DataSource();
@@ -160,6 +160,9 @@ function InitMap()
160160

161161
:::image type="content" source="./media/map-add-pin/add-custom-icon-to-symbol-layer.png" alt-text="A screenshot of map with a pin added using the symbol layer with a custom icon.":::
162162

163+
> [!NOTE]
164+
> For a copy of the image file used in the above sample, see [showers.png](https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/main/Static/images/icons/showers.png) in GitHub.
165+
163166
<!-------------------------------------------
164167
> [!VIDEO //codepen.io/azuremaps/embed/WYWRWZ/?height=500&theme-id=0&default-tab=js,result&embed-version=2&editable=true]
165168
------------------------------------->
365 KB
Loading
-130 KB
Loading

articles/azure-maps/spatial-io-add-simple-data-layer.md

Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,18 @@ function InitMap()
6363
map.layers.add(layer);
6464

6565
//Load an initial data set.
66-
loadDataSet('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1717245/use-simple-data-layer.json');
66+
const dataSet = {
67+
"type": "Feature",
68+
"geometry": {
69+
"type": "Point",
70+
"coordinates": [0, 0]
71+
},
72+
"properties": {
73+
"color": "red"
74+
}
75+
};
76+
77+
loadDataSet(dataSet);
6778

6879
function loadDataSet(url) {
6980
//Read the spatial data and add it to the map.
@@ -86,21 +97,6 @@ function InitMap()
8697
}
8798
```
8899

89-
The url passed to the `loadDataSet` function points to the following json:
90-
91-
```json
92-
{
93-
"type": "Feature",
94-
"geometry": {
95-
"type": "Point",
96-
"coordinates": [0, 0]
97-
},
98-
"properties": {
99-
"color": "red"
100-
}
101-
}
102-
```
103-
104100
Once you add features to the data source, the simple data layer figures out how best to render them. Styles for individual features can be set as properties on the feature.
105101

106102
The above sample code shows a GeoJSON point feature with a `color` property set to `red`.

articles/azure-maps/spatial-io-read-write-spatial-data.md

Lines changed: 46 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -84,58 +84,57 @@ atlas.io.read('https://nonCorsDomain.example.com/mySuperCoolData.xml', {
8484
The following code snippet shows how to read a delimited file and render it on the map. In this case, the code uses a CSV file that has spatial data columns. You must add a reference to the Azure Maps Spatial IO module.
8585

8686
```javascript
87-
8887
<!-- Add reference to the Azure Maps Spatial IO module. -->
8988
<script src="https://atlas.microsoft.com/sdk/javascript/spatial/0/atlas-spatial.min.js"></script>
9089

91-
<script type="text/javascript">
92-
var map, datasource, layer;
93-
94-
//a URL pointing to the CSV file
95-
var delimitedFileUrl = "https://s3-us-west-2.amazonaws.com/s.cdpn.io/1717245/earthquakes_gt7_alltime.csv";
96-
97-
function InitMap()
98-
{
99-
map = new atlas.Map('myMap', {
100-
center: [-73.985708, 40.75773],
101-
zoom: 12,
102-
view: "Auto",
103-
104-
//Add authentication details for connecting to Azure Maps.
105-
authOptions: {
106-
// Get an Azure Maps key at https://azuremaps.com/.
107-
authType: 'subscriptionKey',
108-
subscriptionKey: '{Your-Azure-Maps-Subscription-key}'
109-
},
110-
});
111-
112-
//Wait until the map resources are ready.
113-
map.events.add('ready', function () {
114-
//Create a data source and add it to the map.
115-
datasource = new atlas.source.DataSource();
116-
map.sources.add(datasource);
117-
118-
//Add a simple data layer for rendering the data.
119-
layer = new atlas.layer.SimpleDataLayer(datasource);
120-
map.layers.add(layer);
121-
122-
//Read a CSV file from a URL or pass in a raw string.
123-
atlas.io.read(delimitedFileUrl).then(r => {
124-
if (r) {
125-
//Add the feature data to the data source.
126-
datasource.add(r);
127-
128-
//If bounding box information is known for data, set the map view to it.
129-
if (r.bbox) {
130-
map.setCamera({
131-
bounds: r.bbox,
132-
padding: 50
90+
<script>
91+
var datasource, delimitedFileUrl = "Chicago_Police_Stations.csv";
92+
// Download CSV file (delimitedFileUrl) from:
93+
// https://github.com/Azure-Samples/AzureMapsCodeSamples/blob/main/Static/data/SpatialCSV/Chicago_Police_Stations.csv
94+
95+
function GetMap() {
96+
97+
//Instantiate a map object
98+
var map = new atlas.Map("myMap", {
99+
center: [-87.628899, 41.874693],
100+
zoom: 9,
101+
view: "Auto",
102+
// Replace <Your Azure Maps Subscription Key> with your Azure Maps subscription key. https://aka.ms/am-primaryKey
103+
authOptions: {
104+
authType: 'subscriptionKey',
105+
subscriptionKey: '{Your-Azure-Maps-Subscription-key}'
106+
}
107+
});
108+
109+
//Wait until the map resources are ready.
110+
map.events.add('ready', function () {
111+
112+
//Create a data source and add it to the map.
113+
datasource = new atlas.source.DataSource();
114+
map.sources.add(datasource);
115+
116+
//Add a simple data layer for rendering the data.
117+
layer = new atlas.layer.SimpleDataLayer(datasource);
118+
map.layers.add(layer);
119+
120+
//Read a CSV file from a URL or pass in a raw string.
121+
atlas.io.read(delimitedFileUrl).then(r => {
122+
if (r) {
123+
124+
//Add the feature data to the data source.
125+
datasource.add(r);
126+
127+
//If bounding box information is known for data, set the map view to it.
128+
if (r.bbox) {
129+
map.setCamera({
130+
bounds: r.bbox,
131+
padding: 50
132+
});
133+
}
134+
}
135+
});
133136
});
134137
}
135-
}
136-
});
137-
});
138-
}
139138
</script>
140139
```
141140

articles/backup/backup-azure-mysql-flexible-server-about.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Overview - retention of Azure Database for MySQL - Flexible Server for long term by using Azure Backup
33
description: This article provides an overview of Azure Database for MySQL - Flexible Server retention for long term.
44
ms.topic: overview
5-
ms.date: 03/08/2024
5+
ms.date: 11/21/2024
66
ms.service: azure-backup
77
ms.custom: engagement-fy23
88
author: AbhishekMallick-MS
@@ -11,6 +11,8 @@ ms.author: v-abhmallick
1111

1212
# Long-term retention for Azure Database for MySQL - Flexible Server by using Azure Backup (preview)
1313

14+
[!INCLUDE [Azure Database for MySQL - Flexible Server backup advisory](../../includes/backup-mysql-flexible-server-advisory.md)]
15+
1416
Azure Backup and Azure Database Services together allow you to build an enterprise-class backup solution for Azure Database for MySQL - Flexible servers that retain backups for **up to 10 years**. If you have an Azure Database for MySQL - Flexible server, then you can extend the retention of backups beyond 35 days with built-in operational tier backup capability of MySQL - Flexible database.
1517

1618
This feature allows you to extend the current limitation of *35 days* backup retention to *10 years*, meeting your compliance and regulatory requirements.

articles/backup/backup-azure-mysql-flexible-server-restore.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
title: Restore the Azure Database for MySQL - Flexible Server by using Azure Backup
33
description: Learn how to restore the Azure Database for MySQL - Flexible Server.
44
ms.topic: how-to
5-
ms.date: 03/08/2024
5+
ms.date: 11/21/2024
66
author: AbhishekMallick-MS
77
ms.author: v-abhmallick
88
---
99

1010
# Restore the Azure Database for MySQL - Flexible Server by using Azure Backup (preview)
1111

12+
[!INCLUDE [Azure Database for MySQL - Flexible Server backup advisory](../../includes/backup-mysql-flexible-server-advisory.md)]
13+
1214
This article describes how to restore the Azure Database for MySQL - Flexible Server by using Azure Backup.
1315

1416
Learn more about the [supported scenarios. considerations, and limitations](backup-azure-mysql-flexible-server-support-matrix.md).

articles/backup/backup-azure-mysql-flexible-server-support-matrix.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Support matrix for Azure Database for MySQL - Flexible Server retention for long term by using Azure Backup
33
description: Provides a summary of support settings and limitations when backing up Azure Database for MySQL - Flexible Server.
44
ms.topic: reference
5-
ms.date: 09/11/2024
5+
ms.date: 11/21/2024
66
ms.custom: references_regions
77
ms.service: azure-backup
88
author: AbhishekMallick-MS
@@ -11,6 +11,8 @@ ms.author: v-abhmallick
1111

1212
# Support matrix for Azure Database for MySQL - Flexible Server protection by using Azure Backup (preview)
1313

14+
[!INCLUDE [Azure Database for MySQL - Flexible Server backup advisory](../../includes/backup-mysql-flexible-server-advisory.md)]
15+
1416
This article summarizes the supported scenarios, considerations, and limitations for Azure Database for MySQL - Flexible Server backup and retention for long term by using [Azure Backup](./backup-overview.md).
1517

1618
## Supported regions

0 commit comments

Comments
 (0)