ISharedPrivateLinkResourcesOperations.CreateOrUpdateWithHttpMessagesAsync メソッド

定義

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

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Search.Models.SharedPrivateLinkResource>> CreateOrUpdateWithHttpMessagesAsync (string resourceGroupName, string searchServiceName, string sharedPrivateLinkResourceName, Microsoft.Azure.Management.Search.Models.SharedPrivateLinkResource sharedPrivateLinkResource, Microsoft.Azure.Management.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.Search.Models.SharedPrivateLinkResource * Microsoft.Azure.Management.Search.Models.SearchManagementRequestOptions * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Search.Models.SharedPrivateLinkResource>>
Public Function CreateOrUpdateWithHttpMessagesAsync (resourceGroupName As String, searchServiceName As String, sharedPrivateLinkResourceName As String, sharedPrivateLinkResource As SharedPrivateLinkResource, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of SharedPrivateLinkResource))

パラメーター

resourceGroupName
String

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

searchServiceName
String

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

sharedPrivateLinkResourceName
String

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

sharedPrivateLinkResource
SharedPrivateLinkResource

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

searchManagementRequestOptions
SearchManagementRequestOptions

操作の追加パラメーター

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

操作が無効な状態コードを返したときにスローされます

応答を逆シリアル化できない場合にスローされます

必須パラメーターが null の場合にスローされます

適用対象