次の方法で共有


AccessPoliciesOperationsExtensions.CreateOrUpdateAsync メソッド

定義

新しいアクセス ポリシー リソースを作成するか、既存のリソースを更新します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.VideoAnalyzer.Models.AccessPolicyEntity> CreateOrUpdateAsync (this Microsoft.Azure.Management.VideoAnalyzer.IAccessPoliciesOperations operations, string resourceGroupName, string accountName, string accessPolicyName, Microsoft.Azure.Management.VideoAnalyzer.Models.AccessPolicyRole? role = default, Microsoft.Azure.Management.VideoAnalyzer.Models.AuthenticationBase authentication = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.VideoAnalyzer.IAccessPoliciesOperations * string * string * string * Nullable<Microsoft.Azure.Management.VideoAnalyzer.Models.AccessPolicyRole> * Microsoft.Azure.Management.VideoAnalyzer.Models.AuthenticationBase * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.VideoAnalyzer.Models.AccessPolicyEntity>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IAccessPoliciesOperations, resourceGroupName As String, accountName As String, accessPolicyName As String, Optional role As Nullable(Of AccessPolicyRole) = Nothing, Optional authentication As AuthenticationBase = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AccessPolicyEntity)

パラメーター

operations
IAccessPoliciesOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソース グループの名前。 名前の大文字と小文字は区別されます。

accountName
String

Azure Video Analyzer アカウント名。

accessPolicyName
String

アクセス ポリシー名。

role
Nullable<AccessPolicyRole>

このポリシーによって付与されるアクセス レベルを定義します。 使用可能な値は次のとおりです: 'Reader'

authentication
AuthenticationBase

クライアント API アクセスを検証するときに使用する認証方法。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

注釈

新しいアクセス ポリシー リソースを作成するか、指定した名前で既存のリソースを更新します。

適用対象