IWithAuthorizationRule.WithNewAuthorizationRule Method

Definition

Creates an authorization rule for the subscription.

public Microsoft.Azure.Management.ServiceBus.Fluent.Subscription.Update.IUpdate WithNewAuthorizationRule (string name, params Microsoft.Azure.Management.ServiceBus.Fluent.Models.AccessRights[] rights);
abstract member WithNewAuthorizationRule : string * Microsoft.Azure.Management.ServiceBus.Fluent.Models.AccessRights[] -> Microsoft.Azure.Management.ServiceBus.Fluent.Subscription.Update.IUpdate
Public Function WithNewAuthorizationRule (name As String, ParamArray rights As AccessRights()) As IUpdate

Parameters

name
String

Rule name.

rights
AccessRights[]

Rule rights.

Returns

Applies to