Udostępnij za pośrednictwem


LogProfilesOperationsExtensions.CreateOrUpdate Method

Definition

Create or update a log profile in Azure Monitoring 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

Parameters

operations
ILogProfilesOperations

The operations group for this extension method.

logProfileName
String

The name of the log profile.

parameters
LogProfileResource

Parameters supplied to the operation.

Returns

Applies to