Share via


SharedPrivateLinkResourcesOperationsExtensions.CreateOrUpdateAsync メソッド

定義

指定されたリソース グループ内の検索サービスによって管理される共有プライベート リンク リソースの作成または更新を開始します。 https://aka.ms/search-manage

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Models.SharedPrivateLinkResource> CreateOrUpdateAsync (this Microsoft.Azure.Management.Search.ISharedPrivateLinkResourcesOperations operations, string resourceGroupName, string searchServiceName, string sharedPrivateLinkResourceName, Microsoft.Azure.Management.Search.Models.SharedPrivateLinkResource sharedPrivateLinkResource, Microsoft.Azure.Management.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Search.ISharedPrivateLinkResourcesOperations * string * string * string * Microsoft.Azure.Management.Search.Models.SharedPrivateLinkResource * Microsoft.Azure.Management.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Models.SharedPrivateLinkResource>
<Extension()>
Public Function CreateOrUpdateAsync (operations As ISharedPrivateLinkResourcesOperations, resourceGroupName As String, searchServiceName As String, sharedPrivateLinkResourceName As String, sharedPrivateLinkResource As SharedPrivateLinkResource, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SharedPrivateLinkResource)

パラメーター

operations
ISharedPrivateLinkResourcesOperations

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

resourceGroupName
String

現在のサブスクリプション内のリソース グループの名前。 この値は、Azure リソース マネージャー API またはポータルから取得できます。

searchServiceName
String

指定したリソース グループに関連付けられているAzure Cognitive Search サービスの名前。

sharedPrivateLinkResourceName
String

指定したリソース グループ内のAzure Cognitive Search サービスによって管理される共有プライベート リンク リソースの名前。

sharedPrivateLinkResource
SharedPrivateLinkResource

作成または更新する共有プライベート リンク リソースの定義。

searchManagementRequestOptions
SearchManagementRequestOptions

操作の追加パラメーター

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象