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