SharedPrivateLinkResourcesOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initiates the creation or update of a shared private link resource managed by the search service in the given resource group. 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)
Parameters
- operations
- ISharedPrivateLinkResourcesOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
- searchServiceName
- String
The name of the Azure Cognitive Search service associated with the specified resource group.
- sharedPrivateLinkResourceName
- String
The name of the shared private link resource managed by the Azure Cognitive Search service within the specified resource group.
- sharedPrivateLinkResource
- SharedPrivateLinkResource
The definition of the shared private link resource to create or update.
- searchManagementRequestOptions
- SearchManagementRequestOptions
Additional parameters for the operation
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Azure SDK for .NET