AuthorizationsOperationsExtensions.CreateOrUpdateAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在私人雲端中建立或更新 ExpressRoute 線路授權
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.ExpressRouteAuthorization> CreateOrUpdateAsync(this Microsoft.Azure.Management.Avs.IAuthorizationsOperations operations, string resourceGroupName, string privateCloudName, string authorizationName, Microsoft.Azure.Management.Avs.Models.ExpressRouteAuthorization authorization, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Avs.IAuthorizationsOperations * string * string * string * Microsoft.Azure.Management.Avs.Models.ExpressRouteAuthorization * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Avs.Models.ExpressRouteAuthorization>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IAuthorizationsOperations, resourceGroupName As String, privateCloudName As String, authorizationName As String, authorization As ExpressRouteAuthorization, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ExpressRouteAuthorization)
參數
- operations
- IAuthorizationsOperations
這個擴充方法的作業群組。
- resourceGroupName
- String
資源群組的名稱。 名稱不區分大小寫。
- privateCloudName
- String
私人雲端的名稱。
- authorizationName
- String
私人雲端中的 ExpressRoute 線路授權名稱
- authorization
- ExpressRouteAuthorization
ExpressRoute 線路授權
- cancellationToken
- CancellationToken
取消語彙基元。