WCFRelaysOperationsExtensions.CreateOrUpdateAuthorizationRuleAsync 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.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Relay.Fluent.Models.AuthorizationRuleInner> CreateOrUpdateAuthorizationRuleAsync (this Microsoft.Azure.Management.Relay.Fluent.IWCFRelaysOperations operations, string resourceGroupName, string namespaceName, string relayName, string authorizationRuleName, System.Collections.Generic.IList<Microsoft.Azure.Management.Relay.Fluent.Models.AccessRights?> rights = default, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAuthorizationRuleAsync : Microsoft.Azure.Management.Relay.Fluent.IWCFRelaysOperations * string * string * string * string * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.Relay.Fluent.Models.AccessRights>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Relay.Fluent.Models.AuthorizationRuleInner>
<Extension()>
Public Function CreateOrUpdateAuthorizationRuleAsync (operations As IWCFRelaysOperations, resourceGroupName As String, namespaceName As String, relayName As String, authorizationRuleName As String, Optional rights As IList(Of Nullable(Of AccessRights)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AuthorizationRuleInner)
Parameters
- operations
- IWCFRelaysOperations
- resourceGroupName
- String
- namespaceName
- String
- relayName
- String
- authorizationRuleName
- String
- rights
- IList<Nullable<AccessRights>>
- cancellationToken
- CancellationToken