次の方法で共有


PrivateLinkScopesOperationsExtensions.CreateOrUpdateAsync メソッド

定義

Azure Monitor PrivateLinkScope を作成 (または更新) します。 注: Put 操作で InstrumentationKey と AppId に別の値を指定することはできません。

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

パラメーター

operations
IPrivateLinkScopesOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソース グループの名前。 名前の大文字と小文字は区別されます。

scopeName
String

Azure Monitor PrivateLinkScope リソースの名前。

azureMonitorPrivateLinkScopePayload
AzureMonitorPrivateLinkScope

Azure Monitor PrivateLinkScope を作成または更新するために指定する必要があるプロパティ。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象