共用方式為


AccessControlRecordsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or Updates an access control record.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.StorSimple8000Series.Models.AccessControlRecord> CreateOrUpdateAsync (this Microsoft.Azure.Management.StorSimple8000Series.IAccessControlRecordsOperations operations, string accessControlRecordName, Microsoft.Azure.Management.StorSimple8000Series.Models.AccessControlRecord parameters, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.StorSimple8000Series.IAccessControlRecordsOperations * string * Microsoft.Azure.Management.StorSimple8000Series.Models.AccessControlRecord * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.StorSimple8000Series.Models.AccessControlRecord>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IAccessControlRecordsOperations, accessControlRecordName As String, parameters As AccessControlRecord, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AccessControlRecord)

Parameters

operations
IAccessControlRecordsOperations

The operations group for this extension method.

accessControlRecordName
String

The name of the access control record.

parameters
AccessControlRecord

The access control record to be added or updated.

resourceGroupName
String

The resource group name

managerName
String

The manager name

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to