Share via


TenantAccessInfoCollection.CreateOrUpdateAsync Method

Definition

Update tenant access information details.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/{accessName}
  • Operation Id: TenantAccess_Create
  • Default Api Version: 2021-08-01
  • Resource: TenantAccessInfoResource
public virtual System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.TenantAccessInfoResource>> CreateOrUpdateAsync (Azure.WaitUntil waitUntil, Azure.ResourceManager.ApiManagement.Models.AccessName accessName, Azure.ETag ifMatch, Azure.ResourceManager.ApiManagement.Models.TenantAccessInfoCreateOrUpdateContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.Models.AccessName * Azure.ETag * Azure.ResourceManager.ApiManagement.Models.TenantAccessInfoCreateOrUpdateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.TenantAccessInfoResource>>
override this.CreateOrUpdateAsync : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.Models.AccessName * Azure.ETag * Azure.ResourceManager.ApiManagement.Models.TenantAccessInfoCreateOrUpdateContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.TenantAccessInfoResource>>
Public Overridable Function CreateOrUpdateAsync (waitUntil As WaitUntil, accessName As AccessName, ifMatch As ETag, content As TenantAccessInfoCreateOrUpdateContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ArmOperation(Of TenantAccessInfoResource))

Parameters

waitUntil
WaitUntil

Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.

accessName
AccessName

The identifier of the Access configuration.

ifMatch
ETag

ETag of the Entity. ETag should match the current entity state from the header response of the GET request or it should be * for unconditional update.

content
TenantAccessInfoCreateOrUpdateContent

Parameters supplied to retrieve the Tenant Access Information.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

content is null.

Applies to