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

LogProfilesOperationsExtensions.CreateOrUpdate 方法

定义

在 Azure 监视 REST API 中创建或更新日志配置文件。

public static Microsoft.Azure.Management.Monitor.Models.LogProfileResource CreateOrUpdate (this Microsoft.Azure.Management.Monitor.ILogProfilesOperations operations, string logProfileName, Microsoft.Azure.Management.Monitor.Models.LogProfileResource parameters);
static member CreateOrUpdate : Microsoft.Azure.Management.Monitor.ILogProfilesOperations * string * Microsoft.Azure.Management.Monitor.Models.LogProfileResource -> Microsoft.Azure.Management.Monitor.Models.LogProfileResource
<Extension()>
Public Function CreateOrUpdate (operations As ILogProfilesOperations, logProfileName As String, parameters As LogProfileResource) As LogProfileResource

参数

operations
ILogProfilesOperations

此扩展方法的操作组。

logProfileName
String

日志配置文件的名称。

parameters
LogProfileResource

提供给操作的参数。

返回

适用于