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