你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

FavoritesOperationsExtensions.Add 方法

定义

将新收藏夹添加到 Application Insights 组件。

public static Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentFavorite Add(this Microsoft.Azure.Management.ApplicationInsights.Management.IFavoritesOperations operations, string resourceGroupName, string resourceName, string favoriteId, Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentFavorite favoriteProperties);
static member Add : Microsoft.Azure.Management.ApplicationInsights.Management.IFavoritesOperations * string * string * string * Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentFavorite -> Microsoft.Azure.Management.ApplicationInsights.Management.Models.ApplicationInsightsComponentFavorite
<Extension()>
Public Function Add (operations As IFavoritesOperations, resourceGroupName As String, resourceName As String, favoriteId As String, favoriteProperties As ApplicationInsightsComponentFavorite) As ApplicationInsightsComponentFavorite

参数

operations
IFavoritesOperations

此扩展方法的操作组。

resourceGroupName
String

资源组的名称。 此名称不区分大小写。

resourceName
String

Application Insights 组件资源的名称。

favoriteId
String

Application Insights 组件中定义的特定收藏夹的 ID

favoriteProperties
ApplicationInsightsComponentFavorite

需要指定以创建新收藏夹并将其添加到 Application Insights 组件的属性。

返回

适用于