public static EventHubAuthorizationRule GetEventHubAuthorizationRule(this ArmClient client, ResourceIdentifier id) { return(client.GetClient(() => { EventHubAuthorizationRule.ValidateResourceId(id); return new EventHubAuthorizationRule(client, id); } )); }
public static EventHubAuthorizationRule GetEventHubAuthorizationRule(this ArmClient armClient, ResourceIdentifier id) { EventHubAuthorizationRule.ValidateResourceId(id); return(new EventHubAuthorizationRule(armClient, id)); }