Udostępnij za pośrednictwem


IHybridConnectionsOperations.CreateOrUpdateAuthorizationRuleWithHttpMessagesAsync Method

Definition

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Relay.Fluent.Models.AuthorizationRuleInner>> CreateOrUpdateAuthorizationRuleWithHttpMessagesAsync (string resourceGroupName, string namespaceName, string hybridConnectionName, string authorizationRuleName, System.Collections.Generic.IList<Microsoft.Azure.Management.Relay.Fluent.Models.AccessRights?> rights = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateAuthorizationRuleWithHttpMessagesAsync : string * string * string * string * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.Relay.Fluent.Models.AccessRights>> * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Relay.Fluent.Models.AuthorizationRuleInner>>
Public Function CreateOrUpdateAuthorizationRuleWithHttpMessagesAsync (resourceGroupName As String, namespaceName As String, hybridConnectionName As String, authorizationRuleName As String, Optional rights As IList(Of Nullable(Of AccessRights)) = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of AuthorizationRuleInner))

Parameters

resourceGroupName
String
namespaceName
String
hybridConnectionName
String
authorizationRuleName
String
customHeaders
Dictionary<String,List<String>>
cancellationToken
CancellationToken

Returns

Applies to