You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cost-management-billing/reservations/prepare-buy-reservation.md
+2-12Lines changed: 2 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: bandersmsft
5
5
ms.reviewer: yashar
6
6
ms.service: cost-management-billing
7
7
ms.topic: conceptual
8
-
ms.date: 03/22/2020
8
+
ms.date: 03/24/2020
9
9
ms.author: banders
10
10
---
11
11
@@ -27,7 +27,7 @@ You can scope a reservation to a subscription or resource groups. Setting the sc
27
27
28
28
### Reservation scoping options
29
29
30
-
With resource group scoping you have three options to scope a reservation, depending on your needs:
30
+
You have three options to scope a reservation, depending on your needs:
31
31
32
32
-**Single resource group scope**—Applies the reservation discount to the matching resources in the selected resource group only.
33
33
-**Single subscription scope**—Applies the reservation discount to the matching resources in the selected subscription.
@@ -41,16 +41,6 @@ While applying reservation discounts on your usage, Azure processes the reservat
41
41
42
42
A single resource group can get reservation discounts from multiple reservations, depending on how you scope your reservations.
43
43
44
-
### Scope a reservation to a resource group
45
-
46
-
You can scope the reservation to a resource group when you buy the reservation, or you set the scope after purchase. You must be a subscription owner to scope the reservation to a resource group.
47
-
48
-
To set the scope, go to the [Purchase reservation](https://ms.portal.azure.com/#blade/Microsoft\_Azure\_Reservations/CreateBlade/referrer/Browse\_AddCommand) page in the Azure portal. Select the reservation type that you want to buy. On the **Select the product that you want to purchase** selection form, change the Scope value to Single resource group. Then, select a resource group.
49
-
50
-

51
-
52
-
Purchase recommendations for the resource group in the virtual machine reservation are shown. Recommendations are calculated by analyzing your usage over the last 30 days. A purchase recommendation is made if the cost of running resources with reserved instances is cheaper than the cost of running resources with pay-as-you-go rates. For more information about reservation purchase recommendations, see [Get Reserved Instance purchase recommendations based on usage pattern](https://azure.microsoft.com/blog/get-usage-based-reserved-instance-recommendations).
53
-
54
44
You can always update the scope after you buy a reservation. To do so, go to the reservation, click **Configuration**, and rescope the reservation. Rescoping a reservation isn't a commercial transaction. Your reservation term isn't changed. For more information about updating the scope, see [Update the scope after you purchase a reservation](manage-reserved-vm-instance.md#change-the-reservation-scope).
55
45
56
46

Copy file name to clipboardExpand all lines: articles/iot-edge/how-to-edgeagent-direct-method.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,9 +17,11 @@ Monitor and manage IoT Edge deployments by using the direct methods included in
17
17
18
18
For more information about direct methods, how to use them, and how to implement them in your own modules, see [Understand and invoke direct methods from IoT Hub](../iot-hub/iot-hub-devguide-direct-methods.md).
19
19
20
+
The names of these direct methods are handled case-insensitive.
21
+
20
22
## Ping
21
23
22
-
The **ping** method is useful for checking whether IoT Edge is running on a device, or whether the device has an open connection to ioT Hub. Use this direct method to ping the IoT Edge agent and get its status. A successful ping returns an empty payload and **"status": 200**.
24
+
The **ping** method is useful for checking whether IoT Edge is running on a device, or whether the device has an open connection to IoT Hub. Use this direct method to ping the IoT Edge agent and get its status. A successful ping returns an empty payload and **"status": 200**.
Copy file name to clipboardExpand all lines: articles/load-balancer/load-balancer-ha-ports-overview.md
-1Lines changed: 0 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,6 @@ You can configure *one* public Standard Load Balancer resource for the back-end
92
92
- HA ports load-balancing rules are available only for internal Standard Load Balancer.
93
93
- The combining of an HA ports load-balancing rule and a non-HA ports load-balancing rule is not supported.
94
94
- Existing IP fragments will be forwarded by HA Ports load-balancing rules to same destination as first packet. IP fragmenting a UDP or TCP packet is not supported.
95
-
- The HA ports load-balancing rules are not available for IPv6.
96
95
- Flow symmetry (primarily for NVA scenarios) is supported with backend instance and a single NIC (and single IP configuration) only when used as shown in the diagram above and using HA Ports load-balancing rules. It is not provided in any other scenario. This means that two or more Load Balancer resources and their respective rules make independent decisions and are never coordinated. See the description and diagram for [network virtual appliances](#nva). When you are using multiple NICs or sandwiching the NVA between a public and internal Load Balancer, flow symmetry is not available. You may be able to work around this by source NAT'ing the ingress flow to the IP of the appliance to allow replies to arrive on the same NVA. However, we strongly recommend using a single NIC and using the reference architecture shown in the diagram above.
## Fetch data for running experiment on remote compute
101
102
@@ -125,14 +126,14 @@ Use custom validation dataset if random split is not acceptable, usually time se
125
126
## Compute to run experiment
126
127
127
128
Next determine where the model will be trained. An automated machine learning training experiment can run on the following compute options:
128
-
*Your local machine such as a local desktop or laptop – Generally when you have small dataset and you are still in the exploration stage.
129
-
*A remote machine in the cloud – [Azure Machine Learning Managed Compute](concept-compute-target.md#amlcompute) is a managed service that enables the ability to train machine learning models on clusters of Azure virtual machines.
129
+
* Your local machine such as a local desktop or laptop – Generally when you have small dataset and you are still in the exploration stage.
130
+
* A remote machine in the cloud – [Azure Machine Learning Managed Compute](concept-compute-target.md#amlcompute) is a managed service that enables the ability to train machine learning models on clusters of Azure virtual machines.
130
131
131
-
See this [GitHub site](https://github.com/Azure/MachineLearningNotebooks/tree/master/how-to-use-azureml/automated-machine-learning) for examples of notebooks with local and remote compute targets.
132
+
See this [GitHub site](https://github.com/Azure/MachineLearningNotebooks/tree/master/how-to-use-azureml/automated-machine-learning) for examples of notebooks with local and remote compute targets.
132
133
133
-
*An Azure Databricks cluster in your Azure subscription. You can find more details here - [Setup Azure Databricks cluster for Automated ML](how-to-configure-environment.md#azure-databricks)
134
+
* An Azure Databricks cluster in your Azure subscription. You can find more details here - [Setup Azure Databricks cluster for Automated ML](how-to-configure-environment.md#azure-databricks)
134
135
135
-
See this [GitHub site](https://github.com/Azure/MachineLearningNotebooks/tree/master/how-to-use-azureml/azure-databricks/automl) for examples of notebooks with Azure Databricks.
136
+
See this [GitHub site](https://github.com/Azure/MachineLearningNotebooks/tree/master/how-to-use-azureml/azure-databricks/automl) for examples of notebooks with Azure Databricks.
136
137
137
138
<aname='configure-experiment'></a>
138
139
@@ -142,30 +143,30 @@ There are several options that you can use to configure your automated machine l
142
143
143
144
Some examples include:
144
145
145
-
1. Classification experiment using AUC weighted as the primary metric with experiment timeout minutes set to 30 minutes and2 cross-validation folds.
146
-
147
-
```python
148
-
automl_classifier=AutoMLConfig(
149
-
task='classification',
150
-
primary_metric='AUC_weighted',
151
-
experiment_timeout_minutes=30,
152
-
blacklist_models=['XGBoostClassifier'],
153
-
training_data=train_data,
154
-
label_column_name=label,
155
-
n_cross_validations=2)
156
-
```
157
-
2. Below is an example of a regression experiment set to end after 60 minutes with five validation cross folds.
158
-
159
-
```python
160
-
automl_regressor= AutoMLConfig(
161
-
task='regression',
162
-
experiment_timeout_minutes=60,
163
-
whitelist_models=['kNN regressor'],
164
-
primary_metric='r2_score',
165
-
training_data=train_data,
166
-
label_column_name=label,
167
-
n_cross_validations=5)
168
-
```
146
+
1. Classification experiment using AUC weighted as the primary metric with experiment timeout minutes set to 30 minutes and 2 cross-validation folds.
147
+
148
+
```python
149
+
automl_classifier=AutoMLConfig(
150
+
task='classification',
151
+
primary_metric='AUC_weighted',
152
+
experiment_timeout_minutes=30,
153
+
blacklist_models=['XGBoostClassifier'],
154
+
training_data=train_data,
155
+
label_column_name=label,
156
+
n_cross_validations=2)
157
+
```
158
+
2. Below is an example of a regression experiment set to end after 60 minutes with five validation cross folds.
159
+
160
+
```python
161
+
automl_regressor = AutoMLConfig(
162
+
task='regression',
163
+
experiment_timeout_minutes=60,
164
+
whitelist_models=['kNN regressor'],
165
+
primary_metric='r2_score',
166
+
training_data=train_data,
167
+
label_column_name=label,
168
+
n_cross_validations=5)
169
+
```
169
170
170
171
The three different `task` parameter values (the third task-type is `forecasting`, and uses a similar algorithm pool as `regression` tasks) determine the list of models to apply. Use the `whitelist` or `blacklist` parameters to further modify iterations with the available models to include or exclude. The list of supported models can be found on [SupportedModels Class](https://docs.microsoft.com/python/api/azureml-train-automl-client/azureml.train.automl.constants.supportedmodels) for ([Classification](https://docs.microsoft.com/python/api/azureml-train-automl-client/azureml.train.automl.constants.supportedmodels.classification), [Forecasting](https://docs.microsoft.com/python/api/azureml-train-automl-client/azureml.train.automl.constants.supportedmodels.forecasting), and [Regression](https://docs.microsoft.com/python/api/azureml-train-automl-client/azureml.train.automl.constants.supportedmodels.regression)).
Copy file name to clipboardExpand all lines: articles/stream-analytics/stream-analytics-twitter-sentiment-analysis-trends.md
+4-10Lines changed: 4 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ In this how-to guide, you use a client application that connects to Twitter and
34
34
35
35
* The TwitterClientCore application, which reads the Twitter feed. To get this application, download [TwitterClientCore](https://github.com/Azure/azure-stream-analytics/tree/master/DataGenerators/TwitterClientCore).
36
36
37
-
* Install the [.NET Core CLI](https://docs.microsoft.com/dotnet/core/tools/?tabs=netcore2x).
37
+
* Install the [.NET Core CLI](https://docs.microsoft.com/dotnet/core/tools/?tabs=netcore2x) version 2.1.0.
38
38
39
39
## Create an event hub for streaming input
40
40
@@ -89,12 +89,6 @@ Before a process can send data to an event hub, the event hub needs a policy tha
89
89
> [!NOTE]
90
90
> For security, parts of the connection string in the example have been removed.
91
91
92
-
8. In the text editor, remove the `EntityPath` pair from the connection string (don't forget to remove the semicolon that precedes it). When you're done, the connection string looks like this:
## Configure and start the Twitter client application
99
93
100
94
The client application gets tweet events directly from Twitter. In order to do so, it needs permission to call the Twitter Streaming APIs. To configure that permission, you create an application in Twitter, which generates unique credentials (such as an OAuth token). You can then configure the client application to use these credentials when it makes API calls.
@@ -105,7 +99,7 @@ If you do not already have a Twitter application that you can use for this how-t
105
99
> [!NOTE]
106
100
> The exact process in Twitter for creating an application and getting the keys, secrets, and token might change. If these instructions don't match what you see on the Twitter site, refer to the Twitter developer documentation.
107
101
108
-
1. From a web browser, go to [Twitter For Developers](https://developer.twitter.com/en/apps), and select **Create an app**. You might see a message saying that you need to apply for a Twitter developer account. Feel free to do so, and after your application has been approved, you should see a confirmation email. It could take several days to be approved for a developer account.
102
+
1. From a web browser, go to [Twitter For Developers](https://developer.twitter.com/en/apps), create a developer account, and select **Create an app**. You might see a message saying that you need to apply for a Twitter developer account. Feel free to do so, and after your application has been approved, you should see a confirmation email. It could take several days to be approved for a developer account.
@@ -134,7 +128,7 @@ Before the application runs, it requires certain information from you, like the
134
128
* Set `oauth_consumer_secret` to the Twitter Consumer Secret (API secret key).
135
129
* Set `oauth_token` to the Twitter Access token.
136
130
* Set `oauth_token_secret` to the Twitter Access token secret.
137
-
* Set `EventHubNameConnectionString` to the connection string. Make sure that you use the connection string that you removed the `EntityPath` key-value pair from.
131
+
* Set `EventHubNameConnectionString` to the connection string.
138
132
* Set `EventHubName` to the event hub name (that is the value of the entity path).
139
133
140
134
3. Open the command line and navigate to the directory where your TwitterClientCore app is located. Use the command `dotnet build` to build the project. Then use the command `dotnet run` to run the app. The app sends Tweets to your Event Hub.
@@ -233,4 +227,4 @@ For further assistance, try our [Azure Stream Analytics forum](https://social.ms
233
227
*[Get started using Azure Stream Analytics](stream-analytics-real-time-fraud-detection.md)
0 commit comments