HybridConnectionsOperationsExtensions.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.IHybridConnectionsOperations operations, string resourceGroupName, string namespaceName, string hybridConnectionName, 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.IHybridConnectionsOperations * 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 IHybridConnectionsOperations, resourceGroupName As String, namespaceName As String, hybridConnectionName 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
- IHybridConnectionsOperations
- resourceGroupName
- String
- namespaceName
- String
- hybridConnectionName
- String
- authorizationRuleName
- String
- rights
- IList<Nullable<AccessRights>>
- cancellationToken
- CancellationToken