Share via


PrivateLinkScopesOperationsExtensions.CreateOrUpdate Method

Definition

Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.

public static Microsoft.Azure.Management.Monitor.Models.AzureMonitorPrivateLinkScope CreateOrUpdate (this Microsoft.Azure.Management.Monitor.IPrivateLinkScopesOperations operations, string resourceGroupName, string scopeName, Microsoft.Azure.Management.Monitor.Models.AzureMonitorPrivateLinkScope azureMonitorPrivateLinkScopePayload);
static member CreateOrUpdate : Microsoft.Azure.Management.Monitor.IPrivateLinkScopesOperations * string * string * Microsoft.Azure.Management.Monitor.Models.AzureMonitorPrivateLinkScope -> Microsoft.Azure.Management.Monitor.Models.AzureMonitorPrivateLinkScope
<Extension()>
Public Function CreateOrUpdate (operations As IPrivateLinkScopesOperations, resourceGroupName As String, scopeName As String, azureMonitorPrivateLinkScopePayload As AzureMonitorPrivateLinkScope) As AzureMonitorPrivateLinkScope

Parameters

operations
IPrivateLinkScopesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

scopeName
String

The name of the Azure Monitor PrivateLinkScope resource.

azureMonitorPrivateLinkScopePayload
AzureMonitorPrivateLinkScope

Properties that need to be specified to create or update a Azure Monitor PrivateLinkScope.

Returns

Applies to