Bagikan melalui


PrivateLinkScopedResourcesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Approve or reject a private endpoint connection with a given name.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.ScopedResource> CreateOrUpdateAsync (this Microsoft.Azure.Management.Monitor.IPrivateLinkScopedResourcesOperations operations, string resourceGroupName, string scopeName, string name, string linkedResourceId = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Monitor.IPrivateLinkScopedResourcesOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Monitor.Models.ScopedResource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPrivateLinkScopedResourcesOperations, resourceGroupName As String, scopeName As String, name As String, Optional linkedResourceId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ScopedResource)

Parameters

operations
IPrivateLinkScopedResourcesOperations

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.

name
String

The name of the scoped resource object.

linkedResourceId
String

The resource id of the scoped Azure monitor resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to