TenantAccessInfoCollection.CreateOrUpdate 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.
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: 2023-03-01-preview
- Resource: TenantAccessInfoResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.TenantAccessInfoResource> CreateOrUpdate (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 CreateOrUpdate : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.Models.AccessName * Azure.ETag * Azure.ResourceManager.ApiManagement.Models.TenantAccessInfoCreateOrUpdateContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.TenantAccessInfoResource>
override this.CreateOrUpdate : Azure.WaitUntil * Azure.ResourceManager.ApiManagement.Models.AccessName * Azure.ETag * Azure.ResourceManager.ApiManagement.Models.TenantAccessInfoCreateOrUpdateContent * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.ApiManagement.TenantAccessInfoResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, accessName As AccessName, ifMatch As ETag, content As TenantAccessInfoCreateOrUpdateContent, Optional cancellationToken As CancellationToken = Nothing) As 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.
Parameters supplied to retrieve the Tenant Access Information.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
content
is null.
Applies to
Azure SDK for .NET