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